[INFO] fetching crate rustlearn 0.5.0... [INFO] building rustlearn-0.5.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate rustlearn 0.5.0 into /workspace/builds/worker-82/source [INFO] validating manifest of crates.io crate rustlearn 0.5.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-82/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a31547f6e376ea7aaca518322e573b2641d5af4919cfcd0350ff33e49719e17 [INFO] running `Command { std: "docker" "start" "-a" "5a31547f6e376ea7aaca518322e573b2641d5af4919cfcd0350ff33e49719e17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a31547f6e376ea7aaca518322e573b2641d5af4919cfcd0350ff33e49719e17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a31547f6e376ea7aaca518322e573b2641d5af4919cfcd0350ff33e49719e17", kill_on_drop: false }` [INFO] [stdout] 5a31547f6e376ea7aaca518322e573b2641d5af4919cfcd0350ff33e49719e17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c1ebe0f074f6d600b63454c6f920121a0da4dcc7a8f2982c9d5e50b37846e2d [INFO] running `Command { std: "docker" "start" "-a" "2c1ebe0f074f6d600b63454c6f920121a0da4dcc7a8f2982c9d5e50b37846e2d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling rustlearn v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stdout] --> build.rs:9:10 [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] Compiling quote v1.0.15 [INFO] [stderr] Compiling rand v0.3.23 [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] [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: `adagrad_updates` [INFO] [stdout] --> src/linear_models/sgdclassifier.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 175 | macro_rules! adagrad_updates { [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] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/metrics/test.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | mod generated_tests { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/metrics/test.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | mod generated_tests { [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] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/metrics/test.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | mod generated_tests { [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: 68 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.62s [INFO] running `Command { std: "docker" "inspect" "2c1ebe0f074f6d600b63454c6f920121a0da4dcc7a8f2982c9d5e50b37846e2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c1ebe0f074f6d600b63454c6f920121a0da4dcc7a8f2982c9d5e50b37846e2d", kill_on_drop: false }` [INFO] [stdout] 2c1ebe0f074f6d600b63454c6f920121a0da4dcc7a8f2982c9d5e50b37846e2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 836c3105088ffcd57790d84b6d54f01b98c82f9cce68614e9c6ca68c9503eea8 [INFO] running `Command { std: "docker" "start" "-a" "836c3105088ffcd57790d84b6d54f01b98c82f9cce68614e9c6ca68c9503eea8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling traitobject v0.0.1 [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 openssl-sys-extras v0.7.14 [INFO] [stderr] Compiling openssl v0.7.14 [INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stdout] --> build.rs:9:10 [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] Compiling time v0.1.44 [INFO] [stderr] Compiling num_cpus v0.2.13 [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] [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] [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: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: `adagrad_updates` [INFO] [stdout] --> src/linear_models/sgdclassifier.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 175 | macro_rules! adagrad_updates { [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] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/metrics/test.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | mod generated_tests { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/metrics/test.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | mod generated_tests { [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] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/metrics/test.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | mod generated_tests { [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] [stderr] Compiling tinyvec v1.5.1 [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: 68 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling unicode-bidi v0.2.6 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling openssl-sys v0.7.17 [INFO] [stderr] Compiling hpack v0.2.0 [INFO] [stderr] Compiling solicit v0.4.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [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-ff5d85e5b4be4a09/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-2544be6194ef3507/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-2544be6194ef3507/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: 0x5621d881835c - std::backtrace_rs::backtrace::libunwind::trace::h91c465e73bf6c785 [INFO] [stderr] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stderr] 1: 0x5621d881835c - std::backtrace_rs::backtrace::trace_unsynchronized::hae9da36f5d58b5f3 [INFO] [stderr] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x5621d881835c - std::sys_common::backtrace::_print_fmt::h7f499fa126a7effb [INFO] [stderr] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stderr] 3: 0x5621d881835c - ::fmt::h3e2b509ce2ce6007 [INFO] [stderr] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stderr] 4: 0x5621d883a21c - core::fmt::write::h753c7571fa063ecb [INFO] [stderr] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/fmt/mod.rs:1168:17 [INFO] [stderr] 5: 0x5621d8813263 - std::io::Write::write_fmt::h2815c0519c99ba09 [INFO] [stderr] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/io/mod.rs:1660:15 [INFO] [stderr] 6: 0x5621d881a5c2 - std::sys_common::backtrace::_print::h64941a6fc8b0ed9b [INFO] [stderr] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stderr] 7: 0x5621d881a5c2 - std::sys_common::backtrace::print::hcf25e43e1a9b0766 [INFO] [stderr] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stderr] 8: 0x5621d881a5c2 - std::panicking::default_hook::{{closure}}::h78d3e6cf97fc623d [INFO] [stderr] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:211:50 [INFO] [stderr] 9: 0x5621d881a1a5 - std::panicking::default_hook::hda898f8d3ad1a5ae [INFO] [stderr] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:228:9 [INFO] [stderr] 10: 0x5621d881ac13 - std::panicking::rust_panic_with_hook::h1a5ea2d6c23051aa [INFO] [stderr] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:606:17 [INFO] [stderr] 11: 0x5621d881a930 - std::panicking::begin_panic_handler::{{closure}}::h07f549390938b73f [INFO] [stderr] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:502:13 [INFO] [stderr] 12: 0x5621d8818804 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ec3758a92cfb00d [INFO] [stderr] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stderr] 13: 0x5621d881a669 - rust_begin_unwind [INFO] [stderr] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:498:5 [INFO] [stderr] 14: 0x5621d87c2441 - core::panicking::panic_fmt::h3a79a6a99affe1d5 [INFO] [stderr] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panicking.rs:116:14 [INFO] [stderr] 15: 0x5621d87d6893 - gcc::fail::h6e003646d385ca27 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.55/src/lib.rs:1672:5 [INFO] [stderr] 16: 0x5621d87c9109 - gcc::Build::compile::h47286ed853873b2c [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.55/src/lib.rs:785:13 [INFO] [stderr] 17: 0x5621d87c2f31 - build_script_build::main::h066b72fd8a4c8efa [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: 0x5621d87c440b - core::ops::function::FnOnce::call_once::hb5cbfee843ad60c3 [INFO] [stderr] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5 [INFO] [stderr] 19: 0x5621d87c44ae - std::sys_common::backtrace::__rust_begin_short_backtrace::h0257dec4e6467719 [INFO] [stderr] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stderr] 20: 0x5621d87c52f1 - std::rt::lang_start::{{closure}}::hb66fda0fb3671263 [INFO] [stderr] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/rt.rs:145:18 [INFO] [stderr] 21: 0x5621d8817a10 - core::ops::function::impls:: for &F>::call_once::h443f738a8e9f947a [INFO] [stderr] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:259:13 [INFO] [stderr] 22: 0x5621d8817a10 - std::panicking::try::do_call::h1e21ba261ba489ec [INFO] [stderr] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:406:40 [INFO] [stderr] 23: 0x5621d8817a10 - std::panicking::try::h6afd48af8b6c96ac [INFO] [stderr] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:370:19 [INFO] [stderr] 24: 0x5621d8817a10 - std::panic::catch_unwind::h85dd95e0bab7fb60 [INFO] [stderr] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panic.rs:133:14 [INFO] [stderr] 25: 0x5621d8817a10 - std::rt::lang_start_internal::{{closure}}::h038455e697c8b03e [INFO] [stderr] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/rt.rs:128:48 [INFO] [stderr] 26: 0x5621d8817a10 - std::panicking::try::do_call::h6b0ad65979f3077a [INFO] [stderr] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:406:40 [INFO] [stderr] 27: 0x5621d8817a10 - std::panicking::try::h010108d314169ac6 [INFO] [stderr] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:370:19 [INFO] [stderr] 28: 0x5621d8817a10 - std::panic::catch_unwind::hff397f912b1535c2 [INFO] [stderr] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panic.rs:133:14 [INFO] [stderr] 29: 0x5621d8817a10 - std::rt::lang_start_internal::h52e73755f77c7dd9 [INFO] [stderr] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/rt.rs:128:20 [INFO] [stderr] 30: 0x5621d87c52c0 - std::rt::lang_start::hcb0e5ca83c08cfc6 [INFO] [stderr] at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/rt.rs:144:17 [INFO] [stderr] 31: 0x5621d87c408c - main [INFO] [stderr] 32: 0x7f7f01d360b3 - __libc_start_main [INFO] [stderr] 33: 0x5621d87c2b5e - _start [INFO] [stderr] 34: 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" "836c3105088ffcd57790d84b6d54f01b98c82f9cce68614e9c6ca68c9503eea8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "836c3105088ffcd57790d84b6d54f01b98c82f9cce68614e9c6ca68c9503eea8", kill_on_drop: false }` [INFO] [stdout] 836c3105088ffcd57790d84b6d54f01b98c82f9cce68614e9c6ca68c9503eea8