[INFO] cloning repository https://github.com/iG3Labs/tops-worker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iG3Labs/tops-worker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiG3Labs%2Ftops-worker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiG3Labs%2Ftops-worker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 883490e05c445917097b2451556730bb2b6e877d [INFO] checking iG3Labs/tops-worker against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiG3Labs%2Ftops-worker" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/iG3Labs/tops-worker [INFO] finished tweaking git repo https://github.com/iG3Labs/tops-worker [INFO] tweaked toml for git repo https://github.com/iG3Labs/tops-worker written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/iG3Labs/tops-worker on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/iG3Labs/tops-worker 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Downloaded ocl-core-vector v0.1.1 [INFO] [stderr] Downloaded qutex v0.2.6 [INFO] [stderr] Downloaded prometheus-client v0.22.3 [INFO] [stderr] Downloaded ocl-core v0.11.5 [INFO] [stderr] Downloaded cl-sys v0.4.3 [INFO] [stderr] Downloaded cudarc v0.10.0 [INFO] [stderr] Downloaded ocl v0.19.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cfc62393435c9263cefdfc8b0f883ac2f6fd567eba2574c11a90c70de8e5bb0 [INFO] running `Command { std: "docker" "start" "-a" "7cfc62393435c9263cefdfc8b0f883ac2f6fd567eba2574c11a90c70de8e5bb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cfc62393435c9263cefdfc8b0f883ac2f6fd567eba2574c11a90c70de8e5bb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cfc62393435c9263cefdfc8b0f883ac2f6fd567eba2574c11a90c70de8e5bb0", kill_on_drop: false }` [INFO] [stdout] 7cfc62393435c9263cefdfc8b0f883ac2f6fd567eba2574c11a90c70de8e5bb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c7367b58b4d13d4150603b1f167ba5a9e859e34e6aa3690f5553532290ddade [INFO] running `Command { std: "docker" "start" "-a" "0c7367b58b4d13d4150603b1f167ba5a9e859e34e6aa3690f5553532290ddade", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling procfs v0.16.0 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking procfs-core v0.16.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling prometheus-client v0.22.3 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking dtoa v1.0.10 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.23 [INFO] [stderr] Checking tops-worker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::types::Sizes` [INFO] [stdout] --> src/gpu.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::types::Sizes; [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: `Duration` [INFO] [stdout] --> src/metrics.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HealthResponse` and `MetricsResponse` [INFO] [stdout] --> src/server.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::health::{HealthChecker, HealthResponse, MetricsResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::Config` [INFO] [stdout] --> src/server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::config::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_metric_help_text` [INFO] [stdout] --> src/server.rs:6:52 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::prometheus_metrics::{PrometheusMetrics, get_metric_help_text}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::Sizes` [INFO] [stdout] --> src/gpu.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::types::Sizes; [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: `Duration` [INFO] [stdout] --> src/metrics.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HealthResponse` and `MetricsResponse` [INFO] [stdout] --> src/server.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::health::{HealthChecker, HealthResponse, MetricsResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::Config` [INFO] [stdout] --> src/server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::config::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_metric_help_text` [INFO] [stdout] --> src/server.rs:6:52 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::prometheus_metrics::{PrometheusMetrics, get_metric_help_text}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::Sizes` [INFO] [stdout] --> src/gpu.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::types::Sizes; [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: `Duration` [INFO] [stdout] --> src/metrics.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HealthResponse` and `MetricsResponse` [INFO] [stdout] --> src/server.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::health::{HealthChecker, HealthResponse, MetricsResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::Config` [INFO] [stdout] --> src/server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::config::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_metric_help_text` [INFO] [stdout] --> src/server.rs:6:52 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::prometheus_metrics::{PrometheusMetrics, get_metric_help_text}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gpu::GpuExec` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use gpu::GpuExec; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::Sizes` [INFO] [stdout] --> src/gpu.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::types::Sizes; [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: `Duration` [INFO] [stdout] --> src/metrics.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HealthResponse` and `MetricsResponse` [INFO] [stdout] --> src/server.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::health::{HealthChecker, HealthResponse, MetricsResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::Config` [INFO] [stdout] --> src/server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::config::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_metric_help_text` [INFO] [stdout] --> src/server.rs:6:52 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::prometheus_metrics::{PrometheusMetrics, get_metric_help_text}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gpu::GpuExec` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use gpu::GpuExec; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 163 | return Err(anyhow::anyhow!("No execution backend available")); [INFO] [stdout] | ------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 187 | / let sizes = if config.autotune_disable { [INFO] [stdout] 188 | | Sizes { m: 1024, n: 1024, k: 1024, batch: 1 } [INFO] [stdout] 189 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 192 | | Sizes { m: 1024, n: 1024, k: 1024, batch: 1 } [INFO] [stdout] 193 | | }; [INFO] [stdout] | |______^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 163 | return Err(anyhow::anyhow!("No execution backend available")); [INFO] [stdout] | ------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 187 | / let sizes = if config.autotune_disable { [INFO] [stdout] 188 | | Sizes { m: 1024, n: 1024, k: 1024, batch: 1 } [INFO] [stdout] 189 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 192 | | Sizes { m: 1024, n: 1024, k: 1024, batch: 1 } [INFO] [stdout] 193 | | }; [INFO] [stdout] | |______^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | let mut nonce: u32 = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_handler` [INFO] [stdout] --> src/main.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let error_handler = ErrorHandler::new(Arc::clone(&metrics)) [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_handler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rate_limiter` [INFO] [stdout] --> src/main.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let rate_limiter = RateLimiter::new(config.max_concurrent_requests, config.rate_limit_per_second as f64); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rate_limiter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_did` [INFO] [stdout] --> src/main.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let device_did = config.device_did; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_did` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `epoch_id` [INFO] [stdout] --> src/main.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let epoch_id: u64 = 1; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_epoch_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_hash_bytes` [INFO] [stdout] --> src/main.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let prev_hash_bytes: [u8;32] = hex::decode(prev_hash_hex)?.try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_hash_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nonce` [INFO] [stdout] --> src/main.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | let mut nonce: u32 = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nonce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `executor` [INFO] [stdout] --> src/main.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let executor: Box = { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_executor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sizes` [INFO] [stdout] --> src/main.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | let sizes = if config.autotune_disable { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sizes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_hex` [INFO] [stdout] --> src/main.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | let sk_hex = config.worker_sk_hex; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secp` [INFO] [stdout] --> src/main.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | let secp = Secp::from_hex(&sk_hex)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_secp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/main.rs:197:16 [INFO] [stdout] | [INFO] [stdout] 197 | let secp = Secp::from_hex(&sk_hex)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/main.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let out = match run_attempt(&*executor, &prev_hash_bytes, nonce, &sizes) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/main.rs:214:16 [INFO] [stdout] | [INFO] [stdout] 214 | Ok(out) => out, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `work_root_hex` [INFO] [stdout] --> src/main.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | let work_root_hex = out.work_root.encode_hex::(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_work_root_hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receipt` [INFO] [stdout] --> src/main.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let mut receipt = WorkReceipt { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receipt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/main.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | let sig = match secp.sign_receipt(&receipt) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/main.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | Ok(sig) => sig, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/main.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | let url = config.aggregator_url.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/main.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | let client = reqwest::Client::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `submission_result` [INFO] [stdout] --> src/main.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | let submission_result = client.post(&url).json(&receipt).send().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_submission_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resp` [INFO] [stdout] --> src/main.rs:258:16 [INFO] [stdout] | [INFO] [stdout] 258 | Ok(resp) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/main.rs:259:21 [INFO] [stdout] | [INFO] [stdout] 259 | let status = resp.status(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/main.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | let body = resp.text().await.unwrap_or_default(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_metrics` [INFO] [stdout] --> src/main.rs:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | let current_metrics = metrics.get_metrics(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_metrics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `health_status` [INFO] [stdout] --> src/main.rs:288:17 [INFO] [stdout] | [INFO] [stdout] 288 | let health_status = metrics.get_health_status(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_health_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_target_ms` is never used [INFO] [stdout] --> src/main.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn parse_target_ms() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `candidate_sizes` is never used [INFO] [stdout] --> src/main.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn candidate_sizes() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next_u32` is never used [INFO] [stdout] --> src/prng.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl DPrng { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn next_u32(&mut self) -> u32 { self.0.next_u32() } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GEMM_INT8` is never used [INFO] [stdout] --> src/cl_kernels.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const GEMM_INT8: &str = r#" [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GpuExec` is never constructed [INFO] [stdout] --> src/gpu.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct GpuExec; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/gpu.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl GpuExec { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 91 | pub fn new() -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `y1` and `y2_samples` are never read [INFO] [stdout] --> src/attempt.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AttemptOutput { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 6 | pub work_root: [u8;32], [INFO] [stdout] 7 | pub y1: Vec, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | pub y2_samples: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_health_check_interval` is never used [INFO] [stdout] --> src/config.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn get_health_check_interval(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Validation` is never constructed [INFO] [stdout] --> src/metrics.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 205 | pub enum ErrorType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 209 | Validation, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_retries`, `retry_delay`, `backoff_multiplier`, and `max_retry_delay` are never read [INFO] [stdout] --> src/error_handling.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RetryConfig { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 7 | pub max_retries: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub retry_delay: Duration, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | pub backoff_multiplier: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub max_retry_delay: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RetryConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `failure_threshold`, `recovery_timeout`, and `state` are never read [INFO] [stdout] --> src/error_handling.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct CircuitBreaker { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 26 | failure_threshold: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | recovery_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | state: Arc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CircuitBreaker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `failure_count` is never read [INFO] [stdout] --> src/error_handling.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | Closed { failure_count: u32 }, [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CircuitBreakerState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Open` and `HalfOpen` are never constructed [INFO] [stdout] --> src/error_handling.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | enum CircuitBreakerState { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 33 | Closed { failure_count: u32 }, [INFO] [stdout] 34 | Open { opened_at: Instant }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | HalfOpen, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CircuitBreakerState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `can_execute`, `record_success`, `record_failure`, and `get_state` are never used [INFO] [stdout] --> src/error_handling.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl CircuitBreaker { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn can_execute(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn record_success(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn record_failure(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn get_state(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `circuit_breaker` is never read [INFO] [stdout] --> src/error_handling.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub struct ErrorHandler { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 107 | retry_config: RetryConfig, [INFO] [stdout] 108 | circuit_breaker: CircuitBreaker, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_circuit_breaker`, `execute_with_retry`, `handle_validation_error`, and `get_circuit_breaker_status` are never used [INFO] [stdout] --> src/error_handling.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 112 | impl ErrorHandler { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn with_circuit_breaker(mut self, failure_threshold: u32, recovery_timeout: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub async fn execute_with_retry(&self, operation: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn handle_validation_error(&self, error: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn get_circuit_breaker_status(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_healthy` is never used [INFO] [stdout] --> src/health.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl HealthChecker { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn is_healthy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `gpu_errors`, `network_errors`, `signature_errors`, `validation_errors`, and `network_latency_ms` are never read [INFO] [stdout] --> src/prometheus_metrics.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PrometheusMetrics { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | gpu_errors: Counter, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | network_errors: Counter, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 18 | signature_errors: Counter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | validation_errors: Counter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | network_latency_ms: Histogram, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `record_error`, `record_network_latency`, and `get_registry` are never used [INFO] [stdout] --> src/prometheus_metrics.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl PrometheusMetrics { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn record_error(&self, error_type: ErrorType) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn record_network_latency(&self, latency_ms: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn get_registry(&self) -> &Registry { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_metric_help_text` is never used [INFO] [stdout] --> src/prometheus_metrics.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn get_metric_help_text() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | let mut nonce: u32 = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_handler` [INFO] [stdout] --> src/main.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let error_handler = ErrorHandler::new(Arc::clone(&metrics)) [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_handler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rate_limiter` [INFO] [stdout] --> src/main.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let rate_limiter = RateLimiter::new(config.max_concurrent_requests, config.rate_limit_per_second as f64); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rate_limiter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_did` [INFO] [stdout] --> src/main.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let device_did = config.device_did; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_did` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `epoch_id` [INFO] [stdout] --> src/main.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let epoch_id: u64 = 1; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_epoch_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_hash_bytes` [INFO] [stdout] --> src/main.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let prev_hash_bytes: [u8;32] = hex::decode(prev_hash_hex)?.try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_hash_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nonce` [INFO] [stdout] --> src/main.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | let mut nonce: u32 = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nonce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `executor` [INFO] [stdout] --> src/main.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let executor: Box = { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_executor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sizes` [INFO] [stdout] --> src/main.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | let sizes = if config.autotune_disable { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sizes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_hex` [INFO] [stdout] --> src/main.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | let sk_hex = config.worker_sk_hex; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secp` [INFO] [stdout] --> src/main.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | let secp = Secp::from_hex(&sk_hex)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_secp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/main.rs:197:16 [INFO] [stdout] | [INFO] [stdout] 197 | let secp = Secp::from_hex(&sk_hex)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/main.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let out = match run_attempt(&*executor, &prev_hash_bytes, nonce, &sizes) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/main.rs:214:16 [INFO] [stdout] | [INFO] [stdout] 214 | Ok(out) => out, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `work_root_hex` [INFO] [stdout] --> src/main.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | let work_root_hex = out.work_root.encode_hex::(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_work_root_hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receipt` [INFO] [stdout] --> src/main.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let mut receipt = WorkReceipt { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receipt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/main.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | let sig = match secp.sign_receipt(&receipt) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/main.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | Ok(sig) => sig, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/main.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | let url = config.aggregator_url.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/main.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | let client = reqwest::Client::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `submission_result` [INFO] [stdout] --> src/main.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | let submission_result = client.post(&url).json(&receipt).send().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_submission_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resp` [INFO] [stdout] --> src/main.rs:258:16 [INFO] [stdout] | [INFO] [stdout] 258 | Ok(resp) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/main.rs:259:21 [INFO] [stdout] | [INFO] [stdout] 259 | let status = resp.status(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/main.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | let body = resp.text().await.unwrap_or_default(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_metrics` [INFO] [stdout] --> src/main.rs:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | let current_metrics = metrics.get_metrics(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_metrics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `health_status` [INFO] [stdout] --> src/main.rs:288:17 [INFO] [stdout] | [INFO] [stdout] 288 | let health_status = metrics.get_health_status(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_health_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_target_ms` is never used [INFO] [stdout] --> src/main.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn parse_target_ms() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `candidate_sizes` is never used [INFO] [stdout] --> src/main.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn candidate_sizes() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next_u32` is never used [INFO] [stdout] --> src/prng.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl DPrng { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn next_u32(&mut self) -> u32 { self.0.next_u32() } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GEMM_INT8` is never used [INFO] [stdout] --> src/cl_kernels.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const GEMM_INT8: &str = r#" [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GpuExec` is never constructed [INFO] [stdout] --> src/gpu.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct GpuExec; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/gpu.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl GpuExec { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 91 | pub fn new() -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `y1` and `y2_samples` are never read [INFO] [stdout] --> src/attempt.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AttemptOutput { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 6 | pub work_root: [u8;32], [INFO] [stdout] 7 | pub y1: Vec, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | pub y2_samples: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_health_check_interval` is never used [INFO] [stdout] --> src/config.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn get_health_check_interval(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Validation` is never constructed [INFO] [stdout] --> src/metrics.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 205 | pub enum ErrorType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 209 | Validation, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_retries`, `retry_delay`, `backoff_multiplier`, and `max_retry_delay` are never read [INFO] [stdout] --> src/error_handling.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RetryConfig { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 7 | pub max_retries: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub retry_delay: Duration, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | pub backoff_multiplier: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub max_retry_delay: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RetryConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `failure_threshold`, `recovery_timeout`, and `state` are never read [INFO] [stdout] --> src/error_handling.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct CircuitBreaker { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 26 | failure_threshold: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | recovery_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | state: Arc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CircuitBreaker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `failure_count` is never read [INFO] [stdout] --> src/error_handling.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | Closed { failure_count: u32 }, [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CircuitBreakerState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Open` and `HalfOpen` are never constructed [INFO] [stdout] --> src/error_handling.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | enum CircuitBreakerState { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 33 | Closed { failure_count: u32 }, [INFO] [stdout] 34 | Open { opened_at: Instant }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | HalfOpen, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CircuitBreakerState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `can_execute`, `record_success`, `record_failure`, and `get_state` are never used [INFO] [stdout] --> src/error_handling.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl CircuitBreaker { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn can_execute(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn record_success(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn record_failure(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn get_state(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `circuit_breaker` is never read [INFO] [stdout] --> src/error_handling.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub struct ErrorHandler { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 107 | retry_config: RetryConfig, [INFO] [stdout] 108 | circuit_breaker: CircuitBreaker, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_circuit_breaker`, `execute_with_retry`, `handle_validation_error`, and `get_circuit_breaker_status` are never used [INFO] [stdout] --> src/error_handling.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 112 | impl ErrorHandler { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn with_circuit_breaker(mut self, failure_threshold: u32, recovery_timeout: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub async fn execute_with_retry(&self, operation: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn handle_validation_error(&self, error: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn get_circuit_breaker_status(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_healthy` is never used [INFO] [stdout] --> src/health.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl HealthChecker { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn is_healthy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `gpu_errors`, `network_errors`, `signature_errors`, `validation_errors`, and `network_latency_ms` are never read [INFO] [stdout] --> src/prometheus_metrics.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PrometheusMetrics { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | gpu_errors: Counter, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | network_errors: Counter, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 18 | signature_errors: Counter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | validation_errors: Counter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | network_latency_ms: Histogram, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `record_error`, `record_network_latency`, and `get_registry` are never used [INFO] [stdout] --> src/prometheus_metrics.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl PrometheusMetrics { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn record_error(&self, error_type: ErrorType) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn record_network_latency(&self, latency_ms: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn get_registry(&self) -> &Registry { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_metric_help_text` is never used [INFO] [stdout] --> src/prometheus_metrics.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn get_metric_help_text() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "0c7367b58b4d13d4150603b1f167ba5a9e859e34e6aa3690f5553532290ddade", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c7367b58b4d13d4150603b1f167ba5a9e859e34e6aa3690f5553532290ddade", kill_on_drop: false }` [INFO] [stdout] 0c7367b58b4d13d4150603b1f167ba5a9e859e34e6aa3690f5553532290ddade