[INFO] fetching crate rhai-ml 0.1.2... [INFO] checking rhai-ml-0.1.2 against try#be699666730c5a1745838222e98e2d85019affdc for pr-134300 [INFO] extracting crate rhai-ml 0.1.2 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate rhai-ml 0.1.2 on toolchain be699666730c5a1745838222e98e2d85019affdc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+be699666730c5a1745838222e98e2d85019affdc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rhai-ml 0.1.2 [INFO] finished tweaking crates.io crate rhai-ml 0.1.2 [INFO] tweaked toml for crates.io crate rhai-ml 0.1.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+be699666730c5a1745838222e98e2d85019affdc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 50 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+be699666730c5a1745838222e98e2d85019affdc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rhai_codegen v2.2.0 [INFO] [stderr] Downloaded rhai v1.20.1 [INFO] [stderr] Downloaded smartcore v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+be699666730c5a1745838222e98e2d85019affdc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e330530e0331ce5e618030ff8445a6a5b39f665979f7804c988df31e6d3e002f [INFO] running `Command { std: "docker" "start" "-a" "e330530e0331ce5e618030ff8445a6a5b39f665979f7804c988df31e6d3e002f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e330530e0331ce5e618030ff8445a6a5b39f665979f7804c988df31e6d3e002f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e330530e0331ce5e618030ff8445a6a5b39f665979f7804c988df31e6d3e002f", kill_on_drop: false }` [INFO] [stdout] e330530e0331ce5e618030ff8445a6a5b39f665979f7804c988df31e6d3e002f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+be699666730c5a1745838222e98e2d85019affdc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6088c6a6ee23190d35247af79a56b4168d34dee70a115d553cc75da9e12364e [INFO] running `Command { std: "docker" "start" "-a" "c6088c6a6ee23190d35247af79a56b4168d34dee70a115d553cc75da9e12364e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling portable-atomic v1.10.0 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling inventory v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling thin-vec v0.2.13 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling typetag-impl v0.2.18 [INFO] [stderr] Compiling rhai_codegen v2.2.0 [INFO] [stderr] Compiling rhai v1.20.1 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking typetag v0.2.18 [INFO] [stderr] Checking smartcore v0.4.0 [INFO] [stderr] Compiling rhai-ml v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: QRDecomposable<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:84:49 [INFO] [stdout] | [INFO] [stdout] 84 | match LinearRegression::fit(&xvec, &yvec, LinearRegressionParameters::default()) [INFO] [stdout] | --------------------- ^^^^^ the trait `QRDecomposable<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `QRDecomposable` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `LinearRegression::::fit` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/linear_regression.rs:237:25 [INFO] [stdout] | [INFO] [stdout] 237 | X: Array2 + QRDecomposable + SVDDecomposable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `LinearRegression::::fit` [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn fit( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: SVDDecomposable<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:84:49 [INFO] [stdout] | [INFO] [stdout] 84 | match LinearRegression::fit(&xvec, &yvec, LinearRegressionParameters::default()) [INFO] [stdout] | --------------------- ^^^^^ the trait `SVDDecomposable<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `SVDDecomposable` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `LinearRegression::::fit` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/linear_regression.rs:237:46 [INFO] [stdout] | [INFO] [stdout] 237 | X: Array2 + QRDecomposable + SVDDecomposable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `LinearRegression::::fit` [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn fit( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: QRDecomposable<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | match LinearRegression::fit(&xvec, &yvec, LinearRegressionParameters::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `QRDecomposable<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `QRDecomposable` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `LinearRegression` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/linear_regression.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct LinearRegression< [INFO] [stdout] | ---------------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 111 | X: Array2 + QRDecomposable + SVDDecomposable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `LinearRegression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: SVDDecomposable<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | match LinearRegression::fit(&xvec, &yvec, LinearRegressionParameters::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `SVDDecomposable<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SVDDecomposable` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `LinearRegression` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/linear_regression.rs:111:42 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct LinearRegression< [INFO] [stdout] | ---------------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 111 | X: Array2 + QRDecomposable + SVDDecomposable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `LinearRegression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: QRDecomposable<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | match LinearRegression::fit(&xvec, &yvec, LinearRegressionParameters::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `QRDecomposable<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `QRDecomposable` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `LinearRegression` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/linear_regression.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct LinearRegression< [INFO] [stdout] | ---------------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 111 | X: Array2 + QRDecomposable + SVDDecomposable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `LinearRegression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: SVDDecomposable<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | match LinearRegression::fit(&xvec, &yvec, LinearRegressionParameters::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `SVDDecomposable<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SVDDecomposable` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `LinearRegression` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/linear_regression.rs:111:42 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct LinearRegression< [INFO] [stdout] | ---------------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 111 | X: Array2 + QRDecomposable + SVDDecomposable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `LinearRegression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: QRDecomposable<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:87:61 [INFO] [stdout] | [INFO] [stdout] 87 | ... saved_model: bincode::serialize(&model).unwrap(), [INFO] [stdout] | ------------------ ^^^^^^ the trait `QRDecomposable<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `QRDecomposable` is implemented for `DenseMatrix` [INFO] [stdout] = note: required for `LinearRegression<_, f64, Result, Failed>, Vec>` to implement `serde::ser::Serialize` [INFO] [stdout] note: required by a bound in `bincode::serialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bincode-1.3.3/src/lib.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize(value: &T) -> Result> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 107 | where [INFO] [stdout] 108 | T: serde::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: QRDecomposable<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:84:49 [INFO] [stdout] | [INFO] [stdout] 84 | match LinearRegression::fit(&xvec, &yvec, LinearRegressionParameters::default()) [INFO] [stdout] | --------------------- ^^^^^ the trait `QRDecomposable<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `QRDecomposable` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `LinearRegression::::fit` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/linear_regression.rs:237:25 [INFO] [stdout] | [INFO] [stdout] 237 | X: Array2 + QRDecomposable + SVDDecomposable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `LinearRegression::::fit` [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn fit( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: SVDDecomposable<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:87:61 [INFO] [stdout] | [INFO] [stdout] 87 | ... saved_model: bincode::serialize(&model).unwrap(), [INFO] [stdout] | ------------------ ^^^^^^ the trait `SVDDecomposable<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `SVDDecomposable` is implemented for `DenseMatrix` [INFO] [stdout] = note: required for `LinearRegression<_, f64, Result, Failed>, Vec>` to implement `serde::ser::Serialize` [INFO] [stdout] note: required by a bound in `bincode::serialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bincode-1.3.3/src/lib.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize(value: &T) -> Result> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 107 | where [INFO] [stdout] 108 | T: serde::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: QRDecomposable<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:87:42 [INFO] [stdout] | [INFO] [stdout] 87 | ... saved_model: bincode::serialize(&model).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `QRDecomposable<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `QRDecomposable` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `LinearRegression` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/linear_regression.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct LinearRegression< [INFO] [stdout] | ---------------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 111 | X: Array2 + QRDecomposable + SVDDecomposable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `LinearRegression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: SVDDecomposable<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:87:42 [INFO] [stdout] | [INFO] [stdout] 87 | ... saved_model: bincode::serialize(&model).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `SVDDecomposable<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SVDDecomposable` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `LinearRegression` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/linear_regression.rs:111:42 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct LinearRegression< [INFO] [stdout] | ---------------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 111 | X: Array2 + QRDecomposable + SVDDecomposable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `LinearRegression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: SVDDecomposable<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:84:49 [INFO] [stdout] | [INFO] [stdout] 84 | match LinearRegression::fit(&xvec, &yvec, LinearRegressionParameters::default()) [INFO] [stdout] | --------------------- ^^^^^ the trait `SVDDecomposable<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `SVDDecomposable` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `LinearRegression::::fit` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/linear_regression.rs:237:46 [INFO] [stdout] | [INFO] [stdout] 237 | X: Array2 + QRDecomposable + SVDDecomposable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `LinearRegression::::fit` [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn fit( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: QRDecomposable<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | match LinearRegression::fit(&xvec, &yvec, LinearRegressionParameters::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `QRDecomposable<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `QRDecomposable` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `LinearRegression` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/linear_regression.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct LinearRegression< [INFO] [stdout] | ---------------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 111 | X: Array2 + QRDecomposable + SVDDecomposable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `LinearRegression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: SVDDecomposable<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | match LinearRegression::fit(&xvec, &yvec, LinearRegressionParameters::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `SVDDecomposable<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SVDDecomposable` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `LinearRegression` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/linear_regression.rs:111:42 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct LinearRegression< [INFO] [stdout] | ---------------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 111 | X: Array2 + QRDecomposable + SVDDecomposable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `LinearRegression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: Array2<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:103:38 [INFO] [stdout] | [INFO] [stdout] 103 | match Lasso::fit(&xvec, &yvec, LassoParameters::default()) { [INFO] [stdout] | ---------- ^^^^^ the trait `Array2<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Array2` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `Lasso::::fit` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/lasso.rs:241:51 [INFO] [stdout] | [INFO] [stdout] 241 | impl, Y: Array1> Lasso { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Lasso::::fit` [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn fit(x: &X, y: &Y, parameters: LassoParameters) -> Result, Failed> { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: Array2<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | match Lasso::fit(&xvec, &yvec, LassoParameters::default()) { [INFO] [stdout] | ^^^^^ the trait `Array2<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Array2` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `Lasso` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/lasso.rs:61:63 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Lasso, Y: Array1> { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Lasso` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: Array2<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | match Lasso::fit(&xvec, &yvec, LassoParameters::default()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Array2<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Array2` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `Lasso` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/lasso.rs:61:63 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Lasso, Y: Array1> { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Lasso` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: QRDecomposable<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | match LinearRegression::fit(&xvec, &yvec, LinearRegressionParameters::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `QRDecomposable<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `QRDecomposable` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `LinearRegression` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/linear_regression.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct LinearRegression< [INFO] [stdout] | ---------------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 111 | X: Array2 + QRDecomposable + SVDDecomposable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `LinearRegression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: SVDDecomposable<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | match LinearRegression::fit(&xvec, &yvec, LinearRegressionParameters::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `SVDDecomposable<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SVDDecomposable` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `LinearRegression` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/linear_regression.rs:111:42 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct LinearRegression< [INFO] [stdout] | ---------------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 111 | X: Array2 + QRDecomposable + SVDDecomposable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `LinearRegression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: Array2<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:105:61 [INFO] [stdout] | [INFO] [stdout] 105 | ... saved_model: bincode::serialize(&model).unwrap(), [INFO] [stdout] | ------------------ ^^^^^^ the trait `Array2<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Array2` is implemented for `DenseMatrix` [INFO] [stdout] = note: required for `Lasso<_, f64, Result, Failed>, Vec>` to implement `serde::ser::Serialize` [INFO] [stdout] note: required by a bound in `bincode::serialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bincode-1.3.3/src/lib.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize(value: &T) -> Result> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 107 | where [INFO] [stdout] 108 | T: serde::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: Array2<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:105:42 [INFO] [stdout] | [INFO] [stdout] 105 | ... saved_model: bincode::serialize(&model).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Array2<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Array2` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `Lasso` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/lasso.rs:61:63 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Lasso, Y: Array1> { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Lasso` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: QRDecomposable<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:87:61 [INFO] [stdout] | [INFO] [stdout] 87 | ... saved_model: bincode::serialize(&model).unwrap(), [INFO] [stdout] | ------------------ ^^^^^^ the trait `QRDecomposable<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `QRDecomposable` is implemented for `DenseMatrix` [INFO] [stdout] = note: required for `LinearRegression<_, f64, Result, Failed>, Vec>` to implement `serde::ser::Serialize` [INFO] [stdout] note: required by a bound in `bincode::serialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bincode-1.3.3/src/lib.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize(value: &T) -> Result> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 107 | where [INFO] [stdout] 108 | T: serde::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: SVDDecomposable<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:87:61 [INFO] [stdout] | [INFO] [stdout] 87 | ... saved_model: bincode::serialize(&model).unwrap(), [INFO] [stdout] | ------------------ ^^^^^^ the trait `SVDDecomposable<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `SVDDecomposable` is implemented for `DenseMatrix` [INFO] [stdout] = note: required for `LinearRegression<_, f64, Result, Failed>, Vec>` to implement `serde::ser::Serialize` [INFO] [stdout] note: required by a bound in `bincode::serialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bincode-1.3.3/src/lib.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize(value: &T) -> Result> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 107 | where [INFO] [stdout] 108 | T: serde::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: QRDecomposable<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:87:42 [INFO] [stdout] | [INFO] [stdout] 87 | ... saved_model: bincode::serialize(&model).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `QRDecomposable<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `QRDecomposable` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `LinearRegression` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/linear_regression.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct LinearRegression< [INFO] [stdout] | ---------------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 111 | X: Array2 + QRDecomposable + SVDDecomposable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `LinearRegression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: SVDDecomposable<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:87:42 [INFO] [stdout] | [INFO] [stdout] 87 | ... saved_model: bincode::serialize(&model).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `SVDDecomposable<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SVDDecomposable` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `LinearRegression` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/linear_regression.rs:111:42 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct LinearRegression< [INFO] [stdout] | ---------------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 111 | X: Array2 + QRDecomposable + SVDDecomposable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `LinearRegression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: Array2<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:103:38 [INFO] [stdout] | [INFO] [stdout] 103 | match Lasso::fit(&xvec, &yvec, LassoParameters::default()) { [INFO] [stdout] | ---------- ^^^^^ the trait `Array2<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Array2` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `Lasso::::fit` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/lasso.rs:241:51 [INFO] [stdout] | [INFO] [stdout] 241 | impl, Y: Array1> Lasso { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Lasso::::fit` [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn fit(x: &X, y: &Y, parameters: LassoParameters) -> Result, Failed> { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: Array2<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 121 | match LogisticRegression::fit( [INFO] [stdout] | ----------------------- required by a bound introduced by this call [INFO] [stdout] 122 | &xvec, [INFO] [stdout] | ^^^^^ the trait `Array2<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Array2` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `LogisticRegression::::fit` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/logistic_regression.rs:410:66 [INFO] [stdout] | [INFO] [stdout] 410 | impl, Y: Array1> [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `LogisticRegression::::fit` [INFO] [stdout] ... [INFO] [stdout] 417 | pub fn fit( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: Array2<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | match Lasso::fit(&xvec, &yvec, LassoParameters::default()) { [INFO] [stdout] | ^^^^^ the trait `Array2<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Array2` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `Lasso` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/lasso.rs:61:63 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Lasso, Y: Array1> { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Lasso` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: Array2<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:121:27 [INFO] [stdout] | [INFO] [stdout] 121 | match LogisticRegression::fit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Array2<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Array2` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `LogisticRegression` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/logistic_regression.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 170 | pub struct LogisticRegression< [INFO] [stdout] | ------------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 173 | X: Array2, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `LogisticRegression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: Array2<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:121:27 [INFO] [stdout] | [INFO] [stdout] 121 | match LogisticRegression::fit( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 122 | | &xvec, [INFO] [stdout] 123 | | &yvec, [INFO] [stdout] 124 | | LogisticRegressionParameters::default(), [INFO] [stdout] 125 | | ) { [INFO] [stdout] | |_____________________^ the trait `Array2<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Array2` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `LogisticRegression` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/logistic_regression.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 170 | pub struct LogisticRegression< [INFO] [stdout] | ------------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 173 | X: Array2, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `LogisticRegression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: Array2<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:127:61 [INFO] [stdout] | [INFO] [stdout] 127 | ... saved_model: bincode::serialize(&model).unwrap(), [INFO] [stdout] | ------------------ ^^^^^^ the trait `Array2<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Array2` is implemented for `DenseMatrix` [INFO] [stdout] = note: required for `LogisticRegression<_, i64, Result, Failed>, Vec>` to implement `serde::ser::Serialize` [INFO] [stdout] note: required by a bound in `bincode::serialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bincode-1.3.3/src/lib.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize(value: &T) -> Result> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 107 | where [INFO] [stdout] 108 | T: serde::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: Array2<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:127:42 [INFO] [stdout] | [INFO] [stdout] 127 | ... saved_model: bincode::serialize(&model).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Array2<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Array2` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `LogisticRegression` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/logistic_regression.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 170 | pub struct LogisticRegression< [INFO] [stdout] | ------------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 173 | X: Array2, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `LogisticRegression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: Array2<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | match Lasso::fit(&xvec, &yvec, LassoParameters::default()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Array2<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Array2` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `Lasso` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/lasso.rs:61:63 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Lasso, Y: Array1> { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Lasso` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: Array2<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:105:61 [INFO] [stdout] | [INFO] [stdout] 105 | ... saved_model: bincode::serialize(&model).unwrap(), [INFO] [stdout] | ------------------ ^^^^^^ the trait `Array2<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Array2` is implemented for `DenseMatrix` [INFO] [stdout] = note: required for `Lasso<_, f64, Result, Failed>, Vec>` to implement `serde::ser::Serialize` [INFO] [stdout] note: required by a bound in `bincode::serialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bincode-1.3.3/src/lib.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize(value: &T) -> Result> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 107 | where [INFO] [stdout] 108 | T: serde::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: Array2<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:105:42 [INFO] [stdout] | [INFO] [stdout] 105 | ... saved_model: bincode::serialize(&model).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Array2<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Array2` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `Lasso` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/lasso.rs:61:63 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Lasso, Y: Array1> { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Lasso` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: Array2<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 121 | match LogisticRegression::fit( [INFO] [stdout] | ----------------------- required by a bound introduced by this call [INFO] [stdout] 122 | &xvec, [INFO] [stdout] | ^^^^^ the trait `Array2<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Array2` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `LogisticRegression::::fit` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/logistic_regression.rs:410:66 [INFO] [stdout] | [INFO] [stdout] 410 | impl, Y: Array1> [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `LogisticRegression::::fit` [INFO] [stdout] ... [INFO] [stdout] 417 | pub fn fit( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: Array2<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:121:27 [INFO] [stdout] | [INFO] [stdout] 121 | match LogisticRegression::fit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Array2<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Array2` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `LogisticRegression` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/logistic_regression.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 170 | pub struct LogisticRegression< [INFO] [stdout] | ------------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 173 | X: Array2, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `LogisticRegression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: Array2<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:121:27 [INFO] [stdout] | [INFO] [stdout] 121 | match LogisticRegression::fit( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 122 | | &xvec, [INFO] [stdout] 123 | | &yvec, [INFO] [stdout] 124 | | LogisticRegressionParameters::default(), [INFO] [stdout] 125 | | ) { [INFO] [stdout] | |_____________________^ the trait `Array2<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Array2` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `LogisticRegression` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/logistic_regression.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 170 | pub struct LogisticRegression< [INFO] [stdout] | ------------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 173 | X: Array2, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `LogisticRegression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: Array2<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:127:61 [INFO] [stdout] | [INFO] [stdout] 127 | ... saved_model: bincode::serialize(&model).unwrap(), [INFO] [stdout] | ------------------ ^^^^^^ the trait `Array2<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Array2` is implemented for `DenseMatrix` [INFO] [stdout] = note: required for `LogisticRegression<_, i64, Result, Failed>, Vec>` to implement `serde::ser::Serialize` [INFO] [stdout] note: required by a bound in `bincode::serialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bincode-1.3.3/src/lib.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize(value: &T) -> Result> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 107 | where [INFO] [stdout] 108 | T: serde::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result, Failed>: Array2<_>` is not satisfied [INFO] [stdout] --> src/train_and_predict.rs:127:42 [INFO] [stdout] | [INFO] [stdout] 127 | ... saved_model: bincode::serialize(&model).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Array2<_>` is not implemented for `Result, Failed>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Array2` is implemented for `DenseMatrix` [INFO] [stdout] note: required by a bound in `LogisticRegression` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/logistic_regression.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 170 | pub struct LogisticRegression< [INFO] [stdout] | ------------------ required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 173 | X: Array2, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `LogisticRegression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/train_and_predict.rs:184:54 [INFO] [stdout] | [INFO] [stdout] 184 | return match model_ready.predict(&xvec) { [INFO] [stdout] | ------- ^^^^^ expected `&DenseMatrix`, found `&Result, Failed>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&DenseMatrix<_>` [INFO] [stdout] found reference `&Result, Failed>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/linear_regression.rs:284:12 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn predict(&self, x: &X) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/train_and_predict.rs:184:54 [INFO] [stdout] | [INFO] [stdout] 184 | return match model_ready.predict(&xvec) { [INFO] [stdout] | ------- ^^^^^ expected `&DenseMatrix`, found `&Result, Failed>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&DenseMatrix<_>` [INFO] [stdout] found reference `&Result, Failed>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/linear_regression.rs:284:12 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn predict(&self, x: &X) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/train_and_predict.rs:199:54 [INFO] [stdout] | [INFO] [stdout] 199 | return match model_ready.predict(&xvec) { [INFO] [stdout] | ------- ^^^^^ expected `&DenseMatrix`, found `&Result, Failed>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&DenseMatrix<_>` [INFO] [stdout] found reference `&Result, Failed>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/lasso.rs:324:12 [INFO] [stdout] | [INFO] [stdout] 324 | pub fn predict(&self, x: &X) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/train_and_predict.rs:199:54 [INFO] [stdout] | [INFO] [stdout] 199 | return match model_ready.predict(&xvec) { [INFO] [stdout] | ------- ^^^^^ expected `&DenseMatrix`, found `&Result, Failed>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&DenseMatrix<_>` [INFO] [stdout] found reference `&Result, Failed>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/lasso.rs:324:12 [INFO] [stdout] | [INFO] [stdout] 324 | pub fn predict(&self, x: &X) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/train_and_predict.rs:214:54 [INFO] [stdout] | [INFO] [stdout] 214 | return match model_ready.predict(&xvec) { [INFO] [stdout] | ------- ^^^^^ expected `&DenseMatrix`, found `&Result, Failed>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&DenseMatrix<_>` [INFO] [stdout] found reference `&Result, Failed>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/logistic_regression.rs:503:12 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn predict(&self, x: &X) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/train_and_predict.rs:214:54 [INFO] [stdout] | [INFO] [stdout] 214 | return match model_ready.predict(&xvec) { [INFO] [stdout] | ------- ^^^^^ expected `&DenseMatrix`, found `&Result, Failed>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&DenseMatrix<_>` [INFO] [stdout] found reference `&Result, Failed>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/smartcore-0.4.0/src/linear/logistic_regression.rs:503:12 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn predict(&self, x: &X) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rhai-ml` (lib) due to 23 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rhai-ml` (lib test) due to 23 previous errors [INFO] running `Command { std: "docker" "inspect" "c6088c6a6ee23190d35247af79a56b4168d34dee70a115d553cc75da9e12364e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6088c6a6ee23190d35247af79a56b4168d34dee70a115d553cc75da9e12364e", kill_on_drop: false }` [INFO] [stdout] c6088c6a6ee23190d35247af79a56b4168d34dee70a115d553cc75da9e12364e