[INFO] cloning repository https://github.com/legeyda/neurocr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/legeyda/neurocr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flegeyda%2Fneurocr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flegeyda%2Fneurocr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 46838c8be4edee3452e26ef790fb982934acef9b [INFO] checking legeyda/neurocr against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flegeyda%2Fneurocr" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/legeyda/neurocr on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/legeyda/neurocr [INFO] finished tweaking git repo https://github.com/legeyda/neurocr [INFO] tweaked toml for git repo https://github.com/legeyda/neurocr written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/legeyda/neurocr already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded atty v0.2.6 [INFO] [stderr] Downloaded num-bigint v0.1.41 [INFO] [stderr] Downloaded num-complex v0.1.41 [INFO] [stderr] Downloaded num v0.1.41 [INFO] [stderr] Downloaded regex v0.2.6 [INFO] [stderr] Downloaded chrono v0.4.0 [INFO] [stderr] Downloaded regex-syntax v0.4.2 [INFO] [stderr] Downloaded mnist v0.4.0 [INFO] [stderr] Downloaded num-rational v0.1.40 [INFO] [stderr] Downloaded simple_logger v0.5.0 [INFO] [stderr] Downloaded env_logger v0.5.3 [INFO] [stderr] Downloaded termcolor v0.3.4 [INFO] [stderr] Downloaded matrixmultiply v0.1.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c21d506521d0585a3510d668715cf2b70c53eec7c6a31683878501bee56ea7c2 [INFO] running `Command { std: "docker" "start" "-a" "c21d506521d0585a3510d668715cf2b70c53eec7c6a31683878501bee56ea7c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c21d506521d0585a3510d668715cf2b70c53eec7c6a31683878501bee56ea7c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c21d506521d0585a3510d668715cf2b70c53eec7c6a31683878501bee56ea7c2", kill_on_drop: false }` [INFO] [stdout] c21d506521d0585a3510d668715cf2b70c53eec7c6a31683878501bee56ea7c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6c76ce3b17f335ce629f6d8cf3da0af75ae77019154deda6dda89baa53ea8a0 [INFO] running `Command { std: "docker" "start" "-a" "e6c76ce3b17f335ce629f6d8cf3da0af75ae77019154deda6dda89baa53ea8a0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking termcolor v0.3.4 [INFO] [stderr] Checking rand v0.3.20 [INFO] [stderr] Checking num-complex v0.1.41 [INFO] [stderr] Checking mnist v0.4.0 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking matrixmultiply v0.1.14 [INFO] [stderr] Checking simple_logger v0.5.0 [INFO] [stderr] Checking regex v0.2.6 [INFO] [stderr] Checking num-bigint v0.1.41 [INFO] [stderr] Checking num-rational v0.1.40 [INFO] [stderr] Checking num v0.1.41 [INFO] [stderr] Checking chrono v0.4.0 [INFO] [stderr] Checking rulinalg v0.4.2 [INFO] [stderr] Checking env_logger v0.5.3 [INFO] [stderr] Checking neurocr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec::Vec` [INFO] [stdout] --> src/mnistfiles.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Fn` [INFO] [stdout] --> src/network.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | use std::ops::{Add, Mul, Fn}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/network.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | let mut der = (&outputs[n-1] - expected_output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/math.rs:24:54 [INFO] [stdout] | [INFO] [stdout] 24 | fn minimize(subject: &Functional, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Functional` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/math.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | ... on_new: &Fn(&VectorType) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&VectorType) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec::Vec` [INFO] [stdout] --> src/mnistfiles.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Fn` [INFO] [stdout] --> src/network.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | use std::ops::{Add, Mul, Fn}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/network.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | let mut der = (&outputs[n-1] - expected_output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/network.rs:500:2 [INFO] [stdout] | [INFO] [stdout] 500 | /// let us teach network to differ horizontal from vertial lines on 2-by-2 image [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/network.rs:526:2 [INFO] [stdout] | [INFO] [stdout] 526 | /// let us teach network to differ horizontal from vertial lines on 2-by-2 image [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/network.rs:561:2 [INFO] [stdout] | [INFO] [stdout] 561 | /// let us teach network to differ horizontal from vertial lines on 2-by-2 image [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/math.rs:24:54 [INFO] [stdout] | [INFO] [stdout] 24 | fn minimize(subject: &Functional, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Functional` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/math.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | ... on_new: &Fn(&VectorType) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&VectorType) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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/mnistfiles.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | 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] --> src/mnistfiles.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | 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/mnistfiles.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | 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/mnistfiles.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | 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] --> src/mnistfiles.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | 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/mnistfiles.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | match home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ignored` [INFO] [stdout] --> src/network.rs:76:61 [INFO] [stdout] | [INFO] [stdout] 76 | biases: Vector::zeros(num_neurons) .apply(&(|ignored| generator())), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ignored` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ignored` [INFO] [stdout] --> src/network.rs:77:61 [INFO] [stdout] | [INFO] [stdout] 77 | weights: Matrix::zeros(num_neurons, num_inputs).apply(&(|ignored| generator())) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ignored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/network.rs:272:7 [INFO] [stdout] | [INFO] [stdout] 272 | let n = data.len(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/math.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | let mut value: ScalarType = subject.eval(&estimation); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random` [INFO] [stdout] --> src/network.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn random() -> T where T: Float + Rand { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `minimize` [INFO] [stdout] --> src/math.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn minimize(subject: &Functional, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/mnistfiles.rs:40:2 [INFO] [stdout] | [INFO] [stdout] 40 | create_dir_all(cache_dir.as_path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ignored` [INFO] [stdout] --> src/network.rs:76:61 [INFO] [stdout] | [INFO] [stdout] 76 | biases: Vector::zeros(num_neurons) .apply(&(|ignored| generator())), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ignored` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ignored` [INFO] [stdout] --> src/network.rs:77:61 [INFO] [stdout] | [INFO] [stdout] 77 | weights: Matrix::zeros(num_neurons, num_inputs).apply(&(|ignored| generator())) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ignored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/network.rs:272:7 [INFO] [stdout] | [INFO] [stdout] 272 | let n = data.len(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/math.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | let mut value: ScalarType = subject.eval(&estimation); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_sigmoid` [INFO] [stdout] --> src/network.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn test_sigmoid() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random` [INFO] [stdout] --> src/network.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn random() -> T where T: Float + Rand { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `asses_quality` [INFO] [stdout] --> src/network.rs:549:4 [INFO] [stdout] | [INFO] [stdout] 549 | fn asses_quality(network: Network, data: Vec>) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `minimize` [INFO] [stdout] --> src/math.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn minimize(subject: &Functional, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/network.rs:453:18 [INFO] [stdout] | [INFO] [stdout] 453 | assert!(false, format!("{:?} (left: {:?}, right: {:?})", message, left, right)); [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] 453 - assert!(false, format!("{:?} (left: {:?}, right: {:?})", message, left, right)); [INFO] [stdout] 453 + assert!(false, "{:?} (left: {:?}, right: {:?})", message, left, right); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/network.rs:462:18 [INFO] [stdout] | [INFO] [stdout] 462 | assert!(false, format!("{:?} (left: {:?}, right: {:?})", message, left, right)); [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] 462 - assert!(false, format!("{:?} (left: {:?}, right: {:?})", message, left, right)); [INFO] [stdout] 462 + assert!(false, "{:?} (left: {:?}, right: {:?})", message, left, right); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/mnistfiles.rs:40:2 [INFO] [stdout] | [INFO] [stdout] 40 | create_dir_all(cache_dir.as_path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.74s [INFO] running `Command { std: "docker" "inspect" "e6c76ce3b17f335ce629f6d8cf3da0af75ae77019154deda6dda89baa53ea8a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6c76ce3b17f335ce629f6d8cf3da0af75ae77019154deda6dda89baa53ea8a0", kill_on_drop: false }` [INFO] [stdout] e6c76ce3b17f335ce629f6d8cf3da0af75ae77019154deda6dda89baa53ea8a0