[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FR4con%2FbasicANN" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/R4con/basicANN on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-14/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6876152d988872118d3877f067054cc9390b782d578d7454c3502a0e52dfcb0 [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" "f6876152d988872118d3877f067054cc9390b782d578d7454c3502a0e52dfcb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6876152d988872118d3877f067054cc9390b782d578d7454c3502a0e52dfcb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6876152d988872118d3877f067054cc9390b782d578d7454c3502a0e52dfcb0", kill_on_drop: false }` [INFO] [stdout] f6876152d988872118d3877f067054cc9390b782d578d7454c3502a0e52dfcb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2dee4e88b32848b0ee39e4628b4c05ab2d4ce22ee249c18ee2c6752fd2d36425 [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" "2dee4e88b32848b0ee39e4628b4c05ab2d4ce22ee249c18ee2c6752fd2d36425", 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: 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[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: 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: `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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.54s [INFO] running `Command { std: "docker" "inspect" "2dee4e88b32848b0ee39e4628b4c05ab2d4ce22ee249c18ee2c6752fd2d36425", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dee4e88b32848b0ee39e4628b4c05ab2d4ce22ee249c18ee2c6752fd2d36425", kill_on_drop: false }` [INFO] [stdout] 2dee4e88b32848b0ee39e4628b4c05ab2d4ce22ee249c18ee2c6752fd2d36425