[INFO] fetching crate rustlearn 0.5.0... [INFO] building rustlearn-0.5.0 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate rustlearn 0.5.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate rustlearn 0.5.0 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rustlearn 0.5.0 [INFO] finished tweaking crates.io crate rustlearn 0.5.0 [INFO] tweaked toml for crates.io crate rustlearn 0.5.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-bidi v0.2.6 [INFO] [stderr] Downloaded url v0.5.10 [INFO] [stderr] Downloaded hyper v0.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 96eb5b661e1dd48a23e0be7768a04ea2722be5f74f39c62084e06aadffc65cf2 [INFO] running `Command { std: "docker" "start" "-a" "96eb5b661e1dd48a23e0be7768a04ea2722be5f74f39c62084e06aadffc65cf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96eb5b661e1dd48a23e0be7768a04ea2722be5f74f39c62084e06aadffc65cf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96eb5b661e1dd48a23e0be7768a04ea2722be5f74f39c62084e06aadffc65cf2", kill_on_drop: false }` [INFO] [stdout] 96eb5b661e1dd48a23e0be7768a04ea2722be5f74f39c62084e06aadffc65cf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b020d8dd1cc9d1cfbf000e9866ff4d0c945f05c2b7ad40a40f9fae8d345460b [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" "8b020d8dd1cc9d1cfbf000e9866ff4d0c945f05c2b7ad40a40f9fae8d345460b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling rustlearn v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stdout] --> build.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | gcc::Config::new() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | gcc::Config::new() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: dependencies/libsvm/svm.cpp: In function 'void print_string_stdout(const char*)': [INFO] [stderr] warning: dependencies/libsvm/svm.cpp:41:45: warning: unused parameter 's' [-Wunused-parameter] [INFO] [stderr] warning: 41 | static void print_string_stdout(const char *s) [INFO] [stderr] warning: | ~~~~~~~~~~~~^ [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ensemble/random_forest.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | try!(tree.fit(&X.get_rows(&indices), &y.get_rows(&indices))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ensemble/random_forest.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | df.add_inplace(&try!(tree.decision_function(X))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ensemble/random_forest.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | try!(tree.fit(&x, &y.get_rows(&indices))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ensemble/random_forest.rs:161:29 [INFO] [stdout] | [INFO] [stdout] 161 | df.add_inplace(&try!(tree.decision_function(&x))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/factorization/factorization_machines.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/factorization/factorization_machines.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | try!(check_matched_dimensions(X, y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/factorization/factorization_machines.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | try!(check_valid_labels(y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/factorization/factorization_machines.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/factorization/factorization_machines.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/factorization/factorization_machines.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | try!(check_matched_dimensions(X, y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/factorization/factorization_machines.rs:425:9 [INFO] [stdout] | [INFO] [stdout] 425 | try!(check_valid_labels(y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/linear_models/sgdclassifier.rs:175:1 [INFO] [stdout] | [INFO] [stdout] 175 | / macro_rules! adagrad_updates { [INFO] [stdout] 176 | | ($coefficients:expr, $x:expr, $gradsq:expr) => {{ [INFO] [stdout] 177 | | $coefficients [INFO] [stdout] 178 | | .iter_mut() [INFO] [stdout] ... | [INFO] [stdout] 181 | | }}; [INFO] [stdout] 182 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linear_models/sgdclassifier.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linear_models/sgdclassifier.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | try!(check_matched_dimensions(X, y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linear_models/sgdclassifier.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | try!(check_valid_labels(y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linear_models/sgdclassifier.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linear_models/sgdclassifier.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linear_models/sgdclassifier.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linear_models/sgdclassifier.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | try!(check_matched_dimensions(X, y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linear_models/sgdclassifier.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | try!(check_valid_labels(y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linear_models/sgdclassifier.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/metrics/ranking.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | try!(check_roc_auc_inputs(y_true, y_hat)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `metrics::ranking::*` [INFO] [stdout] --> src/metrics/test.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | use metrics::ranking::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::*` [INFO] [stdout] --> src/metrics/test.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | use prelude::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/metrics/test.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/multiclass/mod.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | try!(model.fit(X, &binary_target)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | impl_multiclass_supervised_model!(Array); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_multiclass_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/multiclass/mod.rs:152:34 [INFO] [stdout] | [INFO] [stdout] 152 | let values = try!(model.decision_function(X)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | impl_multiclass_supervised_model!(Array); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_multiclass_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/multiclass/mod.rs:162:32 [INFO] [stdout] | [INFO] [stdout] 162 | let decision = try!(self.decision_function(X)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | impl_multiclass_supervised_model!(Array); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_multiclass_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/multiclass/mod.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | try!(model.fit(X, &binary_target)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | impl_multiclass_supervised_model!(SparseRowArray); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_multiclass_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/multiclass/mod.rs:152:34 [INFO] [stdout] | [INFO] [stdout] 152 | let values = try!(model.decision_function(X)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | impl_multiclass_supervised_model!(SparseRowArray); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_multiclass_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/multiclass/mod.rs:162:32 [INFO] [stdout] | [INFO] [stdout] 162 | let decision = try!(self.decision_function(X)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | impl_multiclass_supervised_model!(SparseRowArray); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_multiclass_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/multiclass/mod.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | try!(model.fit(X, &binary_target)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | impl_multiclass_supervised_model!(SparseColumnArray); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_multiclass_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/multiclass/mod.rs:152:34 [INFO] [stdout] | [INFO] [stdout] 152 | let values = try!(model.decision_function(X)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | impl_multiclass_supervised_model!(SparseColumnArray); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_multiclass_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/multiclass/mod.rs:162:32 [INFO] [stdout] | [INFO] [stdout] 162 | let decision = try!(self.decision_function(X)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | impl_multiclass_supervised_model!(SparseColumnArray); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_multiclass_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/multiclass/mod.rs:228:32 [INFO] [stdout] | [INFO] [stdout] 228 | let decision = try!(self.decision_function_parallel(X, num_threads)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | impl_multiclass_parallel_predict!(Array); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_multiclass_parallel_predict` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/multiclass/mod.rs:228:32 [INFO] [stdout] | [INFO] [stdout] 228 | let decision = try!(self.decision_function_parallel(X, num_threads)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | impl_multiclass_parallel_predict!(SparseRowArray); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_multiclass_parallel_predict` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/multiclass/mod.rs:228:32 [INFO] [stdout] | [INFO] [stdout] 228 | let decision = try!(self.decision_function_parallel(X, num_threads)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | impl_multiclass_parallel_predict!(SparseColumnArray); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_multiclass_parallel_predict` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `C_SVC` should have an upper camel case name [INFO] [stdout] --> src/svm/libsvm/ffi.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | C_SVC, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `CSvc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NU_SVC` should have an upper camel case name [INFO] [stdout] --> src/svm/libsvm/ffi.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | NU_SVC, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `NuSvc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ONE_CLASS` should have an upper camel case name [INFO] [stdout] --> src/svm/libsvm/ffi.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | ONE_CLASS, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `OneClass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EPSILON_SVR` should have an upper camel case name [INFO] [stdout] --> src/svm/libsvm/ffi.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | EPSILON_SVR, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `EpsilonSvr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NU_SVR` should have an upper camel case name [INFO] [stdout] --> src/svm/libsvm/ffi.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | NU_SVR, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `NuSvr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/svm/libsvm/svc.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | impl_supervised_model!(Array); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/svm/libsvm/svc.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | try!(check_matched_dimensions(X, y)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | impl_supervised_model!(Array); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/svm/libsvm/svc.rs:115:35 [INFO] [stdout] | [INFO] [stdout] 115 | self.model = Some(try!(ffi::fit(X, y, &svm_params))); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | impl_supervised_model!(Array); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/svm/libsvm/svc.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | impl_supervised_model!(Array); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/svm/libsvm/svc.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | impl_supervised_model!(SparseRowArray); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/svm/libsvm/svc.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | try!(check_matched_dimensions(X, y)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | impl_supervised_model!(SparseRowArray); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/svm/libsvm/svc.rs:115:35 [INFO] [stdout] | [INFO] [stdout] 115 | self.model = Some(try!(ffi::fit(X, y, &svm_params))); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | impl_supervised_model!(SparseRowArray); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/svm/libsvm/svc.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | impl_supervised_model!(SparseRowArray); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/traits/mod.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | let decision_func = try!(self.decision_function(x)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/traits/mod.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | let decision_func = try!(self.decision_function_parallel(X, num_threads)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trees/decision_tree.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trees/decision_tree.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | try!(check_matched_dimensions(X, y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trees/decision_tree.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | try!(check_valid_labels(y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trees/decision_tree.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trees/decision_tree.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trees/decision_tree.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | try!(check_matched_dimensions(X, y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trees/decision_tree.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | try!(check_valid_labels(y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trees/decision_tree.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/metrics/ranking.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | 0.0 => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/metrics/ranking.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | 1.0 => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/factorization/factorization_machines.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | let mut component_row = [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/factorization/factorization_machines.rs:295:17 [INFO] [stdout] | [INFO] [stdout] 295 | let mut gradsq_row = &mut self.latent_gradsq.as_mut_slice()[slice_start..slice_stop]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/factorization/factorization_machines.rs:296:17 [INFO] [stdout] | [INFO] [stdout] 296 | let mut applied_l2_row = [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/factorization/factorization_machines.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 298 | let mut applied_l1_row = [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/factorization/factorization_machines.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | let mut component_sum = &mut vec![0.0; self.num_components][..]; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/factorization/factorization_machines.rs:401:13 [INFO] [stdout] | [INFO] [stdout] 401 | let mut component_sum = &mut vec![0.0; self.num_components][..]; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/metrics/ranking.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | 0.0 => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 69 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.52s [INFO] running `Command { std: "docker" "inspect" "8b020d8dd1cc9d1cfbf000e9866ff4d0c945f05c2b7ad40a40f9fae8d345460b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b020d8dd1cc9d1cfbf000e9866ff4d0c945f05c2b7ad40a40f9fae8d345460b", kill_on_drop: false }` [INFO] [stdout] 8b020d8dd1cc9d1cfbf000e9866ff4d0c945f05c2b7ad40a40f9fae8d345460b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0e9b8fa1f2082d2effda7216508f876719610066900dfaae405cb8bb5227124 [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" "a0e9b8fa1f2082d2effda7216508f876719610066900dfaae405cb8bb5227124", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling openssl-sys v0.7.17 [INFO] [stderr] Compiling openssl-sys-extras v0.7.14 [INFO] [stderr] Compiling openssl v0.7.14 [INFO] [stderr] warning: dependencies/libsvm/svm.cpp: In function 'void print_string_stdout(const char*)': [INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stdout] --> build.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | gcc::Config::new() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: dependencies/libsvm/svm.cpp:41:45: warning: unused parameter 's' [-Wunused-parameter] [INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | gcc::Config::new() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: 41 | static void print_string_stdout(const char *s) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: | ~~~~~~~~~~~~^ [INFO] [stderr] Compiling num_cpus v0.2.13 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling uuid v0.2.3 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ensemble/random_forest.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | try!(tree.fit(&X.get_rows(&indices), &y.get_rows(&indices))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ensemble/random_forest.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | df.add_inplace(&try!(tree.decision_function(X))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ensemble/random_forest.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | try!(tree.fit(&x, &y.get_rows(&indices))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ensemble/random_forest.rs:161:29 [INFO] [stdout] | [INFO] [stdout] 161 | df.add_inplace(&try!(tree.decision_function(&x))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/factorization/factorization_machines.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/factorization/factorization_machines.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | try!(check_matched_dimensions(X, y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/factorization/factorization_machines.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | try!(check_valid_labels(y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/factorization/factorization_machines.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/factorization/factorization_machines.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/factorization/factorization_machines.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | try!(check_matched_dimensions(X, y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/factorization/factorization_machines.rs:425:9 [INFO] [stdout] | [INFO] [stdout] 425 | try!(check_valid_labels(y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/linear_models/sgdclassifier.rs:175:1 [INFO] [stdout] | [INFO] [stdout] 175 | / macro_rules! adagrad_updates { [INFO] [stdout] 176 | | ($coefficients:expr, $x:expr, $gradsq:expr) => {{ [INFO] [stdout] 177 | | $coefficients [INFO] [stdout] 178 | | .iter_mut() [INFO] [stdout] ... | [INFO] [stdout] 181 | | }}; [INFO] [stdout] 182 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linear_models/sgdclassifier.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linear_models/sgdclassifier.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | try!(check_matched_dimensions(X, y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linear_models/sgdclassifier.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | try!(check_valid_labels(y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linear_models/sgdclassifier.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linear_models/sgdclassifier.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linear_models/sgdclassifier.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linear_models/sgdclassifier.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | try!(check_matched_dimensions(X, y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linear_models/sgdclassifier.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | try!(check_valid_labels(y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linear_models/sgdclassifier.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/metrics/ranking.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | try!(check_roc_auc_inputs(y_true, y_hat)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `metrics::ranking::*` [INFO] [stdout] --> src/metrics/test.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | use metrics::ranking::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::*` [INFO] [stdout] --> src/metrics/test.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | use prelude::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/metrics/test.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/multiclass/mod.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | try!(model.fit(X, &binary_target)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | impl_multiclass_supervised_model!(Array); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_multiclass_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/multiclass/mod.rs:152:34 [INFO] [stdout] | [INFO] [stdout] 152 | let values = try!(model.decision_function(X)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | impl_multiclass_supervised_model!(Array); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_multiclass_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/multiclass/mod.rs:162:32 [INFO] [stdout] | [INFO] [stdout] 162 | let decision = try!(self.decision_function(X)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | impl_multiclass_supervised_model!(Array); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_multiclass_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/multiclass/mod.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | try!(model.fit(X, &binary_target)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | impl_multiclass_supervised_model!(SparseRowArray); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_multiclass_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/multiclass/mod.rs:152:34 [INFO] [stdout] | [INFO] [stdout] 152 | let values = try!(model.decision_function(X)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | impl_multiclass_supervised_model!(SparseRowArray); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_multiclass_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/multiclass/mod.rs:162:32 [INFO] [stdout] | [INFO] [stdout] 162 | let decision = try!(self.decision_function(X)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | impl_multiclass_supervised_model!(SparseRowArray); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_multiclass_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/multiclass/mod.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | try!(model.fit(X, &binary_target)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | impl_multiclass_supervised_model!(SparseColumnArray); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_multiclass_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/multiclass/mod.rs:152:34 [INFO] [stdout] | [INFO] [stdout] 152 | let values = try!(model.decision_function(X)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | impl_multiclass_supervised_model!(SparseColumnArray); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_multiclass_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/multiclass/mod.rs:162:32 [INFO] [stdout] | [INFO] [stdout] 162 | let decision = try!(self.decision_function(X)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | impl_multiclass_supervised_model!(SparseColumnArray); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_multiclass_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/multiclass/mod.rs:228:32 [INFO] [stdout] | [INFO] [stdout] 228 | let decision = try!(self.decision_function_parallel(X, num_threads)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | impl_multiclass_parallel_predict!(Array); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_multiclass_parallel_predict` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/multiclass/mod.rs:228:32 [INFO] [stdout] | [INFO] [stdout] 228 | let decision = try!(self.decision_function_parallel(X, num_threads)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | impl_multiclass_parallel_predict!(SparseRowArray); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_multiclass_parallel_predict` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/multiclass/mod.rs:228:32 [INFO] [stdout] | [INFO] [stdout] 228 | let decision = try!(self.decision_function_parallel(X, num_threads)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | impl_multiclass_parallel_predict!(SparseColumnArray); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_multiclass_parallel_predict` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `C_SVC` should have an upper camel case name [INFO] [stdout] --> src/svm/libsvm/ffi.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | C_SVC, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `CSvc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NU_SVC` should have an upper camel case name [INFO] [stdout] --> src/svm/libsvm/ffi.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | NU_SVC, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `NuSvc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ONE_CLASS` should have an upper camel case name [INFO] [stdout] --> src/svm/libsvm/ffi.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | ONE_CLASS, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `OneClass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EPSILON_SVR` should have an upper camel case name [INFO] [stdout] --> src/svm/libsvm/ffi.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | EPSILON_SVR, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `EpsilonSvr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NU_SVR` should have an upper camel case name [INFO] [stdout] --> src/svm/libsvm/ffi.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | NU_SVR, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `NuSvr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/svm/libsvm/svc.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | impl_supervised_model!(Array); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/svm/libsvm/svc.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | try!(check_matched_dimensions(X, y)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | impl_supervised_model!(Array); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/svm/libsvm/svc.rs:115:35 [INFO] [stdout] | [INFO] [stdout] 115 | self.model = Some(try!(ffi::fit(X, y, &svm_params))); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | impl_supervised_model!(Array); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/svm/libsvm/svc.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | impl_supervised_model!(Array); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/svm/libsvm/svc.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | impl_supervised_model!(SparseRowArray); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/svm/libsvm/svc.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | try!(check_matched_dimensions(X, y)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | impl_supervised_model!(SparseRowArray); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/svm/libsvm/svc.rs:115:35 [INFO] [stdout] | [INFO] [stdout] 115 | self.model = Some(try!(ffi::fit(X, y, &svm_params))); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | impl_supervised_model!(SparseRowArray); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/svm/libsvm/svc.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | impl_supervised_model!(SparseRowArray); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_supervised_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/traits/mod.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | let decision_func = try!(self.decision_function(x)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/traits/mod.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | let decision_func = try!(self.decision_function_parallel(X, num_threads)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trees/decision_tree.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trees/decision_tree.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | try!(check_matched_dimensions(X, y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trees/decision_tree.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | try!(check_valid_labels(y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trees/decision_tree.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trees/decision_tree.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trees/decision_tree.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | try!(check_matched_dimensions(X, y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trees/decision_tree.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | try!(check_valid_labels(y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/trees/decision_tree.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | try!(check_data_dimensionality(self.dim, X)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/metrics/ranking.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | 0.0 => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/metrics/ranking.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | 1.0 => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/factorization/factorization_machines.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | let mut component_row = [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/factorization/factorization_machines.rs:295:17 [INFO] [stdout] | [INFO] [stdout] 295 | let mut gradsq_row = &mut self.latent_gradsq.as_mut_slice()[slice_start..slice_stop]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/factorization/factorization_machines.rs:296:17 [INFO] [stdout] | [INFO] [stdout] 296 | let mut applied_l2_row = [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/factorization/factorization_machines.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 298 | let mut applied_l1_row = [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/factorization/factorization_machines.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | let mut component_sum = &mut vec![0.0; self.num_components][..]; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/factorization/factorization_machines.rs:401:13 [INFO] [stdout] | [INFO] [stdout] 401 | let mut component_sum = &mut vec![0.0; self.num_components][..]; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/metrics/ranking.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | 0.0 => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 69 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling unicode-bidi v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: src/openssl_shim.c: In function 'SSL_CTX_set_ecdh_auto_shim': [INFO] [stderr] warning: src/openssl_shim.c:121:41: warning: unused parameter 'ctx' [-Wunused-parameter] [INFO] [stderr] warning: 121 | int SSL_CTX_set_ecdh_auto_shim(SSL_CTX *ctx, int onoff) { [INFO] [stderr] warning: | ~~~~~~~~~^~~ [INFO] [stderr] warning: src/openssl_shim.c: In function 'DH_new_from_params': [INFO] [stderr] warning: src/openssl_shim.c:132:7: error: dereferencing pointer to incomplete type 'DH' {aka 'struct dh_st'} [INFO] [stderr] warning: 132 | dh->p = p; [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: src/openssl_shim.c: In function 'X509_get_extensions_shim': [INFO] [stderr] warning: src/openssl_shim.c:143:13: error: dereferencing pointer to incomplete type 'X509' {aka 'struct x509_st'} [INFO] [stderr] warning: 143 | return x->cert_info ? x->cert_info->extensions : NULL; [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: src/openssl_shim.c:144:1: warning: control reaches end of non-void function [-Wreturn-type] [INFO] [stderr] warning: 144 | } [INFO] [stderr] warning: | ^ [INFO] [stderr] [INFO] [stderr] error: failed to run custom build command for `openssl-sys-extras v0.7.14` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/openssl-sys-extras-3a967553d2d84496/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] OPT_LEVEL = Some("0") [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] CC_x86_64-unknown-linux-gnu = None [INFO] [stderr] CC_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CC = None [INFO] [stderr] CC = None [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] CFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] CFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CFLAGS = None [INFO] [stderr] CFLAGS = None [INFO] [stderr] DEBUG = Some("true") [INFO] [stderr] running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-m64" "-I" "/usr/include" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/debug/build/openssl-sys-extras-3110323c62a10091/out/src/openssl_shim.o" "-c" "src/openssl_shim.c" [INFO] [stderr] cargo:warning=src/openssl_shim.c: In function 'SSL_CTX_set_ecdh_auto_shim': [INFO] [stderr] cargo:warning=src/openssl_shim.c:121:41: warning: unused parameter 'ctx' [-Wunused-parameter] [INFO] [stderr] cargo:warning= 121 | int SSL_CTX_set_ecdh_auto_shim(SSL_CTX *ctx, int onoff) { [INFO] [stderr] cargo:warning= | ~~~~~~~~~^~~ [INFO] [stderr] cargo:warning=src/openssl_shim.c: In function 'DH_new_from_params': [INFO] [stderr] cargo:warning=src/openssl_shim.c:132:7: error: dereferencing pointer to incomplete type 'DH' {aka 'struct dh_st'} [INFO] [stderr] cargo:warning= 132 | dh->p = p; [INFO] [stderr] cargo:warning= | ^~ [INFO] [stderr] cargo:warning=src/openssl_shim.c: In function 'X509_get_extensions_shim': [INFO] [stderr] cargo:warning=src/openssl_shim.c:143:13: error: dereferencing pointer to incomplete type 'X509' {aka 'struct x509_st'} [INFO] [stderr] cargo:warning= 143 | return x->cert_info ? x->cert_info->extensions : NULL; [INFO] [stderr] cargo:warning= | ^~ [INFO] [stderr] cargo:warning=src/openssl_shim.c:144:1: warning: control reaches end of non-void function [-Wreturn-type] [INFO] [stderr] cargo:warning= 144 | } [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] exit status: 1 [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] thread 'main' panicked at ' [INFO] [stderr] [INFO] [stderr] Internal error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-m64" "-I" "/usr/include" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/debug/build/openssl-sys-extras-3110323c62a10091/out/src/openssl_shim.o" "-c" "src/openssl_shim.c" with args "cc" did not execute successfully (status code exit status: 1). [INFO] [stderr] [INFO] [stderr] ', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.55/src/lib.rs:1672:5 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x55fa513e6e60 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::libunwind::trace [INFO] [stderr] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stderr] 1: 0x55fa513e6e60 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stderr] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x55fa513e6e60 - std[77c0456e0eb29f0c]::sys_common::backtrace::_print_fmt [INFO] [stderr] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stderr] 3: 0x55fa513e6e60 - ::fmt [INFO] [stderr] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stderr] 4: 0x55fa51405f4c - core[ee1ca6415511a9c4]::fmt::write [INFO] [stderr] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/fmt/mod.rs:1110:17 [INFO] [stderr] 5: 0x55fa513e3a85 - ::write_fmt [INFO] [stderr] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/io/mod.rs:1584:15 [INFO] [stderr] 6: 0x55fa513e8deb - std[77c0456e0eb29f0c]::sys_common::backtrace::_print [INFO] [stderr] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stderr] 7: 0x55fa513e8deb - std[77c0456e0eb29f0c]::sys_common::backtrace::print [INFO] [stderr] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stderr] 8: 0x55fa513e8deb - std[77c0456e0eb29f0c]::panicking::default_hook::{closure#1} [INFO] [stderr] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:208:50 [INFO] [stderr] 9: 0x55fa513e88c1 - std[77c0456e0eb29f0c]::panicking::default_hook [INFO] [stderr] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:225:9 [INFO] [stderr] 10: 0x55fa513e9491 - std[77c0456e0eb29f0c]::panicking::rust_panic_with_hook [INFO] [stderr] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:622:17 [INFO] [stderr] 11: 0x55fa513e8f97 - std[77c0456e0eb29f0c]::panicking::begin_panic_handler::{closure#0} [INFO] [stderr] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:519:13 [INFO] [stderr] 12: 0x55fa513e735c - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_end_short_backtrace:: [INFO] [stderr] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stderr] 13: 0x55fa513e8ef9 - rust_begin_unwind [INFO] [stderr] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:515:5 [INFO] [stderr] 14: 0x55fa51394c3b - std[77c0456e0eb29f0c]::panicking::begin_panic_fmt [INFO] [stderr] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:457:5 [INFO] [stderr] 15: 0x55fa513aa253 - gcc[1fca65d8374645d1]::fail [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.55/src/lib.rs:1672:5 [INFO] [stderr] 16: 0x55fa5139c38f - ::compile [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.55/src/lib.rs:785:13 [INFO] [stderr] 17: 0x55fa51395f72 - build_script_build[bc249170070e53dc]::main [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/openssl-sys-extras-0.7.14/build.rs:19:5 [INFO] [stderr] 18: 0x55fa5139818b - >::call_once [INFO] [stderr] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stderr] 19: 0x55fa513977ae - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_begin_short_backtrace:: [INFO] [stderr] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stderr] 20: 0x55fa51397441 - std[77c0456e0eb29f0c]::rt::lang_start::<()>::{closure#0} [INFO] [stderr] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/rt.rs:49:18 [INFO] [stderr] 21: 0x55fa513e9989 - <&dyn core[ee1ca6415511a9c4]::ops::function::Fn<(), Output = i32> + std[77c0456e0eb29f0c]::panic::RefUnwindSafe + core[ee1ca6415511a9c4]::marker::Sync as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stderr] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:259:13 [INFO] [stderr] 22: 0x55fa513e9989 - std[77c0456e0eb29f0c]::panicking::try::do_call::<&dyn core[ee1ca6415511a9c4]::ops::function::Fn<(), Output = i32> + std[77c0456e0eb29f0c]::panic::RefUnwindSafe + core[ee1ca6415511a9c4]::marker::Sync, i32> [INFO] [stderr] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:401:40 [INFO] [stderr] 23: 0x55fa513e9989 - std[77c0456e0eb29f0c]::panicking::try:: + std[77c0456e0eb29f0c]::panic::RefUnwindSafe + core[ee1ca6415511a9c4]::marker::Sync> [INFO] [stderr] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:365:19 [INFO] [stderr] 24: 0x55fa513e9989 - std[77c0456e0eb29f0c]::panic::catch_unwind::<&dyn core[ee1ca6415511a9c4]::ops::function::Fn<(), Output = i32> + std[77c0456e0eb29f0c]::panic::RefUnwindSafe + core[ee1ca6415511a9c4]::marker::Sync, i32> [INFO] [stderr] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:433:14 [INFO] [stderr] 25: 0x55fa513e9989 - std[77c0456e0eb29f0c]::rt::lang_start_internal [INFO] [stderr] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/rt.rs:34:21 [INFO] [stderr] 26: 0x55fa51397420 - std[77c0456e0eb29f0c]::rt::lang_start::<()> [INFO] [stderr] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/rt.rs:48:5 [INFO] [stderr] 27: 0x55fa5139714c - main [INFO] [stderr] 28: 0x7f1c984e50b3 - __libc_start_main [INFO] [stderr] 29: 0x55fa51395ade - _start [INFO] [stderr] 30: 0x0 - [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: src/c_helpers.c: In function 'rust_SSL_clone': [INFO] [stderr] warning: src/c_helpers.c:4:5: warning: implicit declaration of function 'CRYPTO_add' [-Wimplicit-function-declaration] [INFO] [stderr] warning: 4 | CRYPTO_add(&ssl->references, 1, CRYPTO_LOCK_SSL); [INFO] [stderr] warning: | ^~~~~~~~~~ [INFO] [stderr] warning: src/c_helpers.c:4:20: error: dereferencing pointer to incomplete type 'SSL' {aka 'struct ssl_st'} [INFO] [stderr] warning: 4 | CRYPTO_add(&ssl->references, 1, CRYPTO_LOCK_SSL); [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: src/c_helpers.c:4:37: error: 'CRYPTO_LOCK_SSL' undeclared (first use in this function); did you mean 'CRYPTO_LOCK'? [INFO] [stderr] warning: 4 | CRYPTO_add(&ssl->references, 1, CRYPTO_LOCK_SSL); [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~ [INFO] [stderr] warning: | CRYPTO_LOCK [INFO] [stderr] warning: src/c_helpers.c:4:37: note: each undeclared identifier is reported only once for each function it appears in [INFO] [stderr] warning: src/c_helpers.c: In function 'rust_SSL_CTX_clone': [INFO] [stderr] warning: src/c_helpers.c:8:20: error: dereferencing pointer to incomplete type 'SSL_CTX' {aka 'struct ssl_ctx_st'} [INFO] [stderr] warning: 8 | CRYPTO_add(&ctx->references,1,CRYPTO_LOCK_SSL_CTX); [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: src/c_helpers.c:8:35: error: 'CRYPTO_LOCK_SSL_CTX' undeclared (first use in this function); did you mean 'CRYPTO_EX_INDEX_SSL_CTX'? [INFO] [stderr] warning: 8 | CRYPTO_add(&ctx->references,1,CRYPTO_LOCK_SSL_CTX); [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: | CRYPTO_EX_INDEX_SSL_CTX [INFO] [stderr] warning: src/c_helpers.c: In function 'rust_X509_clone': [INFO] [stderr] warning: src/c_helpers.c:12:21: error: dereferencing pointer to incomplete type 'X509' {aka 'struct x509_st'} [INFO] [stderr] warning: 12 | CRYPTO_add(&x509->references,1,CRYPTO_LOCK_X509); [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: src/c_helpers.c:12:36: error: 'CRYPTO_LOCK_X509' undeclared (first use in this function); did you mean 'CRYPTO_LOCK'? [INFO] [stderr] warning: 12 | CRYPTO_add(&x509->references,1,CRYPTO_LOCK_X509); [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~ [INFO] [stderr] warning: | CRYPTO_LOCK [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a0e9b8fa1f2082d2effda7216508f876719610066900dfaae405cb8bb5227124", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0e9b8fa1f2082d2effda7216508f876719610066900dfaae405cb8bb5227124", kill_on_drop: false }` [INFO] [stdout] a0e9b8fa1f2082d2effda7216508f876719610066900dfaae405cb8bb5227124