[INFO] cloning repository https://github.com/cavinsresearch/pythia
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cavinsresearch/pythia" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcavinsresearch%2Fpythia", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcavinsresearch%2Fpythia'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0f24141f62d9aab07552756cd4f674fefdcdd530
[INFO] building cavinsresearch/pythia against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcavinsresearch%2Fpythia" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/cavinsresearch/pythia
[INFO] finished tweaking git repo https://github.com/cavinsresearch/pythia
[INFO] tweaked toml for git repo https://github.com/cavinsresearch/pythia written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/cavinsresearch/pythia on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/cavinsresearch/pythia 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ae6f08001bf1646c6893f46a36dbc0abf22c9659c2b6f66677a6dfb59f3eea34
[INFO] running `Command { std: "docker" "start" "-a" "ae6f08001bf1646c6893f46a36dbc0abf22c9659c2b6f66677a6dfb59f3eea34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ae6f08001bf1646c6893f46a36dbc0abf22c9659c2b6f66677a6dfb59f3eea34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ae6f08001bf1646c6893f46a36dbc0abf22c9659c2b6f66677a6dfb59f3eea34", kill_on_drop: false }`
[INFO] [stdout] ae6f08001bf1646c6893f46a36dbc0abf22c9659c2b6f66677a6dfb59f3eea34
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 913aa60fbc5bbecde5c64843abc93aa108754664826d91592d677e02f6e39b8d
[INFO] running `Command { std: "docker" "start" "-a" "913aa60fbc5bbecde5c64843abc93aa108754664826d91592d677e02f6e39b8d", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling litemap v0.7.5
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling smallvec v1.14.0
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling cc v1.2.16
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling zerocopy v0.8.23
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling once_cell v1.21.0
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling rustls-pki-types v1.11.0
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling miniz_oxide v0.8.5
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]    Compiling log v0.4.26
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling matrixmultiply v0.3.9
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling approx v0.4.0
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling rustls-native-certs v0.7.3
[INFO] [stderr]    Compiling csv-core v0.1.12
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling noisy_float v0.2.0
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling flate2 v1.1.0
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling filetime v0.2.25
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling cblas-sys v0.1.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling lapack-sys v0.14.0
[INFO] [stderr]    Compiling indexmap v2.8.0
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling xattr v1.4.0
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling tar v0.4.44
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling katexit v0.1.4
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling chrono v0.4.40
[INFO] [stderr]    Compiling csv v1.3.1
[INFO] [stderr]    Compiling cauchy v0.4.0
[INFO] [stderr]    Compiling ndarray v0.15.6
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling ureq v2.12.1
[INFO] [stderr]    Compiling openblas-build v0.10.11
[INFO] [stderr]    Compiling ndarray-stats v0.5.1
[INFO] [stderr]    Compiling openblas-src v0.10.11
[INFO] [stderr]    Compiling lax v0.16.0
[INFO] [stderr]    Compiling ndarray-linalg v0.16.0
[INFO] [stderr]    Compiling pythia v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Array2`
[INFO] [stdout]  --> src/analysis/factors.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{s, Array1, Array2, ArrayView2, Axis};
[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: `Axis`
[INFO] [stdout]  --> src/analysis/orthogonalization.rs:2:58
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray::{s, Array1, Array2, ArrayView1, ArrayView2, Axis};
[INFO] [stdout]   |                                                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FactorModelError` and `ThematicFactorModel`
[INFO] [stdout]  --> src/analysis/pca.rs:2:31
[INFO] [stdout]   |
[INFO] [stdout] 2 |     FactorGroup, FactorModel, FactorModelError, Result as ModelResult, ThematicFactorModel,
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^^^                         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::weighting::WeightingScheme`
[INFO] [stdout]  --> src/analysis/pca.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use super::weighting::WeightingScheme;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `s`
[INFO] [stdout]  --> src/analysis/pca.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ndarray::{s, Array1, Array2, ArrayView2};
[INFO] [stdout]   |               ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/analysis/pca.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ThematicFactorModel`
[INFO] [stdout]  --> src/analysis/risk_attribution.rs:1:53
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::factor_model::{FactorGroup, FactorModel, ThematicFactorModel};
[INFO] [stdout]   |                                                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Axis`
[INFO] [stdout]  --> src/analysis/risk_attribution.rs:3:58
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ndarray::{s, Array1, Array2, ArrayView1, ArrayView2, Axis};
[INFO] [stdout]   |                                                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Axis`
[INFO] [stdout]  --> src/analysis/weighting.rs:1:58
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{s, Array1, Array2, ArrayView1, ArrayView2, Axis};
[INFO] [stdout]   |                                                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray_stats::QuantileExt`
[INFO] [stdout]  --> src/analysis/risk_attribution.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ndarray_stats::QuantileExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_periods`
[INFO] [stdout]    --> src/analysis/risk_attribution.rs:347:13
[INFO] [stdout]     |
[INFO] [stdout] 347 |         let n_periods = self.returns.nrows();
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_periods`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lambda`
[INFO] [stdout]    --> src/analysis/risk_attribution.rs:346:41
[INFO] [stdout]     |
[INFO] [stdout] 346 |     fn compute_residual_variance(&self, lambda: f64) -> Result<f64> {
[INFO] [stdout]     |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tickers`
[INFO] [stdout]   --> src/analysis/pca.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         tickers: &[String],
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tickers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `X` should have a snake case name
[INFO] [stdout]    --> src/analysis/risk_attribution.rs:415:36
[INFO] [stdout]     |
[INFO] [stdout] 415 | fn compute_regression_coefficients(X: ArrayView2<f64>, y: ArrayView1<f64>) -> Result<Array1<f64>> {
[INFO] [stdout]     |                                    ^ help: convert the identifier to snake case (notice the capitalization): `x`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `compute_factor_loadings` is never used
[INFO] [stdout]    --> src/analysis/risk_attribution.rs:378:8
[INFO] [stdout]     |
[INFO] [stdout]  46 | impl<M: FactorModel> RiskAttributor<M> {
[INFO] [stdout]     | -------------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 378 |     fn compute_factor_loadings(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Array2`
[INFO] [stdout]  --> src/analysis/factors.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{s, Array1, Array2, ArrayView2, Axis};
[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: `Axis`
[INFO] [stdout]  --> src/analysis/orthogonalization.rs:2:58
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray::{s, Array1, Array2, ArrayView1, ArrayView2, Axis};
[INFO] [stdout]   |                                                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FactorModelError` and `ThematicFactorModel`
[INFO] [stdout]  --> src/analysis/pca.rs:2:31
[INFO] [stdout]   |
[INFO] [stdout] 2 |     FactorGroup, FactorModel, FactorModelError, Result as ModelResult, ThematicFactorModel,
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^^^                         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::weighting::WeightingScheme`
[INFO] [stdout]  --> src/analysis/pca.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use super::weighting::WeightingScheme;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `s`
[INFO] [stdout]  --> src/analysis/pca.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ndarray::{s, Array1, Array2, ArrayView2};
[INFO] [stdout]   |               ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/analysis/pca.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ThematicFactorModel`
[INFO] [stdout]  --> src/analysis/risk_attribution.rs:1:53
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::factor_model::{FactorGroup, FactorModel, ThematicFactorModel};
[INFO] [stdout]   |                                                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Axis`
[INFO] [stdout]  --> src/analysis/risk_attribution.rs:3:58
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ndarray::{s, Array1, Array2, ArrayView1, ArrayView2, Axis};
[INFO] [stdout]   |                                                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Axis`
[INFO] [stdout]  --> src/analysis/weighting.rs:1:58
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{s, Array1, Array2, ArrayView1, ArrayView2, Axis};
[INFO] [stdout]   |                                                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `StatisticalFactorModel` and `orthogonalization::FactorOrthogonalizer`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     orthogonalization::FactorOrthogonalizer,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 9 |     pca::{StatisticalFactorModel, PCA},
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `types::OrthogonalizationMethod`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use types::OrthogonalizationMethod;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray_stats::QuantileExt`
[INFO] [stdout]  --> src/analysis/risk_attribution.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ndarray_stats::QuantileExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tickers`
[INFO] [stdout]   --> src/analysis/pca.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         tickers: &[String],
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tickers`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_periods`
[INFO] [stdout]    --> src/analysis/risk_attribution.rs:347:13
[INFO] [stdout]     |
[INFO] [stdout] 347 |         let n_periods = self.returns.nrows();
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_periods`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lambda`
[INFO] [stdout]    --> src/analysis/risk_attribution.rs:346:41
[INFO] [stdout]     |
[INFO] [stdout] 346 |     fn compute_residual_variance(&self, lambda: f64) -> Result<f64> {
[INFO] [stdout]     |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `X` should have a snake case name
[INFO] [stdout]    --> src/analysis/risk_attribution.rs:415:36
[INFO] [stdout]     |
[INFO] [stdout] 415 | fn compute_regression_coefficients(X: ArrayView2<f64>, y: ArrayView1<f64>) -> Result<Array1<f64>> {
[INFO] [stdout]     |                                    ^ help: convert the identifier to snake case (notice the capitalization): `x`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `metadata` is never read
[INFO] [stdout]   --> src/analysis/pca.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct StatisticalFactorModel {
[INFO] [stdout]    |            ---------------------- field in this struct
[INFO] [stdout] 25 |     factor_groups: Vec<FactorGroup>,
[INFO] [stdout] 26 |     metadata: HashMap<String, Array1<f64>>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StatisticalFactorModel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_metadata` is never used
[INFO] [stdout]   --> src/analysis/factor_model.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub trait FactorModel {
[INFO] [stdout]    |           ----------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 54 |     fn add_metadata(&mut self, key: &str, data: Array1<f64>);
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OrthogonalizationError` is never used
[INFO] [stdout]  --> src/analysis/orthogonalization.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum OrthogonalizationError {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Result` is never used
[INFO] [stdout]   --> src/analysis/orthogonalization.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub type Result<T> = std::result::Result<T, OrthogonalizationError>;
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `compute_factor_loadings` is never used
[INFO] [stdout]    --> src/analysis/risk_attribution.rs:378:8
[INFO] [stdout]     |
[INFO] [stdout]  46 | impl<M: FactorModel> RiskAttributor<M> {
[INFO] [stdout]     | -------------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 378 |     fn compute_factor_loadings(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `max_correlation` is never read
[INFO] [stdout]   --> src/analysis/orthogonalization.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct FactorOrthogonalizer {
[INFO] [stdout]    |            -------------------- field in this struct
[INFO] [stdout] 18 |     pub method: OrthogonalizationMethod,
[INFO] [stdout] 19 |     pub max_correlation: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FactorOrthogonalizer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_default_factor_groups` is never used
[INFO] [stdout]  --> src/analysis/factor_config.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn create_default_factor_groups() -> Vec<FactorGroup> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_pca_factor_groups` is never used
[INFO] [stdout]    --> src/analysis/factor_config.rs:108:8
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub fn create_pca_factor_groups(n_factors: usize, tickers: &[String]) -> Vec<FactorGroup> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_factor_priority` is never used
[INFO] [stdout]   --> src/config/mod.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl Config {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub fn get_factor_priority(&self) -> Vec<String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.11s
[INFO] running `Command { std: "docker" "inspect" "913aa60fbc5bbecde5c64843abc93aa108754664826d91592d677e02f6e39b8d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "913aa60fbc5bbecde5c64843abc93aa108754664826d91592d677e02f6e39b8d", kill_on_drop: false }`
[INFO] [stdout] 913aa60fbc5bbecde5c64843abc93aa108754664826d91592d677e02f6e39b8d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0886ed5e480afe371c23c5a849a8aab23f5cfd86c11091655fe18c7366cf5d7f
[INFO] running `Command { std: "docker" "start" "-a" "0886ed5e480afe371c23c5a849a8aab23f5cfd86c11091655fe18c7366cf5d7f", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `Array2`
[INFO] [stdout]  --> src/analysis/factors.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{s, Array1, Array2, ArrayView2, Axis};
[INFO] [stdout]   |                          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling pythia v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Axis`
[INFO] [stdout]  --> src/analysis/orthogonalization.rs:2:58
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray::{s, Array1, Array2, ArrayView1, ArrayView2, Axis};
[INFO] [stdout]   |                                                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FactorModelError` and `ThematicFactorModel`
[INFO] [stdout]  --> src/analysis/pca.rs:2:31
[INFO] [stdout]   |
[INFO] [stdout] 2 |     FactorGroup, FactorModel, FactorModelError, Result as ModelResult, ThematicFactorModel,
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^^^                         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::weighting::WeightingScheme`
[INFO] [stdout]  --> src/analysis/pca.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use super::weighting::WeightingScheme;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `s`
[INFO] [stdout]  --> src/analysis/pca.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ndarray::{s, Array1, Array2, ArrayView2};
[INFO] [stdout]   |               ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/analysis/pca.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ThematicFactorModel`
[INFO] [stdout]  --> src/analysis/risk_attribution.rs:1:53
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::factor_model::{FactorGroup, FactorModel, ThematicFactorModel};
[INFO] [stdout]   |                                                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Axis`
[INFO] [stdout]  --> src/analysis/risk_attribution.rs:3:58
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ndarray::{s, Array1, Array2, ArrayView1, ArrayView2, Axis};
[INFO] [stdout]   |                                                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Axis`
[INFO] [stdout]  --> src/analysis/weighting.rs:1:58
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{s, Array1, Array2, ArrayView1, ArrayView2, Axis};
[INFO] [stdout]   |                                                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray_stats::QuantileExt`
[INFO] [stdout]  --> src/analysis/risk_attribution.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ndarray_stats::QuantileExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_periods`
[INFO] [stdout]    --> src/analysis/risk_attribution.rs:347:13
[INFO] [stdout]     |
[INFO] [stdout] 347 |         let n_periods = self.returns.nrows();
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_periods`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lambda`
[INFO] [stdout]    --> src/analysis/risk_attribution.rs:346:41
[INFO] [stdout]     |
[INFO] [stdout] 346 |     fn compute_residual_variance(&self, lambda: f64) -> Result<f64> {
[INFO] [stdout]     |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tickers`
[INFO] [stdout]   --> src/analysis/pca.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         tickers: &[String],
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tickers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `X` should have a snake case name
[INFO] [stdout]    --> src/analysis/risk_attribution.rs:415:36
[INFO] [stdout]     |
[INFO] [stdout] 415 | fn compute_regression_coefficients(X: ArrayView2<f64>, y: ArrayView1<f64>) -> Result<Array1<f64>> {
[INFO] [stdout]     |                                    ^ help: convert the identifier to snake case (notice the capitalization): `x`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `compute_factor_loadings` is never used
[INFO] [stdout]    --> src/analysis/risk_attribution.rs:378:8
[INFO] [stdout]     |
[INFO] [stdout]  46 | impl<M: FactorModel> RiskAttributor<M> {
[INFO] [stdout]     | -------------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 378 |     fn compute_factor_loadings(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Axis`
[INFO] [stdout]  --> src/analysis/orthogonalization.rs:2:58
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray::{s, Array1, Array2, ArrayView1, ArrayView2, Axis};
[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 imports: `FactorModelError` and `ThematicFactorModel`
[INFO] [stdout]  --> src/analysis/pca.rs:2:31
[INFO] [stdout]   |
[INFO] [stdout] 2 |     FactorGroup, FactorModel, FactorModelError, Result as ModelResult, ThematicFactorModel,
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^^^                         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::weighting::WeightingScheme`
[INFO] [stdout]  --> src/analysis/pca.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use super::weighting::WeightingScheme;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `s`
[INFO] [stdout]  --> src/analysis/pca.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ndarray::{s, Array1, Array2, ArrayView2};
[INFO] [stdout]   |               ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/analysis/pca.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ThematicFactorModel`
[INFO] [stdout]  --> src/analysis/risk_attribution.rs:1:53
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::factor_model::{FactorGroup, FactorModel, ThematicFactorModel};
[INFO] [stdout]   |                                                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Axis`
[INFO] [stdout]  --> src/analysis/risk_attribution.rs:3:58
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ndarray::{s, Array1, Array2, ArrayView1, ArrayView2, Axis};
[INFO] [stdout]   |                                                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Axis`
[INFO] [stdout]  --> src/analysis/weighting.rs:1:58
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{s, Array1, Array2, ArrayView1, ArrayView2, Axis};
[INFO] [stdout]   |                                                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Axis`
[INFO] [stdout]  --> src/analysis/orthogonalization.rs:2:58
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray::{s, Array1, Array2, ArrayView1, ArrayView2, Axis};
[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 imports: `FactorModelError` and `ThematicFactorModel`
[INFO] [stdout]  --> src/analysis/pca.rs:2:31
[INFO] [stdout]   |
[INFO] [stdout] 2 |     FactorGroup, FactorModel, FactorModelError, Result as ModelResult, ThematicFactorModel,
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^^^                         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::weighting::WeightingScheme`
[INFO] [stdout]  --> src/analysis/pca.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use super::weighting::WeightingScheme;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `s`
[INFO] [stdout]  --> src/analysis/pca.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ndarray::{s, Array1, Array2, ArrayView2};
[INFO] [stdout]   |               ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/analysis/pca.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ThematicFactorModel`
[INFO] [stdout]  --> src/analysis/risk_attribution.rs:1:53
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::factor_model::{FactorGroup, FactorModel, ThematicFactorModel};
[INFO] [stdout]   |                                                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Axis`
[INFO] [stdout]  --> src/analysis/risk_attribution.rs:3:58
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ndarray::{s, Array1, Array2, ArrayView1, ArrayView2, Axis};
[INFO] [stdout]   |                                                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Axis`
[INFO] [stdout]  --> src/analysis/weighting.rs:1:58
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{s, Array1, Array2, ArrayView1, ArrayView2, Axis};
[INFO] [stdout]   |                                                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `StatisticalFactorModel` and `orthogonalization::FactorOrthogonalizer`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     orthogonalization::FactorOrthogonalizer,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 9 |     pca::{StatisticalFactorModel, PCA},
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `types::OrthogonalizationMethod`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use types::OrthogonalizationMethod;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray_stats::QuantileExt`
[INFO] [stdout]  --> src/analysis/risk_attribution.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ndarray_stats::QuantileExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tickers`
[INFO] [stdout]   --> src/analysis/pca.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         tickers: &[String],
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tickers`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_periods`
[INFO] [stdout]    --> src/analysis/risk_attribution.rs:347:13
[INFO] [stdout]     |
[INFO] [stdout] 347 |         let n_periods = self.returns.nrows();
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_periods`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lambda`
[INFO] [stdout]    --> src/analysis/risk_attribution.rs:346:41
[INFO] [stdout]     |
[INFO] [stdout] 346 |     fn compute_residual_variance(&self, lambda: f64) -> Result<f64> {
[INFO] [stdout]     |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray_stats::QuantileExt`
[INFO] [stdout]  --> src/analysis/risk_attribution.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ndarray_stats::QuantileExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `X` should have a snake case name
[INFO] [stdout]    --> src/analysis/risk_attribution.rs:415:36
[INFO] [stdout]     |
[INFO] [stdout] 415 | fn compute_regression_coefficients(X: ArrayView2<f64>, y: ArrayView1<f64>) -> Result<Array1<f64>> {
[INFO] [stdout]     |                                    ^ help: convert the identifier to snake case (notice the capitalization): `x`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `compute_factor_loadings` is never used
[INFO] [stdout]    --> src/analysis/risk_attribution.rs:378:8
[INFO] [stdout]     |
[INFO] [stdout]  46 | impl<M: FactorModel> RiskAttributor<M> {
[INFO] [stdout]     | -------------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 378 |     fn compute_factor_loadings(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tickers`
[INFO] [stdout]   --> src/analysis/pca.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         tickers: &[String],
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tickers`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_periods`
[INFO] [stdout]    --> src/analysis/risk_attribution.rs:347:13
[INFO] [stdout]     |
[INFO] [stdout] 347 |         let n_periods = self.returns.nrows();
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_periods`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lambda`
[INFO] [stdout]    --> src/analysis/risk_attribution.rs:346:41
[INFO] [stdout]     |
[INFO] [stdout] 346 |     fn compute_residual_variance(&self, lambda: f64) -> Result<f64> {
[INFO] [stdout]     |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_default_factor_groups` is never used
[INFO] [stdout]  --> src/analysis/factor_config.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn create_default_factor_groups() -> Vec<FactorGroup> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OrthogonalizationError` is never used
[INFO] [stdout]  --> src/analysis/orthogonalization.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum OrthogonalizationError {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Result` is never used
[INFO] [stdout]   --> src/analysis/orthogonalization.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub type Result<T> = std::result::Result<T, OrthogonalizationError>;
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_metadata` is never used
[INFO] [stdout]   --> src/analysis/factor_model.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub trait FactorModel {
[INFO] [stdout]    |           ----------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 54 |     fn add_metadata(&mut self, key: &str, data: Array1<f64>);
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `metadata` is never read
[INFO] [stdout]   --> src/analysis/pca.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct StatisticalFactorModel {
[INFO] [stdout]    |            ---------------------- field in this struct
[INFO] [stdout] 25 |     factor_groups: Vec<FactorGroup>,
[INFO] [stdout] 26 |     metadata: HashMap<String, Array1<f64>>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StatisticalFactorModel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `compute_factor_loadings` is never used
[INFO] [stdout]    --> src/analysis/risk_attribution.rs:378:8
[INFO] [stdout]     |
[INFO] [stdout]  46 | impl<M: FactorModel> RiskAttributor<M> {
[INFO] [stdout]     | -------------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 378 |     fn compute_factor_loadings(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_factor_priority` is never used
[INFO] [stdout]   --> src/config/mod.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl Config {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub fn get_factor_priority(&self) -> Vec<String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `X` should have a snake case name
[INFO] [stdout]    --> src/analysis/risk_attribution.rs:415:36
[INFO] [stdout]     |
[INFO] [stdout] 415 | fn compute_regression_coefficients(X: ArrayView2<f64>, y: ArrayView1<f64>) -> Result<Array1<f64>> {
[INFO] [stdout]     |                                    ^ help: convert the identifier to snake case (notice the capitalization): `x`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `max_correlation` is never read
[INFO] [stdout]   --> src/analysis/orthogonalization.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct FactorOrthogonalizer {
[INFO] [stdout]    |            -------------------- field in this struct
[INFO] [stdout] 18 |     pub method: OrthogonalizationMethod,
[INFO] [stdout] 19 |     pub max_correlation: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FactorOrthogonalizer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_pca_factor_groups` is never used
[INFO] [stdout]    --> src/analysis/factor_config.rs:108:8
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub fn create_pca_factor_groups(n_factors: usize, tickers: &[String]) -> Vec<FactorGroup> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.10s
[INFO] running `Command { std: "docker" "inspect" "0886ed5e480afe371c23c5a849a8aab23f5cfd86c11091655fe18c7366cf5d7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0886ed5e480afe371c23c5a849a8aab23f5cfd86c11091655fe18c7366cf5d7f", kill_on_drop: false }`
[INFO] [stdout] 0886ed5e480afe371c23c5a849a8aab23f5cfd86c11091655fe18c7366cf5d7f
