[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] checking R4con/basicANN against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FR4con%2FbasicANN" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/R4con/basicANN on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-6/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29bb90de95f0ed124af916389157ff28639cf4ee735f78536b8307b0734f2f14 [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" "29bb90de95f0ed124af916389157ff28639cf4ee735f78536b8307b0734f2f14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29bb90de95f0ed124af916389157ff28639cf4ee735f78536b8307b0734f2f14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29bb90de95f0ed124af916389157ff28639cf4ee735f78536b8307b0734f2f14", kill_on_drop: false }` [INFO] [stdout] 29bb90de95f0ed124af916389157ff28639cf4ee735f78536b8307b0734f2f14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d5a28daf24a14a0f331fe3c5a4110397b7b362d2a1bd1323922f8a84271bf94 [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" "9d5a28daf24a14a0f331fe3c5a4110397b7b362d2a1bd1323922f8a84271bf94", kill_on_drop: false }` [INFO] [stderr] Checking 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[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: 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[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: 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: 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] [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: 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] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stdout] warning: 15 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 0.56s [INFO] running `Command { std: "docker" "inspect" "9d5a28daf24a14a0f331fe3c5a4110397b7b362d2a1bd1323922f8a84271bf94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d5a28daf24a14a0f331fe3c5a4110397b7b362d2a1bd1323922f8a84271bf94", kill_on_drop: false }` [INFO] [stdout] 9d5a28daf24a14a0f331fe3c5a4110397b7b362d2a1bd1323922f8a84271bf94