[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 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking 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" "+1.60.0" "fetch" "--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-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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5b88dd11fa2e4af4f75068a060b65f6b7c1636801fa9f7d6a3ced033538e38d [INFO] running `Command { std: "docker" "start" "-a" "e5b88dd11fa2e4af4f75068a060b65f6b7c1636801fa9f7d6a3ced033538e38d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5b88dd11fa2e4af4f75068a060b65f6b7c1636801fa9f7d6a3ced033538e38d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5b88dd11fa2e4af4f75068a060b65f6b7c1636801fa9f7d6a3ced033538e38d", kill_on_drop: false }` [INFO] [stdout] e5b88dd11fa2e4af4f75068a060b65f6b7c1636801fa9f7d6a3ced033538e38d [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85f1497bce45d5cf6628873bcf2a6a93d0396026e42720c16ef1d658b774f711 [INFO] running `Command { std: "docker" "start" "-a" "85f1497bce45d5cf6628873bcf2a6a93d0396026e42720c16ef1d658b774f711", kill_on_drop: false }` [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] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.04s [INFO] running `Command { std: "docker" "inspect" "85f1497bce45d5cf6628873bcf2a6a93d0396026e42720c16ef1d658b774f711", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85f1497bce45d5cf6628873bcf2a6a93d0396026e42720c16ef1d658b774f711", kill_on_drop: false }` [INFO] [stdout] 85f1497bce45d5cf6628873bcf2a6a93d0396026e42720c16ef1d658b774f711 [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efd709d1726dfdb7b7543b07f03b407b4cf3998b7070151bd107a6aa92f92626 [INFO] running `Command { std: "docker" "start" "-a" "efd709d1726dfdb7b7543b07f03b407b4cf3998b7070151bd107a6aa92f92626", 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] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.06s [INFO] running `Command { std: "docker" "inspect" "efd709d1726dfdb7b7543b07f03b407b4cf3998b7070151bd107a6aa92f92626", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efd709d1726dfdb7b7543b07f03b407b4cf3998b7070151bd107a6aa92f92626", kill_on_drop: false }` [INFO] [stdout] efd709d1726dfdb7b7543b07f03b407b4cf3998b7070151bd107a6aa92f92626 [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ad074a1767579a07079670ff1c309514c4d51e84245bd07eca61ccbbdafdf3c1 [INFO] running `Command { std: "docker" "start" "-a" "ad074a1767579a07079670ff1c309514c4d51e84245bd07eca61ccbbdafdf3c1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 1.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/basicANN-012dc9913fd02db3) [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" "ad074a1767579a07079670ff1c309514c4d51e84245bd07eca61ccbbdafdf3c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad074a1767579a07079670ff1c309514c4d51e84245bd07eca61ccbbdafdf3c1", kill_on_drop: false }` [INFO] [stdout] ad074a1767579a07079670ff1c309514c4d51e84245bd07eca61ccbbdafdf3c1