[INFO] cloning repository https://github.com/kernelmachine/rsml
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kernelmachine/rsml" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkernelmachine%2Frsml", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkernelmachine%2Frsml'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ba18ae61ebe818f95b3e62af8a9de7d1eb169f21
[INFO] testing kernelmachine/rsml against beta-2020-10-09 for beta-1.48-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkernelmachine%2Frsml" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kernelmachine/rsml on toolchain beta-2020-10-09
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kernelmachine/rsml
[INFO] finished tweaking git repo https://github.com/kernelmachine/rsml
[INFO] tweaked toml for git repo https://github.com/kernelmachine/rsml written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/kernelmachine/rsml already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr] error: the lock file /workspace/builds/worker-5/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rust-tfidf v1.0.4
[INFO] [stderr]   Downloaded typenum v1.2.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9227bb9b608beefd8a407cf8073fea91db67f1486c57aed35eb43fb9f04fa200
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "9227bb9b608beefd8a407cf8073fea91db67f1486c57aed35eb43fb9f04fa200", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9227bb9b608beefd8a407cf8073fea91db67f1486c57aed35eb43fb9f04fa200", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9227bb9b608beefd8a407cf8073fea91db67f1486c57aed35eb43fb9f04fa200", kill_on_drop: false }`
[INFO] [stdout] 9227bb9b608beefd8a407cf8073fea91db67f1486c57aed35eb43fb9f04fa200
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5aa4097ca27fa47e6a03ea7ec9941b4de85fa00fbacf9ae2b0c110a66014a738
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "5aa4097ca27fa47e6a03ea7ec9941b4de85fa00fbacf9ae2b0c110a66014a738", kill_on_drop: false }`
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling ndarray v0.13.1
[INFO] [stderr]    Compiling typenum v1.2.0
[INFO] [stderr]    Compiling serde_json v1.0.59
[INFO] [stderr]    Compiling itoa v0.4.6
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]    Compiling num-complex v0.1.43
[INFO] [stderr]    Compiling matrixmultiply v0.2.3
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling num-bigint v0.1.44
[INFO] [stderr]    Compiling num-iter v0.1.41
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling num-rational v0.1.42
[INFO] [stderr]    Compiling rand_distr v0.2.2
[INFO] [stderr]    Compiling num v0.1.42
[INFO] [stderr]    Compiling rust-tfidf v1.0.4
[INFO] [stderr]    Compiling ndarray-rand v0.11.0
[INFO] [stderr]    Compiling rsml v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(custom_derive, plugin)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^ feature has been removed
[INFO] [stdout]   |
[INFO] [stdout]   = note: subsumed by `#[proc_macro_derive]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `rand::distributions::IndependentSample`, `rand::distributions::Range`
[INFO] [stdout]  --> src/random_forest/model.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rand::distributions::{IndependentSample, Range};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^^  ^^^^^ no `Range` in `distributions`
[INFO] [stdout]   |                           |
[INFO] [stdout]   |                           no `IndependentSample` in `distributions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand::StdRng`
[INFO] [stdout]  --> src/random_forest/model.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rand::StdRng;
[INFO] [stdout]   |     ^^^^^^^^^^^^ no `StdRng` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(custom_derive, plugin)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel
[INFO] [stdout]  --> src/lib.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(test)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[macro_use(s)]
[INFO] [stdout]   |             ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/tfidf_helper/tfidf_helper.rs:99:11
[INFO] [stdout]    |
[INFO] [stdout] 99 |         97...122 => true,
[INFO] [stdout]    |           ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead
[INFO] [stdout]  --> src/tfidf_helper/tfidf_helper.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ascii::AsciiExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for struct `ArrayBase<ViewRepr<&f64>, usize>` in the current scope
[INFO] [stdout]    --> src/tree/model.rs:135:37
[INFO] [stdout]     |
[INFO] [stdout] 135 |         for (idx, &elem) in feature.iter().enumerate() {
[INFO] [stdout]     |                                     ^^^^ method not found in `ArrayBase<ViewRepr<&f64>, usize>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method `iter` exists but the following trait bounds were not satisfied:
[INFO] [stdout]             `usize: Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for struct `ArrayBase<ViewRepr<&f64>, usize>` in the current scope
[INFO] [stdout]    --> src/tree/model.rs:179:36
[INFO] [stdout]     |
[INFO] [stdout] 179 |         let mut xy_pairs = feature.iter().zip(target.iter()).collect::<Vec<_>>();
[INFO] [stdout]     |                                    ^^^^ method not found in `ArrayBase<ViewRepr<&f64>, usize>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method `iter` exists but the following trait bounds were not satisfied:
[INFO] [stdout]             `usize: Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for reference `&ArrayBase<OwnedRepr<f64>, usize>` in the current scope
[INFO] [stdout]    --> src/tree/model.rs:179:54
[INFO] [stdout]     |
[INFO] [stdout] 179 |         let mut xy_pairs = feature.iter().zip(target.iter()).collect::<Vec<_>>();
[INFO] [stdout]     |                                                      ^^^^ method not found in `&ArrayBase<OwnedRepr<f64>, usize>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method `iter` exists but the following trait bounds were not satisfied:
[INFO] [stdout]             `usize: Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `scalar_sum` found for reference `&ArrayBase<OwnedRepr<f64>, usize>` in the current scope
[INFO] [stdout]    --> src/tree/model.rs:183:33
[INFO] [stdout]     |
[INFO] [stdout] 183 |         let target_sum = target.scalar_sum();
[INFO] [stdout]     |                                 ^^^^^^^^^^ method not found in `&ArrayBase<OwnedRepr<f64>, usize>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method `scalar_sum` exists but the following trait bounds were not satisfied:
[INFO] [stdout]             `usize: Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for reference `&ArrayBase<OwnedRepr<f64>, usize>` in the current scope
[INFO] [stdout]    --> src/tree/model.rs:190:61
[INFO] [stdout]     |
[INFO] [stdout] 190 |             let left_proportion = cumulative_count / target.len() as f64;
[INFO] [stdout]     |                                                             ^^^ method not found in `&ArrayBase<OwnedRepr<f64>, usize>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method `len` exists but the following trait bounds were not satisfied:
[INFO] [stdout]             `usize: Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `scalar_sum` found for reference `&ArrayBase<OwnedRepr<f64>, usize>` in the current scope
[INFO] [stdout]    --> src/tree/model.rs:239:31
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let num_plus = target.scalar_sum();
[INFO] [stdout]     |                               ^^^^^^^^^^ method not found in `&ArrayBase<OwnedRepr<f64>, usize>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method `scalar_sum` exists but the following trait bounds were not satisfied:
[INFO] [stdout]             `usize: Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for reference `&ArrayBase<OwnedRepr<f64>, usize>` in the current scope
[INFO] [stdout]    --> src/tree/model.rs:240:52
[INFO] [stdout]     |
[INFO] [stdout] 240 |         let probability = num_plus as f64 / target.len() as f64;
[INFO] [stdout]     |                                                    ^^^ method not found in `&ArrayBase<OwnedRepr<f64>, usize>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method `len` exists but the following trait bounds were not satisfied:
[INFO] [stdout]             `usize: Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for reference `&ArrayBase<OwnedRepr<f64>, usize>` in the current scope
[INFO] [stdout]    --> src/tree/model.rs:244:19
[INFO] [stdout]     |
[INFO] [stdout] 244 |            target.len() < self.min_samples_split as usize {
[INFO] [stdout]     |                   ^^^ method not found in `&ArrayBase<OwnedRepr<f64>, usize>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method `len` exists but the following trait bounds were not satisfied:
[INFO] [stdout]             `usize: Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `axis_iter` found for reference `&ArrayBase<OwnedRepr<f64>, (usize, usize)>` in the current scope
[INFO] [stdout]    --> src/tree/model.rs:252:45
[INFO] [stdout]     |
[INFO] [stdout] 252 |         for (feature_idx, feature) in train.axis_iter(Axis(1)).enumerate() {
[INFO] [stdout]     |                                             ^^^^^^^^^ method not found in `&ArrayBase<OwnedRepr<f64>, (usize, usize)>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method `axis_iter` exists but the following trait bounds were not satisfied:
[INFO] [stdout]             `(usize, usize): Dimension`
[INFO] [stdout]             `<(usize, usize) as Dimension>::Smaller = _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `column` found for reference `&ArrayBase<OwnedRepr<f64>, (usize, usize)>` in the current scope
[INFO] [stdout]    --> src/tree/model.rs:263:34
[INFO] [stdout]     |
[INFO] [stdout] 263 |         let best_feature = train.column(best_feature_idx);
[INFO] [stdout]     |                                  ^^^^^^ method not found in `&ArrayBase<OwnedRepr<f64>, (usize, usize)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `select` found for reference `&ArrayBase<OwnedRepr<f64>, (usize, usize)>` in the current scope
[INFO] [stdout]    --> src/tree/model.rs:270:36
[INFO] [stdout]     |
[INFO] [stdout] 270 |             let left_train = train.select(Axis(0), &left_data_idx);
[INFO] [stdout]     |                                    ^^^^^^ method not found in `&ArrayBase<OwnedRepr<f64>, (usize, usize)>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method `select` exists but the following trait bounds were not satisfied:
[INFO] [stdout]             `(usize, usize): Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `select` found for reference `&ArrayBase<OwnedRepr<f64>, usize>` in the current scope
[INFO] [stdout]    --> src/tree/model.rs:271:38
[INFO] [stdout]     |
[INFO] [stdout] 271 |             let left_target = target.select(Axis(0), &left_data_idx);
[INFO] [stdout]     |                                      ^^^^^^ method not found in `&ArrayBase<OwnedRepr<f64>, usize>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method `select` exists but the following trait bounds were not satisfied:
[INFO] [stdout]             `usize: Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `select` found for reference `&ArrayBase<OwnedRepr<f64>, (usize, usize)>` in the current scope
[INFO] [stdout]    --> src/tree/model.rs:272:37
[INFO] [stdout]     |
[INFO] [stdout] 272 |             let right_train = train.select(Axis(0), &right_data_idx);
[INFO] [stdout]     |                                     ^^^^^^ method not found in `&ArrayBase<OwnedRepr<f64>, (usize, usize)>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method `select` exists but the following trait bounds were not satisfied:
[INFO] [stdout]             `(usize, usize): Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `select` found for reference `&ArrayBase<OwnedRepr<f64>, usize>` in the current scope
[INFO] [stdout]    --> src/tree/model.rs:273:39
[INFO] [stdout]     |
[INFO] [stdout] 273 |             let right_target = target.select(Axis(0), &right_data_idx);
[INFO] [stdout]     |                                       ^^^^^^ method not found in `&ArrayBase<OwnedRepr<f64>, usize>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method `select` exists but the following trait bounds were not satisfied:
[INFO] [stdout]             `usize: Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&ArrayBase<ViewRepr<&f64>, usize>`
[INFO] [stdout]    --> src/tree/model.rs:301:23
[INFO] [stdout]     |
[INFO] [stdout] 301 |                 match test[feature] <= threshold {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `shape` found for reference `&ArrayBase<OwnedRepr<f64>, (usize, usize)>` in the current scope
[INFO] [stdout]    --> src/tree/model.rs:313:32
[INFO] [stdout]     |
[INFO] [stdout] 313 |         let n_features = train.shape()[1];
[INFO] [stdout]     |                                ^^^^^ method not found in `&ArrayBase<OwnedRepr<f64>, (usize, usize)>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method `shape` exists but the following trait bounds were not satisfied:
[INFO] [stdout]             `(usize, usize): Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `shape` found for reference `&ArrayBase<OwnedRepr<f64>, usize>` in the current scope
[INFO] [stdout]    --> src/tree/model.rs:314:32
[INFO] [stdout]     |
[INFO] [stdout] 314 |         let n_outputs = target.shape()[0];
[INFO] [stdout]     |                                ^^^^^ method not found in `&ArrayBase<OwnedRepr<f64>, usize>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method `shape` exists but the following trait bounds were not satisfied:
[INFO] [stdout]             `usize: Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for reference `&ArrayBase<OwnedRepr<f64>, usize>` in the current scope
[INFO] [stdout]    --> src/tree/model.rs:317:40
[INFO] [stdout]     |
[INFO] [stdout] 317 |         let mut target_cloned = target.iter().cloned().collect::<Vec<f64>>();
[INFO] [stdout]     |                                        ^^^^ method not found in `&ArrayBase<OwnedRepr<f64>, usize>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method `iter` exists but the following trait bounds were not satisfied:
[INFO] [stdout]             `usize: Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `inner_iter` found for reference `&ArrayBase<OwnedRepr<f64>, (usize, usize)>` in the current scope
[INFO] [stdout]    --> src/tree/model.rs:345:33
[INFO] [stdout]     |
[INFO] [stdout] 345 |                 let data = test.inner_iter()
[INFO] [stdout]     |                                 ^^^^^^^^^^ method not found in `&ArrayBase<OwnedRepr<f64>, (usize, usize)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `ndarray::impl_constructors::<impl ndarray::ArrayBase<S, ndarray::Dim<[usize; 1]>>>::from_vec`: use standard `from`
[INFO] [stdout]    --> src/tree/model.rs:348:20
[INFO] [stdout]     |
[INFO] [stdout] 348 |                 Ok(Array::from_vec(data))
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/tree/model.rs:348:20
[INFO] [stdout]     |
[INFO] [stdout] 348 |                 Ok(Array::from_vec(data))
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found struct `Dim`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `ArrayBase<OwnedRepr<f64>, usize>`
[INFO] [stdout]                found struct `ArrayBase<OwnedRepr<_>, Dim<[usize; 1]>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `rows` found for reference `&ArrayBase<OwnedRepr<f64>, (usize, usize)>` in the current scope
[INFO] [stdout]   --> src/random_forest/model.rs:66:49
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let index_matrix = Array::random((train.rows(), self.trees.len()),
[INFO] [stdout]    |                                                 ^^^^ method not found in `&ArrayBase<OwnedRepr<f64>, (usize, usize)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `rows` found for reference `&ArrayBase<OwnedRepr<f64>, (usize, usize)>` in the current scope
[INFO] [stdout]   --> src/random_forest/model.rs:67:62
[INFO] [stdout]    |
[INFO] [stdout] 67 | ...                   Range::new(0, train.rows()));
[INFO] [stdout]    |                                           ^^^^ method not found in `&ArrayBase<OwnedRepr<f64>, (usize, usize)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `select` found for reference `&ArrayBase<OwnedRepr<f64>, (usize, usize)>` in the current scope
[INFO] [stdout]   --> src/random_forest/model.rs:76:38
[INFO] [stdout]    |
[INFO] [stdout] 76 |             let train_subset = train.select(Axis(0), indices.as_slice().unwrap());
[INFO] [stdout]    |                                      ^^^^^^ method not found in `&ArrayBase<OwnedRepr<f64>, (usize, usize)>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method `select` exists but the following trait bounds were not satisfied:
[INFO] [stdout]            `(usize, usize): Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `select` found for reference `&ArrayBase<OwnedRepr<f64>, usize>` in the current scope
[INFO] [stdout]   --> src/random_forest/model.rs:79:40
[INFO] [stdout]    |
[INFO] [stdout] 79 |             let target_subset = target.select(Axis(0), indices.as_slice().unwrap());
[INFO] [stdout]    |                                        ^^^^^^ method not found in `&ArrayBase<OwnedRepr<f64>, usize>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method `select` exists but the following trait bounds were not satisfied:
[INFO] [stdout]            `usize: Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `shape` found for reference `&ArrayBase<OwnedRepr<f64>, (usize, usize)>` in the current scope
[INFO] [stdout]   --> src/random_forest/model.rs:94:40
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let mut df = Array::zeros(test.shape()[0]);
[INFO] [stdout]    |                                        ^^^^^ method not found in `&ArrayBase<OwnedRepr<f64>, (usize, usize)>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method `shape` exists but the following trait bounds were not satisfied:
[INFO] [stdout]            `(usize, usize): Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot add `ArrayBase<OwnedRepr<f64>, usize>` to `ArrayBase<OwnedRepr<_>, _>`
[INFO] [stdout]   --> src/random_forest/model.rs:97:25
[INFO] [stdout]    |
[INFO] [stdout] 97 |                 df = df + pred;
[INFO] [stdout]    |                         ^ no implementation for `ArrayBase<OwnedRepr<_>, _> + ArrayBase<OwnedRepr<f64>, usize>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Add<ArrayBase<OwnedRepr<f64>, usize>>` is not implemented for `ArrayBase<OwnedRepr<_>, _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `usize: Dimension` is not satisfied
[INFO] [stdout]    --> src/random_forest/model.rs:100:17
[INFO] [stdout]     |
[INFO] [stdout] 100 |         df = df / (self.trees.len() as f64);
[INFO] [stdout]     |                 ^ the trait `Dimension` is not implemented for `usize`
[INFO] [stdout]     |
[INFO] [stdout]     = note: required because of the requirements on the impl of `Div<f64>` for `ArrayBase<OwnedRepr<f64>, usize>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `usize: Dimension` is not satisfied
[INFO] [stdout]   --> src/random_forest/model.rs:94:22
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let mut df = Array::zeros(test.shape()[0]);
[INFO] [stdout]    |                      ^^^^^^^^^^^^ the trait `Dimension` is not implemented for `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required by `ndarray::impl_constructors::<impl ArrayBase<S, D>>::zeros`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `ndarray::impl_constructors::<impl ndarray::ArrayBase<S, ndarray::Dim<[usize; 1]>>>::from_vec`: use standard `from`
[INFO] [stdout]   --> src/util/util.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     Array::from_vec(indices.iter()
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&ArrayBase<OwnedRepr<f64>, usize>`
[INFO] [stdout]   --> src/util/util.rs:42:38
[INFO] [stdout]    |
[INFO] [stdout] 42 | ...                   .map(|&x| mat[x])
[INFO] [stdout]    |                                 ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/util/util.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |   pub fn noncontig_1d_slice(mat: &Col<f64>, indices: &[usize]) -> Col<f64> {
[INFO] [stdout]    |                                                                   -------- expected `ArrayBase<OwnedRepr<f64>, usize>` because of return type
[INFO] [stdout] 38 | /     Array::from_vec(indices.iter()
[INFO] [stdout] 39 | |                            .cloned()
[INFO] [stdout] 40 | |                            .collect::<Vec<_>>()
[INFO] [stdout] 41 | |                            .iter()
[INFO] [stdout] 42 | |                            .map(|&x| mat[x])
[INFO] [stdout] 43 | |                            .collect::<Vec<_>>())
[INFO] [stdout]    | |________________________________________________^ expected `usize`, found struct `Dim`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `ArrayBase<OwnedRepr<f64>, usize>`
[INFO] [stdout]               found struct `ArrayBase<OwnedRepr<_>, Dim<[usize; 1]>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `row` found for reference `&ArrayBase<OwnedRepr<f64>, (usize, usize)>` in the current scope
[INFO] [stdout]   --> src/util/util.rs:69:30
[INFO] [stdout]    |
[INFO] [stdout] 69 |                          mat.row(x)
[INFO] [stdout]    |                              ^^^ method not found in `&ArrayBase<OwnedRepr<f64>, (usize, usize)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `shape` found for reference `&ArrayBase<OwnedRepr<f64>, (usize, usize)>` in the current scope
[INFO] [stdout]   --> src/util/util.rs:70:49
[INFO] [stdout]    |
[INFO] [stdout] 70 | ...                   .into_shape((1, mat.shape()[1]))
[INFO] [stdout]    |                                           ^^^^^ method not found in `&ArrayBase<OwnedRepr<f64>, (usize, usize)>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method `shape` exists but the following trait bounds were not satisfied:
[INFO] [stdout]            `(usize, usize): Dimension`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `(usize, usize): RemoveAxis` is not satisfied
[INFO] [stdout]   --> src/util/util.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 74 |     stack(Axis(0), mat.as_slice()).unwrap_or_else(|e| panic!("Row stacking error {:?}", e))
[INFO] [stdout]    |     ^^^^^ the trait `RemoveAxis` is not implemented for `(usize, usize)`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ndarray-0.13.1/src/stacking.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 |     D: RemoveAxis,
[INFO] [stdout]    |        ---------- required by this bound in `stack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ascii::AsciiExt`
[INFO] [stdout]  --> src/tfidf_helper/tfidf_helper.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ascii::AsciiExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 38 previous errors; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0554, E0557, E0599, E0608.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rsml`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "5aa4097ca27fa47e6a03ea7ec9941b4de85fa00fbacf9ae2b0c110a66014a738", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5aa4097ca27fa47e6a03ea7ec9941b4de85fa00fbacf9ae2b0c110a66014a738", kill_on_drop: false }`
[INFO] [stdout] 5aa4097ca27fa47e6a03ea7ec9941b4de85fa00fbacf9ae2b0c110a66014a738
