[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#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [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 a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5dbc58db7ecabeda745069675c8a3a2482b044f559d3f68059763214d9d37347 [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" "5dbc58db7ecabeda745069675c8a3a2482b044f559d3f68059763214d9d37347", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5dbc58db7ecabeda745069675c8a3a2482b044f559d3f68059763214d9d37347", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dbc58db7ecabeda745069675c8a3a2482b044f559d3f68059763214d9d37347", kill_on_drop: false }` [INFO] [stdout] 5dbc58db7ecabeda745069675c8a3a2482b044f559d3f68059763214d9d37347 [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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 42d4a780709e5bf9e315a884326587a387de674a9414c3d2e4defec319d44628 [INFO] running `Command { std: "docker" "start" "-a" "42d4a780709e5bf9e315a884326587a387de674a9414c3d2e4defec319d44628", 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: 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[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: 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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "42d4a780709e5bf9e315a884326587a387de674a9414c3d2e4defec319d44628", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42d4a780709e5bf9e315a884326587a387de674a9414c3d2e4defec319d44628", kill_on_drop: false }` [INFO] [stdout] 42d4a780709e5bf9e315a884326587a387de674a9414c3d2e4defec319d44628