[INFO] cloning repository https://github.com/R4con/basicANN [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/R4con/basicANN" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FR4con%2FbasicANN", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FR4con%2FbasicANN'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3ea487fd45f73d228c02a022d353808b4b8e48c9 [INFO] testing R4con/basicANN against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FR4con%2FbasicANN" "/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/R4con/basicANN on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/R4con/basicANN [INFO] finished tweaking git repo https://github.com/R4con/basicANN [INFO] tweaked toml for git repo https://github.com/R4con/basicANN written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/R4con/basicANN already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a45878142c8e075a72981155a05e74eb0bb0f970bc0a070d58c5909013464b1 [INFO] running `Command { std: "docker" "start" "-a" "6a45878142c8e075a72981155a05e74eb0bb0f970bc0a070d58c5909013464b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a45878142c8e075a72981155a05e74eb0bb0f970bc0a070d58c5909013464b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a45878142c8e075a72981155a05e74eb0bb0f970bc0a070d58c5909013464b1", kill_on_drop: false }` [INFO] [stdout] 6a45878142c8e075a72981155a05e74eb0bb0f970bc0a070d58c5909013464b1 [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=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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7097b3f892a5651e14eb9d9b8c4d87c06f5a51521f52174df6c3b24bc61769ab [INFO] running `Command { std: "docker" "start" "-a" "7097b3f892a5651e14eb9d9b8c4d87c06f5a51521f52174df6c3b24bc61769ab", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling basicANN v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning[E0170]: pattern binding `Sigmoid` is named the same as one of the variants of the type `Nodefunction` [INFO] [stdout] --> src/structure.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | Sigmoid => 1.0/(1.0 + std::f32::consts::E.powf(-input)), [INFO] [stdout] | ^^^^^^^ help: to match on the variant, qualify the path: `Nodefunction::Sigmoid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `OutputOnly` is named the same as one of the variants of the type `Nodefunction` [INFO] [stdout] --> src/structure.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | OutputOnly => input, [INFO] [stdout] | ^^^^^^^^^^ help: to match on the variant, qualify the path: `Nodefunction::OutputOnly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `InputOnly` is named the same as one of the variants of the type `Nodefunction` [INFO] [stdout] --> src/structure.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | InputOnly => 1.0/(1.0 + std::f32::consts::E.powf(-input)), [INFO] [stdout] | ^^^^^^^^^ help: to match on the variant, qualify the path: `Nodefunction::InputOnly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `ReLU` is named the same as one of the variants of the type `Nodefunction` [INFO] [stdout] --> src/structure.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | ReLU => { [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `Nodefunction::ReLU` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/structure.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 149 | Sigmoid => 1.0/(1.0 + std::f32::consts::E.powf(-input)), [INFO] [stdout] | ------- matches any value [INFO] [stdout] 150 | OutputOnly => input, [INFO] [stdout] | ^^^^^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/structure.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 149 | Sigmoid => 1.0/(1.0 + std::f32::consts::E.powf(-input)), [INFO] [stdout] | ------- matches any value [INFO] [stdout] 150 | OutputOnly => input, [INFO] [stdout] 151 | InputOnly => 1.0/(1.0 + std::f32::consts::E.powf(-input)), [INFO] [stdout] | ^^^^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/structure.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 149 | Sigmoid => 1.0/(1.0 + std::f32::consts::E.powf(-input)), [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 152 | ReLU => { [INFO] [stdout] | ^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `desired_output` [INFO] [stdout] --> src/structure.rs:73:42 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn propagate_backward(&mut self, desired_output: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_desired_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Sigmoid` [INFO] [stdout] --> src/structure.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | Sigmoid => 1.0/(1.0 + std::f32::consts::E.powf(-input)), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Sigmoid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `OutputOnly` [INFO] [stdout] --> src/structure.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | OutputOnly => input, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_OutputOnly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `InputOnly` [INFO] [stdout] --> src/structure.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | InputOnly => 1.0/(1.0 + std::f32::consts::E.powf(-input)), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_InputOnly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ReLU` [INFO] [stdout] --> src/structure.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | ReLU => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ReLU` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `propagate_backward` [INFO] [stdout] --> src/structure.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn propagate_backward(&mut self, desired_output: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/structure.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | size: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Layer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/structure.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `connected_input_links` [INFO] [stdout] --> src/structure.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | connected_input_links: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/structure.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `node_position` [INFO] [stdout] --> src/structure.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | node_position: (i32,i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/structure.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `adjust_weight` [INFO] [stdout] --> src/structure.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | fn adjust_weight(&mut self, new_weight: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Sigmoid` [INFO] [stdout] --> src/structure.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | Sigmoid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Nodefunction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/structure.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(PartialEq, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.38s [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7097b3f892a5651e14eb9d9b8c4d87c06f5a51521f52174df6c3b24bc61769ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7097b3f892a5651e14eb9d9b8c4d87c06f5a51521f52174df6c3b24bc61769ab", kill_on_drop: false }` [INFO] [stdout] 7097b3f892a5651e14eb9d9b8c4d87c06f5a51521f52174df6c3b24bc61769ab [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=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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66ea92e4babb6f366c09f7352ea099e68a9e55f844c3c07530d1b21823b526d0 [INFO] running `Command { std: "docker" "start" "-a" "66ea92e4babb6f366c09f7352ea099e68a9e55f844c3c07530d1b21823b526d0", kill_on_drop: false }` [INFO] [stdout] warning[E0170]: pattern binding `Sigmoid` is named the same as one of the variants of the type `Nodefunction` [INFO] [stdout] --> src/structure.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | Sigmoid => 1.0/(1.0 + std::f32::consts::E.powf(-input)), [INFO] [stdout] | ^^^^^^^ help: to match on the variant, qualify the path: `Nodefunction::Sigmoid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling basicANN v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning[E0170]: pattern binding `OutputOnly` is named the same as one of the variants of the type `Nodefunction` [INFO] [stdout] --> src/structure.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | OutputOnly => input, [INFO] [stdout] | ^^^^^^^^^^ help: to match on the variant, qualify the path: `Nodefunction::OutputOnly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `InputOnly` is named the same as one of the variants of the type `Nodefunction` [INFO] [stdout] --> src/structure.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | InputOnly => 1.0/(1.0 + std::f32::consts::E.powf(-input)), [INFO] [stdout] | ^^^^^^^^^ help: to match on the variant, qualify the path: `Nodefunction::InputOnly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `ReLU` is named the same as one of the variants of the type `Nodefunction` [INFO] [stdout] --> src/structure.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | ReLU => { [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `Nodefunction::ReLU` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/structure.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 149 | Sigmoid => 1.0/(1.0 + std::f32::consts::E.powf(-input)), [INFO] [stdout] | ------- matches any value [INFO] [stdout] 150 | OutputOnly => input, [INFO] [stdout] | ^^^^^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/structure.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 149 | Sigmoid => 1.0/(1.0 + std::f32::consts::E.powf(-input)), [INFO] [stdout] | ------- matches any value [INFO] [stdout] 150 | OutputOnly => input, [INFO] [stdout] 151 | InputOnly => 1.0/(1.0 + std::f32::consts::E.powf(-input)), [INFO] [stdout] | ^^^^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/structure.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 149 | Sigmoid => 1.0/(1.0 + std::f32::consts::E.powf(-input)), [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 152 | ReLU => { [INFO] [stdout] | ^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `desired_output` [INFO] [stdout] --> src/structure.rs:73:42 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn propagate_backward(&mut self, desired_output: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_desired_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Sigmoid` [INFO] [stdout] --> src/structure.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | Sigmoid => 1.0/(1.0 + std::f32::consts::E.powf(-input)), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Sigmoid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `OutputOnly` [INFO] [stdout] --> src/structure.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | OutputOnly => input, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_OutputOnly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `InputOnly` [INFO] [stdout] --> src/structure.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | InputOnly => 1.0/(1.0 + std::f32::consts::E.powf(-input)), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_InputOnly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ReLU` [INFO] [stdout] --> src/structure.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | ReLU => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ReLU` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `propagate_backward` [INFO] [stdout] --> src/structure.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn propagate_backward(&mut self, desired_output: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/structure.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | size: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Layer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/structure.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `connected_input_links` [INFO] [stdout] --> src/structure.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | connected_input_links: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/structure.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `node_position` [INFO] [stdout] --> src/structure.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | node_position: (i32,i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/structure.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `adjust_weight` [INFO] [stdout] --> src/structure.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | fn adjust_weight(&mut self, new_weight: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Sigmoid` [INFO] [stdout] --> src/structure.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | Sigmoid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Nodefunction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/structure.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(PartialEq, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.86s [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/basicANN-639b554325b8b196) [INFO] running `Command { std: "docker" "inspect" "66ea92e4babb6f366c09f7352ea099e68a9e55f844c3c07530d1b21823b526d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66ea92e4babb6f366c09f7352ea099e68a9e55f844c3c07530d1b21823b526d0", kill_on_drop: false }` [INFO] [stdout] 66ea92e4babb6f366c09f7352ea099e68a9e55f844c3c07530d1b21823b526d0 [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=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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ce5cbd1857b5218feab0a2298e4099dc81956e2fff3fe3a018076b12f605aaef [INFO] running `Command { std: "docker" "start" "-a" "ce5cbd1857b5218feab0a2298e4099dc81956e2fff3fe3a018076b12f605aaef", kill_on_drop: false }` [INFO] [stderr] warning[E0170]: pattern binding `Sigmoid` is named the same as one of the variants of the type `Nodefunction` [INFO] [stderr] --> src/structure.rs:149:13 [INFO] [stderr] | [INFO] [stderr] 149 | Sigmoid => 1.0/(1.0 + std::f32::consts::E.powf(-input)), [INFO] [stderr] | ^^^^^^^ help: to match on the variant, qualify the path: `Nodefunction::Sigmoid` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stderr] [INFO] [stderr] warning[E0170]: pattern binding `OutputOnly` is named the same as one of the variants of the type `Nodefunction` [INFO] [stderr] --> src/structure.rs:150:13 [INFO] [stderr] | [INFO] [stderr] 150 | OutputOnly => input, [INFO] [stderr] | ^^^^^^^^^^ help: to match on the variant, qualify the path: `Nodefunction::OutputOnly` [INFO] [stderr] [INFO] [stderr] warning[E0170]: pattern binding `InputOnly` is named the same as one of the variants of the type `Nodefunction` [INFO] [stderr] --> src/structure.rs:151:13 [INFO] [stderr] | [INFO] [stderr] 151 | InputOnly => 1.0/(1.0 + std::f32::consts::E.powf(-input)), [INFO] [stderr] | ^^^^^^^^^ help: to match on the variant, qualify the path: `Nodefunction::InputOnly` [INFO] [stderr] [INFO] [stderr] warning[E0170]: pattern binding `ReLU` is named the same as one of the variants of the type `Nodefunction` [INFO] [stderr] --> src/structure.rs:152:13 [INFO] [stderr] | [INFO] [stderr] 152 | ReLU => { [INFO] [stderr] | ^^^^ help: to match on the variant, qualify the path: `Nodefunction::ReLU` [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/structure.rs:150:13 [INFO] [stderr] | [INFO] [stderr] 149 | Sigmoid => 1.0/(1.0 + std::f32::consts::E.powf(-input)), [INFO] [stderr] | ------- matches any value [INFO] [stderr] 150 | OutputOnly => input, [INFO] [stderr] | ^^^^^^^^^^ unreachable pattern [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/structure.rs:151:13 [INFO] [stderr] | [INFO] [stderr] 149 | Sigmoid => 1.0/(1.0 + std::f32::consts::E.powf(-input)), [INFO] [stderr] | ------- matches any value [INFO] [stderr] 150 | OutputOnly => input, [INFO] [stderr] 151 | InputOnly => 1.0/(1.0 + std::f32::consts::E.powf(-input)), [INFO] [stderr] | ^^^^^^^^^ unreachable pattern [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/structure.rs:152:13 [INFO] [stderr] | [INFO] [stderr] 149 | Sigmoid => 1.0/(1.0 + std::f32::consts::E.powf(-input)), [INFO] [stderr] | ------- matches any value [INFO] [stderr] ... [INFO] [stderr] 152 | ReLU => { [INFO] [stderr] | ^^^^ unreachable pattern [INFO] [stderr] [INFO] [stderr] warning: unused variable: `desired_output` [INFO] [stderr] --> src/structure.rs:73:42 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn propagate_backward(&mut self, desired_output: Vec) { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_desired_output` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `Sigmoid` [INFO] [stderr] --> src/structure.rs:149:13 [INFO] [stderr] | [INFO] [stderr] 149 | Sigmoid => 1.0/(1.0 + std::f32::consts::E.powf(-input)), [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Sigmoid` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `OutputOnly` [INFO] [stderr] --> src/structure.rs:150:13 [INFO] [stderr] | [INFO] [stderr] 150 | OutputOnly => input, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_OutputOnly` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `InputOnly` [INFO] [stderr] --> src/structure.rs:151:13 [INFO] [stderr] | [INFO] [stderr] 151 | InputOnly => 1.0/(1.0 + std::f32::consts::E.powf(-input)), [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_InputOnly` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ReLU` [INFO] [stderr] --> src/structure.rs:152:13 [INFO] [stderr] | [INFO] [stderr] 152 | ReLU => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ReLU` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `propagate_backward` [INFO] [stderr] --> src/structure.rs:73:12 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn propagate_backward(&mut self, desired_output: Vec) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `size` [INFO] [stderr] --> src/structure.rs:105:5 [INFO] [stderr] | [INFO] [stderr] 105 | size: i32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Layer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/structure.rs:103:10 [INFO] [stderr] | [INFO] [stderr] 103 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `connected_input_links` [INFO] [stderr] --> src/structure.rs:127:5 [INFO] [stderr] | [INFO] [stderr] 127 | connected_input_links: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/structure.rs:124:10 [INFO] [stderr] | [INFO] [stderr] 124 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `node_position` [INFO] [stderr] --> src/structure.rs:131:5 [INFO] [stderr] | [INFO] [stderr] 131 | node_position: (i32,i32), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/structure.rs:124:10 [INFO] [stderr] | [INFO] [stderr] 124 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `adjust_weight` [INFO] [stderr] --> src/structure.rs:175:8 [INFO] [stderr] | [INFO] [stderr] 175 | fn adjust_weight(&mut self, new_weight: f32) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Sigmoid` [INFO] [stderr] --> src/structure.rs:185:5 [INFO] [stderr] | [INFO] [stderr] 185 | Sigmoid, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Nodefunction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/structure.rs:182:21 [INFO] [stderr] | [INFO] [stderr] 182 | #[derive(PartialEq, Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0170`. [INFO] [stderr] warning: `basicANN` (bin "basicANN" test) generated 18 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/basicANN-639b554325b8b196) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ce5cbd1857b5218feab0a2298e4099dc81956e2fff3fe3a018076b12f605aaef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce5cbd1857b5218feab0a2298e4099dc81956e2fff3fe3a018076b12f605aaef", kill_on_drop: false }` [INFO] [stdout] ce5cbd1857b5218feab0a2298e4099dc81956e2fff3fe3a018076b12f605aaef