[INFO] cloning repository https://github.com/KGANESHKUMARK/order-book [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KGANESHKUMARK/order-book" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKGANESHKUMARK%2Forder-book", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKGANESHKUMARK%2Forder-book'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 65d64ca623d4124f21803eceb96aca5ab90a5b56 [INFO] checking KGANESHKUMARK/order-book against try#e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b for pr-144896 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKGANESHKUMARK%2Forder-book" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/KGANESHKUMARK/order-book [INFO] finished tweaking git repo https://github.com/KGANESHKUMARK/order-book [INFO] tweaked toml for git repo https://github.com/KGANESHKUMARK/order-book written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/KGANESHKUMARK/order-book on toolchain e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/KGANESHKUMARK/order-book 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" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "fetch" "--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 [ERROR] error running command: no output for 300 seconds [INFO] checking KGANESHKUMARK/order-book against try#e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b for pr-144896 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKGANESHKUMARK%2Forder-book" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/KGANESHKUMARK/order-book [INFO] finished tweaking git repo https://github.com/KGANESHKUMARK/order-book [INFO] tweaked toml for git repo https://github.com/KGANESHKUMARK/order-book written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/KGANESHKUMARK/order-book on toolchain e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/KGANESHKUMARK/order-book 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" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "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 ordered-float v4.5.0 [INFO] [stderr] Downloaded ndarray-stats v0.5.1 [INFO] [stderr] Downloaded noisy_float v0.2.0 [INFO] [stderr] Downloaded argmin-math v0.3.0 [INFO] [stderr] Downloaded linfa-logistic v0.7.0 [INFO] [stderr] Downloaded anyhow v1.0.48 [INFO] [stderr] Downloaded sprs v0.11.2 [INFO] [stderr] Downloaded argmin v0.8.1 [INFO] [stderr] Downloaded linfa v0.7.0 [INFO] [stderr] Downloaded ndarray v0.15.6 [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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d2a4880028e62c32fbfaabdb72ac38de46786848948ee06be9875845fe29058 [INFO] running `Command { std: "docker" "start" "-a" "0d2a4880028e62c32fbfaabdb72ac38de46786848948ee06be9875845fe29058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d2a4880028e62c32fbfaabdb72ac38de46786848948ee06be9875845fe29058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d2a4880028e62c32fbfaabdb72ac38de46786848948ee06be9875845fe29058", kill_on_drop: false }` [INFO] [stdout] 0d2a4880028e62c32fbfaabdb72ac38de46786848948ee06be9875845fe29058 [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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 780beb3373149426d31a45ea1dc4dce596987725730762ad51e974db2ae2b3c8 [INFO] running `Command { std: "docker" "start" "-a" "780beb3373149426d31a45ea1dc4dce596987725730762ad51e974db2ae2b3c8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling anyhow v1.0.48 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Compiling linfa v0.7.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking noisy_float v0.2.0 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking ordered-float v4.5.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking sprs v0.11.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking argmin-math v0.3.0 [INFO] [stderr] Checking ndarray-stats v0.5.1 [INFO] [stderr] Checking argmin v0.8.1 [INFO] [stderr] Checking linfa-logistic v0.7.0 [INFO] [stderr] Checking order-book v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `smartcore` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use smartcore::linear::linear_regression::*; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `smartcore` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `smartcore`, use `cargo add smartcore` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `smartcore` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use smartcore::linear::linear_regression::*; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `smartcore` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `smartcore`, use `cargo add smartcore` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `smartcore` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use smartcore::linalg::basic::matrix::DenseMatrix; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `smartcore` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `smartcore`, use `cargo add smartcore` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `smartcore` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use smartcore::linalg::basic::matrix::DenseMatrix; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `smartcore` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `smartcore`, use `cargo add smartcore` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tensorflow` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tensorflow::{Graph, Session, SessionOptions, Tensor}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `tensorflow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tensorflow`, use `cargo add tensorflow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tensorflow` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tensorflow::{Graph, Session, SessionOptions, Tensor}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `tensorflow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tensorflow`, use `cargo add tensorflow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tch` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tch::{nn, nn::Module, nn::OptimizerConfig, Tensor as TorchTensor}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `tch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tch`, use `cargo add tch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tch` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tch::{nn, nn::Module, nn::OptimizerConfig, Tensor as TorchTensor}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `tch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tch`, use `cargo add tch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ort` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use ort::{environment::Environment, tensor::InputTensor, session::SessionBuilder}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ort` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ort`, use `cargo add ort` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ort` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use ort::{environment::Environment, tensor::InputTensor, session::SessionBuilder}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ort` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ort`, use `cargo add ort` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tch` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tch::{nn, nn::Module, nn::OptimizerConfig, Tensor as TorchTensor}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `tch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tch`, use `cargo add tch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tch` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tch::{nn, nn::Module, nn::OptimizerConfig, Tensor as TorchTensor}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `tch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tch`, use `cargo add tch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tch` [INFO] [stdout] --> src/main.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | let vs = nn::VarStore::new(tch::Device::Cpu); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `tch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tch`, use `cargo add tch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tch` [INFO] [stdout] --> src/main.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | let vs = nn::VarStore::new(tch::Device::Cpu); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `tch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tch`, use `cargo add tch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tch` [INFO] [stdout] --> src/main.rs:56:51 [INFO] [stdout] | [INFO] [stdout] 56 | let loss = model.forward(&x).mse_loss(&y, tch::Reduction::Mean); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `tch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tch`, use `cargo add tch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tch` [INFO] [stdout] --> src/main.rs:56:51 [INFO] [stdout] | [INFO] [stdout] 56 | let loss = model.forward(&x).mse_loss(&y, tch::Reduction::Mean); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `tch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tch`, use `cargo add tch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 27 | let model = LogisticRegression::default().fit(&x, &y).unwrap(); [INFO] [stdout] | ^^^ -- unexpected argument #2 of type `&ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] | [INFO] [stdout] note: expected `&DatasetBase, _>`, found `&ArrayBase, ...>` [INFO] [stdout] --> src/main.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | let model = LogisticRegression::default().fit(&x, &y).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] = note: expected reference `&DatasetBase>, _>` [INFO] [stdout] found reference `&ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linfa-0.7.0/src/traits.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn fit(&self, dataset: &DatasetBase) -> Result; [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 27 - let model = LogisticRegression::default().fit(&x, &y).unwrap(); [INFO] [stdout] 27 + let model = LogisticRegression::default().fit(/* dataset */).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 27 | let model = LogisticRegression::default().fit(&x, &y).unwrap(); [INFO] [stdout] | ^^^ -- unexpected argument #2 of type `&ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] | [INFO] [stdout] note: expected `&DatasetBase, _>`, found `&ArrayBase, ...>` [INFO] [stdout] --> src/main.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | let model = LogisticRegression::default().fit(&x, &y).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] = note: expected reference `&DatasetBase>, _>` [INFO] [stdout] found reference `&ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linfa-0.7.0/src/traits.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn fit(&self, dataset: &DatasetBase) -> Result; [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 27 - let model = LogisticRegression::default().fit(&x, &y).unwrap(); [INFO] [stdout] 27 + let model = LogisticRegression::default().fit(/* dataset */).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `FittedLogisticRegression<_, _>: Predict<&ArrayBase<..., ...>, _>` is not satisfied [INFO] [stdout] --> src/main.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | let pred = model.predict(&array![[1.0, 1.0]]); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `linfa::prelude::Predict<&ArrayBase, Dim<[usize; 2]>>, _>` is not implemented for `FittedLogisticRegression<_, _>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/order_book-44b1d24688d65fe8.long-type-14542714943649884787.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 `FittedLogisticRegression<_, _>: Predict<&ArrayBase<..., ...>, _>` is not satisfied [INFO] [stdout] --> src/main.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | let pred = model.predict(&array![[1.0, 1.0]]); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `linfa::prelude::Predict<&ArrayBase, Dim<[usize; 2]>>, _>` is not implemented for `FittedLogisticRegression<_, _>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/order_book-336378982c42f8b7.long-type-4050001119917219371.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 `ArrayBase, Dim<[usize; 2]>>: Records` is not satisfied [INFO] [stdout] --> src/main.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | let pred = model.predict(&array![[1.0, 1.0]]); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^ the trait `Records` is not implemented for `ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Records`: [INFO] [stdout] &R [INFO] [stdout] () [INFO] [stdout] DatasetBase [INFO] [stdout] ndarray::ArrayBase [INFO] [stdout] = note: required for `&ArrayBase, Dim<[usize; 2]>>` to implement `Records` [INFO] [stdout] note: required by a bound in `predict` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linfa-0.7.0/src/traits.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | pub trait Predict { [INFO] [stdout] | ^^^^^^^ required by this bound in `Predict::predict` [INFO] [stdout] 64 | fn predict(&self, x: R) -> T; [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ArrayBase, Dim<[usize; 2]>>: Records` is not satisfied [INFO] [stdout] --> src/main.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | let pred = model.predict(&array![[1.0, 1.0]]); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^ the trait `Records` is not implemented for `ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Records`: [INFO] [stdout] &R [INFO] [stdout] () [INFO] [stdout] DatasetBase [INFO] [stdout] ndarray::ArrayBase [INFO] [stdout] = note: required for `&ArrayBase, Dim<[usize; 2]>>` to implement `Records` [INFO] [stdout] note: required by a bound in `predict` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linfa-0.7.0/src/traits.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | pub trait Predict { [INFO] [stdout] | ^^^^^^^ required by this bound in `Predict::predict` [INFO] [stdout] 64 | fn predict(&self, x: R) -> T; [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LinearRegression` [INFO] [stdout] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let model = LinearRegression::fit(&x, &y, Default::default()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `LinearRegression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LinearRegression` [INFO] [stdout] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let model = LinearRegression::fit(&x, &y, Default::default()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `LinearRegression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `order-book` (bin "order-book") due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `order-book` (bin "order-book" test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "780beb3373149426d31a45ea1dc4dce596987725730762ad51e974db2ae2b3c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "780beb3373149426d31a45ea1dc4dce596987725730762ad51e974db2ae2b3c8", kill_on_drop: false }` [INFO] [stdout] 780beb3373149426d31a45ea1dc4dce596987725730762ad51e974db2ae2b3c8