[INFO] fetching crate rustml 0.0.7... [INFO] checking rustml-0.0.7 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate rustml 0.0.7 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate rustml 0.0.7 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rustml 0.0.7 [INFO] removed 13 missing examples [INFO] finished tweaking crates.io crate rustml 0.0.7 [INFO] tweaked toml for crates.io crate rustml 0.0.7 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 37 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v0.5.3 (latest: v1.1.3) [INFO] [stderr] Adding flate2 v0.2.20 (latest: v1.0.33) [INFO] [stderr] Adding memchr v0.1.11 (latest: v2.7.4) [INFO] [stderr] Adding num v0.1.42 (latest: v0.4.3) [INFO] [stderr] Adding num-bigint v0.1.44 (latest: v0.4.6) [INFO] [stderr] Adding num-complex v0.1.43 (latest: v0.4.6) [INFO] [stderr] Adding num-rational v0.1.42 (latest: v0.4.2) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding regex v0.1.80 (latest: v1.10.6) [INFO] [stderr] Adding regex-syntax v0.3.9 (latest: v0.8.4) [INFO] [stderr] Adding thread-id v2.0.0 (latest: v4.2.2) [INFO] [stderr] Adding thread_local v0.2.7 (latest: v1.1.8) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.36) [INFO] [stderr] Adding utf8-ranges v0.1.3 (latest: v1.0.5) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e745796f4c651e98b7f0a861e5eece106d56e7cefd0844d5d3917179ab52b48 [INFO] running `Command { std: "docker" "start" "-a" "1e745796f4c651e98b7f0a861e5eece106d56e7cefd0844d5d3917179ab52b48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e745796f4c651e98b7f0a861e5eece106d56e7cefd0844d5d3917179ab52b48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e745796f4c651e98b7f0a861e5eece106d56e7cefd0844d5d3917179ab52b48", kill_on_drop: false }` [INFO] [stdout] 1e745796f4c651e98b7f0a861e5eece106d56e7cefd0844d5d3917179ab52b48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69913b9ad0b965234040d223a7a8ad805e85766f62e38cde6f4426e7c40a0b40 [INFO] running `Command { std: "docker" "start" "-a" "69913b9ad0b965234040d223a7a8ad805e85766f62e38cde6f4426e7c40a0b40", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling rustml v0.0.7 (/opt/rustwide/workdir) [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> build.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | assert!(s.success(), "\n\n".to_string() + msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | assert!(s.success(), "{}", "\n\n".to_string() + msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | let mut data = try!(GzipData::from_file(fname)); [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/datasets.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | if try!(MnistDigits::read_u32(&mut data)) != 8 * 256 + 1 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | let n = try!(MnistDigits::read_u32(&mut data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | let mut data = try!(GzipData::from_file(fname)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | if try!(MnistDigits::read_u32(&mut data)) != 8 * 256 + 3 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let n = try!(MnistDigits::read_u32(&mut data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | let rows = try!(MnistDigits::read_u32(&mut data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | let cols = try!(MnistDigits::read_u32(&mut data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | let labels = try!(MnistDigits::read_labels(labels_fname)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:126:22 [INFO] [stdout] | [INFO] [stdout] 126 | let values = try!(MnistDigits::read_examples(vectors_fname)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:155:24 [INFO] [stdout] | [INFO] [stdout] 155 | let features = try!(MnistDigits::path("train-images-idx3-ubyte.gz")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:156:22 [INFO] [stdout] | [INFO] [stdout] 156 | let labels = try!(MnistDigits::path("train-labels-idx1-ubyte.gz")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:163:24 [INFO] [stdout] | [INFO] [stdout] 163 | let features = try!(MnistDigits::path("t10k-images-idx3-ubyte.gz")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:164:22 [INFO] [stdout] | [INFO] [stdout] 164 | let labels = try!(MnistDigits::path("t10k-labels-idx1-ubyte.gz")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | try!(GzDecoder::new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | try!(File::open(fname) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vectors.rs:225:37 [INFO] [stdout] | [INFO] [stdout] 225 | buf: BufReader::::new(try!(File::open(path))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/datasets.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | use std::env::home_dir; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/datasets.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 139 | match home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/consts.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env::home_dir; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/consts.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | match home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | let mut data = try!(GzipData::from_file(fname)); [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/datasets.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | if try!(MnistDigits::read_u32(&mut data)) != 8 * 256 + 1 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | let n = try!(MnistDigits::read_u32(&mut data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | let mut data = try!(GzipData::from_file(fname)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | if try!(MnistDigits::read_u32(&mut data)) != 8 * 256 + 3 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let n = try!(MnistDigits::read_u32(&mut data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | let rows = try!(MnistDigits::read_u32(&mut data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | let cols = try!(MnistDigits::read_u32(&mut data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | let labels = try!(MnistDigits::read_labels(labels_fname)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:126:22 [INFO] [stdout] | [INFO] [stdout] 126 | let values = try!(MnistDigits::read_examples(vectors_fname)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:155:24 [INFO] [stdout] | [INFO] [stdout] 155 | let features = try!(MnistDigits::path("train-images-idx3-ubyte.gz")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:156:22 [INFO] [stdout] | [INFO] [stdout] 156 | let labels = try!(MnistDigits::path("train-labels-idx1-ubyte.gz")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:163:24 [INFO] [stdout] | [INFO] [stdout] 163 | let features = try!(MnistDigits::path("t10k-images-idx3-ubyte.gz")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:164:22 [INFO] [stdout] | [INFO] [stdout] 164 | let labels = try!(MnistDigits::path("t10k-labels-idx1-ubyte.gz")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `matrix::*` [INFO] [stdout] --> src/distance.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | use matrix::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | try!(GzDecoder::new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | try!(File::open(fname) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/io.rs:576:69 [INFO] [stdout] | [INFO] [stdout] 576 | let v = r.map(|x| x.unwrap()).collect::>>();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `matrix::*` [INFO] [stdout] --> src/knn.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | use matrix::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vectors.rs:225:37 [INFO] [stdout] | [INFO] [stdout] 225 | buf: BufReader::::new(try!(File::open(path))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::num::abs` [INFO] [stdout] --> src/ops.rs:545:9 [INFO] [stdout] | [INFO] [stdout] 545 | use self::num::abs; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `matrix::*` [INFO] [stdout] --> src/regression.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | use matrix::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::num::abs` [INFO] [stdout] --> src/nn.rs:480:9 [INFO] [stdout] | [INFO] [stdout] 480 | use self::num::abs; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/datasets.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | use std::env::home_dir; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/datasets.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 139 | match home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/consts.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env::home_dir; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/consts.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | match home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ops.rs:411:25 [INFO] [stdout] | [INFO] [stdout] 411 | let mut r = m.row_mut(i).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 444 | matrix_vector_ops_impl!{ f32, s_gemv } [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in the macro `matrix_vector_ops_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ops.rs:421:25 [INFO] [stdout] | [INFO] [stdout] 421 | let mut r = m.row_mut(i).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 444 | matrix_vector_ops_impl!{ f32, s_gemv } [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `matrix_vector_ops_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ops.rs:411:25 [INFO] [stdout] | [INFO] [stdout] 411 | let mut r = m.row_mut(i).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 445 | matrix_vector_ops_impl!{ f64, d_gemv } [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `matrix_vector_ops_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ops.rs:421:25 [INFO] [stdout] | [INFO] [stdout] 421 | let mut r = m.row_mut(i).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 445 | matrix_vector_ops_impl!{ f64, d_gemv } [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `matrix_vector_ops_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/matrix.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | / format!("Dimensions of matrices do not match. {}x{}, {}x{}", [INFO] [stdout] 228 | | self.rows(), self.cols(), e.rows(), e.cols() [INFO] [stdout] 229 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 227 ~ "Dimensions of matrices do not match. {}x{}, {}x{}", [INFO] [stdout] 228 | self.rows(), self.cols(), e.rows(), e.cols() [INFO] [stdout] 229 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/matrix.rs:1238:13 [INFO] [stdout] | [INFO] [stdout] 1238 | / format!("Dimensions of matrices do not match. {}x{} * {}x{}", [INFO] [stdout] 1239 | | self.rows(), self.cols(), rhs.rows(), rhs.cols() [INFO] [stdout] 1240 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 1238 ~ "Dimensions of matrices do not match. {}x{} * {}x{}", [INFO] [stdout] 1239 | self.rows(), self.cols(), rhs.rows(), rhs.cols() [INFO] [stdout] 1240 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/matrix.rs:1277:13 [INFO] [stdout] | [INFO] [stdout] 1277 | / format!("Dimensions of matrices do not match. {}x{} * {}x{}", [INFO] [stdout] 1278 | | self.rows(), self.cols(), rhs.rows(), rhs.cols() [INFO] [stdout] 1279 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 1277 ~ "Dimensions of matrices do not match. {}x{} * {}x{}", [INFO] [stdout] 1278 | self.rows(), self.cols(), rhs.rows(), rhs.cols() [INFO] [stdout] 1279 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ops_inplace.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | / format!("Dimensions for d_gemm do not match: {}x{} * {}x{}", [INFO] [stdout] 108 | | rowsa, colsa, rowsb, colsb [INFO] [stdout] 109 | | )); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 107 ~ "Dimensions for d_gemm do not match: {}x{} * {}x{}", [INFO] [stdout] 108 | rowsa, colsa, rowsb, colsb [INFO] [stdout] 109 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate rustml; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> tests/lib.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::env::home_dir; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> tests/lib.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut p = home_dir().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ops.rs:411:25 [INFO] [stdout] | [INFO] [stdout] 411 | let mut r = m.row_mut(i).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 444 | matrix_vector_ops_impl!{ f32, s_gemv } [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in the macro `matrix_vector_ops_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ops.rs:421:25 [INFO] [stdout] | [INFO] [stdout] 421 | let mut r = m.row_mut(i).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 444 | matrix_vector_ops_impl!{ f32, s_gemv } [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `matrix_vector_ops_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ops.rs:411:25 [INFO] [stdout] | [INFO] [stdout] 411 | let mut r = m.row_mut(i).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 445 | matrix_vector_ops_impl!{ f64, d_gemv } [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `matrix_vector_ops_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ops.rs:421:25 [INFO] [stdout] | [INFO] [stdout] 421 | let mut r = m.row_mut(i).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 445 | matrix_vector_ops_impl!{ f64, d_gemv } [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `matrix_vector_ops_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/matrix.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | / format!("Dimensions of matrices do not match. {}x{}, {}x{}", [INFO] [stdout] 228 | | self.rows(), self.cols(), e.rows(), e.cols() [INFO] [stdout] 229 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 227 ~ "Dimensions of matrices do not match. {}x{}, {}x{}", [INFO] [stdout] 228 | self.rows(), self.cols(), e.rows(), e.cols() [INFO] [stdout] 229 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/matrix.rs:1238:13 [INFO] [stdout] | [INFO] [stdout] 1238 | / format!("Dimensions of matrices do not match. {}x{} * {}x{}", [INFO] [stdout] 1239 | | self.rows(), self.cols(), rhs.rows(), rhs.cols() [INFO] [stdout] 1240 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 1238 ~ "Dimensions of matrices do not match. {}x{} * {}x{}", [INFO] [stdout] 1239 | self.rows(), self.cols(), rhs.rows(), rhs.cols() [INFO] [stdout] 1240 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/matrix.rs:1277:13 [INFO] [stdout] | [INFO] [stdout] 1277 | / format!("Dimensions of matrices do not match. {}x{} * {}x{}", [INFO] [stdout] 1278 | | self.rows(), self.cols(), rhs.rows(), rhs.cols() [INFO] [stdout] 1279 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 1277 ~ "Dimensions of matrices do not match. {}x{} * {}x{}", [INFO] [stdout] 1278 | self.rows(), self.cols(), rhs.rows(), rhs.cols() [INFO] [stdout] 1279 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ops_inplace.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | / format!("Dimensions for d_gemm do not match: {}x{} * {}x{}", [INFO] [stdout] 108 | | rowsa, colsa, rowsb, colsb [INFO] [stdout] 109 | | )); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 107 ~ "Dimensions for d_gemm do not match: {}x{} * {}x{}", [INFO] [stdout] 108 | rowsa, colsa, rowsb, colsb [INFO] [stdout] 109 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.21s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint v0.1.44, num-complex v0.1.43, num-rational v0.1.42 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "69913b9ad0b965234040d223a7a8ad805e85766f62e38cde6f4426e7c40a0b40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69913b9ad0b965234040d223a7a8ad805e85766f62e38cde6f4426e7c40a0b40", kill_on_drop: false }` [INFO] [stdout] 69913b9ad0b965234040d223a7a8ad805e85766f62e38cde6f4426e7c40a0b40