[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 a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEpicCash%2Fprogpow-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/EpicCash/progpow-rust on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused build dependency `bindgen` [INFO] [stderr] --> Cargo.toml:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | bindgen = "0.71.1" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `bindgen` [INFO] [stderr] warning: unused build dependency `cmake` [INFO] [stderr] --> Cargo.toml:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | cmake = "0.1.54" [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `cmake` [INFO] [stderr] warning: unused build dependency `filetime` [INFO] [stderr] --> Cargo.toml:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | filetime = "0.2.25" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `filetime` [INFO] [stderr] warning: `progpow` (manifest) generated 3 warnings [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 228ba970d269770a61cb132844f462507c7f30e43155d64bfd6503a2f1223457 [INFO] running `Command { std: "docker" "start" "228ba970d269770a61cb132844f462507c7f30e43155d64bfd6503a2f1223457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "228ba970d269770a61cb132844f462507c7f30e43155d64bfd6503a2f1223457", 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" "228ba970d269770a61cb132844f462507c7f30e43155d64bfd6503a2f1223457" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "228ba970d269770a61cb132844f462507c7f30e43155d64bfd6503a2f1223457", 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" "228ba970d269770a61cb132844f462507c7f30e43155d64bfd6503a2f1223457" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: unused build dependency `bindgen` [INFO] [stderr] --> Cargo.toml:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | bindgen = "0.71.1" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `bindgen` [INFO] [stderr] warning: unused build dependency `cmake` [INFO] [stderr] --> Cargo.toml:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | cmake = "0.1.54" [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `cmake` [INFO] [stderr] warning: unused build dependency `filetime` [INFO] [stderr] --> Cargo.toml:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | filetime = "0.2.25" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `filetime` [INFO] [stderr] warning: `progpow` (manifest) generated 3 warnings [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling serde v1.0.93 [INFO] [stderr] Checking rustc-hex v2.0.1 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking static_assertions v0.2.5 [INFO] [stderr] Checking cfg-if v0.1.9 [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 scopeguard v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Checking lock_api v0.2.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking either v1.5.2 [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-bit v0.2.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling 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 rand_os v0.1.3 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking primal-check v0.2.3 [INFO] [stderr] Checking num-bigint v0.4.6 [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: trailing semicolon in macro used in expression position [INFO] [stdout] --> pp_light/src/cache.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | _ => warn!("Error removing stale DAG cache: {:?}", error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `warn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [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] 73 | macro_rules! static_assert_size_eq { [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] [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] 73 | macro_rules! static_assert_size_eq { [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] [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] 73 | macro_rules! static_assert_size_eq { [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] [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: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 159 - cache_dir: cache_dir.into(), [INFO] [stdout] 159 + cache_dir: cache_dir, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 159 - cache_dir: cache_dir.into(), [INFO] [stdout] 159 + cache_dir: as Into<_>>::into(cache_dir), [INFO] [stdout] | [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] 73 | macro_rules! static_assert_size_eq { [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] [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] 73 | macro_rules! static_assert_size_eq { [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] [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] 73 | macro_rules! static_assert_size_eq { [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] [INFO] [stdout] [INFO] [stderr] error: could not compile `progpow_cpu` (lib) due to 1 previous error; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "228ba970d269770a61cb132844f462507c7f30e43155d64bfd6503a2f1223457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "228ba970d269770a61cb132844f462507c7f30e43155d64bfd6503a2f1223457", kill_on_drop: false }` [INFO] [stdout] 228ba970d269770a61cb132844f462507c7f30e43155d64bfd6503a2f1223457