[INFO] fetching crate rhai-ml 0.1.2... [INFO] checking rhai-ml-0.1.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate rhai-ml 0.1.2 into /workspace/builds/worker-0-tc2/source [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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rhai-ml 0.1.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 58 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2875794d845a315aab8b7628268ebaf35c86fdba30aa5a14c7660807bc129d14 [INFO] running `Command { std: "docker" "start" "-a" "2875794d845a315aab8b7628268ebaf35c86fdba30aa5a14c7660807bc129d14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2875794d845a315aab8b7628268ebaf35c86fdba30aa5a14c7660807bc129d14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2875794d845a315aab8b7628268ebaf35c86fdba30aa5a14c7660807bc129d14", kill_on_drop: false }` [INFO] [stdout] 2875794d845a315aab8b7628268ebaf35c86fdba30aa5a14c7660807bc129d14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3397bc4bc6ba1f88f3424e66bef46b85fe1cecf2c14ba8a63fc2ca511393dd19 [INFO] running `Command { std: "docker" "start" "-a" "3397bc4bc6ba1f88f3424e66bef46b85fe1cecf2c14ba8a63fc2ca511393dd19", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Compiling inventory v0.3.21 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling thin-vec v0.2.14 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling unty v0.0.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling bincode v2.0.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling typetag-impl v0.2.20 [INFO] [stderr] Compiling rhai_codegen v2.2.0 [INFO] [stderr] Compiling rhai v1.22.2 [INFO] [stderr] Compiling erased-serde v0.4.6 [INFO] [stderr] Compiling typetag v0.2.20 [INFO] [stderr] Compiling smartcore v0.4.2 [INFO] [stderr] Compiling rhai-ml v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `serialize` in crate `bincode` [INFO] [stdout] --> src/train_and_predict.rs:87:51 [INFO] [stdout] | [INFO] [stdout] 87 | ... saved_model: bincode::serialize(&model).unwrap(), [INFO] [stdout] | ^^^^^^^^^ not found in `bincode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize` in crate `bincode` [INFO] [stdout] --> src/train_and_predict.rs:105:51 [INFO] [stdout] | [INFO] [stdout] 105 | ... saved_model: bincode::serialize(&model).unwrap(), [INFO] [stdout] | ^^^^^^^^^ not found in `bincode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize` in crate `bincode` [INFO] [stdout] --> src/train_and_predict.rs:127:51 [INFO] [stdout] | [INFO] [stdout] 127 | ... saved_model: bincode::serialize(&model).unwrap(), [INFO] [stdout] | ^^^^^^^^^ not found in `bincode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deserialize` in crate `bincode` [INFO] [stdout] --> src/train_and_predict.rs:183:34 [INFO] [stdout] | [INFO] [stdout] 183 | > = bincode::deserialize(&*model.saved_model).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `bincode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deserialize` in crate `bincode` [INFO] [stdout] --> src/train_and_predict.rs:198:34 [INFO] [stdout] | [INFO] [stdout] 198 | bincode::deserialize(&*model.saved_model).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `bincode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deserialize` in crate `bincode` [INFO] [stdout] --> src/train_and_predict.rs:213:34 [INFO] [stdout] | [INFO] [stdout] 213 | bincode::deserialize(&*model.saved_model).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `bincode` [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-1949cf8c6b5b557f/smartcore-0.4.2/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-1949cf8c6b5b557f/smartcore-0.4.2/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: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-1949cf8c6b5b557f/smartcore-0.4.2/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-1949cf8c6b5b557f/smartcore-0.4.2/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-1949cf8c6b5b557f/smartcore-0.4.2/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-1949cf8c6b5b557f/smartcore-0.4.2/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: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-1949cf8c6b5b557f/smartcore-0.4.2/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: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-1949cf8c6b5b557f/smartcore-0.4.2/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-1949cf8c6b5b557f/smartcore-0.4.2/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-1949cf8c6b5b557f/smartcore-0.4.2/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: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-1949cf8c6b5b557f/smartcore-0.4.2/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] | ___________________________^ [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-1949cf8c6b5b557f/smartcore-0.4.2/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[E0425]: cannot find function `serialize` in crate `bincode` [INFO] [stdout] --> src/train_and_predict.rs:87:51 [INFO] [stdout] | [INFO] [stdout] 87 | ... saved_model: bincode::serialize(&model).unwrap(), [INFO] [stdout] | ^^^^^^^^^ not found in `bincode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize` in crate `bincode` [INFO] [stdout] --> src/train_and_predict.rs:105:51 [INFO] [stdout] | [INFO] [stdout] 105 | ... saved_model: bincode::serialize(&model).unwrap(), [INFO] [stdout] | ^^^^^^^^^ not found in `bincode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize` in crate `bincode` [INFO] [stdout] --> src/train_and_predict.rs:127:51 [INFO] [stdout] | [INFO] [stdout] 127 | ... saved_model: bincode::serialize(&model).unwrap(), [INFO] [stdout] | ^^^^^^^^^ not found in `bincode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deserialize` in crate `bincode` [INFO] [stdout] --> src/train_and_predict.rs:183:34 [INFO] [stdout] | [INFO] [stdout] 183 | > = bincode::deserialize(&*model.saved_model).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `bincode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deserialize` in crate `bincode` [INFO] [stdout] --> src/train_and_predict.rs:198:34 [INFO] [stdout] | [INFO] [stdout] 198 | bincode::deserialize(&*model.saved_model).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `bincode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deserialize` in crate `bincode` [INFO] [stdout] --> src/train_and_predict.rs:213:34 [INFO] [stdout] | [INFO] [stdout] 213 | bincode::deserialize(&*model.saved_model).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `bincode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [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 18 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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-1949cf8c6b5b557f/smartcore-0.4.2/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-1949cf8c6b5b557f/smartcore-0.4.2/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: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-1949cf8c6b5b557f/smartcore-0.4.2/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-1949cf8c6b5b557f/smartcore-0.4.2/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-1949cf8c6b5b557f/smartcore-0.4.2/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-1949cf8c6b5b557f/smartcore-0.4.2/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: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-1949cf8c6b5b557f/smartcore-0.4.2/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: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-1949cf8c6b5b557f/smartcore-0.4.2/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-1949cf8c6b5b557f/smartcore-0.4.2/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-1949cf8c6b5b557f/smartcore-0.4.2/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: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-1949cf8c6b5b557f/smartcore-0.4.2/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] | ___________________________^ [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-1949cf8c6b5b557f/smartcore-0.4.2/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] Some errors have detailed explanations: E0277, E0425. [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 18 previous errors [INFO] running `Command { std: "docker" "inspect" "3397bc4bc6ba1f88f3424e66bef46b85fe1cecf2c14ba8a63fc2ca511393dd19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3397bc4bc6ba1f88f3424e66bef46b85fe1cecf2c14ba8a63fc2ca511393dd19", kill_on_drop: false }` [INFO] [stdout] 3397bc4bc6ba1f88f3424e66bef46b85fe1cecf2c14ba8a63fc2ca511393dd19