[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] fe0268e202481eec75795833c587677a6473804a [INFO] testing is8ac/bnn against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fis8ac%2Fbnn" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/is8ac/bnn on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-8/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-8/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" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e2a5834a586e17a4f82fcbbd11e886be639280d4a536760f6caa81ff835e399 [INFO] running `Command { std: "docker" "start" "-a" "6e2a5834a586e17a4f82fcbbd11e886be639280d4a536760f6caa81ff835e399", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e2a5834a586e17a4f82fcbbd11e886be639280d4a536760f6caa81ff835e399", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e2a5834a586e17a4f82fcbbd11e886be639280d4a536760f6caa81ff835e399", kill_on_drop: false }` [INFO] [stdout] 6e2a5834a586e17a4f82fcbbd11e886be639280d4a536760f6caa81ff835e399 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7251921ff0055181a921f56955f306671dc1dfe67c5523ca45b5e6ef351fde3a [INFO] running `Command { std: "docker" "start" "-a" "7251921ff0055181a921f56955f306671dc1dfe67c5523ca45b5e6ef351fde3a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling ppv-lite86 v0.2.14 [INFO] [stderr] Compiling float-ord v0.2.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling cmake v0.1.46 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling freetype v0.7.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling pathfinder_simd v0.5.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling pathfinder_geometry v0.5.1 [INFO] [stderr] Compiling font-kit v0.10.1 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling plotters-bitmap v0.3.1 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling bnn v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `adt_const_params` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(adt_const_params)] [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: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(generic_const_exprs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `adt_const_params` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/bin/bitslice_demo.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(adt_const_params)] [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: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/bin/bitslice_demo.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(generic_const_exprs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/bin/count_bits_benchmark.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(generic_const_exprs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bnn::ecc::encode_byte` [INFO] [stdout] --> src/bin/count_bits_benchmark.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use bnn::ecc::encode_byte; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PerfTest` [INFO] [stdout] --> src/bin/plot_word_perf.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use bnn::bench::{PerfResults, PerfTest}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/bin/plot_word_perf.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/bin/layer_demo.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(generic_const_exprs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PopCountBitCounter` [INFO] [stdout] --> src/bin/layer_demo.rs:5:57 [INFO] [stdout] | [INFO] [stdout] 5 | use bnn::count_bits::{BitSliceBitCounter, ExpCountBits, PopCountBitCounter, UnitCountBits}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/bin/layer_demo.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::DefaultHasher` [INFO] [stdout] --> src/bin/layer_demo.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::hash_map::DefaultHasher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hash`, `Hasher` [INFO] [stdout] --> src/bin/layer_demo.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/bin/layer_demo.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/bin/layer_demo.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bit_add` [INFO] [stdout] --> src/bin/bitslice_demo.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn bit_add(a: &[T; L], b: &[T; L]) -> [T; L + 1] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bit_splat` [INFO] [stdout] --> src/bin/bitslice_demo.rs:145:4 [INFO] [stdout] | [INFO] [stdout] 145 | fn bit_splat(value: u32) -> [T; L] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/layer_demo.rs:47:54 [INFO] [stdout] | [INFO] [stdout] 47 | let weights = (0..4).fold(weights, |mut weights, i| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/layer_demo.rs:169:10 [INFO] [stdout] | [INFO] [stdout] 169 | let (input, target, target_bytes) = [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/bin/layer_demo.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | let (input, target, target_bytes) = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_bytes` [INFO] [stdout] --> src/bin/layer_demo.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | let (input, target, target_bytes) = [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/plot_word_perf.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut r = File::open(&Path::new(&input_path)).unwrap(); [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 `Result` that must be used [INFO] [stdout] --> src/bin/count_bits_benchmark.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | io::stdout().flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bnn`; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name count_bits_benchmark --edition=2021 src/bin/count_bits_benchmark.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=ff94dd74eb94bd0a -C extra-filename=-ff94dd74eb94bd0a --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bincode=/opt/rustwide/target/debug/deps/libbincode-b476fdd654856676.rlib --extern bnn=/opt/rustwide/target/debug/deps/libbnn-44877d80acd6a81e.rlib --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-b33cd6b8ee13db74.rlib --extern num_cpus=/opt/rustwide/target/debug/deps/libnum_cpus-f3f9e7ae842d1830.rlib --extern plotters=/opt/rustwide/target/debug/deps/libplotters-d81bab743902f8ac.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-97ba177ad54eebe4.rlib --extern rand_core=/opt/rustwide/target/debug/deps/librand_core-e5fff318a3e4b5f8.rlib --extern rayon=/opt/rustwide/target/debug/deps/librayon-f0703284cda7ba8c.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-65a5a967a16caea9.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-35d8a1e4ebbfd990.rlib --extern time=/opt/rustwide/target/debug/deps/libtime-9977e768879413a4.rlib --cap-lints=forbid -L native=/usr/lib/x86_64-linux-gnu -L native=/usr/lib/x86_64-linux-gnu -L native=/usr/lib/x86_64-linux-gnu` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7251921ff0055181a921f56955f306671dc1dfe67c5523ca45b5e6ef351fde3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7251921ff0055181a921f56955f306671dc1dfe67c5523ca45b5e6ef351fde3a", kill_on_drop: false }` [INFO] [stdout] 7251921ff0055181a921f56955f306671dc1dfe67c5523ca45b5e6ef351fde3a