[INFO] fetching crate optionrs 0.2.1...
[INFO] checking optionrs-0.2.1 against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3
[INFO] extracting crate optionrs 0.2.1 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate optionrs 0.2.1
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate optionrs 0.2.1
[INFO] tweaked toml for crates.io crate optionrs 0.2.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate optionrs 0.2.1 on toolchain a5689b034ad287112f709693384a37f1377eb9cc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate optionrs 0.2.1 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:43:12
[INFO] [stderr]    |
[INFO] [stderr] 43 | homepage = "https://github.com/fanghao1024/optionrs"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 48 | repository = "https://github.com/fanghao1024/optionrs"
[INFO] [stderr]    |              -----------------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `optionrs` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e0250e67f9e4399ca5c3884102b8c858370bf481a500420f644a4640d7fac063
[INFO] running `Command { std: "docker" "start" "e0250e67f9e4399ca5c3884102b8c858370bf481a500420f644a4640d7fac063", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e0250e67f9e4399ca5c3884102b8c858370bf481a500420f644a4640d7fac063", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e0250e67f9e4399ca5c3884102b8c858370bf481a500420f644a4640d7fac063" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e0250e67f9e4399ca5c3884102b8c858370bf481a500420f644a4640d7fac063", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e0250e67f9e4399ca5c3884102b8c858370bf481a500420f644a4640d7fac063" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:43:12
[INFO] [stderr]    |
[INFO] [stderr] 43 | homepage = "https://github.com/fanghao1024/optionrs"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 48 | repository = "https://github.com/fanghao1024/optionrs"
[INFO] [stderr]    |              -----------------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `optionrs` (manifest) generated 1 warning
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]     Checking bytemuck v1.24.0
[INFO] [stderr]    Compiling portable-atomic v1.11.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling matrixmultiply v0.3.10
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]     Checking assert_approx_eq v1.1.0
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]     Checking safe_arch v0.7.4
[INFO] [stderr]     Checking wide v0.7.33
[INFO] [stderr]     Checking owens-t v0.1.5
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking console v0.16.2
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking indicatif v0.18.3
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking simba v0.9.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]     Checking rand_distr v0.4.3
[INFO] [stderr]     Checking rand_distr v0.5.1
[INFO] [stderr]     Checking nalgebra v0.33.2
[INFO] [stderr]     Checking statrs v0.18.0
[INFO] [stderr]     Checking optionrs v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `GreeksEngine`
[INFO] [stdout]  --> src/core/engine_config.rs:5:29
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::traits::engine::{GreeksEngine, PriceEngine};
[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: `GreeksEngine`
[INFO] [stdout]  --> src/core/engine_config.rs:5:29
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::traits::engine::{GreeksEngine, PriceEngine};
[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: `crate::errors::*`
[INFO] [stdout]   --> src/utils/math.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |     use crate::errors::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `errors::OptionError`
[INFO] [stdout]   --> src/utils/statistics.rs:29:20
[INFO] [stdout]    |
[INFO] [stdout] 29 |         return Err(OptionError::InvalidParameter("Spot must be greater than zero.".to_owned()).into());
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]    = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 29 -         return Err(OptionError::InvalidParameter("Spot must be greater than zero.".to_owned()).into());
[INFO] [stdout] 29 +         return Err(OptionError::InvalidParameter("Spot must be greater than zero.".to_owned()));
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 29 -         return Err(OptionError::InvalidParameter("Spot must be greater than zero.".to_owned()).into());
[INFO] [stdout] 29 +         return Err(<errors::OptionError as Into<_>>::into(OptionError::InvalidParameter("Spot must be greater than zero.".to_owned())));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `errors::OptionError`
[INFO] [stdout]   --> src/utils/statistics.rs:32:20
[INFO] [stdout]    |
[INFO] [stdout] 32 |         return Err(OptionError::InvalidParameter("Strike must be greater than zero.".to_owned()).into());
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 32 -         return Err(OptionError::InvalidParameter("Strike must be greater than zero.".to_owned()).into());
[INFO] [stdout] 32 +         return Err(OptionError::InvalidParameter("Strike must be greater than zero.".to_owned()));
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 32 -         return Err(OptionError::InvalidParameter("Strike must be greater than zero.".to_owned()).into());
[INFO] [stdout] 32 +         return Err(<errors::OptionError as Into<_>>::into(OptionError::InvalidParameter("Strike must be greater than zero.".to_owned())));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `errors::OptionError`
[INFO] [stdout]   --> src/utils/statistics.rs:35:20
[INFO] [stdout]    |
[INFO] [stdout] 35 |         return Err(OptionError::InvalidParameter("Volatility must be greater than zero.".to_owned()).into());
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 35 -         return Err(OptionError::InvalidParameter("Volatility must be greater than zero.".to_owned()).into());
[INFO] [stdout] 35 +         return Err(OptionError::InvalidParameter("Volatility must be greater than zero.".to_owned()));
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 35 -         return Err(OptionError::InvalidParameter("Volatility must be greater than zero.".to_owned()).into());
[INFO] [stdout] 35 +         return Err(<errors::OptionError as Into<_>>::into(OptionError::InvalidParameter("Volatility must be greater than zero.".to_owned())));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `errors::OptionError`
[INFO] [stdout]   --> src/utils/statistics.rs:38:20
[INFO] [stdout]    |
[INFO] [stdout] 38 |         return Err(OptionError::InvalidParameter("Time to maturity cannot be negative.".to_owned()).into());
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 38 -         return Err(OptionError::InvalidParameter("Time to maturity cannot be negative.".to_owned()).into());
[INFO] [stdout] 38 +         return Err(OptionError::InvalidParameter("Time to maturity cannot be negative.".to_owned()));
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 38 -         return Err(OptionError::InvalidParameter("Time to maturity cannot be negative.".to_owned()).into());
[INFO] [stdout] 38 +         return Err(<errors::OptionError as Into<_>>::into(OptionError::InvalidParameter("Time to maturity cannot be negative.".to_owned())));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `errors::OptionError`
[INFO] [stdout]   --> src/utils/statistics.rs:41:20
[INFO] [stdout]    |
[INFO] [stdout] 41 |           return Err(OptionError::InvalidParameter("When the expiration time is 0,there is \
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 42 | |         no analytic solution (return intrinsic value directly)".to_owned()).into());
[INFO] [stdout]    | |__________________________________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 42 -         no analytic solution (return intrinsic value directly)".to_owned()).into());
[INFO] [stdout] 42 +         no analytic solution (return intrinsic value directly)".to_owned()));
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 41 ~         return Err(<errors::OptionError as Into<_>>::into(OptionError::InvalidParameter("When the expiration time is 0,there is \
[INFO] [stdout] 42 ~         no analytic solution (return intrinsic value directly)".to_owned())));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `optionrs` (lib) due to 5 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: useless conversion to the same type: `errors::OptionError`
[INFO] [stdout]   --> src/utils/statistics.rs:29:20
[INFO] [stdout]    |
[INFO] [stdout] 29 |         return Err(OptionError::InvalidParameter("Spot must be greater than zero.".to_owned()).into());
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]    = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 29 -         return Err(OptionError::InvalidParameter("Spot must be greater than zero.".to_owned()).into());
[INFO] [stdout] 29 +         return Err(OptionError::InvalidParameter("Spot must be greater than zero.".to_owned()));
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 29 -         return Err(OptionError::InvalidParameter("Spot must be greater than zero.".to_owned()).into());
[INFO] [stdout] 29 +         return Err(<errors::OptionError as Into<_>>::into(OptionError::InvalidParameter("Spot must be greater than zero.".to_owned())));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `errors::OptionError`
[INFO] [stdout]   --> src/utils/statistics.rs:32:20
[INFO] [stdout]    |
[INFO] [stdout] 32 |         return Err(OptionError::InvalidParameter("Strike must be greater than zero.".to_owned()).into());
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 32 -         return Err(OptionError::InvalidParameter("Strike must be greater than zero.".to_owned()).into());
[INFO] [stdout] 32 +         return Err(OptionError::InvalidParameter("Strike must be greater than zero.".to_owned()));
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 32 -         return Err(OptionError::InvalidParameter("Strike must be greater than zero.".to_owned()).into());
[INFO] [stdout] 32 +         return Err(<errors::OptionError as Into<_>>::into(OptionError::InvalidParameter("Strike must be greater than zero.".to_owned())));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `errors::OptionError`
[INFO] [stdout]   --> src/utils/statistics.rs:35:20
[INFO] [stdout]    |
[INFO] [stdout] 35 |         return Err(OptionError::InvalidParameter("Volatility must be greater than zero.".to_owned()).into());
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 35 -         return Err(OptionError::InvalidParameter("Volatility must be greater than zero.".to_owned()).into());
[INFO] [stdout] 35 +         return Err(OptionError::InvalidParameter("Volatility must be greater than zero.".to_owned()));
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 35 -         return Err(OptionError::InvalidParameter("Volatility must be greater than zero.".to_owned()).into());
[INFO] [stdout] 35 +         return Err(<errors::OptionError as Into<_>>::into(OptionError::InvalidParameter("Volatility must be greater than zero.".to_owned())));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `errors::OptionError`
[INFO] [stdout]   --> src/utils/statistics.rs:38:20
[INFO] [stdout]    |
[INFO] [stdout] 38 |         return Err(OptionError::InvalidParameter("Time to maturity cannot be negative.".to_owned()).into());
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 38 -         return Err(OptionError::InvalidParameter("Time to maturity cannot be negative.".to_owned()).into());
[INFO] [stdout] 38 +         return Err(OptionError::InvalidParameter("Time to maturity cannot be negative.".to_owned()));
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 38 -         return Err(OptionError::InvalidParameter("Time to maturity cannot be negative.".to_owned()).into());
[INFO] [stdout] 38 +         return Err(<errors::OptionError as Into<_>>::into(OptionError::InvalidParameter("Time to maturity cannot be negative.".to_owned())));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `errors::OptionError`
[INFO] [stdout]   --> src/utils/statistics.rs:41:20
[INFO] [stdout]    |
[INFO] [stdout] 41 |           return Err(OptionError::InvalidParameter("When the expiration time is 0,there is \
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 42 | |         no analytic solution (return intrinsic value directly)".to_owned()).into());
[INFO] [stdout]    | |__________________________________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 42 -         no analytic solution (return intrinsic value directly)".to_owned()).into());
[INFO] [stdout] 42 +         no analytic solution (return intrinsic value directly)".to_owned()));
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 41 ~         return Err(<errors::OptionError as Into<_>>::into(OptionError::InvalidParameter("When the expiration time is 0,there is \
[INFO] [stdout] 42 ~         no analytic solution (return intrinsic value directly)".to_owned())));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `optionrs` (lib test) due to 5 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e0250e67f9e4399ca5c3884102b8c858370bf481a500420f644a4640d7fac063", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e0250e67f9e4399ca5c3884102b8c858370bf481a500420f644a4640d7fac063", kill_on_drop: false }`
[INFO] [stdout] e0250e67f9e4399ca5c3884102b8c858370bf481a500420f644a4640d7fac063
