[INFO] cloning repository https://github.com/gotcake/rust-nerual-net [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gotcake/rust-nerual-net" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgotcake%2Frust-nerual-net", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgotcake%2Frust-nerual-net'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7013146a325b81c0989a90ecca7b1e2f6071aae2 [INFO] checking gotcake/rust-nerual-net against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgotcake%2Frust-nerual-net" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gotcake/rust-nerual-net on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-14/source/.cargo/config [INFO] started tweaking git repo https://github.com/gotcake/rust-nerual-net [INFO] finished tweaking git repo https://github.com/gotcake/rust-nerual-net [INFO] tweaked toml for git repo https://github.com/gotcake/rust-nerual-net written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/gotcake/rust-nerual-net already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 889dde71e70d27e3e9edc236b3df150cdb98dda27a2501453e0a784c2c3f3b50 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "889dde71e70d27e3e9edc236b3df150cdb98dda27a2501453e0a784c2c3f3b50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "889dde71e70d27e3e9edc236b3df150cdb98dda27a2501453e0a784c2c3f3b50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "889dde71e70d27e3e9edc236b3df150cdb98dda27a2501453e0a784c2c3f3b50", kill_on_drop: false }` [INFO] [stdout] 889dde71e70d27e3e9edc236b3df150cdb98dda27a2501453e0a784c2c3f3b50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e3a4f2c8ae4b43aac7c77c99042cee4444dcd1d6ef652e1fd8aaad736b90466 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8e3a4f2c8ae4b43aac7c77c99042cee4444dcd1d6ef652e1fd8aaad736b90466", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling ident_case v1.0.0 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling serde v1.0.84 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Checking objekt v0.1.2 [INFO] [stderr] Checking fast-math v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling syn v0.15.28 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking csv-core v0.1.5 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Checking csv v1.0.5 [INFO] [stderr] Checking rust_neural_net v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::utils::split_slice_mut` [INFO] [stdout] --> src/net.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::utils::split_slice_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::func::ErrorFn` [INFO] [stdout] --> src/net.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::func::ErrorFn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::square_f32` [INFO] [stdout] --> src/stats.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::utils::square_f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data::PreparedDataSetIterator` [INFO] [stdout] --> src/train/backprop/singlethreaded.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::data::PreparedDataSetIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::layer::NetLayerBase` [INFO] [stdout] --> src/train/backprop/singlethreaded.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::layer::NetLayerBase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng`, `SeedableRng` [INFO] [stdout] --> src/train/trainer.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::{Rng, FromEntropy, SeedableRng}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::stable_hash_seed` [INFO] [stdout] --> src/train/trainer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::utils::stable_hash_seed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/train/trainer.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::split_slice_mut` [INFO] [stdout] --> src/net.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::utils::split_slice_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::func::ErrorFn` [INFO] [stdout] --> src/net.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::func::ErrorFn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::square_f32` [INFO] [stdout] --> src/stats.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::utils::square_f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data::PreparedDataSetIterator` [INFO] [stdout] --> src/train/backprop/singlethreaded.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::data::PreparedDataSetIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::layer::NetLayerBase` [INFO] [stdout] --> src/train/backprop/singlethreaded.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::layer::NetLayerBase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng`, `SeedableRng` [INFO] [stdout] --> src/train/trainer.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::{Rng, FromEntropy, SeedableRng}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::stable_hash_seed` [INFO] [stdout] --> src/train/trainer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::utils::stable_hash_seed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/train/trainer.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/data.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / quick_error! { [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | enum CsvParseError { [INFO] [stdout] 12 | | ZeroColumns { [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/data.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / quick_error! { [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | enum CsvParseError { [INFO] [stdout] 12 | | ZeroColumns { [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/data.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / quick_error! { [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | enum CsvParseError { [INFO] [stdout] 12 | | ZeroColumns { [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/data.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / quick_error! { [INFO] [stdout] 10 | | #[derive(Debug)] [INFO] [stdout] 11 | | enum CsvParseError { [INFO] [stdout] 12 | | ZeroColumns { [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/train/task.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / quick_error! { [INFO] [stdout] 21 | | #[derive(Debug)] [INFO] [stdout] 22 | | pub enum TaskError { [INFO] [stdout] 23 | | None { [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/train/task.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / quick_error! { [INFO] [stdout] 21 | | #[derive(Debug)] [INFO] [stdout] 22 | | pub enum TaskError { [INFO] [stdout] 23 | | None { [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromEntropy` [INFO] [stdout] --> src/train/trainer.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::{Rng, FromEntropy, SeedableRng}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/main.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | fn observer_callback(event: &TrainingEvent) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `biases` [INFO] [stdout] --> src/layer.rs:162:23 [INFO] [stdout] | [INFO] [stdout] 162 | let (weights, biases) = split_slice(weight_buffer, self.num_weights, self.size); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_biases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `partition_shift` is assigned to, but never used [INFO] [stdout] --> src/train/backprop/multithreaded.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | let mut partition_shift = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_partition_shift` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `partition_shift` is never read [INFO] [stdout] --> src/train/backprop/multithreaded.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | partition_shift = shared_state.partition_row_shifts[partition_index]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_emitter` [INFO] [stdout] --> src/train/task.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn exec(mut self, update_emitter: &dyn TaskUpdateEmitter) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_emitter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task_id` [INFO] [stdout] --> src/train/trainer.rs:179:56 [INFO] [stdout] | [INFO] [stdout] 179 | ExecutorEvent::ExecutorError { task_id, executor_id, error} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `task_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `executor_id` [INFO] [stdout] --> src/train/trainer.rs:179:65 [INFO] [stdout] | [INFO] [stdout] 179 | ExecutorEvent::ExecutorError { task_id, executor_id, error} => { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `executor_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromEntropy` [INFO] [stdout] --> src/train/trainer.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::{Rng, FromEntropy, SeedableRng}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/main.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | fn observer_callback(event: &TrainingEvent) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `biases` [INFO] [stdout] --> src/layer.rs:162:23 [INFO] [stdout] | [INFO] [stdout] 162 | let (weights, biases) = split_slice(weight_buffer, self.num_weights, self.size); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_biases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `partition_shift` is assigned to, but never used [INFO] [stdout] --> src/train/backprop/multithreaded.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | let mut partition_shift = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_partition_shift` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `partition_shift` is never read [INFO] [stdout] --> src/train/backprop/multithreaded.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | partition_shift = shared_state.partition_row_shifts[partition_index]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_emitter` [INFO] [stdout] --> src/train/task.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn exec(mut self, update_emitter: &dyn TaskUpdateEmitter) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_emitter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task_id` [INFO] [stdout] --> src/train/trainer.rs:179:56 [INFO] [stdout] | [INFO] [stdout] 179 | ExecutorEvent::ExecutorError { task_id, executor_id, error} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `task_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `executor_id` [INFO] [stdout] --> src/train/trainer.rs:179:65 [INFO] [stdout] | [INFO] [stdout] 179 | ExecutorEvent::ExecutorError { task_id, executor_id, error} => { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `executor_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | let mut net = config.create_net(); [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: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | let mut net2 = config2.create_net(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_partition` [INFO] [stdout] --> src/data.rs:339:8 [INFO] [stdout] | [INFO] [stdout] 339 | fn test_partition() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "8e3a4f2c8ae4b43aac7c77c99042cee4444dcd1d6ef652e1fd8aaad736b90466", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e3a4f2c8ae4b43aac7c77c99042cee4444dcd1d6ef652e1fd8aaad736b90466", kill_on_drop: false }` [INFO] [stdout] 8e3a4f2c8ae4b43aac7c77c99042cee4444dcd1d6ef652e1fd8aaad736b90466