[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] 313a5c0b95774763986979407fdeac874e2178a0 [INFO] testing is8ac/bnn against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fis8ac%2Fbnn" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/is8ac/bnn on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5/source/.cargo/config.toml [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-5/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3744d52b365d8e392dcaf142ef01cea29605edc3a81c07a8ad4863d8dbf29a5b [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" "3744d52b365d8e392dcaf142ef01cea29605edc3a81c07a8ad4863d8dbf29a5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3744d52b365d8e392dcaf142ef01cea29605edc3a81c07a8ad4863d8dbf29a5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3744d52b365d8e392dcaf142ef01cea29605edc3a81c07a8ad4863d8dbf29a5b", kill_on_drop: false }` [INFO] [stdout] 3744d52b365d8e392dcaf142ef01cea29605edc3a81c07a8ad4863d8dbf29a5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--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] 4d17782504373a5e2e370288c831d5ef9385ea721e7a88992411923e350e8ec5 [INFO] running `Command { std: "docker" "start" "-a" "4d17782504373a5e2e370288c831d5ef9385ea721e7a88992411923e350e8ec5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling standback v0.2.14 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling plotters v0.2.15 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand_hc v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling rand_distr v0.4.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling image v0.23.13 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling bstr v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling csv v1.1.5 [INFO] [stderr] Compiling tinytemplate v1.2.0 [INFO] [stderr] Compiling criterion v0.3.3 [INFO] [stderr] Compiling bnn v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `transmute` [INFO] [stdout] --> src/bits.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | use std::mem::{transmute, MaybeUninit}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BMA`, `FromBool`, `PackedMap`, `t32` [INFO] [stdout] --> src/matrix.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | b32, t32, BitMap, BitPack, FromBool, IncrementCounters, PackedMap, SIMDincrementCounters, [INFO] [stdout] | ^^^ ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 3 | SIMDword32, BMA, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::count::ElementwiseAdd` [INFO] [stdout] --> src/matrix.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::count::ElementwiseAdd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ecc` [INFO] [stdout] --> src/matrix.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ecc; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ZipMap` [INFO] [stdout] --> src/matrix.rs:7:71 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::shape::{IndexGet, IndexMap, LongDefault, Map, Pack, Shape, ZipMap}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddAssign`, `Add` [INFO] [stdout] --> src/matrix.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ops::{Add, AddAssign}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/matrix.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/matrix.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bnn::descend` [INFO] [stdout] --> src/bin/cifar_conv_descend.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use bnn::descend::Descend; [INFO] [stdout] | ^^^^^^^ could not find `descend` in `bnn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bnn::image2d` [INFO] [stdout] --> src/bin/cifar_conv_descend.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use bnn::image2d::{ImageShape, PixelFold, PixelMap, PixelPack}; [INFO] [stdout] | ^^^^^^^ could not find `image2d` in `bnn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bnn::layers` [INFO] [stdout] --> src/bin/cifar_conv_descend.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use bnn::layers::{FusedConvSegmentedAvgPoolFcMSE, Model}; [INFO] [stdout] | ^^^^^^ could not find `layers` in `bnn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/bin/cifar_conv_descend.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/cifar_conv_descend.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | (c as f32 - mean) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings 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] warning: unused imports: `RandInit`, `b128`, `b64` [INFO] [stdout] --> src/bin/seq_demo.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | b128, b32, b64, BitMap, BitPack, BitScaler, GetBit, PackedIndexSGet, PackedMap, RandInit, [INFO] [stdout] | ^^^^ ^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bin/seq_demo.rs:215:35 [INFO] [stdout] | [INFO] [stdout] 215 | *delta += (mut_loss_delta * (new_act != cur_act) as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BMA`, `FromBool`, `SIMDword32`, `t32` [INFO] [stdout] --> src/bin/simd_count_bench.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | b32, t32, BitMap, BitPack, FromBool, IncrementCounters, PackedMap, SIMDincrementCounters, [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] 3 | SIMDword32, BMA, [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bnn::count::ElementwiseAdd` [INFO] [stdout] --> src/bin/simd_count_bench.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bnn::count::ElementwiseAdd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndexMap`, `Shape` [INFO] [stdout] --> src/bin/simd_count_bench.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | use bnn::shape::{IndexGet, IndexMap, LongDefault, Map, Pack, Shape, ZipMap}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Distribution`, `Standard` [INFO] [stdout] --> src/bin/simd_count_bench.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::distributions::{Distribution, Standard}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng`, `SeedableRng` [INFO] [stdout] --> src/bin/simd_count_bench.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_hc::Hc128Rng` [INFO] [stdout] --> src/bin/simd_count_bench.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rand_hc::Hc128Rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::type_name` [INFO] [stdout] --> src/bin/simd_count_bench.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::any::type_name; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/bin/simd_count_bench.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddAssign`, `Add` [INFO] [stdout] --> src/bin/simd_count_bench.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | use std::ops::{Add, AddAssign}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/bin/simd_count_bench.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ordering`, `compiler_fence` [INFO] [stdout] --> src/bin/simd_count_bench.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | use std::sync::atomic::{compiler_fence, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `t32` [INFO] [stdout] --> src/bin/count_bench.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use bnn::bits::{b32, t32, BitMap, BitPack, FromBool, IncrementCounters, PackedMap, BMA}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bnn::count::ElementwiseAdd` [INFO] [stdout] --> src/bin/count_bench.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bnn::count::ElementwiseAdd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Shape` [INFO] [stdout] --> src/bin/count_bench.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use bnn::shape::{LongDefault, Map, Pack, Shape, ZipMap}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Distribution`, `Standard` [INFO] [stdout] --> src/bin/count_bench.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::distributions::{Distribution, Standard}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng`, `SeedableRng` [INFO] [stdout] --> src/bin/count_bench.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_hc::Hc128Rng` [INFO] [stdout] --> src/bin/count_bench.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand_hc::Hc128Rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::type_name` [INFO] [stdout] --> src/bin/count_bench.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::any::type_name; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AddAssign` [INFO] [stdout] --> src/bin/count_bench.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use std::ops::{Add, AddAssign}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/bin/count_bench.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ordering`, `compiler_fence` [INFO] [stdout] --> src/bin/count_bench.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | use std::sync::atomic::{compiler_fence, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PackedMap` [INFO] [stdout] --> src/bin/simd_count_bench.rs:2:61 [INFO] [stdout] | [INFO] [stdout] 2 | b32, t32, BitMap, BitPack, FromBool, IncrementCounters, PackedMap, SIMDincrementCounters, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf_reader` [INFO] [stdout] --> src/bin/simd_count_bench.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let mut buf_reader = BufReader::new(file); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf_reader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/simd_count_bench.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | let mut buf_reader = BufReader::new(file); [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: `rayon::prelude` [INFO] [stdout] --> src/bin/pshufb_demo.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bnn::descend` [INFO] [stdout] --> src/bin/cifar_conv_perf.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use bnn::descend::Descend; [INFO] [stdout] | ^^^^^^^ could not find `descend` in `bnn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bnn::image2d` [INFO] [stdout] --> src/bin/cifar_conv_perf.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use bnn::image2d::{PixelMap, PixelPack}; [INFO] [stdout] | ^^^^^^^ could not find `image2d` in `bnn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bnn::layers` [INFO] [stdout] --> src/bin/cifar_conv_perf.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use bnn::layers::{ [INFO] [stdout] | ^^^^^^ could not find `layers` in `bnn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `mask1a` should have an upper case name [INFO] [stdout] --> src/bin/pshufb_demo.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const mask1a: [u8; 32] = [ [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `MASK1A` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `mask2a` should have an upper case name [INFO] [stdout] --> src/bin/pshufb_demo.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const mask2a: [u8; 32] = [ [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `MASK2A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `b32` [INFO] [stdout] --> src/bin/cifar_conv_perf.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use bnn::bits::{b32, BitPack}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bnn::datasets::cifar` [INFO] [stdout] --> src/bin/cifar_conv_perf.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bnn::datasets::cifar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bnn::unary` [INFO] [stdout] --> src/bin/cifar_conv_perf.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use bnn::unary; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/bin/cifar_conv_perf.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/bin/cifar_conv_perf.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/bin/cifar_conv_perf.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/bin/seq_demo.rs:601:31 [INFO] [stdout] | [INFO] [stdout] 601 | .map(|(input, target, target_byte)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/bin/seq_demo.rs:610:31 [INFO] [stdout] | [INFO] [stdout] 610 | .map(|(input, target, targ_byte)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `targ_byte` [INFO] [stdout] --> src/bin/seq_demo.rs:610:39 [INFO] [stdout] | [INFO] [stdout] 610 | .map(|(input, target, targ_byte)| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targ_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/bin/seq_demo.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | let model = ngrams [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `states` [INFO] [stdout] --> src/bin/seq_demo.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | let states = W::STATES; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `states` [INFO] [stdout] --> src/bin/seq_demo.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | let states = W::STATES; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/bin/seq_demo.rs:438:42 [INFO] [stdout] | [INFO] [stdout] 438 | ... .filter(|(i, w, _)| (index.0 != i.0) & (index.1 != i.1)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/bin/seq_demo.rs:462:42 [INFO] [stdout] | [INFO] [stdout] 462 | ... .filter(|(i, w, _)| (index.0 != i.0) & (index.1 != i.1)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/seq_demo.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | mut self, [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: variable does not need to be mutable [INFO] [stdout] --> src/bin/seq_demo.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | mut self, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bin/cifar_conv_perf.rs:43:149 [INFO] [stdout] | [INFO] [stdout] 43 | let unary_examples: Vec<([[<$input_shape as BitPack>::T; $image_dim]; $image_dim], usize)> = (0..$n_examples).map(|_| (rng.gen(), rng.gen_range(0, 10)))... [INFO] [stdout] | ^^^^^^^^^ - -- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] ... [INFO] [stdout] 105 | time_loss_deltas!(32, [[(); 32]; 32], [[(); 32]; 32], 7, 2, 15, 1); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.8.3/src/rng.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `time_loss_deltas` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/seq_demo.rs:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | let mut buf_reader = BufReader::new(file); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `increment_encoder_loss_deltas_slow` [INFO] [stdout] --> src/bin/seq_demo.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn increment_encoder_loss_deltas_slow( [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: `increment_dense_loss_deltas_slow` [INFO] [stdout] --> src/bin/seq_demo.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn increment_dense_loss_deltas_slow( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add-assign `T` to `T` [INFO] [stdout] --> src/bin/count_bench.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | S: Pack + BitPack + IncrementCounters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no implementation for `T += T` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/bits.rs:739:8 [INFO] [stdout] | [INFO] [stdout] 739 | T: AddAssign + Add + FromBool, [INFO] [stdout] | --------- required by this bound in `IncrementCounters` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `T` [INFO] [stdout] | [INFO] [stdout] 21 | >::T: LongDefault, T: std::ops::AddAssign [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `T` to `T` [INFO] [stdout] --> src/bin/count_bench.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | S: Pack + BitPack + IncrementCounters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no implementation for `T + T` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/bits.rs:739:20 [INFO] [stdout] | [INFO] [stdout] 739 | T: AddAssign + Add + FromBool, [INFO] [stdout] | --------------- required by this bound in `IncrementCounters` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `T` [INFO] [stdout] | [INFO] [stdout] 21 | >::T: LongDefault, T: std::ops::Add [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add-assign `T` to `T` [INFO] [stdout] --> src/bin/count_bench.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | + IncrementCounters [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no implementation for `T += T` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/bits.rs:739:8 [INFO] [stdout] | [INFO] [stdout] 739 | T: AddAssign + Add + FromBool, [INFO] [stdout] | --------- required by this bound in `IncrementCounters` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 38 | T: Copy + PartialOrd + Add + std::fmt::Display + FromBool + std::ops::AddAssign, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bin/cifar_conv_perf.rs:43:149 [INFO] [stdout] | [INFO] [stdout] 43 | let unary_examples: Vec<([[<$input_shape as BitPack>::T; $image_dim]; $image_dim], usize)> = (0..$n_examples).map(|_| (rng.gen(), rng.gen_range(0, 10)))... [INFO] [stdout] | ^^^^^^^^^ - -- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] ... [INFO] [stdout] 106 | time_loss_deltas!(32, [[(); 32]; 32], [[(); 32]; 32], 7, 2, 15, 2); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.8.3/src/rng.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `time_loss_deltas` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bin/cifar_conv_perf.rs:43:149 [INFO] [stdout] | [INFO] [stdout] 43 | let unary_examples: Vec<([[<$input_shape as BitPack>::T; $image_dim]; $image_dim], usize)> = (0..$n_examples).map(|_| (rng.gen(), rng.gen_range(0, 10)))... [INFO] [stdout] | ^^^^^^^^^ - -- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] ... [INFO] [stdout] 107 | time_loss_deltas!(32, [[(); 32]; 32], [[(); 32]; 32], 7, 2, 15, 4); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.8.3/src/rng.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `time_loss_deltas` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bin/cifar_conv_perf.rs:43:149 [INFO] [stdout] | [INFO] [stdout] 43 | let unary_examples: Vec<([[<$input_shape as BitPack>::T; $image_dim]; $image_dim], usize)> = (0..$n_examples).map(|_| (rng.gen(), rng.gen_range(0, 10)))... [INFO] [stdout] | ^^^^^^^^^ - -- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] ... [INFO] [stdout] 108 | time_loss_deltas!(32, [[(); 32]; 32], [[(); 32]; 32], 7, 2, 15, 8); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.8.3/src/rng.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `time_loss_deltas` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bin/cifar_conv_perf.rs:43:149 [INFO] [stdout] | [INFO] [stdout] 43 | let unary_examples: Vec<([[<$input_shape as BitPack>::T; $image_dim]; $image_dim], usize)> = (0..$n_examples).map(|_| (rng.gen(), rng.gen_range(0, 10)))... [INFO] [stdout] | ^^^^^^^^^ - -- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] ... [INFO] [stdout] 109 | time_loss_deltas!(32, [[(); 32]; 32], [[(); 32]; 32], 7, 2, 15, 16); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.8.3/src/rng.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `time_loss_deltas` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4d17782504373a5e2e370288c831d5ef9385ea721e7a88992411923e350e8ec5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d17782504373a5e2e370288c831d5ef9385ea721e7a88992411923e350e8ec5", kill_on_drop: false }` [INFO] [stdout] 4d17782504373a5e2e370288c831d5ef9385ea721e7a88992411923e350e8ec5