[INFO] cloning repository https://github.com/denim-bluu/rs_quant
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/denim-bluu/rs_quant" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenim-bluu%2Frs_quant", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenim-bluu%2Frs_quant'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b31ac9dd45d874b1384df16fb6adb45045ab84c5
[INFO] testing denim-bluu/rs_quant against 1.98.0-beta.1 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenim-bluu%2Frs_quant" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/denim-bluu/rs_quant
[INFO] finished tweaking git repo https://github.com/denim-bluu/rs_quant
[INFO] tweaked toml for git repo https://github.com/denim-bluu/rs_quant written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/denim-bluu/rs_quant on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/denim-bluu/rs_quant 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" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] febe3499904a80a0968d599c4d2da43c529c9381bc2ce4bbf9b71b2fa20f39a2
[INFO] running `Command { std: "docker" "start" "febe3499904a80a0968d599c4d2da43c529c9381bc2ce4bbf9b71b2fa20f39a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "febe3499904a80a0968d599c4d2da43c529c9381bc2ce4bbf9b71b2fa20f39a2", 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" "febe3499904a80a0968d599c4d2da43c529c9381bc2ce4bbf9b71b2fa20f39a2" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "febe3499904a80a0968d599c4d2da43c529c9381bc2ce4bbf9b71b2fa20f39a2", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "febe3499904a80a0968d599c4d2da43c529c9381bc2ce4bbf9b71b2fa20f39a2" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling thiserror v1.0.47
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling bytemuck v1.13.1
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]    Compiling itoa v1.0.9
[INFO] [stderr]    Compiling ucd-trie v0.1.6
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.4
[INFO] [stderr]    Compiling smallvec v1.11.0
[INFO] [stderr]    Compiling mac v0.1.1
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling futf v0.1.5
[INFO] [stderr]    Compiling tracing-core v0.1.31
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]    Compiling safe_arch v0.7.1
[INFO] [stderr]    Compiling tendril v0.4.3
[INFO] [stderr]    Compiling phf v0.10.1
[INFO] [stderr]    Compiling rustls v0.21.6
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling yeslogic-fontconfig-sys v3.2.0
[INFO] [stderr]    Compiling matrixmultiply v0.3.7
[INFO] [stderr]    Compiling try-lock v0.2.4
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling percent-encoding v2.3.0
[INFO] [stderr]    Compiling ryu v1.0.15
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling http v0.2.9
[INFO] [stderr]    Compiling form_urlencoded v1.2.0
[INFO] [stderr]    Compiling socket2 v0.5.3
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling socket2 v0.4.9
[INFO] [stderr]    Compiling wide v0.7.11
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling fdeflate v0.3.0
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling libloading v0.8.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling flate2 v1.0.27
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling syn v2.0.29
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling tokio v1.32.0
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling serde_json v1.0.105
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling num-complex v0.4.4
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling cmake v0.1.50
[INFO] [stderr]    Compiling idna v0.4.0
[INFO] [stderr]    Compiling png v0.17.10
[INFO] [stderr]    Compiling dlib v0.5.2
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling weezl v0.1.7
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling const-cstr v0.3.0
[INFO] [stderr]    Compiling font-kit v0.11.0
[INFO] [stderr]    Compiling time-core v0.1.1
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling freetype-sys v0.13.1
[INFO] [stderr]    Compiling base64 v0.21.3
[INFO] [stderr]    Compiling plotters-backend v0.3.5
[INFO] [stderr]    Compiling jpeg-decoder v0.3.0
[INFO] [stderr]    Compiling time-macros v0.2.14
[INFO] [stderr]    Compiling rustls-pemfile v1.0.3
[INFO] [stderr]    Compiling freetype v0.7.0
[INFO] [stderr]    Compiling simba v0.7.3
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling url v2.4.1
[INFO] [stderr]    Compiling gif v0.12.0
[INFO] [stderr]    Compiling phf_generator v0.10.0
[INFO] [stderr]    Compiling walkdir v2.3.3
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling image v0.24.7
[INFO] [stderr]    Compiling float-ord v0.2.0
[INFO] [stderr]    Compiling ipnet v2.8.0
[INFO] [stderr]    Compiling phf_codegen v0.10.0
[INFO] [stderr]    Compiling string_cache_codegen v0.5.2
[INFO] [stderr]    Compiling deranged v0.3.8
[INFO] [stderr]    Compiling iana-time-zone v0.1.57
[INFO] [stderr]    Compiling webpki-roots v0.25.2
[INFO] [stderr]    Compiling memchr v2.6.0
[INFO] [stderr]    Compiling plotters-svg v0.3.5
[INFO] [stderr]    Compiling simba v0.8.1
[INFO] [stderr]    Compiling chrono v0.4.26
[INFO] [stderr]    Compiling time v0.3.28
[INFO] [stderr]    Compiling ttf-parser v0.17.1
[INFO] [stderr]    Compiling markup5ever v0.11.0
[INFO] [stderr]    Compiling csv-core v0.1.10
[INFO] [stderr]    Compiling plotters-bitmap v0.3.3
[INFO] [stderr]    Compiling rustls-webpki v0.101.4
[INFO] [stderr]    Compiling sct v0.7.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.47
[INFO] [stderr]    Compiling serde_derive v1.0.188
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling async-stream v0.3.5
[INFO] [stderr]    Compiling tokio-util v0.7.8
[INFO] [stderr]    Compiling tokio-stream v0.1.14
[INFO] [stderr]    Compiling pest v2.7.2
[INFO] [stderr]    Compiling html5ever v0.26.0
[INFO] [stderr]    Compiling nalgebra-macros v0.1.0
[INFO] [stderr]    Compiling nalgebra-macros v0.2.1
[INFO] [stderr]    Compiling tokio-test v0.4.3
[INFO] [stderr]    Compiling semver-parser v0.10.2
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling semver v0.11.0
[INFO] [stderr]    Compiling rustc_version v0.3.3
[INFO] [stderr]    Compiling nalgebra v0.32.3
[INFO] [stderr]    Compiling nalgebra v0.31.4
[INFO] [stderr]    Compiling h2 v0.3.21
[INFO] [stderr]    Compiling pathfinder_simd v0.5.1
[INFO] [stderr]    Compiling pathfinder_geometry v0.5.1
[INFO] [stderr]    Compiling plotters v0.3.5
[INFO] [stderr]    Compiling hyper v0.14.27
[INFO] [stderr]    Compiling string_cache v0.8.7
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling csv v1.2.2
[INFO] [stderr]    Compiling xml5ever v0.17.0
[INFO] [stderr]    Compiling hyper-rustls v0.24.1
[INFO] [stderr]    Compiling markup5ever_rcdom v0.2.0
[INFO] [stderr]    Compiling reqwest v0.11.20
[INFO] [stderr]    Compiling select v0.6.0
[INFO] [stderr]    Compiling yahoo_finance_api v2.0.1
[INFO] [stderr]    Compiling polyfit-rs v0.2.1
[INFO] [stderr]    Compiling rs_quant v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `nalgebra as na`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use nalgebra as na;
[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: `std::ops::Add`
[INFO] [stdout]  --> src/trading.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::Add;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `long_exit`
[INFO] [stdout]   --> src/trading.rs:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let long_exit: Vec<bool> = roll_z.iter().map(|x| *x > -exit_z_score).collect();
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_long_exit`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `short_exit`
[INFO] [stdout]   --> src/trading.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let short_exit: Vec<bool> = roll_z.iter().map(|x| *x < entry_z_score).collect();
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_short_exit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ret`
[INFO] [stdout]   --> src/main.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let ret = pairs.bollinger_band_mean_reversion_strategy(1.0, 0.0, 20);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_ret`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hurst_example` is never used
[INFO] [stdout]   --> src/main.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn hurst_example() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_rs` is never used
[INFO] [stdout]   --> src/hurst_exponent.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn calculate_rs(x: &[f64]) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calcualte_hurst_exp` is never used
[INFO] [stdout]   --> src/hurst_exponent.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn calcualte_hurst_exp(ret: &[f64]) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cumulative_sum` is never used
[INFO] [stdout]   --> src/math.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub fn cumulative_sum(x: &Vec<f64>) -> Vec<f64> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s
[INFO] running `Command { std: "docker" "inspect" "febe3499904a80a0968d599c4d2da43c529c9381bc2ce4bbf9b71b2fa20f39a2", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "febe3499904a80a0968d599c4d2da43c529c9381bc2ce4bbf9b71b2fa20f39a2" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling rs_quant v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `nalgebra as na`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use nalgebra as na;
[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: `std::ops::Add`
[INFO] [stdout]  --> src/trading.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::Add;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `long_exit`
[INFO] [stdout]   --> src/trading.rs:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let long_exit: Vec<bool> = roll_z.iter().map(|x| *x > -exit_z_score).collect();
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_long_exit`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `short_exit`
[INFO] [stdout]   --> src/trading.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let short_exit: Vec<bool> = roll_z.iter().map(|x| *x < entry_z_score).collect();
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_short_exit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ret`
[INFO] [stdout]   --> src/main.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let ret = pairs.bollinger_band_mean_reversion_strategy(1.0, 0.0, 20);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_ret`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hurst_example` is never used
[INFO] [stdout]   --> src/main.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn hurst_example() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_rs` is never used
[INFO] [stdout]   --> src/hurst_exponent.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn calculate_rs(x: &[f64]) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calcualte_hurst_exp` is never used
[INFO] [stdout]   --> src/hurst_exponent.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn calcualte_hurst_exp(ret: &[f64]) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cumulative_sum` is never used
[INFO] [stdout]   --> src/math.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub fn cumulative_sum(x: &Vec<f64>) -> Vec<f64> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.20s
[INFO] running `Command { std: "docker" "inspect" "febe3499904a80a0968d599c4d2da43c529c9381bc2ce4bbf9b71b2fa20f39a2", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "febe3499904a80a0968d599c4d2da43c529c9381bc2ce4bbf9b71b2fa20f39a2" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `nalgebra as na`
[INFO] [stderr]  --> src/main.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use nalgebra as na;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::ops::Add`
[INFO] [stderr]  --> src/trading.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::ops::Add;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `long_exit`
[INFO] [stderr]   --> src/trading.rs:79:13
[INFO] [stderr]    |
[INFO] [stderr] 79 |         let long_exit: Vec<bool> = roll_z.iter().map(|x| *x > -exit_z_score).collect();
[INFO] [stderr]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_long_exit`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `short_exit`
[INFO] [stderr]   --> src/trading.rs:81:13
[INFO] [stderr]    |
[INFO] [stderr] 81 |         let short_exit: Vec<bool> = roll_z.iter().map(|x| *x < entry_z_score).collect();
[INFO] [stderr]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_short_exit`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ret`
[INFO] [stderr]   --> src/main.rs:26:9
[INFO] [stderr]    |
[INFO] [stderr] 26 |     let ret = pairs.bollinger_band_mean_reversion_strategy(1.0, 0.0, 20);
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_ret`
[INFO] [stderr] 
[INFO] [stderr] warning: function `hurst_example` is never used
[INFO] [stderr]   --> src/main.rs:29:4
[INFO] [stderr]    |
[INFO] [stderr] 29 | fn hurst_example() {
[INFO] [stderr]    |    ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `calculate_rs` is never used
[INFO] [stderr]   --> src/hurst_exponent.rs:15:8
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub fn calculate_rs(x: &[f64]) -> f64 {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `calcualte_hurst_exp` is never used
[INFO] [stderr]   --> src/hurst_exponent.rs:35:8
[INFO] [stderr]    |
[INFO] [stderr] 35 | pub fn calcualte_hurst_exp(ret: &[f64]) -> f64 {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `cumulative_sum` is never used
[INFO] [stderr]   --> src/math.rs:52:8
[INFO] [stderr]    |
[INFO] [stderr] 52 | pub fn cumulative_sum(x: &Vec<f64>) -> Vec<f64> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rs_quant` (bin "rs_quant" test) generated 9 warnings (run `cargo fix --bin "rs_quant" -p rs_quant --tests` to apply 5 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rs_quant-5f1845f4c59d29af)
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rs_quant-51e89ec26993cea8)
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rs_quant
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "febe3499904a80a0968d599c4d2da43c529c9381bc2ce4bbf9b71b2fa20f39a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "febe3499904a80a0968d599c4d2da43c529c9381bc2ce4bbf9b71b2fa20f39a2", kill_on_drop: false }`
[INFO] [stdout] febe3499904a80a0968d599c4d2da43c529c9381bc2ce4bbf9b71b2fa20f39a2
