[INFO] fetching crate rustml 0.0.7... [INFO] checking rustml-0.0.7 against master#f8f6997469237299c1d60814c7b9828602a1f8e4 for pr-143808 [INFO] extracting crate rustml 0.0.7 into /workspace/builds/worker-5-tc1/source [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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rustml 0.0.7 on toolchain f8f6997469237299c1d60814c7b9828602a1f8e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 36 packages to latest compatible versions [INFO] [stderr] Adding flate2 v0.2.20 (available: v1.1.2) [INFO] [stderr] Adding num v0.1.43 (available: v0.4.3) [INFO] [stderr] Adding rand v0.4.6 (available: v0.9.2) [INFO] [stderr] Adding regex v0.1.80 (available: v1.11.1) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.41) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3087a35bd52ca1bde996196d53dd13631b4d10d99faffa43739067d8d329ed8e [INFO] running `Command { std: "docker" "start" "-a" "3087a35bd52ca1bde996196d53dd13631b4d10d99faffa43739067d8d329ed8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3087a35bd52ca1bde996196d53dd13631b4d10d99faffa43739067d8d329ed8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3087a35bd52ca1bde996196d53dd13631b4d10d99faffa43739067d8d329ed8e", kill_on_drop: false }` [INFO] [stdout] 3087a35bd52ca1bde996196d53dd13631b4d10d99faffa43739067d8d329ed8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b67885e5a5fffb02c5ea95b89375c38e8c824e766de43de9d227a594db219f53 [INFO] running `Command { std: "docker" "start" "-a" "b67885e5a5fffb02c5ea95b89375c38e8c824e766de43de9d227a594db219f53", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.174 [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 unicode-width v0.2.1 [INFO] [stderr] Compiling rustml v0.0.7 (/opt/rustwide/workdir) [INFO] [stderr] Checking utf8-ranges v0.1.3 [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] Compiling cc v1.2.30 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking getopts v0.2.23 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.1.45 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.44 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Checking num v0.1.43 [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/blas.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [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: 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: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/vectors.rs:352:1 [INFO] [stdout] | [INFO] [stdout] 352 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/opencv/bindings.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/opencv/bindings.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/opencv/bindings.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/blas.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [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: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/vectors.rs:352:1 [INFO] [stdout] | [INFO] [stdout] 352 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [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: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/opencv/bindings.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/opencv/bindings.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/opencv/bindings.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [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: 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/matrix.rs:605:17 [INFO] [stdout] | [INFO] [stdout] 605 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 605 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/matrix.rs:626:21 [INFO] [stdout] | [INFO] [stdout] 626 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 626 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/matrix.rs:650:21 [INFO] [stdout] | [INFO] [stdout] 650 | pub fn row_iter(&self) -> RowIterator { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 650 | pub fn row_iter(&self) -> RowIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/matrix.rs:659:21 [INFO] [stdout] | [INFO] [stdout] 659 | pub fn col_iter(&self) -> ColIterator { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 659 | pub fn col_iter(&self) -> ColIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/matrix.rs:686:24 [INFO] [stdout] | [INFO] [stdout] 686 | pub fn row_iter_at(&self, n: usize) -> RowIterator { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 686 | pub fn row_iter_at(&self, n: usize) -> RowIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/matrix.rs:725:24 [INFO] [stdout] | [INFO] [stdout] 725 | pub fn row_iter_of(&self, rows: &[usize]) -> SelectedRowIterator { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 725 | pub fn row_iter_of(&self, rows: &[usize]) -> SelectedRowIterator<'_, T> { [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/io.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn iter(&self) -> Skip> { self.v.iter().skip(self.idx) } [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 135 | pub fn iter(&self) -> Skip> { self.v.iter().skip(self.idx) } [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/opencv/mod.rs:688:27 [INFO] [stdout] | [INFO] [stdout] 688 | pub fn mask_iter<'q>(&'q self, i: &'q GrayImage) -> MaskIter { [INFO] [stdout] | ^^ ^^ -------- the lifetime gets resolved as `'q` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'q` [INFO] [stdout] | [INFO] [stdout] 688 | pub fn mask_iter<'q>(&'q self, i: &'q GrayImage) -> MaskIter<'q> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/opencv/mod.rs:698:23 [INFO] [stdout] | [INFO] [stdout] 698 | pub fn pixel_iter(&self) -> GrayValueIterator { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 698 | pub fn pixel_iter(&self) -> GrayValueIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/opencv/mod.rs:797:29 [INFO] [stdout] | [INFO] [stdout] 797 | pub fn color_frame_iter(&self) -> VideoColorFrameIterator { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 797 | pub fn color_frame_iter(&self) -> VideoColorFrameIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/opencv/mod.rs:803:28 [INFO] [stdout] | [INFO] [stdout] 803 | pub fn gray_frame_iter(&self) -> VideoGrayFrameIterator { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 803 | pub fn gray_frame_iter(&self) -> VideoGrayFrameIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dbscan.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(data: &'a Vec>, eps: f64, minpts: usize) -> ClusterDbscan { [INFO] [stdout] | ^^ this lifetime flows to the output ------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(data: &'a Vec>, eps: f64, minpts: usize) -> ClusterDbscan<'a> { [INFO] [stdout] | ++++ [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: 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/matrix.rs:605:17 [INFO] [stdout] | [INFO] [stdout] 605 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 605 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/matrix.rs:626:21 [INFO] [stdout] | [INFO] [stdout] 626 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 626 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/matrix.rs:650:21 [INFO] [stdout] | [INFO] [stdout] 650 | pub fn row_iter(&self) -> RowIterator { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 650 | pub fn row_iter(&self) -> RowIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/matrix.rs:659:21 [INFO] [stdout] | [INFO] [stdout] 659 | pub fn col_iter(&self) -> ColIterator { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 659 | pub fn col_iter(&self) -> ColIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/matrix.rs:686:24 [INFO] [stdout] | [INFO] [stdout] 686 | pub fn row_iter_at(&self, n: usize) -> RowIterator { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 686 | pub fn row_iter_at(&self, n: usize) -> RowIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/matrix.rs:725:24 [INFO] [stdout] | [INFO] [stdout] 725 | pub fn row_iter_of(&self, rows: &[usize]) -> SelectedRowIterator { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 725 | pub fn row_iter_of(&self, rows: &[usize]) -> SelectedRowIterator<'_, T> { [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/io.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn iter(&self) -> Skip> { self.v.iter().skip(self.idx) } [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 135 | pub fn iter(&self) -> Skip> { self.v.iter().skip(self.idx) } [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/opencv/mod.rs:688:27 [INFO] [stdout] | [INFO] [stdout] 688 | pub fn mask_iter<'q>(&'q self, i: &'q GrayImage) -> MaskIter { [INFO] [stdout] | ^^ ^^ -------- the lifetime gets resolved as `'q` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'q` [INFO] [stdout] | [INFO] [stdout] 688 | pub fn mask_iter<'q>(&'q self, i: &'q GrayImage) -> MaskIter<'q> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/opencv/mod.rs:698:23 [INFO] [stdout] | [INFO] [stdout] 698 | pub fn pixel_iter(&self) -> GrayValueIterator { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 698 | pub fn pixel_iter(&self) -> GrayValueIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/opencv/mod.rs:797:29 [INFO] [stdout] | [INFO] [stdout] 797 | pub fn color_frame_iter(&self) -> VideoColorFrameIterator { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 797 | pub fn color_frame_iter(&self) -> VideoColorFrameIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/opencv/mod.rs:803:28 [INFO] [stdout] | [INFO] [stdout] 803 | pub fn gray_frame_iter(&self) -> VideoGrayFrameIterator { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 803 | pub fn gray_frame_iter(&self) -> VideoGrayFrameIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dbscan.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(data: &'a Vec>, eps: f64, minpts: usize) -> ClusterDbscan { [INFO] [stdout] | ^^ this lifetime flows to the output ------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(data: &'a Vec>, eps: f64, minpts: usize) -> ClusterDbscan<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.73s [INFO] running `Command { std: "docker" "inspect" "b67885e5a5fffb02c5ea95b89375c38e8c824e766de43de9d227a594db219f53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b67885e5a5fffb02c5ea95b89375c38e8c824e766de43de9d227a594db219f53", kill_on_drop: false }` [INFO] [stdout] b67885e5a5fffb02c5ea95b89375c38e8c824e766de43de9d227a594db219f53