[INFO] cloning repository https://github.com/ryuken25/hash256
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ryuken25/hash256" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryuken25%2Fhash256", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryuken25%2Fhash256'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 57ec7645b29a79b27784e2f2ad274faebae4c5e3
[INFO] checking ryuken25/hash256 against try#24e1a22664233bce1f9b5dc6eee7c1f74327e28c for pr-159343
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryuken25%2Fhash256" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ryuken25/hash256
[INFO] finished tweaking git repo https://github.com/ryuken25/hash256
[INFO] tweaked toml for git repo https://github.com/ryuken25/hash256 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ryuken25/hash256 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/ryuken25/hash256 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-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] e9462f53ac66c1fdcc52abeffafe811a97dd4830c05f9bc6bef14deb4f7c671d
[INFO] running `Command { std: "docker" "start" "e9462f53ac66c1fdcc52abeffafe811a97dd4830c05f9bc6bef14deb4f7c671d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e9462f53ac66c1fdcc52abeffafe811a97dd4830c05f9bc6bef14deb4f7c671d", 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" "e9462f53ac66c1fdcc52abeffafe811a97dd4830c05f9bc6bef14deb4f7c671d" "/opt/rustwide/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e9462f53ac66c1fdcc52abeffafe811a97dd4830c05f9bc6bef14deb4f7c671d", 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" "e9462f53ac66c1fdcc52abeffafe811a97dd4830c05f9bc6bef14deb4f7c671d" "/opt/rustwide/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] Checking subtle v2.6.1
[INFO] [stderr] Compiling generic-array v0.14.9
[INFO] [stderr] Compiling unicode-segmentation v1.13.2
[INFO] [stderr] Compiling tiny-keccak v2.0.2
[INFO] [stderr] Compiling ruint-macro v1.2.1
[INFO] [stderr] Checking der v0.7.10
[INFO] [stderr] Checking foldhash v0.1.5
[INFO] [stderr] Checking const-hex v1.19.0
[INFO] [stderr] Compiling serde_core v1.0.228
[INFO] [stderr] Compiling alloy-rlp-derive v0.3.15
[INFO] [stderr] Compiling serde v1.0.228
[INFO] [stderr] Checking serde_json v1.0.149
[INFO] [stderr] Compiling winnow v0.7.15
[INFO] [stderr] Compiling memchr v2.8.0
[INFO] [stderr] Compiling macro-string v0.1.4
[INFO] [stderr] Checking ff v0.13.1
[INFO] [stderr] Checking group v0.13.0
[INFO] [stderr] Compiling syn-solidity v0.8.26
[INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr] Compiling derive_more-impl v1.0.0
[INFO] [stderr] Compiling openssl-sys v0.9.115
[INFO] [stderr] Compiling auto_impl v1.3.0
[INFO] [stderr] Compiling convert_case v0.10.0
[INFO] [stderr] Compiling thiserror v2.0.18
[INFO] [stderr] Checking spki v0.7.3
[INFO] [stderr] Compiling proc-macro-error2 v2.0.1
[INFO] [stderr] Checking pkcs8 v0.10.2
[INFO] [stderr] Compiling openssl v0.10.79
[INFO] [stderr] Compiling openssl-macros v0.1.1
[INFO] [stderr] Compiling derive_more-impl v2.1.1
[INFO] [stderr] Compiling ahash v0.8.12
[INFO] [stderr] Checking bytes v1.11.1
[INFO] [stderr] Checking smallvec v1.15.1
[INFO] [stderr] Checking arrayvec v0.7.6
[INFO] [stderr] Checking hashbrown v0.15.5
[INFO] [stderr] Compiling native-tls v0.2.18
[INFO] [stderr] Checking either v1.15.0
[INFO] [stderr] Checking rustls v0.23.40
[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 sec1 v0.7.3
[INFO] [stderr] Checking nybbles v0.3.4
[INFO] [stderr] Checking icu_normalizer v2.2.0
[INFO] [stderr] Checking alloy-rlp v0.3.15
[INFO] [stderr] Checking digest v0.10.7
[INFO] [stderr] Checking tokio v1.52.3
[INFO] [stderr] Checking http v1.4.0
[INFO] [stderr] Checking itertools v0.13.0
[INFO] [stderr] Checking ruint v1.18.0
[INFO] [stderr] Checking hmac v0.12.1
[INFO] [stderr] Checking rfc6979 v0.4.0
[INFO] [stderr] Checking signature v2.2.0
[INFO] [stderr] Checking sha2 v0.10.9
[INFO] [stderr] Checking alloy-sol-type-parser v0.8.26
[INFO] [stderr] Checking idna_adapter v1.2.2
[INFO] [stderr] Checking futures-utils-wasm v0.1.0
[INFO] [stderr] Checking serde_urlencoded v0.7.1
[INFO] [stderr] Checking idna v1.1.0
[INFO] [stderr] Checking hashbrown v0.14.5
[INFO] [stderr] Checking http-body v1.0.1
[INFO] [stderr] Checking parking_lot_core v0.9.12
[INFO] [stderr] Compiling strum_macros v0.27.2
[INFO] [stderr] Checking http-body-util v0.1.3
[INFO] [stderr] Compiling num_enum_derive v0.7.6
[INFO] [stderr] Compiling pin-project-internal v1.1.12
[INFO] [stderr] Checking url v2.5.8
[INFO] [stderr] Compiling async-stream-impl v0.3.6
[INFO] [stderr] Compiling cl-sys v0.4.3
[INFO] [stderr] Checking hashbrown v0.13.2
[INFO] [stderr] Checking elliptic-curve v0.13.8
[INFO] [stderr] Checking crossbeam-deque v0.8.6
[INFO] [stderr] Checking dashmap v6.1.0
[INFO] [stderr] Compiling ocl-core v0.11.5
[INFO] [stderr] Checking async-stream v0.3.6
[INFO] [stderr] Checking parking_lot v0.12.5
[INFO] [stderr] Checking num-traits v0.1.43
[INFO] [stderr] Checking lru v0.12.5
[INFO] [stderr] Checking crossbeam-channel v0.5.15
[INFO] [stderr] Checking crossbeam-queue v0.3.12
[INFO] [stderr] Checking ecdsa v0.16.9
[INFO] [stderr] Compiling libsqlite3-sys v0.30.1
[INFO] [stderr] Checking pin-project v1.1.12
[INFO] [stderr] Checking schnellru v0.2.4
[INFO] [stderr] Checking crossbeam v0.8.4
[INFO] [stderr] Checking num_enum v0.7.6
[INFO] [stderr] Checking enum_primitive v0.1.1
[INFO] [stderr] Checking num-complex v0.4.6
[INFO] [stderr] Checking ocl-core-vector v0.1.1
[INFO] [stderr] Checking qutex v0.2.6
[INFO] [stderr] Checking k256 v0.13.4
[INFO] [stderr] Checking axum-core v0.4.5
[INFO] [stderr] Checking derive_more v1.0.0
[INFO] [stderr] Checking hashlink v0.9.1
[INFO] [stderr] Checking tracing-serde v0.2.0
[INFO] [stderr] Checking rtoolbox v0.0.5
[INFO] [stderr] Checking indenter v0.3.4
[INFO] [stderr] Checking nodrop v0.1.14
[INFO] [stderr] Compiling hash256 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] Checking rustc-hex v2.1.0
[INFO] [stderr] Checking chrono v0.4.44
[INFO] [stderr] Checking tracing-subscriber v0.3.23
[INFO] [stderr] Checking rlp v0.5.2
[INFO] [stderr] Checking sha3 v0.10.9
[INFO] [stderr] Checking rpassword v7.5.2
[INFO] [stderr] Checking eyre v0.6.12
[INFO] [stderr] Checking strum v0.27.2
[INFO] [stderr] Checking derive_more v2.1.1
[INFO] [stderr] Checking alloy-primitives v0.8.26
[INFO] [stderr] Checking alloy-json-abi v0.8.26
[INFO] [stderr] Checking alloy-eip7702 v0.4.2
[INFO] [stderr] Checking alloy-eip2930 v0.1.0
[INFO] [stderr] Checking alloy-serde v0.8.3
[INFO] [stderr] Checking alloy-trie v0.7.9
[INFO] [stderr] Checking alloy-signer v0.8.3
[INFO] [stderr] Checking alloy-chains v0.1.69
[INFO] [stderr] Checking hyper v1.9.0
[INFO] [stderr] Checking tower v0.5.3
[INFO] [stderr] Checking tokio-native-tls v0.3.1
[INFO] [stderr] Checking tokio-rustls v0.26.4
[INFO] [stderr] Checking tokio-util v0.7.18
[INFO] [stderr] Checking tokio-stream v0.1.18
[INFO] [stderr] Checking alloy-eips v0.8.3
[INFO] [stderr] Checking tower-http v0.6.10
[INFO] [stderr] Checking alloy-consensus v0.8.3
[INFO] [stderr] Checking hyper-util v0.1.20
[INFO] [stderr] Compiling alloy-sol-macro-input v0.8.26
[INFO] [stderr] Compiling alloy-sol-macro-expander v0.8.26
[INFO] [stderr] Checking ocl v0.19.7
[INFO] [stderr] Checking alloy-network-primitives v0.8.3
[INFO] [stderr] Checking alloy-consensus-any v0.8.3
[INFO] [stderr] Checking hyper-tls v0.6.0
[INFO] [stderr] Checking hyper-rustls v0.27.9
[INFO] [stderr] Checking axum v0.7.9
[INFO] [stderr] Checking reqwest v0.12.28
[INFO] [stderr] Compiling alloy-sol-macro v0.8.26
[INFO] [stderr] Checking alloy-sol-types v0.8.26
[INFO] [stderr] Checking rusqlite v0.32.1
[INFO] [stderr] Checking alloy-json-rpc v0.8.3
[INFO] [stderr] Checking alloy-rpc-types-eth v0.8.3
[INFO] [stderr] Checking alloy-dyn-abi v0.8.26
[INFO] [stderr] Checking alloy-transport v0.8.3
[INFO] [stderr] Checking alloy-core v0.8.26
[INFO] [stderr] Checking alloy-transport-http v0.8.3
[INFO] [stderr] Checking alloy-rpc-client v0.8.3
[INFO] [stderr] Checking alloy-rpc-types-any v0.8.3
[INFO] [stderr] Checking alloy-rpc-types v0.8.3
[INFO] [stderr] Checking alloy-network v0.8.3
[INFO] [stderr] Checking alloy-provider v0.8.3
[INFO] [stderr] Checking alloy-signer-local v0.8.3
[INFO] [stderr] Checking alloy-contract v0.8.3
[INFO] [stderr] Checking alloy v0.8.3
[INFO] [stdout] warning: unused imports: `NoncePrefix` and `pow_nonce_from_parts`
[INFO] [stdout] --> src/worker.rs:15:37
[INFO] [stdout] |
[INFO] [stdout] 15 | nonce_space::{parse_prefix_hex, pow_nonce_from_parts, NoncePrefix},
[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 imports: `NoncePrefix` and `pow_nonce_from_parts`
[INFO] [stdout] --> src/worker.rs:15:37
[INFO] [stdout] |
[INFO] [stdout] 15 | nonce_space::{parse_prefix_hex, pow_nonce_from_parts, NoncePrefix},
[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 imports: `NoncePrefix` and `pow_nonce_from_parts`
[INFO] [stdout] --> src/worker.rs:15:37
[INFO] [stdout] |
[INFO] [stdout] 15 | nonce_space::{parse_prefix_hex, pow_nonce_from_parts, NoncePrefix},
[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 imports: `NoncePrefix` and `pow_nonce_from_parts`
[INFO] [stdout] --> src/worker.rs:15:37
[INFO] [stdout] |
[INFO] [stdout] 15 | nonce_space::{parse_prefix_hex, pow_nonce_from_parts, NoncePrefix},
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `miner_address_required` is never used
[INFO] [stdout] --> src/config.rs:133:12
[INFO] [stdout] |
[INFO] [stdout] 67 | impl AppConfig {
[INFO] [stdout] | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 133 | pub fn miner_address_required(&self) -> Result
{
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `version` is never read
[INFO] [stdout] --> src/coordinator.rs:76:9
[INFO] [stdout] |
[INFO] [stdout] 71 | pub struct RegisterRequest {
[INFO] [stdout] | --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 76 | pub version: Option,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `RegisterRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `challenge` and `created_at_time` are never read
[INFO] [stdout] --> src/db.rs:20:9
[INFO] [stdout] |
[INFO] [stdout] 15 | pub struct TxRecord {
[INFO] [stdout] | -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 | pub challenge: String,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 | pub created_at_time: i64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `TxRecord` 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: constant `STATUS_PENDING` is never used
[INFO] [stdout] --> src/db.rs:30:11
[INFO] [stdout] |
[INFO] [stdout] 30 | pub const STATUS_PENDING: &str = "pending";
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `STATUS_CANCELLED` is never used
[INFO] [stdout] --> src/db.rs:34:11
[INFO] [stdout] |
[INFO] [stdout] 34 | pub const STATUS_CANCELLED: &str = "cancelled";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `STATUS_STALE` is never used
[INFO] [stdout] --> src/db.rs:35:11
[INFO] [stdout] |
[INFO] [stdout] 35 | pub const STATUS_STALE: &str = "stale";
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: type alias `Result` is never used
[INFO] [stdout] --> src/errors.rs:3:10
[INFO] [stdout] |
[INFO] [stdout] 3 | pub type Result = std::result::Result;
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `render` is never used
[INFO] [stdout] --> src/metrics.rs:82:12
[INFO] [stdout] |
[INFO] [stdout] 30 | impl Metrics {
[INFO] [stdout] | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 82 | pub fn render(&self) -> String {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: methods `current_counter` and `set_counter` are never used
[INFO] [stdout] --> src/nonce_space.rs:81:12
[INFO] [stdout] |
[INFO] [stdout] 20 | impl NonceAllocator {
[INFO] [stdout] | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 81 | pub fn current_counter(&self) -> u64 {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85 | pub fn set_counter(&mut self, c: u64) {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `priority_suggestion` is never read
[INFO] [stdout] --> src/rpc_pool.rs:47:9
[INFO] [stdout] |
[INFO] [stdout] 45 | pub struct FeeSnapshot {
[INFO] [stdout] | ----------- field in this struct
[INFO] [stdout] 46 | pub base_fee_per_gas: u128,
[INFO] [stdout] 47 | pub priority_suggestion: u128,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `FeeSnapshot` 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: field `tx_hash` is never read
[INFO] [stdout] --> src/rpc_pool.rs:54:9
[INFO] [stdout] |
[INFO] [stdout] 51 | pub struct ReceiptInfo {
[INFO] [stdout] | ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 54 | pub tx_hash: B256,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ReceiptInfo` 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: field `tx_hash` is never read
[INFO] [stdout] --> src/rpc_pool.rs:59:9
[INFO] [stdout] |
[INFO] [stdout] 58 | pub struct BroadcastOutcome {
[INFO] [stdout] | ---------------- field in this struct
[INFO] [stdout] 59 | pub tx_hash: String,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `BroadcastOutcome` 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: method `best_read_url` is never used
[INFO] [stdout] --> src/rpc_pool.rs:168:18
[INFO] [stdout] |
[INFO] [stdout] 65 | impl RpcPool {
[INFO] [stdout] | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 168 | pub async fn best_read_url(&self) -> Result {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `device_index` is never read
[INFO] [stdout] --> src/gpu/mod.rs:23:5
[INFO] [stdout] |
[INFO] [stdout] 18 | pub struct GpuMiner {
[INFO] [stdout] | -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 | device_index: usize,
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated items `new` and `device_index` are never used
[INFO] [stdout] --> src/gpu/mod.rs:31:12
[INFO] [stdout] |
[INFO] [stdout] 30 | impl GpuMiner {
[INFO] [stdout] | ------------- associated items in this implementation
[INFO] [stdout] 31 | pub fn new(batch_size: Option) -> Result {
[INFO] [stdout] | ^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 | pub fn device_index(&self) -> usize {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `last_counter` is never read
[INFO] [stdout] --> src/gpu/mod.rs:263:26
[INFO] [stdout] |
[INFO] [stdout] 263 | Found { nonce: U256, last_counter: u64 },
[INFO] [stdout] | ----- ^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | field in this variant
[INFO] [stdout] |
[INFO] [stdout] = note: `MineOutcome` 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: field `last_counter` is never read
[INFO] [stdout] --> src/gpu/mod.rs:264:15
[INFO] [stdout] |
[INFO] [stdout] 264 | Aborted { last_counter: u64 },
[INFO] [stdout] | ------- ^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | field in this variant
[INFO] [stdout] |
[INFO] [stdout] = note: `MineOutcome` 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: method `miner_address_required` is never used
[INFO] [stdout] --> src/config.rs:133:12
[INFO] [stdout] |
[INFO] [stdout] 67 | impl AppConfig {
[INFO] [stdout] | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 133 | pub fn miner_address_required(&self) -> Result {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `version` is never read
[INFO] [stdout] --> src/coordinator.rs:76:9
[INFO] [stdout] |
[INFO] [stdout] 71 | pub struct RegisterRequest {
[INFO] [stdout] | --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 76 | pub version: Option,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `RegisterRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `challenge` and `created_at_time` are never read
[INFO] [stdout] --> src/db.rs:20:9
[INFO] [stdout] |
[INFO] [stdout] 15 | pub struct TxRecord {
[INFO] [stdout] | -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 | pub challenge: String,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 | pub created_at_time: i64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `TxRecord` 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: constant `STATUS_PENDING` is never used
[INFO] [stdout] --> src/db.rs:30:11
[INFO] [stdout] |
[INFO] [stdout] 30 | pub const STATUS_PENDING: &str = "pending";
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `STATUS_CANCELLED` is never used
[INFO] [stdout] --> src/db.rs:34:11
[INFO] [stdout] |
[INFO] [stdout] 34 | pub const STATUS_CANCELLED: &str = "cancelled";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `STATUS_STALE` is never used
[INFO] [stdout] --> src/db.rs:35:11
[INFO] [stdout] |
[INFO] [stdout] 35 | pub const STATUS_STALE: &str = "stale";
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: type alias `Result` is never used
[INFO] [stdout] --> src/errors.rs:3:10
[INFO] [stdout] |
[INFO] [stdout] 3 | pub type Result = std::result::Result;
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `defaults_for` is never used
[INFO] [stdout] --> src/gas.rs:42:8
[INFO] [stdout] |
[INFO] [stdout] 42 | pub fn defaults_for(mode: GasMode) -> (f64, f64) {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `render` is never used
[INFO] [stdout] --> src/metrics.rs:82:12
[INFO] [stdout] |
[INFO] [stdout] 30 | impl Metrics {
[INFO] [stdout] | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 82 | pub fn render(&self) -> String {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: methods `current_counter` and `set_counter` are never used
[INFO] [stdout] --> src/nonce_space.rs:81:12
[INFO] [stdout] |
[INFO] [stdout] 20 | impl NonceAllocator {
[INFO] [stdout] | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 81 | pub fn current_counter(&self) -> u64 {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85 | pub fn set_counter(&mut self, c: u64) {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `priority_suggestion` is never read
[INFO] [stdout] --> src/rpc_pool.rs:47:9
[INFO] [stdout] |
[INFO] [stdout] 45 | pub struct FeeSnapshot {
[INFO] [stdout] | ----------- field in this struct
[INFO] [stdout] 46 | pub base_fee_per_gas: u128,
[INFO] [stdout] 47 | pub priority_suggestion: u128,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `FeeSnapshot` 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: field `tx_hash` is never read
[INFO] [stdout] --> src/rpc_pool.rs:54:9
[INFO] [stdout] |
[INFO] [stdout] 51 | pub struct ReceiptInfo {
[INFO] [stdout] | ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 54 | pub tx_hash: B256,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ReceiptInfo` 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: field `tx_hash` is never read
[INFO] [stdout] --> src/rpc_pool.rs:59:9
[INFO] [stdout] |
[INFO] [stdout] 58 | pub struct BroadcastOutcome {
[INFO] [stdout] | ---------------- field in this struct
[INFO] [stdout] 59 | pub tx_hash: String,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `BroadcastOutcome` 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: method `best_read_url` is never used
[INFO] [stdout] --> src/rpc_pool.rs:168:18
[INFO] [stdout] |
[INFO] [stdout] 65 | impl RpcPool {
[INFO] [stdout] | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 168 | pub async fn best_read_url(&self) -> Result {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_rpc_urls` is never used
[INFO] [stdout] --> src/rpc_pool.rs:467:8
[INFO] [stdout] |
[INFO] [stdout] 467 | pub fn parse_rpc_urls(raw: &str) -> Vec {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `classify_tx_error` is never used
[INFO] [stdout] --> src/submitter.rs:394:8
[INFO] [stdout] |
[INFO] [stdout] 394 | pub fn classify_tx_error(msg: &str) -> &'static str {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `device_index` is never read
[INFO] [stdout] --> src/gpu/mod.rs:23:5
[INFO] [stdout] |
[INFO] [stdout] 18 | pub struct GpuMiner {
[INFO] [stdout] | -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 | device_index: usize,
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated items `new` and `device_index` are never used
[INFO] [stdout] --> src/gpu/mod.rs:31:12
[INFO] [stdout] |
[INFO] [stdout] 30 | impl GpuMiner {
[INFO] [stdout] | ------------- associated items in this implementation
[INFO] [stdout] 31 | pub fn new(batch_size: Option) -> Result {
[INFO] [stdout] | ^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 | pub fn device_index(&self) -> usize {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `last_counter` is never read
[INFO] [stdout] --> src/gpu/mod.rs:263:26
[INFO] [stdout] |
[INFO] [stdout] 263 | Found { nonce: U256, last_counter: u64 },
[INFO] [stdout] | ----- ^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | field in this variant
[INFO] [stdout] |
[INFO] [stdout] = note: `MineOutcome` 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: field `last_counter` is never read
[INFO] [stdout] --> src/gpu/mod.rs:264:15
[INFO] [stdout] |
[INFO] [stdout] 264 | Aborted { last_counter: u64 },
[INFO] [stdout] | ------- ^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | field in this variant
[INFO] [stdout] |
[INFO] [stdout] = note: `MineOutcome` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 13s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "e9462f53ac66c1fdcc52abeffafe811a97dd4830c05f9bc6bef14deb4f7c671d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9462f53ac66c1fdcc52abeffafe811a97dd4830c05f9bc6bef14deb4f7c671d", kill_on_drop: false }`
[INFO] [stdout] e9462f53ac66c1fdcc52abeffafe811a97dd4830c05f9bc6bef14deb4f7c671d