[INFO] cloning repository https://github.com/quantica1/quantica-miner [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/quantica1/quantica-miner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquantica1%2Fquantica-miner", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquantica1%2Fquantica-miner'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d40e841a15dea51d9c7cc598fc5a65705d06703a [INFO] checking quantica1/quantica-miner against 24e1a22664233bce1f9b5dc6eee7c1f74327e28c for pr-159343-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquantica1%2Fquantica-miner" "/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/quantica1/quantica-miner [INFO] finished tweaking git repo https://github.com/quantica1/quantica-miner [INFO] tweaked toml for git repo https://github.com/quantica1/quantica-miner written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/quantica1/quantica-miner on toolchain 24e1a22664233bce1f9b5dc6eee7c1f74327e28c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/quantica1/quantica-miner 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" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 4b1f322205eb01deba7bec6202c0d84b93d7d0a45b4bd8335fc63cc288087d31 [INFO] running `Command { std: "docker" "start" "4b1f322205eb01deba7bec6202c0d84b93d7d0a45b4bd8335fc63cc288087d31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b1f322205eb01deba7bec6202c0d84b93d7d0a45b4bd8335fc63cc288087d31", 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" "4b1f322205eb01deba7bec6202c0d84b93d7d0a45b4bd8335fc63cc288087d31" "/opt/rustwide/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b1f322205eb01deba7bec6202c0d84b93d7d0a45b4bd8335fc63cc288087d31", 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" "4b1f322205eb01deba7bec6202c0d84b93d7d0a45b4bd8335fc63cc288087d31" "/opt/rustwide/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling cc v1.2.63 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking clap_builder v4.4.7 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Compiling randomx-rs v1.4.1 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking arc-swap v1.6.0 [INFO] [stderr] Checking keccak v0.1.4 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling prost-derive v0.12.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking tokio v1.33.0 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling prost v0.12.1 [INFO] [stderr] Compiling prost-types v0.12.1 [INFO] [stderr] Checking clap v4.4.7 [INFO] [stderr] Compiling prost-build v0.12.1 [INFO] [stderr] Compiling tonic-build v0.10.2 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling kaspa-miner v0.2.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.10.2 [INFO] [stdout] warning: unused imports: `Barrier` and `thread` [INFO] [stdout] --> src/swap_rust.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | sync::{Arc, Barrier}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 115 | thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `matrix`, and `hasher` are never read [INFO] [stdout] --> src/pow.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 43 | pub id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 44 | matrix: Matrix, // kept for legacy; not used in RandomX path [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | hasher: PowHasher, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/pow/hasher.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | pub(super) struct PowHasher([u64; 25]); [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `PowHasher` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HeavyHasher` is never constructed [INFO] [stdout] --> src/pow/hasher.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(super) struct HeavyHasher; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `finalize_with_nonce` is never used [INFO] [stdout] --> src/pow/hasher.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 16 | impl PowHasher { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub(super) fn finalize_with_nonce(mut self, nonce: u64) -> Hash { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `INITIAL_STATE` and `hash` are never used [INFO] [stdout] --> src/pow/hasher.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 46 | impl HeavyHasher { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | const INITIAL_STATE: [u64; 25] = [ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub(super) fn hash(in_hash: Hash) -> Hash { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `heavy_hash` is never used [INFO] [stdout] --> src/pow/heavy_hash.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Matrix { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn heavy_hash(&self, hash: Hash) -> Hash { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `f1600` is never used [INFO] [stdout] --> src/pow/keccak.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | pub(super) fn f1600(state: &mut [u64; 25]) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `KeccakF1600` is never used [INFO] [stdout] --> src/pow/keccak.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | fn KeccakF1600(state: &mut [u64; 25]); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/swap_rust.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 125 | pub fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `matrix`, and `hasher` are never read [INFO] [stdout] --> src/pow.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 43 | pub id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 44 | matrix: Matrix, // kept for legacy; not used in RandomX path [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | hasher: PowHasher, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/swap_rust.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 125 | pub fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "4b1f322205eb01deba7bec6202c0d84b93d7d0a45b4bd8335fc63cc288087d31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b1f322205eb01deba7bec6202c0d84b93d7d0a45b4bd8335fc63cc288087d31", kill_on_drop: false }` [INFO] [stdout] 4b1f322205eb01deba7bec6202c0d84b93d7d0a45b4bd8335fc63cc288087d31