[INFO] cloning repository https://github.com/is8ac/bnn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/is8ac/bnn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fis8ac%2Fbnn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fis8ac%2Fbnn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 765e6c1acaf445522bbd39945d8a5fdc01d86015 [INFO] checking is8ac/bnn against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fis8ac%2Fbnn" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/is8ac/bnn on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/is8ac/bnn [INFO] finished tweaking git repo https://github.com/is8ac/bnn [INFO] tweaked toml for git repo https://github.com/is8ac/bnn written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/is8ac/bnn already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", 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] 90e3193b63970d59eb6f3d4599d12b59baab6805eeaa6cb3567387ccae3508f1 [INFO] running `Command { std: "docker" "start" "-a" "90e3193b63970d59eb6f3d4599d12b59baab6805eeaa6cb3567387ccae3508f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90e3193b63970d59eb6f3d4599d12b59baab6805eeaa6cb3567387ccae3508f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90e3193b63970d59eb6f3d4599d12b59baab6805eeaa6cb3567387ccae3508f1", kill_on_drop: false }` [INFO] [stdout] 90e3193b63970d59eb6f3d4599d12b59baab6805eeaa6cb3567387ccae3508f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f633c9f14793e50518ae4e7a601690ef7bbfdfdbd5e480a78527a62d4d102f1 [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" "4f633c9f14793e50518ae4e7a601690ef7bbfdfdbd5e480a78527a62d4d102f1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rayon-core v1.7.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_hc v0.2.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Checking bincode v1.2.1 [INFO] [stderr] Checking bnn v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::shape::Shape` [INFO] [stdout] --> src/bits.rs:1054:9 [INFO] [stdout] | [INFO] [stdout] 1054 | use crate::shape::Shape; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test::Bencher` [INFO] [stdout] --> src/bits.rs:1055:9 [INFO] [stdout] | [INFO] [stdout] 1055 | use test::Bencher; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::count::IncrementCounters` [INFO] [stdout] --> src/image2d.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::count::IncrementCounters; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Merge`, `ZipMap` [INFO] [stdout] --> src/image2d.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::shape::{Element, Merge, Shape, ZipMap}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/image2d.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hash`, `Hasher` [INFO] [stdout] --> src/image2d.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BitMapPack` [INFO] [stdout] --> src/layers.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::bits::{BitArray, BitMapPack, MaskedDistance, TritArray}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Element`, `IndexGet` [INFO] [stdout] --> src/layers.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::shape::{Element, IndexGet, Map, Shape}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/layers.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::count::IncrementCounters` [INFO] [stdout] --> src/image2d.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::count::IncrementCounters; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Merge`, `ZipMap` [INFO] [stdout] --> src/image2d.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::shape::{Element, Merge, Shape, ZipMap}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/image2d.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hash`, `Hasher` [INFO] [stdout] --> src/image2d.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BitMapPack` [INFO] [stdout] --> src/layers.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::bits::{BitArray, BitMapPack, MaskedDistance, TritArray}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Element`, `IndexGet` [INFO] [stdout] --> src/layers.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::shape::{Element, IndexGet, Map, Shape}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/layers.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Map` [INFO] [stdout] --> src/layers.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::shape::{Element, IndexGet, Map, Shape}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/layers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur_act` [INFO] [stdout] --> src/bits.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | cur_act: u32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cur_act` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/bits.rs:104:41 [INFO] [stdout] | [INFO] [stdout] 104 | fn grads(&self, input: &Self::Bits, value: bool, cur_act: u32, target_act: u32) -> Self::Bits { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur_act` [INFO] [stdout] --> src/bits.rs:104:54 [INFO] [stdout] | [INFO] [stdout] 104 | fn grads(&self, input: &Self::Bits, value: bool, cur_act: u32, target_act: u32) -> Self::Bits { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cur_act` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_act` [INFO] [stdout] --> src/bits.rs:104:68 [INFO] [stdout] | [INFO] [stdout] 104 | fn grads(&self, input: &Self::Bits, value: bool, cur_act: u32, target_act: u32) -> Self::Bits { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_act` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/bits.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | rhs: &Self, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map_fn` [INFO] [stdout] --> src/bits.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | map_fn: F, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loss_lut` [INFO] [stdout] --> src/layers.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | let loss_lut = [0u64; 32]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loss_lut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/layers.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | fn grads_slow(&self, input: &I, class: usize) -> Vec<(Self::WeightIndex, Option, u64)> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `class` [INFO] [stdout] --> src/layers.rs:108:37 [INFO] [stdout] | [INFO] [stdout] 108 | fn grads_slow(&self, input: &I, class: usize) -> Vec<(Self::WeightIndex, Option, u64)> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `class` [INFO] [stdout] --> src/layers.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | fn base_cache(&self, input: &I, class: usize) -> Self::BaseCacheType { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chan_val` [INFO] [stdout] --> src/layers.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | chan_val: Self::ChanValue, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chan_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chan_index` [INFO] [stdout] --> src/layers.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | chan_index: Self::ChanIndex, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chan_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mutation` [INFO] [stdout] --> src/layers.rs:151:20 [INFO] [stdout] | [INFO] [stdout] 151 | fn loss(&self, mutation: &bool) -> u64 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mutation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bits.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | let mut target = <[T; L]>::default(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Map` [INFO] [stdout] --> src/layers.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::shape::{Element, IndexGet, Map, Shape}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/layers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur_act` [INFO] [stdout] --> src/bits.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | cur_act: u32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cur_act` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/bits.rs:104:41 [INFO] [stdout] | [INFO] [stdout] 104 | fn grads(&self, input: &Self::Bits, value: bool, cur_act: u32, target_act: u32) -> Self::Bits { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur_act` [INFO] [stdout] --> src/bits.rs:104:54 [INFO] [stdout] | [INFO] [stdout] 104 | fn grads(&self, input: &Self::Bits, value: bool, cur_act: u32, target_act: u32) -> Self::Bits { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cur_act` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_act` [INFO] [stdout] --> src/bits.rs:104:68 [INFO] [stdout] | [INFO] [stdout] 104 | fn grads(&self, input: &Self::Bits, value: bool, cur_act: u32, target_act: u32) -> Self::Bits { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_act` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/bits.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | rhs: &Self, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map_fn` [INFO] [stdout] --> src/bits.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | map_fn: F, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loss_lut` [INFO] [stdout] --> src/layers.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | let loss_lut = [0u64; 32]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loss_lut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/layers.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | fn grads_slow(&self, input: &I, class: usize) -> Vec<(Self::WeightIndex, Option, u64)> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `class` [INFO] [stdout] --> src/layers.rs:108:37 [INFO] [stdout] | [INFO] [stdout] 108 | fn grads_slow(&self, input: &I, class: usize) -> Vec<(Self::WeightIndex, Option, u64)> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `class` [INFO] [stdout] --> src/layers.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | fn base_cache(&self, input: &I, class: usize) -> Self::BaseCacheType { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chan_val` [INFO] [stdout] --> src/layers.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | chan_val: Self::ChanValue, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chan_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chan_index` [INFO] [stdout] --> src/layers.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | chan_index: Self::ChanIndex, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chan_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mutation` [INFO] [stdout] --> src/layers.rs:151:20 [INFO] [stdout] | [INFO] [stdout] 151 | fn loss(&self, mutation: &bool) -> u64 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mutation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bits.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | let mut target = <[T; L]>::default(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `acts` [INFO] [stdout] --> src/layers.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | acts: [u32; C], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `acts` [INFO] [stdout] --> src/layers.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | acts: [u32; C], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `bnn::layers::FClayer`, `bnn::layers::FcAuxTrainParams` [INFO] [stdout] --> src/bin/mnist_two_layer_fc.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use bnn::layers::{FClayer, FcAuxTrainParams}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^ no `FcAuxTrainParams` in `layers` [INFO] [stdout] | | [INFO] [stdout] | no `FClayer` in `layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_generics` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/bin/mnist_two_layer_fc.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44580 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `bnn::layers::FClayer`, `bnn::layers::FcAuxTrainParams` [INFO] [stdout] --> src/bin/mnist_two_layer_fc.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use bnn::layers::{FClayer, FcAuxTrainParams}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^ no `FcAuxTrainParams` in `layers` [INFO] [stdout] | | [INFO] [stdout] | no `FClayer` in `layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_generics` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/bin/mnist_two_layer_fc.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44580 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bnn::layers::DescendFCaux` [INFO] [stdout] --> src/bin/mnist_one_layer_fc.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bnn::layers::DescendFCaux; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `DescendFCaux` in `layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bnn::layers::DescendFCaux` [INFO] [stdout] --> src/bin/mnist_one_layer_fc.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bnn::layers::DescendFCaux; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `DescendFCaux` in `layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_generics` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/bin/mnist_one_layer_fc.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44580 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Element`, `Shape` [INFO] [stdout] --> src/bin/mnist_one_layer_fc.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use bnn::shape::{Element, Map, Shape}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/bin/mnist_one_layer_fc.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_generics` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/bin/mnist_one_layer_fc.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44580 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Element`, `Shape` [INFO] [stdout] --> src/bin/mnist_one_layer_fc.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use bnn::shape::{Element, Map, Shape}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/bin/mnist_one_layer_fc.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found struct `t1` [INFO] [stdout] --> src/bin/image_grad.rs:116:33 [INFO] [stdout] | [INFO] [stdout] 116 | |pixel| t1(pixel.get_trit(hidden_index)), [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | constructor is not visible here due to private fields [INFO] [stdout] | help: a tuple struct with a similar name exists: `b1` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/bits.rs:1018:1 [INFO] [stdout] | [INFO] [stdout] 1018 | pub struct b1(pub bool); [INFO] [stdout] | ------------------------ similarly named tuple struct `b1` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_generics` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/bin/image_grad.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44580 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bnn` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0423]: expected function, found struct `t1` [INFO] [stdout] --> src/bin/image_grad.rs:116:33 [INFO] [stdout] | [INFO] [stdout] 116 | |pixel| t1(pixel.get_trit(hidden_index)), [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | constructor is not visible here due to private fields [INFO] [stdout] | help: a tuple struct with a similar name exists: `b1` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/bits.rs:1018:1 [INFO] [stdout] | [INFO] [stdout] 1018 | pub struct b1(pub bool); [INFO] [stdout] | ------------------------ similarly named tuple struct `b1` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: the feature `const_generics` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/bin/image_grad.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44580 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `minibatch_train` found for unit type `()` in the current scope [INFO] [stdout] --> src/bin/mnist_one_layer_fc.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | let weights = <()>::minibatch_train(weights, &images, &labels, 50, (3, 4), 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/bin/mnist_one_layer_fc.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `minibatch_train` found for unit type `()` in the current scope [INFO] [stdout] --> src/bin/mnist_one_layer_fc.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | let weights = <()>::minibatch_train(weights, &images, &labels, 50, (3, 4), 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/bin/mnist_one_layer_fc.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `BitMap` [INFO] [stdout] --> src/bin/image_grad.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use bnn::bits::{b1, b32, t1, BitArray, BitMap, BitMapPack, MaskedDistance, TritArray}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `BitMap` [INFO] [stdout] --> src/bin/image_grad.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use bnn::bits::{b1, b32, t1, BitArray, BitMap, BitMapPack, MaskedDistance, TritArray}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4f633c9f14793e50518ae4e7a601690ef7bbfdfdbd5e480a78527a62d4d102f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f633c9f14793e50518ae4e7a601690ef7bbfdfdbd5e480a78527a62d4d102f1", kill_on_drop: false }` [INFO] [stdout] 4f633c9f14793e50518ae4e7a601690ef7bbfdfdbd5e480a78527a62d4d102f1