[INFO] fetching crate rustml 0.0.7... [INFO] checking rustml-0.0.7 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate rustml 0.0.7 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate rustml 0.0.7 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 36 packages [INFO] [stderr] Adding aho-corasick v0.5.3 (latest: v1.1.3) [INFO] [stderr] Adding flate2 v0.2.20 (latest: v1.0.28) [INFO] [stderr] Adding memchr v0.1.11 (latest: v2.7.2) [INFO] [stderr] Adding num v0.1.42 (latest: v0.4.1) [INFO] [stderr] Adding num-bigint v0.1.44 (latest: v0.4.4) [INFO] [stderr] Adding num-complex v0.1.43 (latest: v0.4.5) [INFO] [stderr] Adding num-rational v0.1.42 (latest: v0.4.1) [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.4) [INFO] [stderr] Adding regex-syntax v0.3.9 (latest: v0.8.3) [INFO] [stderr] Adding thread-id v2.0.0 (latest: v4.2.1) [INFO] [stderr] Adding thread_local v0.2.7 (latest: v1.1.8) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.34) [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.0+wasi-0.2.0) [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded flate2 v0.2.20 [INFO] [stderr] Downloaded miniz-sys v0.1.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f2a08b37bb5b0addfc5e632a3a4eb521953109a8fdd48db6904d9ee31635cf7 [INFO] running `Command { std: "docker" "start" "-a" "6f2a08b37bb5b0addfc5e632a3a4eb521953109a8fdd48db6904d9ee31635cf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f2a08b37bb5b0addfc5e632a3a4eb521953109a8fdd48db6904d9ee31635cf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f2a08b37bb5b0addfc5e632a3a4eb521953109a8fdd48db6904d9ee31635cf7", kill_on_drop: false }` [INFO] [stdout] 6f2a08b37bb5b0addfc5e632a3a4eb521953109a8fdd48db6904d9ee31635cf7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efddf905c41e2ec5c9ce6df8f30535cad5e4cd39ad064dc18f667df6faf975c0 [INFO] running `Command { std: "docker" "start" "-a" "efddf905c41e2ec5c9ce6df8f30535cad5e4cd39ad064dc18f667df6faf975c0", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling rustml v0.0.7 (/opt/rustwide/workdir) [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Checking memchr v0.1.11 [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 aho-corasick v0.5.3 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-iter v0.1.44 [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: the item `Copy` is imported redundantly [INFO] [stdout] --> src/vectors.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::marker::Copy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Copy` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/vectors.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use std::cmp::{PartialEq, min}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [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: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/octave.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [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: the item `GzipData` is imported redundantly [INFO] [stdout] --> src/datasets.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 346 | use super::*; [INFO] [stdout] | -------- the item `GzipData` is already imported here [INFO] [stdout] 347 | use io::GzipData; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] [INFO] [stdout] warning: the item `Point2D` is imported redundantly [INFO] [stdout] --> src/distance.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 135 | use super::*; [INFO] [stdout] | -------- the item `Point2D` is already imported here [INFO] [stdout] 136 | use geometry::Point2D; [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: the item `Read` is imported redundantly [INFO] [stdout] --> src/io.rs:488:9 [INFO] [stdout] | [INFO] [stdout] 487 | use super::*; [INFO] [stdout] | -------- the item `Read` is already imported here [INFO] [stdout] 488 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Regex` is imported redundantly [INFO] [stdout] --> src/io.rs:489:9 [INFO] [stdout] | [INFO] [stdout] 487 | use super::*; [INFO] [stdout] | -------- the item `Regex` is already imported here [INFO] [stdout] 488 | use std::io::Read; [INFO] [stdout] 489 | use self::regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `File` is imported redundantly [INFO] [stdout] --> src/io.rs:490:9 [INFO] [stdout] | [INFO] [stdout] 487 | use super::*; [INFO] [stdout] | -------- the item `File` is already imported here [INFO] [stdout] ... [INFO] [stdout] 490 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufReader` is imported redundantly [INFO] [stdout] --> src/io.rs:491:9 [INFO] [stdout] | [INFO] [stdout] 487 | use super::*; [INFO] [stdout] | -------- the item `BufReader` is already imported here [INFO] [stdout] ... [INFO] [stdout] 491 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Matrix` is imported redundantly [INFO] [stdout] --> src/io.rs:492:9 [INFO] [stdout] | [INFO] [stdout] 487 | use super::*; [INFO] [stdout] | -------- the item `Matrix` is already imported here [INFO] [stdout] ... [INFO] [stdout] 492 | use matrix::Matrix; [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: the item `Copy` is imported redundantly [INFO] [stdout] --> src/vectors.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::marker::Copy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Copy` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/vectors.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use std::cmp::{PartialEq, min}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [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: the item `File` is imported redundantly [INFO] [stdout] --> src/vectors.rs:400:19 [INFO] [stdout] | [INFO] [stdout] 398 | use super::*; [INFO] [stdout] | -------- the item `File` is already imported here [INFO] [stdout] 399 | use matrix::Similar; [INFO] [stdout] 400 | use std::fs::{File, remove_file}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Read` is imported redundantly [INFO] [stdout] --> src/vectors.rs:401:19 [INFO] [stdout] | [INFO] [stdout] 398 | use super::*; [INFO] [stdout] | -------- the item `Read` is already imported here [INFO] [stdout] ... [INFO] [stdout] 401 | use std::io::{Read, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufReader` is imported redundantly [INFO] [stdout] --> src/vectors.rs:401:25 [INFO] [stdout] | [INFO] [stdout] 398 | use super::*; [INFO] [stdout] | -------- the item `BufReader` is already imported here [INFO] [stdout] ... [INFO] [stdout] 401 | use std::io::{Read, BufReader}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Dimension` is imported redundantly [INFO] [stdout] --> src/math/sum.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 147 | use super::*; [INFO] [stdout] | -------- the item `Dimension` is already imported here [INFO] [stdout] 148 | use matrix::*; [INFO] [stdout] 149 | use math::Dimension; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Dimension` is imported redundantly [INFO] [stdout] --> src/math/mean.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 104 | use super::*; [INFO] [stdout] | -------- the item `Dimension` is already imported here [INFO] [stdout] 105 | use matrix::*; [INFO] [stdout] 106 | use math::Dimension; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Dimension` is imported redundantly [INFO] [stdout] --> src/math/var.rs:168:16 [INFO] [stdout] | [INFO] [stdout] 167 | use super::*; [INFO] [stdout] | -------- the item `Dimension` is already imported here [INFO] [stdout] 168 | use math::{Dimension, Normalization}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Normalization` is imported redundantly [INFO] [stdout] --> src/math/var.rs:168:27 [INFO] [stdout] | [INFO] [stdout] 167 | use super::*; [INFO] [stdout] | -------- the item `Normalization` is already imported here [INFO] [stdout] 168 | use math::{Dimension, Normalization}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Matrix` is imported redundantly [INFO] [stdout] --> src/math/var.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 167 | use super::*; [INFO] [stdout] | -------- the item `Matrix` is already imported here [INFO] [stdout] 168 | use math::{Dimension, Normalization}; [INFO] [stdout] 169 | use matrix::Matrix; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Normalization` is imported redundantly [INFO] [stdout] --> src/gaussian.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 169 | use super::*; [INFO] [stdout] | -------- the item `Normalization` is already imported here [INFO] [stdout] 170 | use math::Normalization; [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: the item `Matrix` is imported redundantly [INFO] [stdout] --> src/scaling.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 157 | use super::*; [INFO] [stdout] | -------- the item `Matrix` is already imported here [INFO] [stdout] 158 | use matrix::Matrix; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Gaussian` is imported redundantly [INFO] [stdout] --> src/scaling.rs:159:20 [INFO] [stdout] | [INFO] [stdout] 157 | use super::*; [INFO] [stdout] | -------- the item `Gaussian` is already imported here [INFO] [stdout] 158 | use matrix::Matrix; [INFO] [stdout] 159 | use gaussian::{Gaussian, GaussianFunctions}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GaussianFunctions` is imported redundantly [INFO] [stdout] --> src/scaling.rs:159:30 [INFO] [stdout] | [INFO] [stdout] 157 | use super::*; [INFO] [stdout] | -------- the item `GaussianFunctions` is already imported here [INFO] [stdout] 158 | use matrix::Matrix; [INFO] [stdout] 159 | use gaussian::{Gaussian, GaussianFunctions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Point2D` is imported redundantly [INFO] [stdout] --> src/dbscan.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 109 | use super::*; [INFO] [stdout] | -------- the item `Point2D` is already imported here [INFO] [stdout] 110 | use geometry::Point2D; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/octave.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [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: the item `Functions` is imported redundantly [INFO] [stdout] --> src/nn.rs:483:9 [INFO] [stdout] | [INFO] [stdout] 481 | use super::*; [INFO] [stdout] | -------- the item `Functions` is already imported here [INFO] [stdout] 482 | use matrix::*; [INFO] [stdout] 483 | use ops::Functions; [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: 33 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: 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.41s [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 3` [INFO] running `Command { std: "docker" "inspect" "efddf905c41e2ec5c9ce6df8f30535cad5e4cd39ad064dc18f667df6faf975c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efddf905c41e2ec5c9ce6df8f30535cad5e4cd39ad064dc18f667df6faf975c0", kill_on_drop: false }` [INFO] [stdout] efddf905c41e2ec5c9ce6df8f30535cad5e4cd39ad064dc18f667df6faf975c0 [INFO] checking rustml-0.0.7 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate rustml 0.0.7 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate rustml 0.0.7 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6814aab3abb779897138af427f46381df7ff4aa6f4ea96c1699d84371f0da189 [INFO] running `Command { std: "docker" "start" "-a" "6814aab3abb779897138af427f46381df7ff4aa6f4ea96c1699d84371f0da189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6814aab3abb779897138af427f46381df7ff4aa6f4ea96c1699d84371f0da189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6814aab3abb779897138af427f46381df7ff4aa6f4ea96c1699d84371f0da189", kill_on_drop: false }` [INFO] [stdout] 6814aab3abb779897138af427f46381df7ff4aa6f4ea96c1699d84371f0da189 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 782f9cf7135a7cf55009e23d99f206b785c6937fc836737d44f6be40b97b2005 [INFO] running `Command { std: "docker" "start" "-a" "782f9cf7135a7cf55009e23d99f206b785c6937fc836737d44f6be40b97b2005", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Compiling rustml v0.0.7 (/opt/rustwide/workdir) [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling miniz-sys v0.1.12 [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] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-iter v0.1.44 [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: the item `Copy` is imported redundantly [INFO] [stdout] --> src/vectors.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::marker::Copy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Copy` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/vectors.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use std::cmp::{PartialEq, min}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [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: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/octave.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [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: the item `GzipData` is imported redundantly [INFO] [stdout] --> src/datasets.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 346 | use super::*; [INFO] [stdout] | -------- the item `GzipData` is already imported here [INFO] [stdout] 347 | use io::GzipData; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] [INFO] [stdout] warning: the item `Point2D` is imported redundantly [INFO] [stdout] --> src/distance.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 135 | use super::*; [INFO] [stdout] | -------- the item `Point2D` is already imported here [INFO] [stdout] 136 | use geometry::Point2D; [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: the item `Read` is imported redundantly [INFO] [stdout] --> src/io.rs:488:9 [INFO] [stdout] | [INFO] [stdout] 487 | use super::*; [INFO] [stdout] | -------- the item `Read` is already imported here [INFO] [stdout] 488 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Regex` is imported redundantly [INFO] [stdout] --> src/io.rs:489:9 [INFO] [stdout] | [INFO] [stdout] 487 | use super::*; [INFO] [stdout] | -------- the item `Regex` is already imported here [INFO] [stdout] 488 | use std::io::Read; [INFO] [stdout] 489 | use self::regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `File` is imported redundantly [INFO] [stdout] --> src/io.rs:490:9 [INFO] [stdout] | [INFO] [stdout] 487 | use super::*; [INFO] [stdout] | -------- the item `File` is already imported here [INFO] [stdout] ... [INFO] [stdout] 490 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufReader` is imported redundantly [INFO] [stdout] --> src/io.rs:491:9 [INFO] [stdout] | [INFO] [stdout] 487 | use super::*; [INFO] [stdout] | -------- the item `BufReader` is already imported here [INFO] [stdout] ... [INFO] [stdout] 491 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Matrix` is imported redundantly [INFO] [stdout] --> src/io.rs:492:9 [INFO] [stdout] | [INFO] [stdout] 487 | use super::*; [INFO] [stdout] | -------- the item `Matrix` is already imported here [INFO] [stdout] ... [INFO] [stdout] 492 | use matrix::Matrix; [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: the item `Copy` is imported redundantly [INFO] [stdout] --> src/vectors.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::marker::Copy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Copy` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/vectors.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use std::cmp::{PartialEq, min}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [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: the item `File` is imported redundantly [INFO] [stdout] --> src/vectors.rs:400:19 [INFO] [stdout] | [INFO] [stdout] 398 | use super::*; [INFO] [stdout] | -------- the item `File` is already imported here [INFO] [stdout] 399 | use matrix::Similar; [INFO] [stdout] 400 | use std::fs::{File, remove_file}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Read` is imported redundantly [INFO] [stdout] --> src/vectors.rs:401:19 [INFO] [stdout] | [INFO] [stdout] 398 | use super::*; [INFO] [stdout] | -------- the item `Read` is already imported here [INFO] [stdout] ... [INFO] [stdout] 401 | use std::io::{Read, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BufReader` is imported redundantly [INFO] [stdout] --> src/vectors.rs:401:25 [INFO] [stdout] | [INFO] [stdout] 398 | use super::*; [INFO] [stdout] | -------- the item `BufReader` is already imported here [INFO] [stdout] ... [INFO] [stdout] 401 | use std::io::{Read, BufReader}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Dimension` is imported redundantly [INFO] [stdout] --> src/math/sum.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 147 | use super::*; [INFO] [stdout] | -------- the item `Dimension` is already imported here [INFO] [stdout] 148 | use matrix::*; [INFO] [stdout] 149 | use math::Dimension; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Dimension` is imported redundantly [INFO] [stdout] --> src/math/mean.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 104 | use super::*; [INFO] [stdout] | -------- the item `Dimension` is already imported here [INFO] [stdout] 105 | use matrix::*; [INFO] [stdout] 106 | use math::Dimension; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Dimension` is imported redundantly [INFO] [stdout] --> src/math/var.rs:168:16 [INFO] [stdout] | [INFO] [stdout] 167 | use super::*; [INFO] [stdout] | -------- the item `Dimension` is already imported here [INFO] [stdout] 168 | use math::{Dimension, Normalization}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Normalization` is imported redundantly [INFO] [stdout] --> src/math/var.rs:168:27 [INFO] [stdout] | [INFO] [stdout] 167 | use super::*; [INFO] [stdout] | -------- the item `Normalization` is already imported here [INFO] [stdout] 168 | use math::{Dimension, Normalization}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Matrix` is imported redundantly [INFO] [stdout] --> src/math/var.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 167 | use super::*; [INFO] [stdout] | -------- the item `Matrix` is already imported here [INFO] [stdout] 168 | use math::{Dimension, Normalization}; [INFO] [stdout] 169 | use matrix::Matrix; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Normalization` is imported redundantly [INFO] [stdout] --> src/gaussian.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 169 | use super::*; [INFO] [stdout] | -------- the item `Normalization` is already imported here [INFO] [stdout] 170 | use math::Normalization; [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: the item `Matrix` is imported redundantly [INFO] [stdout] --> src/scaling.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 157 | use super::*; [INFO] [stdout] | -------- the item `Matrix` is already imported here [INFO] [stdout] 158 | use matrix::Matrix; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Gaussian` is imported redundantly [INFO] [stdout] --> src/scaling.rs:159:20 [INFO] [stdout] | [INFO] [stdout] 157 | use super::*; [INFO] [stdout] | -------- the item `Gaussian` is already imported here [INFO] [stdout] 158 | use matrix::Matrix; [INFO] [stdout] 159 | use gaussian::{Gaussian, GaussianFunctions}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GaussianFunctions` is imported redundantly [INFO] [stdout] --> src/scaling.rs:159:30 [INFO] [stdout] | [INFO] [stdout] 157 | use super::*; [INFO] [stdout] | -------- the item `GaussianFunctions` is already imported here [INFO] [stdout] 158 | use matrix::Matrix; [INFO] [stdout] 159 | use gaussian::{Gaussian, GaussianFunctions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Point2D` is imported redundantly [INFO] [stdout] --> src/dbscan.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 109 | use super::*; [INFO] [stdout] | -------- the item `Point2D` is already imported here [INFO] [stdout] 110 | use geometry::Point2D; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/octave.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [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: the item `Functions` is imported redundantly [INFO] [stdout] --> src/nn.rs:483:9 [INFO] [stdout] | [INFO] [stdout] 481 | use super::*; [INFO] [stdout] | -------- the item `Functions` is already imported here [INFO] [stdout] 482 | use matrix::*; [INFO] [stdout] 483 | use ops::Functions; [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: 33 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: 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.62s [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 2` [INFO] running `Command { std: "docker" "inspect" "782f9cf7135a7cf55009e23d99f206b785c6937fc836737d44f6be40b97b2005", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "782f9cf7135a7cf55009e23d99f206b785c6937fc836737d44f6be40b97b2005", kill_on_drop: false }` [INFO] [stdout] 782f9cf7135a7cf55009e23d99f206b785c6937fc836737d44f6be40b97b2005