[INFO] cloning repository https://github.com/euwbah/rusty-brain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/euwbah/rusty-brain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feuwbah%2Frusty-brain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feuwbah%2Frusty-brain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7030e519ebd1fdbee7d82273bc214cf32d29ee50 [INFO] checking euwbah/rusty-brain against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feuwbah%2Frusty-brain" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/euwbah/rusty-brain on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/euwbah/rusty-brain [INFO] finished tweaking git repo https://github.com/euwbah/rusty-brain [INFO] tweaked toml for git repo https://github.com/euwbah/rusty-brain written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/euwbah/rusty-brain already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ndarray v0.12.0 [INFO] [stderr] Downloaded num-complex v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9000a0c9a3ab21ebe80c49e03aa79bc7e01daf6aaa1a6d3d98c9f7189ba4a00 [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" "b9000a0c9a3ab21ebe80c49e03aa79bc7e01daf6aaa1a6d3d98c9f7189ba4a00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9000a0c9a3ab21ebe80c49e03aa79bc7e01daf6aaa1a6d3d98c9f7189ba4a00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9000a0c9a3ab21ebe80c49e03aa79bc7e01daf6aaa1a6d3d98c9f7189ba4a00", kill_on_drop: false }` [INFO] [stdout] b9000a0c9a3ab21ebe80c49e03aa79bc7e01daf6aaa1a6d3d98c9f7189ba4a00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86f90122a404619bf801262e9cfd8f482af993cc47505da624968a6520b6dd4e [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" "86f90122a404619bf801262e9cfd8f482af993cc47505da624968a6520b6dd4e", kill_on_drop: false }` [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling ndarray v0.12.0 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking itertools v0.7.8 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking neural-network v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ndarray::ArrayBase` [INFO] [stdout] --> src/layers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ndarray::ArrayBase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray::Axis` [INFO] [stdout] --> src/layers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ndarray::Axis; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray::ArrayBase` [INFO] [stdout] --> src/layers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ndarray::ArrayBase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray::Axis` [INFO] [stdout] --> src/layers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ndarray::Axis; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step_size` [INFO] [stdout] --> src/node.rs:175:34 [INFO] [stdout] | [INFO] [stdout] 175 | fn update_weights(&mut self, step_size: f64) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_step_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_node_name` [INFO] [stdout] --> src/node.rs:287:39 [INFO] [stdout] | [INFO] [stdout] 287 | fn calc_derivative_against(&self, input_node_name: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_node` [INFO] [stdout] --> src/node.rs:303:34 [INFO] [stdout] | [INFO] [stdout] 303 | fn add_input_node(&mut self, input_node: AM) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_node` [INFO] [stdout] --> src/node.rs:307:39 [INFO] [stdout] | [INFO] [stdout] 307 | fn add_input_node_init(&mut self, input_node: AM, weight: f64) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weight` [INFO] [stdout] --> src/node.rs:307:72 [INFO] [stdout] | [INFO] [stdout] 307 | fn add_input_node_init(&mut self, input_node: AM, weight: f64) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_node_name` [INFO] [stdout] --> src/node.rs:366:39 [INFO] [stdout] | [INFO] [stdout] 366 | fn calc_derivative_against(&self, input_node_name: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_node` [INFO] [stdout] --> src/node.rs:382:34 [INFO] [stdout] | [INFO] [stdout] 382 | fn add_input_node(&mut self, input_node: AM) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_node` [INFO] [stdout] --> src/node.rs:386:39 [INFO] [stdout] | [INFO] [stdout] 386 | fn add_input_node_init(&mut self, input_node: AM, weight: f64) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weight` [INFO] [stdout] --> src/node.rs:386:72 [INFO] [stdout] | [INFO] [stdout] 386 | fn add_input_node_init(&mut self, input_node: AM, weight: f64) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/node.rs:451:31 [INFO] [stdout] | [INFO] [stdout] 451 | .fold(0.0, |acc, (name, node_weight)| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step_size` [INFO] [stdout] --> src/node.rs:625:34 [INFO] [stdout] | [INFO] [stdout] 625 | fn update_weights(&mut self, step_size: f64) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_step_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let mut i1 = InputNode::new("i1", 0.6); [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/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut i2 = InputNode::new("i2", 1.0); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut input_layer = InputLayer::new(&vec![i1.clone(), i2.clone()], &training_vals); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let mut s1 = SumNode::new("s1"); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut output_layer = OutputLayer::new( [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step_size` [INFO] [stdout] --> src/node.rs:175:34 [INFO] [stdout] | [INFO] [stdout] 175 | fn update_weights(&mut self, step_size: f64) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_step_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_node_name` [INFO] [stdout] --> src/node.rs:287:39 [INFO] [stdout] | [INFO] [stdout] 287 | fn calc_derivative_against(&self, input_node_name: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_node` [INFO] [stdout] --> src/node.rs:303:34 [INFO] [stdout] | [INFO] [stdout] 303 | fn add_input_node(&mut self, input_node: AM) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_node` [INFO] [stdout] --> src/node.rs:307:39 [INFO] [stdout] | [INFO] [stdout] 307 | fn add_input_node_init(&mut self, input_node: AM, weight: f64) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weight` [INFO] [stdout] --> src/node.rs:307:72 [INFO] [stdout] | [INFO] [stdout] 307 | fn add_input_node_init(&mut self, input_node: AM, weight: f64) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_node_name` [INFO] [stdout] --> src/node.rs:366:39 [INFO] [stdout] | [INFO] [stdout] 366 | fn calc_derivative_against(&self, input_node_name: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_node_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_node` [INFO] [stdout] --> src/node.rs:382:34 [INFO] [stdout] | [INFO] [stdout] 382 | fn add_input_node(&mut self, input_node: AM) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_node` [INFO] [stdout] --> src/node.rs:386:39 [INFO] [stdout] | [INFO] [stdout] 386 | fn add_input_node_init(&mut self, input_node: AM, weight: f64) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weight` [INFO] [stdout] --> src/node.rs:386:72 [INFO] [stdout] | [INFO] [stdout] 386 | fn add_input_node_init(&mut self, input_node: AM, weight: f64) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/node.rs:451:31 [INFO] [stdout] | [INFO] [stdout] 451 | .fold(0.0, |acc, (name, node_weight)| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step_size` [INFO] [stdout] --> src/node.rs:625:34 [INFO] [stdout] | [INFO] [stdout] 625 | fn update_weights(&mut self, step_size: f64) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_step_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/layers.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let mut expected_ground_truths: Vec = vals.to_vec(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let mut i1 = InputNode::new("i1", 0.6); [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/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut i2 = InputNode::new("i2", 1.0); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut input_layer = InputLayer::new(&vec![i1.clone(), i2.clone()], &training_vals); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let mut s1 = SumNode::new("s1"); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut output_layer = OutputLayer::new( [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/layers.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let mut expected_ground_truths: Vec = vals.to_vec(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/node.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 513 | let mut nw = inputs.get(k).unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/node.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 513 | let mut nw = inputs.get(k).unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `TrainingState` in public interface (error E0446) [INFO] [stdout] --> src/node.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | fn get_training_state(&self) -> &TrainingState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `TrainingState` in public interface (error E0446) [INFO] [stdout] --> src/node.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | fn get_training_state_mut(&mut self) -> &mut TrainingState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `TrainingState` in public interface (error E0446) [INFO] [stdout] --> src/node.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 279 | fn get_training_state(&self) -> &TrainingState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `TrainingState` in public interface (error E0446) [INFO] [stdout] --> src/node.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | fn get_training_state_mut(&mut self) -> &mut TrainingState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `TrainingState` in public interface (error E0446) [INFO] [stdout] --> src/node.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 358 | fn get_training_state(&self) -> &TrainingState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `TrainingState` in public interface (error E0446) [INFO] [stdout] --> src/node.rs:362:5 [INFO] [stdout] | [INFO] [stdout] 362 | fn get_training_state_mut(&mut self) -> &mut TrainingState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `TrainingState` in public interface (error E0446) [INFO] [stdout] --> src/node.rs:464:5 [INFO] [stdout] | [INFO] [stdout] 464 | fn get_training_state(&self) -> &TrainingState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `TrainingState` in public interface (error E0446) [INFO] [stdout] --> src/node.rs:468:5 [INFO] [stdout] | [INFO] [stdout] 468 | fn get_training_state_mut(&mut self) -> &mut TrainingState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `TrainingState` in public interface (error E0446) [INFO] [stdout] --> src/node.rs:596:5 [INFO] [stdout] | [INFO] [stdout] 596 | fn get_training_state(&self) -> &TrainingState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `TrainingState` in public interface (error E0446) [INFO] [stdout] --> src/node.rs:600:5 [INFO] [stdout] | [INFO] [stdout] 600 | fn get_training_state_mut(&mut self) -> &mut TrainingState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_ground_truth` [INFO] [stdout] --> src/layers.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn get_ground_truth(&self, iter: usize, node_name: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_network_configs` [INFO] [stdout] --> src/network.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn set_network_configs(&mut self, network_configs: NetworkConfigs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc_avg_training_loss` [INFO] [stdout] --> src/network.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn calc_avg_training_loss(&self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_weights` [INFO] [stdout] --> src/network.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn update_weights(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `train_one_epoch` [INFO] [stdout] --> src/network.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn train_one_epoch(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `connect` [INFO] [stdout] --> src/node.rs:208:8 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn connect(a: AM, b: AM) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/node.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn new(name: &str, const_value: f64) -> AM { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `TrainingState` in public interface (error E0446) [INFO] [stdout] --> src/node.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | fn get_training_state(&self) -> &TrainingState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `TrainingState` in public interface (error E0446) [INFO] [stdout] --> src/node.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | fn get_training_state_mut(&mut self) -> &mut TrainingState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `TrainingState` in public interface (error E0446) [INFO] [stdout] --> src/node.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 279 | fn get_training_state(&self) -> &TrainingState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `TrainingState` in public interface (error E0446) [INFO] [stdout] --> src/node.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | fn get_training_state_mut(&mut self) -> &mut TrainingState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `TrainingState` in public interface (error E0446) [INFO] [stdout] --> src/node.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 358 | fn get_training_state(&self) -> &TrainingState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `TrainingState` in public interface (error E0446) [INFO] [stdout] --> src/node.rs:362:5 [INFO] [stdout] | [INFO] [stdout] 362 | fn get_training_state_mut(&mut self) -> &mut TrainingState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `TrainingState` in public interface (error E0446) [INFO] [stdout] --> src/node.rs:464:5 [INFO] [stdout] | [INFO] [stdout] 464 | fn get_training_state(&self) -> &TrainingState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `TrainingState` in public interface (error E0446) [INFO] [stdout] --> src/node.rs:468:5 [INFO] [stdout] | [INFO] [stdout] 468 | fn get_training_state_mut(&mut self) -> &mut TrainingState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `TrainingState` in public interface (error E0446) [INFO] [stdout] --> src/node.rs:596:5 [INFO] [stdout] | [INFO] [stdout] 596 | fn get_training_state(&self) -> &TrainingState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `TrainingState` in public interface (error E0446) [INFO] [stdout] --> src/node.rs:600:5 [INFO] [stdout] | [INFO] [stdout] 600 | fn get_training_state_mut(&mut self) -> &mut TrainingState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_ground_truth` [INFO] [stdout] --> src/layers.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn get_ground_truth(&self, iter: usize, node_name: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_network_configs` [INFO] [stdout] --> src/network.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn set_network_configs(&mut self, network_configs: NetworkConfigs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc_avg_training_loss` [INFO] [stdout] --> src/network.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn calc_avg_training_loss(&self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_weights` [INFO] [stdout] --> src/network.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn update_weights(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `train_one_epoch` [INFO] [stdout] --> src/network.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn train_one_epoch(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `connect` [INFO] [stdout] --> src/node.rs:208:8 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn connect(a: AM, b: AM) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/node.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn new(name: &str, const_value: f64) -> AM { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.80s [INFO] running `Command { std: "docker" "inspect" "86f90122a404619bf801262e9cfd8f482af993cc47505da624968a6520b6dd4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86f90122a404619bf801262e9cfd8f482af993cc47505da624968a6520b6dd4e", kill_on_drop: false }` [INFO] [stdout] 86f90122a404619bf801262e9cfd8f482af993cc47505da624968a6520b6dd4e