[INFO] cloning repository https://github.com/EpicCash/progpow-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EpicCash/progpow-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEpicCash%2Fprogpow-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEpicCash%2Fprogpow-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7a10ab826479af4d0e61de4d6cccd420e0b8ce8e [INFO] checking EpicCash/progpow-rust against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEpicCash%2Fprogpow-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/EpicCash/progpow-rust [INFO] finished tweaking git repo https://github.com/EpicCash/progpow-rust [INFO] tweaked toml for git repo https://github.com/EpicCash/progpow-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/EpicCash/progpow-rust on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/EpicCash/progpow-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8474764aea6fc16c6acf9e0135110d8d2fa648a951e0c67fd08fbb0a55fbb15e [INFO] running `Command { std: "docker" "start" "-a" "8474764aea6fc16c6acf9e0135110d8d2fa648a951e0c67fd08fbb0a55fbb15e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8474764aea6fc16c6acf9e0135110d8d2fa648a951e0c67fd08fbb0a55fbb15e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8474764aea6fc16c6acf9e0135110d8d2fa648a951e0c67fd08fbb0a55fbb15e", kill_on_drop: false }` [INFO] [stdout] 8474764aea6fc16c6acf9e0135110d8d2fa648a951e0c67fd08fbb0a55fbb15e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd51a96d94189cc7de18d9f4e53a0587b5432f70e151672c8369d0dea0e84f7e [INFO] running `Command { std: "docker" "start" "-a" "bd51a96d94189cc7de18d9f4e53a0587b5432f70e151672c8369d0dea0e84f7e", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling serde v1.0.93 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking rustc-hex v2.0.1 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking static_assertions v0.2.5 [INFO] [stderr] Checking hamming v0.1.3 [INFO] [stderr] Checking primal-estimate v0.2.1 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking lock_api v0.2.0 [INFO] [stderr] Checking primal-bit v0.2.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking primal-check v0.2.3 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking uint v0.7.1 [INFO] [stderr] Checking tiny-keccak v1.5.0 [INFO] [stderr] Checking primal-sieve v0.2.9 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking primal v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking fixed-hash v0.3.2 [INFO] [stderr] Checking parity-codec v3.5.4 [INFO] [stderr] Checking impl-codec v0.2.0 [INFO] [stderr] Checking primitive-types v0.3.0 [INFO] [stderr] Checking keccak-hash v0.2.0 [INFO] [stderr] Checking progpow_cpu v0.1.0 (/opt/rustwide/workdir/pp_light) [INFO] [stdout] warning: unused imports: `keccak_f800_long` and `keccak_f800_short` [INFO] [stdout] --> pp_light/src/compute.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::progpow::{generate_cdag, keccak_f800_long, keccak_f800_short, progpow, CDag}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> pp_light/src/compute.rs:157:3 [INFO] [stdout] | [INFO] [stdout] 157 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> pp_light/src/compute.rs:178:41 [INFO] [stdout] | [INFO] [stdout] 178 | let mut out: [u8; NODE_BYTES] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> pp_light/src/compute.rs:198:33 [INFO] [stdout] | [INFO] [stdout] 198 | compress_bytes: unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> pp_light/src/shared.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | let val: $b = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | static_assert_size_eq!(Node, NodeBytes, NodeWords, NodeDwords); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `static_assert_size_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> pp_light/src/shared.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | let val: $b = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | static_assert_size_eq!(Node, NodeBytes, NodeWords, NodeDwords); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `static_assert_size_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> pp_light/src/shared.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | let val: $b = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | static_assert_size_eq!(Node, NodeBytes, NodeWords, NodeDwords); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `static_assert_size_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIX_HASH` is never used [INFO] [stdout] --> pp_light/src/compute.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | const MIX_HASH: u32 = 0x811c9dc5; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> pp_light/src/compute.rs:178:36 [INFO] [stdout] | [INFO] [stdout] 178 | let mut out: [u8; NODE_BYTES] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stdout] --> pp_light/src/compute.rs:198:28 [INFO] [stdout] | [INFO] [stdout] 198 | compress_bytes: unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> pp_light/src/shared.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 85 | let val: $b = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 100 | static_assert_size_eq!(Node, NodeBytes, NodeWords, NodeDwords); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `static_assert_size_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u32; 16]` does not permit being left uninitialized [INFO] [stdout] --> pp_light/src/shared.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 85 | let val: $b = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 100 | static_assert_size_eq!(Node, NodeBytes, NodeWords, NodeDwords); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `static_assert_size_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u64; 8]` does not permit being left uninitialized [INFO] [stdout] --> pp_light/src/shared.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 85 | let val: $b = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 100 | static_assert_size_eq!(Node, NodeBytes, NodeWords, NodeDwords); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `static_assert_size_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking progpow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/hardware/cpu.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/hardware/cpu.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OptimizeFor` [INFO] [stdout] --> src/hardware/cpu.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | use progpow_cpu::cache::{NodeCacheBuilder, OptimizeFor}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PoW` and `light_compute` [INFO] [stdout] --> src/hardware/cpu.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | use progpow_cpu::compute::{light_compute, PoW}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NO_INITIALIZED` should have an upper camel case name [INFO] [stdout] --> src/types.rs:11:2 [INFO] [stdout] | [INFO] [stdout] 11 | NO_INITIALIZED, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NoInitialized` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/hardware/cpu.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/hardware/cpu.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/hardware/cpu.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OptimizeFor` [INFO] [stdout] --> src/hardware/cpu.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | use progpow_cpu::cache::{NodeCacheBuilder, OptimizeFor}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PoW` and `light_compute` [INFO] [stdout] --> src/hardware/cpu.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | use progpow_cpu::compute::{light_compute, PoW}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NO_INITIALIZED` should have an upper camel case name [INFO] [stdout] --> src/types.rs:11:2 [INFO] [stdout] | [INFO] [stdout] 11 | NO_INITIALIZED, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NoInitialized` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gpu` [INFO] [stdout] --> src/lib.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(feature = "gpu")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cuda`, `opencl`, `progpow_gpu_cuda`, and `progpow_gpu_opencl` [INFO] [stdout] = help: consider adding `gpu` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_bigint::BigUint` [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | use num_bigint::BigUint; // Import BigUint from num_bigint [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `One` and `Zero` [INFO] [stdout] --> src/lib.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | use num_traits::{One, Zero}; // For utility methods like max_value and division [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/hardware/cpu.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | fn compute(&self, header: [u8; 32], height: u64, epoch: i32, boundary: u64) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/hardware/cpu.rs:69:38 [INFO] [stdout] | [INFO] [stdout] 69 | fn compute(&self, header: [u8; 32], height: u64, epoch: i32, boundary: u64) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `epoch` [INFO] [stdout] --> src/hardware/cpu.rs:69:51 [INFO] [stdout] | [INFO] [stdout] 69 | fn compute(&self, header: [u8; 32], height: u64, epoch: i32, boundary: u64) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_epoch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boundary` [INFO] [stdout] --> src/hardware/cpu.rs:69:63 [INFO] [stdout] | [INFO] [stdout] 69 | fn compute(&self, header: [u8; 32], height: u64, epoch: i32, boundary: u64) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boundary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/hardware/cpu.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/hardware/cpu.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | fn compute(&self, header: [u8; 32], height: u64, epoch: i32, boundary: u64) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/hardware/cpu.rs:69:38 [INFO] [stdout] | [INFO] [stdout] 69 | fn compute(&self, header: [u8; 32], height: u64, epoch: i32, boundary: u64) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `epoch` [INFO] [stdout] --> src/hardware/cpu.rs:69:51 [INFO] [stdout] | [INFO] [stdout] 69 | fn compute(&self, header: [u8; 32], height: u64, epoch: i32, boundary: u64) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_epoch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boundary` [INFO] [stdout] --> src/hardware/cpu.rs:69:63 [INFO] [stdout] | [INFO] [stdout] 69 | fn compute(&self, header: [u8; 32], height: u64, epoch: i32, boundary: u64) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boundary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lib.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | let (value, mix) = pp_cpu.verify(&header_hash, height, nonce).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.64s [INFO] running `Command { std: "docker" "inspect" "bd51a96d94189cc7de18d9f4e53a0587b5432f70e151672c8369d0dea0e84f7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd51a96d94189cc7de18d9f4e53a0587b5432f70e151672c8369d0dea0e84f7e", kill_on_drop: false }` [INFO] [stdout] bd51a96d94189cc7de18d9f4e53a0587b5432f70e151672c8369d0dea0e84f7e