[INFO] cloning repository https://github.com/attakdefand/small-equation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/attakdefand/small-equation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fattakdefand%2Fsmall-equation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fattakdefand%2Fsmall-equation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f226eeb67b10659b2ee65ad65a9b4c88bb147659 [INFO] checking attakdefand/small-equation against try#b4c55082edd8dec08ce8af276d7054d9c4db20c4 for pr-147984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fattakdefand%2Fsmall-equation" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 49% (1434/2877) Updating files: 50% (1439/2877) Updating files: 51% (1468/2877) Updating files: 52% (1497/2877) Updating files: 53% (1525/2877) Updating files: 54% (1554/2877) Updating files: 55% (1583/2877) Updating files: 56% (1612/2877) Updating files: 56% (1615/2877) Updating files: 57% (1640/2877) Updating files: 58% (1669/2877) Updating files: 58% (1693/2877) Updating files: 59% (1698/2877) Updating files: 60% (1727/2877) Updating files: 61% (1755/2877) Updating files: 62% (1784/2877) Updating files: 63% (1813/2877) Updating files: 64% (1842/2877) Updating files: 65% (1871/2877) Updating files: 66% (1899/2877) Updating files: 66% (1916/2877) Updating files: 67% (1928/2877) Updating files: 68% (1957/2877) Updating files: 69% (1986/2877) Updating files: 70% (2014/2877) Updating files: 71% (2043/2877) Updating files: 72% (2072/2877) Updating files: 73% (2101/2877) Updating files: 74% (2129/2877) Updating files: 75% (2158/2877) Updating files: 75% (2178/2877) Updating files: 76% (2187/2877) Updating files: 77% (2216/2877) Updating files: 78% (2245/2877) Updating files: 79% (2273/2877) Updating files: 80% (2302/2877) Updating files: 81% (2331/2877) Updating files: 82% (2360/2877) Updating files: 83% (2388/2877) Updating files: 84% (2417/2877) Updating files: 85% (2446/2877) Updating files: 86% (2475/2877) Updating files: 87% (2503/2877) Updating files: 88% (2532/2877) Updating files: 89% (2561/2877) Updating files: 90% (2590/2877) Updating files: 91% (2619/2877) Updating files: 92% (2647/2877) Updating files: 93% (2676/2877) Updating files: 94% (2705/2877) Updating files: 95% (2734/2877) Updating files: 96% (2762/2877) Updating files: 96% (2763/2877) Updating files: 97% (2791/2877) Updating files: 98% (2820/2877) Updating files: 99% (2849/2877) Updating files: 100% (2877/2877) Updating files: 100% (2877/2877), done. [INFO] started tweaking git repo https://github.com/attakdefand/small-equation [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/attakdefand/small-equation [INFO] tweaked toml for git repo https://github.com/attakdefand/small-equation written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/attakdefand/small-equation on toolchain b4c55082edd8dec08ce8af276d7054d9c4db20c4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/attakdefand/small-equation 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" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding console_error_panic_hook v0.1.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 965fa0048bd3a6a18c5a7251d55c868e03af3d2ec65bcddd7c4bfc668ba2ece4 [INFO] running `Command { std: "docker" "start" "-a" "965fa0048bd3a6a18c5a7251d55c868e03af3d2ec65bcddd7c4bfc668ba2ece4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "965fa0048bd3a6a18c5a7251d55c868e03af3d2ec65bcddd7c4bfc668ba2ece4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "965fa0048bd3a6a18c5a7251d55c868e03af3d2ec65bcddd7c4bfc668ba2ece4", kill_on_drop: false }` [INFO] [stdout] 965fa0048bd3a6a18c5a7251d55c868e03af3d2ec65bcddd7c4bfc668ba2ece4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ad0ecacfdf71a4e607e54e187a12f7a29c473777f442e9f1583c4036816b6b5 [INFO] running `Command { std: "docker" "start" "-a" "8ad0ecacfdf71a4e607e54e187a12f7a29c473777f442e9f1583c4036816b6b5", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.104 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.104 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking indexmap v2.12.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Compiling libsqlite3-sys v0.25.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.104 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking unicode-ident v1.0.19 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.104 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Compiling pq-sys v0.7.5 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling diesel_derives v2.3.3 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Compiling dsl_auto_type v0.2.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Checking postgres-protocol v0.6.9 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking simba v0.6.0 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking phf_shared v0.13.1 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.3.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking js-sys v0.3.81 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking phf v0.13.1 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking postgres-types v0.2.11 [INFO] [stderr] Compiling refinery-core v0.8.16 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking whoami v1.6.1 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Checking downcast-rs v2.0.2 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling refinery-macros v0.8.16 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking tokio-postgres v0.7.15 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Checking web-sys v0.3.81 [INFO] [stderr] Checking nalgebra v0.29.0 [INFO] [stderr] Checking rusqlite v0.28.0 [INFO] [stderr] Checking diesel v2.3.2 [INFO] [stderr] Checking refinery v0.8.16 [INFO] [stderr] Checking statrs v0.16.1 [INFO] [stderr] Checking trillion-dollar-equation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/models/database.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct SQLiteDatabase { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 136 | config: DatabaseConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/models/database.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct PostgreSQLDatabase { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 184 | config: DatabaseConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/models/database.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct SQLiteDatabase { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 136 | config: DatabaseConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/models/database.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct PostgreSQLDatabase { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 184 | config: DatabaseConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsianMonteCarlo`, `BarrierMonteCarlo`, `BinomialGreeks`, and `VarianceReducedMonteCarlo` [INFO] [stdout] --> tests/integration_tests.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | AmericanOption, EuropeanOption, BinomialGreeks, BinomialConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | EuropeanMonteCarlo, AsianMonteCarlo, BarrierMonteCarlo, VarianceReducedMonteCarlo, MonteCarloConfig [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: `Database` [INFO] [stdout] --> src/models/mod.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | pub use database::{Database, DatabaseConfig, OptionCalculation, MarketData, DatabaseFactory}; [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: `DatabaseFactory` [INFO] [stdout] --> src/cli/mod.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | DatabaseConfig, DatabaseFactory, OptionCalculation, MarketData [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Database` [INFO] [stdout] --> src/models/mod.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | pub use database::{Database, DatabaseConfig, OptionCalculation, MarketData, DatabaseFactory}; [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: `DatabaseFactory` [INFO] [stdout] --> src/cli/mod.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | DatabaseConfig, DatabaseFactory, OptionCalculation, MarketData [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> examples/database_example.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let db = DatabaseFactory::create_database(&config)?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_config`, `calculate_put_iv`, `newton_raphson_put`, `bisection_put`, and `calculate_vega_put` are never used [INFO] [stdout] --> src/models/implied_volatility.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl ImpliedVolatilitySolver { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn with_config(config: SolverConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn calculate_put_iv( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | fn newton_raphson_put( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | fn bisection_put( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | fn calculate_vega_put(&self, option: &EuropeanPutOption) -> 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: variant `NumericalError` is never constructed [INFO] [stdout] --> src/models/binomial_model.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum BinomialModelError { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | NumericalError, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinomialModelError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DatabaseError` is never used [INFO] [stdout] --> src/models/database.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum DatabaseError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DatabaseResult` is never used [INFO] [stdout] --> src/models/database.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub type DatabaseResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Database` is never used [INFO] [stdout] --> src/models/database.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | pub trait Database { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SQLiteDatabase` is never constructed [INFO] [stdout] --> src/models/database.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct SQLiteDatabase { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/database.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 139 | impl SQLiteDatabase { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 140 | pub fn new(config: DatabaseConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PostgreSQLDatabase` is never constructed [INFO] [stdout] --> src/models/database.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct PostgreSQLDatabase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/database.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 187 | impl PostgreSQLDatabase { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 188 | pub fn new(config: DatabaseConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DatabaseFactory` is never constructed [INFO] [stdout] --> src/models/database.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | pub struct DatabaseFactory; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create_database` is never used [INFO] [stdout] --> src/models/database.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 233 | impl DatabaseFactory { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 234 | /// Create a database instance based on configuration [INFO] [stdout] 235 | pub fn create_database(config: &DatabaseConfig) -> DatabaseResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_config`, `calculate_put_iv`, `newton_raphson_put`, `bisection_put`, and `calculate_vega_put` are never used [INFO] [stdout] --> src/models/implied_volatility.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl ImpliedVolatilitySolver { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn with_config(config: SolverConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn calculate_put_iv( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | fn newton_raphson_put( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | fn bisection_put( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | fn calculate_vega_put(&self, option: &EuropeanPutOption) -> 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: variant `NumericalError` is never constructed [INFO] [stdout] --> src/models/binomial_model.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum BinomialModelError { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | NumericalError, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinomialModelError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `QueryError` and `MigrationError` are never constructed [INFO] [stdout] --> src/models/database.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum DatabaseError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 15 | ConnectionError(String), [INFO] [stdout] 16 | QueryError(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | MigrationError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DatabaseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/models/database.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub trait Database { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 112 | /// Initialize the database connection [INFO] [stdout] 113 | fn connect(&self) -> DatabaseResult<()>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn run_migrations(&self) -> DatabaseResult<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn store_option_calculation(&self, calculation: &OptionCalculation) -> DatabaseResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn get_option_calculation(&self, id: i32) -> DatabaseResult>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn store_market_data(&self, data: &MarketData) -> DatabaseResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | fn get_market_data(&self, symbol: &str, start_date: &str, end_date: &str) -> DatabaseResult>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | fn disconnect(&self) -> DatabaseResult<()>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/models/database.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct SQLiteDatabase { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 136 | config: DatabaseConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/models/database.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct PostgreSQLDatabase { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 184 | config: DatabaseConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.21s [INFO] running `Command { std: "docker" "inspect" "8ad0ecacfdf71a4e607e54e187a12f7a29c473777f442e9f1583c4036816b6b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ad0ecacfdf71a4e607e54e187a12f7a29c473777f442e9f1583c4036816b6b5", kill_on_drop: false }` [INFO] [stdout] 8ad0ecacfdf71a4e607e54e187a12f7a29c473777f442e9f1583c4036816b6b5