[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#21cad1f647cfd05a566220f933edd88a53e50bcf for pr-129249-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEpicCash%2Fprogpow-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/EpicCash/progpow-rust on toolchain 21cad1f647cfd05a566220f933edd88a53e50bcf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "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" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 2153ed6d4871e7636692d01d6b9d91644476313bcdab53140cdafad1371bee61 [INFO] running `Command { std: "docker" "start" "2153ed6d4871e7636692d01d6b9d91644476313bcdab53140cdafad1371bee61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2153ed6d4871e7636692d01d6b9d91644476313bcdab53140cdafad1371bee61" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2153ed6d4871e7636692d01d6b9d91644476313bcdab53140cdafad1371bee61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2153ed6d4871e7636692d01d6b9d91644476313bcdab53140cdafad1371bee61" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling serde v1.0.93 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking rustc-hex v2.0.1 [INFO] [stderr] Checking static_assertions v0.2.5 [INFO] [stderr] Checking hamming v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking primal-estimate v0.2.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking primal-bit v0.2.4 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking primal-sieve v0.2.9 [INFO] [stderr] Checking uint v0.7.1 [INFO] [stderr] Checking tiny-keccak v1.5.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking parking_lot_core v0.5.0 [INFO] [stderr] Checking primal-check v0.2.3 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking parking_lot v0.8.0 [INFO] [stderr] Checking primal v0.2.3 [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] error: useless conversion to the same type: `Cow<'_, Path>` [INFO] [stdout] --> pp_light/src/cache.rs:159:15 [INFO] [stdout] | [INFO] [stdout] 159 | cache_dir: cache_dir.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path ` as Into>::into(val) to avoid triggering this lint [INFO] [stdout] = note: `#[deny(self_type_conversion)]` 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] error: could not compile `progpow_cpu` (lib) due to 1 previous error; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2153ed6d4871e7636692d01d6b9d91644476313bcdab53140cdafad1371bee61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2153ed6d4871e7636692d01d6b9d91644476313bcdab53140cdafad1371bee61", kill_on_drop: false }` [INFO] [stdout] 2153ed6d4871e7636692d01d6b9d91644476313bcdab53140cdafad1371bee61