[INFO] cloning repository https://github.com/Disciple0fMarx/plsr-sinusoid-demo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Disciple0fMarx/plsr-sinusoid-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDisciple0fMarx%2Fplsr-sinusoid-demo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDisciple0fMarx%2Fplsr-sinusoid-demo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 68e39e65f13eb23aab42b196f183f7b046b07a94
[INFO] checking Disciple0fMarx/plsr-sinusoid-demo against try#0c70cfbec949d241375e31c5a42066be70c720fc for pr-149681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDisciple0fMarx%2Fplsr-sinusoid-demo" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Disciple0fMarx/plsr-sinusoid-demo
[INFO] finished tweaking git repo https://github.com/Disciple0fMarx/plsr-sinusoid-demo
[INFO] tweaked toml for git repo https://github.com/Disciple0fMarx/plsr-sinusoid-demo written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Disciple0fMarx/plsr-sinusoid-demo on toolchain 0c70cfbec949d241375e31c5a42066be70c720fc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Disciple0fMarx/plsr-sinusoid-demo 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" "+0c70cfbec949d241375e31c5a42066be70c720fc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1041a2ea3f876ebd3f815da7230fbdd14377bf7856b2bd4fafffabbe949d11e5
[INFO] running `Command { std: "docker" "start" "-a" "1041a2ea3f876ebd3f815da7230fbdd14377bf7856b2bd4fafffabbe949d11e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1041a2ea3f876ebd3f815da7230fbdd14377bf7856b2bd4fafffabbe949d11e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1041a2ea3f876ebd3f815da7230fbdd14377bf7856b2bd4fafffabbe949d11e5", kill_on_drop: false }`
[INFO] [stdout] 1041a2ea3f876ebd3f815da7230fbdd14377bf7856b2bd4fafffabbe949d11e5
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 86e130ded0be03e3597eda39735ef262fc08708e80dd8dab5444b3549fd9f260
[INFO] running `Command { std: "docker" "start" "-a" "86e130ded0be03e3597eda39735ef262fc08708e80dd8dab5444b3549fd9f260", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]    Compiling pathfinder_simd v0.5.5
[INFO] [stderr]    Compiling freetype-sys v0.20.1
[INFO] [stderr]    Compiling yeslogic-fontconfig-sys v6.0.0
[INFO] [stderr]    Compiling matrixmultiply v0.3.10
[INFO] [stderr]     Checking flate2 v1.1.5
[INFO] [stderr]     Checking dirs-sys v0.5.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking cblas-sys v0.1.4
[INFO] [stderr]    Compiling font-kit v0.14.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking weezl v0.1.11
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]     Checking pathfinder_geometry v0.5.1
[INFO] [stderr]     Checking gif v0.12.0
[INFO] [stderr]     Checking dirs v6.0.0
[INFO] [stderr]     Checking lapack-sys v0.15.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]     Checking float-ord v0.3.2
[INFO] [stderr]     Checking chrono v0.4.42
[INFO] [stderr]     Checking rand_distr v0.5.1
[INFO] [stderr]     Checking ttf-parser v0.20.0
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking plotters-bitmap v0.3.7
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stderr]     Checking ndarray v0.17.1
[INFO] [stderr]     Checking cauchy v0.4.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling katexit v0.1.5
[INFO] [stderr]     Checking thiserror v2.0.17
[INFO] [stderr]     Checking lax v0.18.0
[INFO] [stderr]     Checking ndarray-linalg v0.18.0
[INFO] [stderr]     Checking ndarray-rand v0.16.0
[INFO] [stderr]     Checking plsr-sinusoid-demo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `ndarray_linalg::SVDSquare`
[INFO] [stdout]  --> src/plsr.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray_linalg::SVDSquare;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^---------
[INFO] [stdout]   |     |               |
[INFO] [stdout]   |     |               help: a similar name exists in the module: `QRSquare`
[INFO] [stdout]   |     no `SVDSquare` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `powi` in this scope
[INFO] [stdout]   --> src/metrics.rs:25:71
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let den = ((a - ma).mapv(|x| x.powi(2)).sum() * (b - mb).mapv(|x| powi(2)).sum()).sqrt();
[INFO] [stdout]    |                                                                       ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout]  1 + use core::f32::math::powi;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use core::f64::math::powi;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Normal`
[INFO] [stdout]  --> src/data.rs:2:53
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray_rand::{RandomExt, rand_distr::{Uniform, Normal}};
[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: `rand::Rng`
[INFO] [stdout]  --> src/data.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Axis`
[INFO] [stdout]  --> src/metrics.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{Array2, Array1, Axis};
[INFO] [stdout]   |                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::Array2`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use ndarray::Array2;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]   --> src/data.rs:23:25
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut rng = rand::thread_rng();
[INFO] [stdout]    |                         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ndarray_linalg::SVDSquare`
[INFO] [stdout]  --> src/plsr.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray_linalg::SVDSquare;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^---------
[INFO] [stdout]   |     |               |
[INFO] [stdout]   |     |               help: a similar name exists in the module: `QRSquare`
[INFO] [stdout]   |     no `SVDSquare` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `powi` in this scope
[INFO] [stdout]   --> src/metrics.rs:25:71
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let den = ((a - ma).mapv(|x| x.powi(2)).sum() * (b - mb).mapv(|x| powi(2)).sum()).sqrt();
[INFO] [stdout]    |                                                                       ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout]  1 + use core::f32::math::powi;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use core::f64::math::powi;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Normal`
[INFO] [stdout]  --> src/data.rs:2:53
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray_rand::{RandomExt, rand_distr::{Uniform, Normal}};
[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: `rand::Rng`
[INFO] [stdout]  --> src/data.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Axis`
[INFO] [stdout]  --> src/metrics.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{Array2, Array1, Axis};
[INFO] [stdout]   |                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::Array2`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use ndarray::Array2;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]   --> src/data.rs:23:25
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut rng = rand::thread_rng();
[INFO] [stdout]    |                         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<Uniform<{float}>, Error>: Distribution<_>` is not satisfied
[INFO] [stdout]    --> src/data.rs:25:46
[INFO] [stdout]     |
[INFO] [stdout]  25 |     let amplitudes = Array1::random_using(n, Uniform::new(0.5, 3.0), &mut rng);
[INFO] [stdout]     |                      --------------------    ^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `ndarray_rand::rand_distr::Distribution<_>` is not implemented for `Result<Uniform<{float}>, ndarray_rand::rand_distr::uniform::Error>`
[INFO] [stdout] note: there are multiple different versions of crate `rand` in the dependency graph
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.9.2/src/distr/distribution.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout]  35 | pub trait Distribution<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected trait
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/distributions/distribution.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout]  35 | pub trait Distribution<T> {
[INFO] [stdout]     | ------------------------- this is the trait that was imported
[INFO] [stdout]     = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout]     = help: the following other types implement trait `ndarray_rand::rand_distr::Distribution<T>`:
[INFO] [stdout]               `&D` implements `ndarray_rand::rand_distr::Distribution<T>`
[INFO] [stdout]               `Alphabetic` implements `ndarray_rand::rand_distr::Distribution<u8>`
[INFO] [stdout]               `Alphanumeric` implements `ndarray_rand::rand_distr::Distribution<u8>`
[INFO] [stdout]               `Bernoulli` implements `ndarray_rand::rand_distr::Distribution<bool>`
[INFO] [stdout]               `Beta<F>` implements `ndarray_rand::rand_distr::Distribution<F>`
[INFO] [stdout]               `Binomial` implements `ndarray_rand::rand_distr::Distribution<u64>`
[INFO] [stdout]               `Cauchy<F>` implements `ndarray_rand::rand_distr::Distribution<F>`
[INFO] [stdout]               `ChiSquared<F>` implements `ndarray_rand::rand_distr::Distribution<F>`
[INFO] [stdout]             and 81 others
[INFO] [stdout] note: required by a bound in `ndarray_rand::RandomExt::random_using`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-rand-0.16.0/src/lib.rs:121:14
[INFO] [stdout]     |
[INFO] [stdout] 119 |     fn random_using<Sh, IdS, R>(shape: Sh, distribution: IdS, rng: &mut R) -> ArrayBase<S, D>
[INFO] [stdout]     |        ------------ required by a bound in this associated function
[INFO] [stdout] 120 |     where
[INFO] [stdout] 121 |         IdS: Distribution<S::Elem>,
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RandomExt::random_using`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/plsr_sinusoid_demo-e0b7e570dc18e0f2.long-type-9208591269715448379.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<Uniform<{float}>, Error>: Distribution<_>` is not satisfied
[INFO] [stdout]    --> src/data.rs:28:52
[INFO] [stdout]     |
[INFO] [stdout]  28 |         Case::RandomAFP => Array1::random_using(n, Uniform::new(0.5, 2.0), &mut rng),
[INFO] [stdout]     |                            --------------------    ^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `ndarray_rand::rand_distr::Distribution<_>` is not implemented for `Result<Uniform<{float}>, ndarray_rand::rand_distr::uniform::Error>`
[INFO] [stdout] note: there are multiple different versions of crate `rand` in the dependency graph
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.9.2/src/distr/distribution.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout]  35 | pub trait Distribution<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected trait
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/distributions/distribution.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout]  35 | pub trait Distribution<T> {
[INFO] [stdout]     | ------------------------- this is the trait that was imported
[INFO] [stdout]     = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout]     = help: the following other types implement trait `ndarray_rand::rand_distr::Distribution<T>`:
[INFO] [stdout]               `&D` implements `ndarray_rand::rand_distr::Distribution<T>`
[INFO] [stdout]               `Alphabetic` implements `ndarray_rand::rand_distr::Distribution<u8>`
[INFO] [stdout]               `Alphanumeric` implements `ndarray_rand::rand_distr::Distribution<u8>`
[INFO] [stdout]               `Bernoulli` implements `ndarray_rand::rand_distr::Distribution<bool>`
[INFO] [stdout]               `Beta<F>` implements `ndarray_rand::rand_distr::Distribution<F>`
[INFO] [stdout]               `Binomial` implements `ndarray_rand::rand_distr::Distribution<u64>`
[INFO] [stdout]               `Cauchy<F>` implements `ndarray_rand::rand_distr::Distribution<F>`
[INFO] [stdout]               `ChiSquared<F>` implements `ndarray_rand::rand_distr::Distribution<F>`
[INFO] [stdout]             and 81 others
[INFO] [stdout] note: required by a bound in `ndarray_rand::RandomExt::random_using`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-rand-0.16.0/src/lib.rs:121:14
[INFO] [stdout]     |
[INFO] [stdout] 119 |     fn random_using<Sh, IdS, R>(shape: Sh, distribution: IdS, rng: &mut R) -> ArrayBase<S, D>
[INFO] [stdout]     |        ------------ required by a bound in this associated function
[INFO] [stdout] 120 |     where
[INFO] [stdout] 121 |         IdS: Distribution<S::Elem>,
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RandomExt::random_using`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/plsr_sinusoid_demo-e0b7e570dc18e0f2.long-type-11397109166502131886.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<Uniform<f64>, Error>: Distribution<_>` is not satisfied
[INFO] [stdout]    --> src/data.rs:32:52
[INFO] [stdout]     |
[INFO] [stdout]  32 |         Case::RandomAFP => Array1::random_using(n, Uniform::new(0.0, 2.0 * std::f64::consts::PI), &mut rng),
[INFO] [stdout]     |                            --------------------    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `ndarray_rand::rand_distr::Distribution<_>` is not implemented for `Result<Uniform<f64>, ndarray_rand::rand_distr::uniform::Error>`
[INFO] [stdout] note: there are multiple different versions of crate `rand` in the dependency graph
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.9.2/src/distr/distribution.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout]  35 | pub trait Distribution<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected trait
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/distributions/distribution.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout]  35 | pub trait Distribution<T> {
[INFO] [stdout]     | ------------------------- this is the trait that was imported
[INFO] [stdout]     = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout]     = help: the following other types implement trait `ndarray_rand::rand_distr::Distribution<T>`:
[INFO] [stdout]               `&D` implements `ndarray_rand::rand_distr::Distribution<T>`
[INFO] [stdout]               `Alphabetic` implements `ndarray_rand::rand_distr::Distribution<u8>`
[INFO] [stdout]               `Alphanumeric` implements `ndarray_rand::rand_distr::Distribution<u8>`
[INFO] [stdout]               `Bernoulli` implements `ndarray_rand::rand_distr::Distribution<bool>`
[INFO] [stdout]               `Beta<F>` implements `ndarray_rand::rand_distr::Distribution<F>`
[INFO] [stdout]               `Binomial` implements `ndarray_rand::rand_distr::Distribution<u64>`
[INFO] [stdout]               `Cauchy<F>` implements `ndarray_rand::rand_distr::Distribution<F>`
[INFO] [stdout]               `ChiSquared<F>` implements `ndarray_rand::rand_distr::Distribution<F>`
[INFO] [stdout]             and 81 others
[INFO] [stdout] note: required by a bound in `ndarray_rand::RandomExt::random_using`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-rand-0.16.0/src/lib.rs:121:14
[INFO] [stdout]     |
[INFO] [stdout] 119 |     fn random_using<Sh, IdS, R>(shape: Sh, distribution: IdS, rng: &mut R) -> ArrayBase<S, D>
[INFO] [stdout]     |        ------------ required by a bound in this associated function
[INFO] [stdout] 120 |     where
[INFO] [stdout] 121 |         IdS: Distribution<S::Elem>,
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RandomExt::random_using`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/plsr_sinusoid_demo-e0b7e570dc18e0f2.long-type-17955761369469914302.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<Uniform<{float}>, Error>: Distribution<_>` is not satisfied
[INFO] [stdout]    --> src/data.rs:25:46
[INFO] [stdout]     |
[INFO] [stdout]  25 |     let amplitudes = Array1::random_using(n, Uniform::new(0.5, 3.0), &mut rng);
[INFO] [stdout]     |                      --------------------    ^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `ndarray_rand::rand_distr::Distribution<_>` is not implemented for `Result<Uniform<{float}>, ndarray_rand::rand_distr::uniform::Error>`
[INFO] [stdout] note: there are multiple different versions of crate `rand` in the dependency graph
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.9.2/src/distr/distribution.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout]  35 | pub trait Distribution<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected trait
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/distributions/distribution.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout]  35 | pub trait Distribution<T> {
[INFO] [stdout]     | ------------------------- this is the trait that was imported
[INFO] [stdout]     = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout]     = help: the following other types implement trait `ndarray_rand::rand_distr::Distribution<T>`:
[INFO] [stdout]               `&D` implements `ndarray_rand::rand_distr::Distribution<T>`
[INFO] [stdout]               `Alphabetic` implements `ndarray_rand::rand_distr::Distribution<u8>`
[INFO] [stdout]               `Alphanumeric` implements `ndarray_rand::rand_distr::Distribution<u8>`
[INFO] [stdout]               `Bernoulli` implements `ndarray_rand::rand_distr::Distribution<bool>`
[INFO] [stdout]               `Beta<F>` implements `ndarray_rand::rand_distr::Distribution<F>`
[INFO] [stdout]               `Binomial` implements `ndarray_rand::rand_distr::Distribution<u64>`
[INFO] [stdout]               `Cauchy<F>` implements `ndarray_rand::rand_distr::Distribution<F>`
[INFO] [stdout]               `ChiSquared<F>` implements `ndarray_rand::rand_distr::Distribution<F>`
[INFO] [stdout]             and 81 others
[INFO] [stdout] note: required by a bound in `ndarray_rand::RandomExt::random_using`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-rand-0.16.0/src/lib.rs:121:14
[INFO] [stdout]     |
[INFO] [stdout] 119 |     fn random_using<Sh, IdS, R>(shape: Sh, distribution: IdS, rng: &mut R) -> ArrayBase<S, D>
[INFO] [stdout]     |        ------------ required by a bound in this associated function
[INFO] [stdout] 120 |     where
[INFO] [stdout] 121 |         IdS: Distribution<S::Elem>,
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RandomExt::random_using`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/plsr_sinusoid_demo-c17eb91acabee86a.long-type-18199131542797948962.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/data.rs:47:29
[INFO] [stdout]    |
[INFO] [stdout] 47 |             x[[i, j]] = a * (2.0 * std::f64::consts::PI * f * t * phi).sin();
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/data.rs:50:29
[INFO] [stdout]    |
[INFO] [stdout] 50 |             y[[i, j]] = a * (2.0 * std::f64::consts::PI * f * t * phi).sin();
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<Uniform<{float}>, Error>: Distribution<_>` is not satisfied
[INFO] [stdout]    --> src/data.rs:28:52
[INFO] [stdout]     |
[INFO] [stdout]  28 |         Case::RandomAFP => Array1::random_using(n, Uniform::new(0.5, 2.0), &mut rng),
[INFO] [stdout]     |                            --------------------    ^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `ndarray_rand::rand_distr::Distribution<_>` is not implemented for `Result<Uniform<{float}>, ndarray_rand::rand_distr::uniform::Error>`
[INFO] [stdout] note: there are multiple different versions of crate `rand` in the dependency graph
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.9.2/src/distr/distribution.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout]  35 | pub trait Distribution<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected trait
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/distributions/distribution.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout]  35 | pub trait Distribution<T> {
[INFO] [stdout]     | ------------------------- this is the trait that was imported
[INFO] [stdout]     = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout]     = help: the following other types implement trait `ndarray_rand::rand_distr::Distribution<T>`:
[INFO] [stdout]               `&D` implements `ndarray_rand::rand_distr::Distribution<T>`
[INFO] [stdout]               `Alphabetic` implements `ndarray_rand::rand_distr::Distribution<u8>`
[INFO] [stdout]               `Alphanumeric` implements `ndarray_rand::rand_distr::Distribution<u8>`
[INFO] [stdout]               `Bernoulli` implements `ndarray_rand::rand_distr::Distribution<bool>`
[INFO] [stdout]               `Beta<F>` implements `ndarray_rand::rand_distr::Distribution<F>`
[INFO] [stdout]               `Binomial` implements `ndarray_rand::rand_distr::Distribution<u64>`
[INFO] [stdout]               `Cauchy<F>` implements `ndarray_rand::rand_distr::Distribution<F>`
[INFO] [stdout]               `ChiSquared<F>` implements `ndarray_rand::rand_distr::Distribution<F>`
[INFO] [stdout]             and 81 others
[INFO] [stdout] note: required by a bound in `ndarray_rand::RandomExt::random_using`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-rand-0.16.0/src/lib.rs:121:14
[INFO] [stdout]     |
[INFO] [stdout] 119 |     fn random_using<Sh, IdS, R>(shape: Sh, distribution: IdS, rng: &mut R) -> ArrayBase<S, D>
[INFO] [stdout]     |        ------------ required by a bound in this associated function
[INFO] [stdout] 120 |     where
[INFO] [stdout] 121 |         IdS: Distribution<S::Elem>,
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RandomExt::random_using`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/plsr_sinusoid_demo-c17eb91acabee86a.long-type-12759629458927361686.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<Uniform<f64>, Error>: Distribution<_>` is not satisfied
[INFO] [stdout]    --> src/data.rs:32:52
[INFO] [stdout]     |
[INFO] [stdout]  32 |         Case::RandomAFP => Array1::random_using(n, Uniform::new(0.0, 2.0 * std::f64::consts::PI), &mut rng),
[INFO] [stdout]     |                            --------------------    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `ndarray_rand::rand_distr::Distribution<_>` is not implemented for `Result<Uniform<f64>, ndarray_rand::rand_distr::uniform::Error>`
[INFO] [stdout] note: there are multiple different versions of crate `rand` in the dependency graph
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.9.2/src/distr/distribution.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout]  35 | pub trait Distribution<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected trait
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/distributions/distribution.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout]  35 | pub trait Distribution<T> {
[INFO] [stdout]     | ------------------------- this is the trait that was imported
[INFO] [stdout]     = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout]     = help: the following other types implement trait `ndarray_rand::rand_distr::Distribution<T>`:
[INFO] [stdout]               `&D` implements `ndarray_rand::rand_distr::Distribution<T>`
[INFO] [stdout]               `Alphabetic` implements `ndarray_rand::rand_distr::Distribution<u8>`
[INFO] [stdout]               `Alphanumeric` implements `ndarray_rand::rand_distr::Distribution<u8>`
[INFO] [stdout]               `Bernoulli` implements `ndarray_rand::rand_distr::Distribution<bool>`
[INFO] [stdout]               `Beta<F>` implements `ndarray_rand::rand_distr::Distribution<F>`
[INFO] [stdout]               `Binomial` implements `ndarray_rand::rand_distr::Distribution<u64>`
[INFO] [stdout]               `Cauchy<F>` implements `ndarray_rand::rand_distr::Distribution<F>`
[INFO] [stdout]               `ChiSquared<F>` implements `ndarray_rand::rand_distr::Distribution<F>`
[INFO] [stdout]             and 81 others
[INFO] [stdout] note: required by a bound in `ndarray_rand::RandomExt::random_using`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-rand-0.16.0/src/lib.rs:121:14
[INFO] [stdout]     |
[INFO] [stdout] 119 |     fn random_using<Sh, IdS, R>(shape: Sh, distribution: IdS, rng: &mut R) -> ArrayBase<S, D>
[INFO] [stdout]     |        ------------ required by a bound in this associated function
[INFO] [stdout] 120 |     where
[INFO] [stdout] 121 |         IdS: Distribution<S::Elem>,
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RandomExt::random_using`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/plsr_sinusoid_demo-c17eb91acabee86a.long-type-15575010053010319390.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/data.rs:47:29
[INFO] [stdout]    |
[INFO] [stdout] 47 |             x[[i, j]] = a * (2.0 * std::f64::consts::PI * f * t * phi).sin();
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/data.rs:50:29
[INFO] [stdout]    |
[INFO] [stdout] 50 |             y[[i, j]] = a * (2.0 * std::f64::consts::PI * f * t * phi).sin();
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `svd_square` found for struct `ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>, f64>` in the current scope
[INFO] [stdout]    --> src/plsr.rs:30:25
[INFO] [stdout]     |
[INFO] [stdout]  30 |             let svd = s.svd_square(true, true).unwrap();
[INFO] [stdout]     |                         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `is_square` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.17.1/src/impl_2d.rs:213:5
[INFO] [stdout]     |
[INFO] [stdout] 213 |     pub fn is_square(&self) -> bool
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/plsr.rs:34:17
[INFO] [stdout]    |
[INFO] [stdout] 34 |             let t_a = xc.dot(&w_a);
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 35 |             let p_a = xc.t().dot(&t_a) / t_a.dot(&t_a);
[INFO] [stdout]    |                                          --- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `t_a` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 34 |             let t_a: /* Type */ = xc.dot(&w_a);
[INFO] [stdout]    |                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `svd_square` found for struct `ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>, f64>` in the current scope
[INFO] [stdout]    --> src/plsr.rs:30:25
[INFO] [stdout]     |
[INFO] [stdout]  30 |             let svd = s.svd_square(true, true).unwrap();
[INFO] [stdout]     |                         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `is_square` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.17.1/src/impl_2d.rs:213:5
[INFO] [stdout]     |
[INFO] [stdout] 213 |     pub fn is_square(&self) -> bool
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/plsr.rs:34:17
[INFO] [stdout]    |
[INFO] [stdout] 34 |             let t_a = xc.dot(&w_a);
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 35 |             let p_a = xc.t().dot(&t_a) / t_a.dot(&t_a);
[INFO] [stdout]    |                                          --- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `t_a` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 34 |             let t_a: /* Type */ = xc.dot(&w_a);
[INFO] [stdout]    |                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:37:34
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let corr_a = correlation(&scores.column(0), &truth.amplitudes);
[INFO] [stdout]    |                      ----------- ^^^^^^^^^^^^^^^^^ expected `&ArrayBase<OwnedRepr<f64>, ..., f64>`, found `&ArrayBase<ViewRepr<&f64>, ..., f64>`
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&ArrayBase<OwnedRepr<f64>, _, _>`
[INFO] [stdout]               found reference `&ArrayBase<ViewRepr<&f64>, _, _>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/metrics.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn correlation(a: &Array1<f64>, b: &Array1<f64>) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^ ---------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:37:34
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let corr_a = correlation(&scores.column(0), &truth.amplitudes);
[INFO] [stdout]    |                      ----------- ^^^^^^^^^^^^^^^^^ expected `&ArrayBase<OwnedRepr<f64>, ..., f64>`, found `&ArrayBase<ViewRepr<&f64>, ..., f64>`
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&ArrayBase<OwnedRepr<f64>, _, _>`
[INFO] [stdout]               found reference `&ArrayBase<ViewRepr<&f64>, _, _>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/metrics.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn correlation(a: &Array1<f64>, b: &Array1<f64>) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^ ---------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:38:46
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let corr_f = if a >= 2 { correlation(&scores.column(1), &truth.frequencies) } else { 0.0 };
[INFO] [stdout]    |                                  ----------- ^^^^^^^^^^^^^^^^^ expected `&ArrayBase<OwnedRepr<f64>, ..., f64>`, found `&ArrayBase<ViewRepr<&f64>, ..., f64>`
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&ArrayBase<OwnedRepr<f64>, _, _>`
[INFO] [stdout]               found reference `&ArrayBase<ViewRepr<&f64>, _, _>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/metrics.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn correlation(a: &Array1<f64>, b: &Array1<f64>) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^ ---------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:39:46
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let corr_p = if a >= 3 { correlation(&scores.column(2), &truth.phases) } else { 0.0 };
[INFO] [stdout]    |                                  ----------- ^^^^^^^^^^^^^^^^^ expected `&ArrayBase<OwnedRepr<f64>, ..., f64>`, found `&ArrayBase<ViewRepr<&f64>, ..., f64>`
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&ArrayBase<OwnedRepr<f64>, _, _>`
[INFO] [stdout]               found reference `&ArrayBase<ViewRepr<&f64>, _, _>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/metrics.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn correlation(a: &Array1<f64>, b: &Array1<f64>) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^ ---------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:38:46
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let corr_f = if a >= 2 { correlation(&scores.column(1), &truth.frequencies) } else { 0.0 };
[INFO] [stdout]    |                                  ----------- ^^^^^^^^^^^^^^^^^ expected `&ArrayBase<OwnedRepr<f64>, ..., f64>`, found `&ArrayBase<ViewRepr<&f64>, ..., f64>`
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&ArrayBase<OwnedRepr<f64>, _, _>`
[INFO] [stdout]               found reference `&ArrayBase<ViewRepr<&f64>, _, _>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/metrics.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn correlation(a: &Array1<f64>, b: &Array1<f64>) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^ ---------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:39:46
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let corr_p = if a >= 3 { correlation(&scores.column(2), &truth.phases) } else { 0.0 };
[INFO] [stdout]    |                                  ----------- ^^^^^^^^^^^^^^^^^ expected `&ArrayBase<OwnedRepr<f64>, ..., f64>`, found `&ArrayBase<ViewRepr<&f64>, ..., f64>`
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&ArrayBase<OwnedRepr<f64>, _, _>`
[INFO] [stdout]               found reference `&ArrayBase<ViewRepr<&f64>, _, _>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/metrics.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn correlation(a: &Array1<f64>, b: &Array1<f64>) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^ ---------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308, E0425, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `plsr-sinusoid-demo` (bin "plsr-sinusoid-demo") due to 12 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308, E0425, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `plsr-sinusoid-demo` (bin "plsr-sinusoid-demo" test) due to 12 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "86e130ded0be03e3597eda39735ef262fc08708e80dd8dab5444b3549fd9f260", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "86e130ded0be03e3597eda39735ef262fc08708e80dd8dab5444b3549fd9f260", kill_on_drop: false }`
[INFO] [stdout] 86e130ded0be03e3597eda39735ef262fc08708e80dd8dab5444b3549fd9f260
