[INFO] fetching crate rustml 0.0.7... [INFO] testing rustml-0.0.7 against 1.60.0 for beta-1.61-1 [INFO] extracting crate rustml 0.0.7 into /workspace/builds/worker-26/source [INFO] validating manifest of crates.io crate rustml 0.0.7 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-26/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0f170cf51860f655c8b3e958768253bd4667d47cd517691cced22f6789350a7 [INFO] running `Command { std: "docker" "start" "-a" "d0f170cf51860f655c8b3e958768253bd4667d47cd517691cced22f6789350a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0f170cf51860f655c8b3e958768253bd4667d47cd517691cced22f6789350a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0f170cf51860f655c8b3e958768253bd4667d47cd517691cced22f6789350a7", kill_on_drop: false }` [INFO] [stdout] d0f170cf51860f655c8b3e958768253bd4667d47cd517691cced22f6789350a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05b3fdfb1441139d8eac6bd5764b1cf2febaf772ca5b1fc72d29096562a4ac91 [INFO] running `Command { std: "docker" "start" "-a" "05b3fdfb1441139d8eac6bd5764b1cf2febaf772ca5b1fc72d29096562a4ac91", kill_on_drop: false }` [INFO] [stderr] Compiling rustml v0.0.7 (/opt/rustwide/workdir) [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling num-complex v0.1.43 [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: `#[warn(non_fmt_panics)]` on by default [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] 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] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling flate2 v0.2.20 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | let mut data = try!(GzipData::from_file(fname)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | if try!(MnistDigits::read_u32(&mut data)) != 8 * 256 + 1 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | let n = try!(MnistDigits::read_u32(&mut data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | let mut data = try!(GzipData::from_file(fname)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | if try!(MnistDigits::read_u32(&mut data)) != 8 * 256 + 3 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let n = try!(MnistDigits::read_u32(&mut data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | let rows = try!(MnistDigits::read_u32(&mut data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | let cols = try!(MnistDigits::read_u32(&mut data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | let labels = try!(MnistDigits::read_labels(labels_fname)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:126:22 [INFO] [stdout] | [INFO] [stdout] 126 | let values = try!(MnistDigits::read_examples(vectors_fname)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:155:24 [INFO] [stdout] | [INFO] [stdout] 155 | let features = try!(MnistDigits::path("train-images-idx3-ubyte.gz")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:156:22 [INFO] [stdout] | [INFO] [stdout] 156 | let labels = try!(MnistDigits::path("train-labels-idx1-ubyte.gz")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:163:24 [INFO] [stdout] | [INFO] [stdout] 163 | let features = try!(MnistDigits::path("t10k-images-idx3-ubyte.gz")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:164:22 [INFO] [stdout] | [INFO] [stdout] 164 | let labels = try!(MnistDigits::path("t10k-labels-idx1-ubyte.gz")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | try!(GzDecoder::new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | try!(File::open(fname) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vectors.rs:225:37 [INFO] [stdout] | [INFO] [stdout] 225 | buf: BufReader::::new(try!(File::open(path))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. 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 is unexpected and probably not what you want. 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 is unexpected and probably not what you want. 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 is unexpected and probably not what you want. 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: `#[warn(non_fmt_panics)]` on by default [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] 227 ~ "Dimensions of matrices do not match. {}x{}, {}x{}", [INFO] [stdout] 228 | self.rows(), self.cols(), e.rows(), e.cols() [INFO] [stdout] 229 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/matrix.rs:1238:13 [INFO] [stdout] | [INFO] [stdout] 1238 | / format!("Dimensions of matrices do not match. {}x{} * {}x{}", [INFO] [stdout] 1239 | | self.rows(), self.cols(), rhs.rows(), rhs.cols() [INFO] [stdout] 1240 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 1238 ~ "Dimensions of matrices do not match. {}x{} * {}x{}", [INFO] [stdout] 1239 | self.rows(), self.cols(), rhs.rows(), rhs.cols() [INFO] [stdout] 1240 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/matrix.rs:1277:13 [INFO] [stdout] | [INFO] [stdout] 1277 | / format!("Dimensions of matrices do not match. {}x{} * {}x{}", [INFO] [stdout] 1278 | | self.rows(), self.cols(), rhs.rows(), rhs.cols() [INFO] [stdout] 1279 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 1277 ~ "Dimensions of matrices do not match. {}x{} * {}x{}", [INFO] [stdout] 1278 | self.rows(), self.cols(), rhs.rows(), rhs.cols() [INFO] [stdout] 1279 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ops_inplace.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | / format!("Dimensions for d_gemm do not match: {}x{} * {}x{}", [INFO] [stdout] 108 | | rowsa, colsa, rowsb, colsb [INFO] [stdout] 109 | | )); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 107 ~ "Dimensions for d_gemm do not match: {}x{} * {}x{}", [INFO] [stdout] 108 | rowsa, colsa, rowsb, colsb [INFO] [stdout] 109 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.26s [INFO] running `Command { std: "docker" "inspect" "05b3fdfb1441139d8eac6bd5764b1cf2febaf772ca5b1fc72d29096562a4ac91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05b3fdfb1441139d8eac6bd5764b1cf2febaf772ca5b1fc72d29096562a4ac91", kill_on_drop: false }` [INFO] [stdout] 05b3fdfb1441139d8eac6bd5764b1cf2febaf772ca5b1fc72d29096562a4ac91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81de77e6627d7c6819025c65b96957e545441d90bdc081e3949a2fcb9d03e72b [INFO] running `Command { std: "docker" "start" "-a" "81de77e6627d7c6819025c65b96957e545441d90bdc081e3949a2fcb9d03e72b", kill_on_drop: false }` [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: `#[warn(non_fmt_panics)]` on by default [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] 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] [stdout] warning: 1 warning emitted [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] [stderr] Compiling rustml v0.0.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:155:24 [INFO] [stdout] | [INFO] [stdout] 155 | let features = try!(MnistDigits::path("train-images-idx3-ubyte.gz")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:156:22 [INFO] [stdout] | [INFO] [stdout] 156 | let labels = try!(MnistDigits::path("train-labels-idx1-ubyte.gz")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:163:24 [INFO] [stdout] | [INFO] [stdout] 163 | let features = try!(MnistDigits::path("t10k-images-idx3-ubyte.gz")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:164:22 [INFO] [stdout] | [INFO] [stdout] 164 | let labels = try!(MnistDigits::path("t10k-labels-idx1-ubyte.gz")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | try!(GzDecoder::new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | try!(File::open(fname) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vectors.rs:225:37 [INFO] [stdout] | [INFO] [stdout] 225 | buf: BufReader::::new(try!(File::open(path))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. 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 is unexpected and probably not what you want. 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 is unexpected and probably not what you want. 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 is unexpected and probably not what you want. 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: `#[warn(non_fmt_panics)]` on by default [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] 227 ~ "Dimensions of matrices do not match. {}x{}, {}x{}", [INFO] [stdout] 228 | self.rows(), self.cols(), e.rows(), e.cols() [INFO] [stdout] 229 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/matrix.rs:1238:13 [INFO] [stdout] | [INFO] [stdout] 1238 | / format!("Dimensions of matrices do not match. {}x{} * {}x{}", [INFO] [stdout] 1239 | | self.rows(), self.cols(), rhs.rows(), rhs.cols() [INFO] [stdout] 1240 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 1238 ~ "Dimensions of matrices do not match. {}x{} * {}x{}", [INFO] [stdout] 1239 | self.rows(), self.cols(), rhs.rows(), rhs.cols() [INFO] [stdout] 1240 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/matrix.rs:1277:13 [INFO] [stdout] | [INFO] [stdout] 1277 | / format!("Dimensions of matrices do not match. {}x{} * {}x{}", [INFO] [stdout] 1278 | | self.rows(), self.cols(), rhs.rows(), rhs.cols() [INFO] [stdout] 1279 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 1277 ~ "Dimensions of matrices do not match. {}x{} * {}x{}", [INFO] [stdout] 1278 | self.rows(), self.cols(), rhs.rows(), rhs.cols() [INFO] [stdout] 1279 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ops_inplace.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | / format!("Dimensions for d_gemm do not match: {}x{} * {}x{}", [INFO] [stdout] 108 | | rowsa, colsa, rowsb, colsb [INFO] [stdout] 109 | | )); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 107 ~ "Dimensions for d_gemm do not match: {}x{} * {}x{}", [INFO] [stdout] 108 | rowsa, colsa, rowsb, colsb [INFO] [stdout] 109 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate rustml; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. 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 is unexpected and probably not what you want. 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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | let mut data = try!(GzipData::from_file(fname)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | if try!(MnistDigits::read_u32(&mut data)) != 8 * 256 + 1 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | let n = try!(MnistDigits::read_u32(&mut data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | let mut data = try!(GzipData::from_file(fname)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | if try!(MnistDigits::read_u32(&mut data)) != 8 * 256 + 3 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let n = try!(MnistDigits::read_u32(&mut data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | let rows = try!(MnistDigits::read_u32(&mut data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | let cols = try!(MnistDigits::read_u32(&mut data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | let labels = try!(MnistDigits::read_labels(labels_fname)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:126:22 [INFO] [stdout] | [INFO] [stdout] 126 | let values = try!(MnistDigits::read_examples(vectors_fname)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:155:24 [INFO] [stdout] | [INFO] [stdout] 155 | let features = try!(MnistDigits::path("train-images-idx3-ubyte.gz")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:156:22 [INFO] [stdout] | [INFO] [stdout] 156 | let labels = try!(MnistDigits::path("train-labels-idx1-ubyte.gz")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:163:24 [INFO] [stdout] | [INFO] [stdout] 163 | let features = try!(MnistDigits::path("t10k-images-idx3-ubyte.gz")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/datasets.rs:164:22 [INFO] [stdout] | [INFO] [stdout] 164 | let labels = try!(MnistDigits::path("t10k-labels-idx1-ubyte.gz")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `matrix::*` [INFO] [stdout] --> src/distance.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | use matrix::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | try!(GzDecoder::new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | try!(File::open(fname) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/io.rs:576:69 [INFO] [stdout] | [INFO] [stdout] 576 | let v = r.map(|x| x.unwrap()).collect::>>();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `matrix::*` [INFO] [stdout] --> src/knn.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | use matrix::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vectors.rs:225:37 [INFO] [stdout] | [INFO] [stdout] 225 | buf: BufReader::::new(try!(File::open(path))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::num::abs` [INFO] [stdout] --> src/ops.rs:545:9 [INFO] [stdout] | [INFO] [stdout] 545 | use self::num::abs; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `matrix::*` [INFO] [stdout] --> src/regression.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | use matrix::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::num::abs` [INFO] [stdout] --> src/nn.rs:480:9 [INFO] [stdout] | [INFO] [stdout] 480 | use self::num::abs; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. 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 is unexpected and probably not what you want. 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 is unexpected and probably not what you want. 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 is unexpected and probably not what you want. 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: `#[warn(non_fmt_panics)]` on by default [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] 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustml-2074dcbe23d21ce1.rustml.266173a5-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rustml-2074dcbe23d21ce1.rustml.266173a5-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rustml-2074dcbe23d21ce1.rustml.266173a5-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rustml-2074dcbe23d21ce1.rustml.266173a5-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rustml-2074dcbe23d21ce1.rustml.266173a5-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rustml-2074dcbe23d21ce1.rustml.266173a5-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/rustml-2074dcbe23d21ce1.rustml.266173a5-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/rustml-2074dcbe23d21ce1.rustml.266173a5-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/rustml-2074dcbe23d21ce1.rustml.266173a5-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rustml-2074dcbe23d21ce1.rustml.266173a5-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rustml-2074dcbe23d21ce1.rustml.266173a5-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rustml-2074dcbe23d21ce1.rustml.266173a5-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rustml-2074dcbe23d21ce1.rustml.266173a5-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rustml-2074dcbe23d21ce1.rustml.266173a5-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rustml-2074dcbe23d21ce1.rustml.266173a5-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rustml-2074dcbe23d21ce1.rustml.266173a5-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/rustml-2074dcbe23d21ce1.4vrzkcgdjumtt9bw.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/miniz-sys-2bb921968e82c251/out" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lblas" "-lopencv_highgui" "-lopencv_imgcodecs" "-lopencv_core" "-lopencv_imgproc" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-b6a068090bf40c71.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-1c1e08c768cd8903.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-3f4474e7a3a1f53f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-ec55ab174918e77a.rlib" "/opt/rustwide/target/debug/deps/libregex-e166487d999796f4.rlib" "/opt/rustwide/target/debug/deps/libutf8_ranges-62490047eda1d3d0.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-17160ad4c7c5100a.rlib" "/opt/rustwide/target/debug/deps/libthread_local-6f61dc021b48bd18.rlib" "/opt/rustwide/target/debug/deps/libthread_id-7668774c4148c546.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-3cb194fde87f8cb6.rlib" "/opt/rustwide/target/debug/deps/libmemchr-1bcd975f22ccc5c6.rlib" "/opt/rustwide/target/debug/deps/libflate2-53da0ebcc8ddd958.rlib" "/opt/rustwide/target/debug/deps/libminiz_sys-37ba638360bb8e97.rlib" "/opt/rustwide/target/debug/deps/libtime-146967e375d5efe7.rlib" "/opt/rustwide/target/debug/deps/libnum-d08a3255ef8bdcaf.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-e81551886ac330ff.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-422f699255bfb6b2.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-7680b96acd4a9d26.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-f5cf36b4640ed572.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-8f34e6e06bd01354.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-ab8040034daf36d5.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-fee3ef04727f9865.rlib" "/opt/rustwide/target/debug/deps/librand-e1ff99d7365d2f72.rlib" "/opt/rustwide/target/debug/deps/liblibc-cbcf0797f466a12c.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8d61b92a0a02f53a.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fc45202bb435016b.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2400674c7513725.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-605c3a7d1a5d300d.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3d4fb4efa907e4e8.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-65207f030ab23308.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-76ca199cb0186109.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1e3e01ed4f561dc1.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-dd8dddcba7c13fee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-00b13d31c3420656.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e4c8460b81557bd5.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-600d46e5f0005455.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e4a08a2585b62d37.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fbc21ec567cb9dc7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-10b3fa8e49bd978f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-64625b73694ffce7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-fb6b78ac543a58ee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1d1f2d1bec6f51b8.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-acf5ff6e9595d982.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rustml-2074dcbe23d21ce1" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/rustml-2074dcbe23d21ce1.rustml.266173a5-cgu.10.rcgu.o: in function `rustml::opencv::Image::to_file': [INFO] [stdout] /opt/rustwide/workdir/src/opencv/mod.rs:239: undefined reference to `cvSaveImage' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rustml-2074dcbe23d21ce1.rustml.266173a5-cgu.10.rcgu.o: in function `rustml::opencv::RgbImage::from_file': [INFO] [stdout] /opt/rustwide/workdir/src/opencv/mod.rs:483: undefined reference to `cvLoadImage' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rustml-2074dcbe23d21ce1.rustml.266173a5-cgu.10.rcgu.o: in function `rustml::opencv::GrayImage::from_file': [INFO] [stdout] /opt/rustwide/workdir/src/opencv/mod.rs:560: undefined reference to `cvLoadImage' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rustml-2074dcbe23d21ce1.rustml.266173a5-cgu.10.rcgu.o: in function `rustml::opencv::Video::from_file': [INFO] [stdout] /opt/rustwide/workdir/src/opencv/mod.rs:785: undefined reference to `cvCreateFileCapture' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rustml-2074dcbe23d21ce1.rustml.266173a5-cgu.10.rcgu.o: in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/opencv/mod.rs:812: undefined reference to `cvReleaseCapture' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rustml-2074dcbe23d21ce1.rustml.266173a5-cgu.10.rcgu.o: in function `::next': [INFO] [stdout] /opt/rustwide/workdir/src/opencv/mod.rs:860: undefined reference to `cvGrabFrame' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/opencv/mod.rs:866: undefined reference to `cvRetrieveFrame' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustml` due to 2 previous errors; 36 warnings emitted [INFO] running `Command { std: "docker" "inspect" "81de77e6627d7c6819025c65b96957e545441d90bdc081e3949a2fcb9d03e72b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81de77e6627d7c6819025c65b96957e545441d90bdc081e3949a2fcb9d03e72b", kill_on_drop: false }` [INFO] [stdout] 81de77e6627d7c6819025c65b96957e545441d90bdc081e3949a2fcb9d03e72b