[INFO] cloning repository https://github.com/Silexperience210/sentinelnet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Silexperience210/sentinelnet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSilexperience210%2Fsentinelnet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSilexperience210%2Fsentinelnet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 50442a4044716b5ce6e5005befb33d271daab73f [INFO] checking Silexperience210/sentinelnet against master#c290daa1e5274a52e54a0f49e31bd70192abc606 for pr-133502-23 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSilexperience210%2Fsentinelnet" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Silexperience210/sentinelnet [INFO] finished tweaking git repo https://github.com/Silexperience210/sentinelnet [INFO] tweaked toml for git repo https://github.com/Silexperience210/sentinelnet written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Silexperience210/sentinelnet on toolchain c290daa1e5274a52e54a0f49e31bd70192abc606 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Silexperience210/sentinelnet 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" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fs2 v0.4.3 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.67 [INFO] [stderr] Downloaded bitcoincore-rpc-json v0.18.0 [INFO] [stderr] Downloaded openssl-sys v0.9.112 [INFO] [stderr] Downloaded cc v1.2.59 [INFO] [stderr] Downloaded bech32 v0.10.0-beta [INFO] [stderr] Downloaded bitcoincore-rpc v0.18.0 [INFO] [stderr] Downloaded procfs-core v0.16.0 [INFO] [stderr] Downloaded shellexpand v3.1.2 [INFO] [stderr] Downloaded secp256k1 v0.28.2 [INFO] [stderr] Downloaded bitcoin_hashes v0.13.1 [INFO] [stderr] Downloaded protobuf v2.28.0 [INFO] [stderr] Downloaded jsonrpc v0.14.1 [INFO] [stderr] Downloaded procfs v0.16.0 [INFO] [stderr] Downloaded bitcoin v0.31.3 [INFO] [stderr] Downloaded sled v0.34.7 [INFO] [stderr] Downloaded web-sys v0.3.94 [INFO] [stderr] Downloaded prometheus v0.13.4 [INFO] [stderr] Downloaded hex_lit v0.1.1 [INFO] [stderr] Downloaded tokio v1.51.1 [INFO] [stderr] Downloaded openssl v0.10.76 [INFO] [stderr] Downloaded secp256k1-sys v0.9.2 [INFO] [stderr] Downloaded bitcoin-internals v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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] aa83b9807c01b85baf7e23bb3fa23b23dfa51c5ece3f20ac15c69d4c0ec6b3b7 [INFO] running `Command { std: "docker" "start" "aa83b9807c01b85baf7e23bb3fa23b23dfa51c5ece3f20ac15c69d4c0ec6b3b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa83b9807c01b85baf7e23bb3fa23b23dfa51c5ece3f20ac15c69d4c0ec6b3b7", 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" "aa83b9807c01b85baf7e23bb3fa23b23dfa51c5ece3f20ac15c69d4c0ec6b3b7" "/opt/rustwide/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa83b9807c01b85baf7e23bb3fa23b23dfa51c5ece3f20ac15c69d4c0ec6b3b7", 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" "aa83b9807c01b85baf7e23bb3fa23b23dfa51c5ece3f20ac15c69d4c0ec6b3b7" "/opt/rustwide/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling cc v1.2.59 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking zerocopy v0.8.48 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling bitcoin-internals v0.2.1 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking hex-conservative v0.1.2 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling bitcoin v0.31.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking anstyle-parse v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling procfs v0.16.0 [INFO] [stderr] Checking anstyle v1.0.14 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking colorchoice v1.0.5 [INFO] [stderr] Checking bech32 v0.10.0-beta [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Checking anstream v1.0.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking indexmap v2.13.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking winnow v0.7.15 [INFO] [stderr] Checking clap_lex v1.1.0 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Checking procfs-core v0.16.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking clap_builder v4.6.0 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Checking mio v1.2.0 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking shellexpand v3.1.2 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Checking getrandom v0.4.2 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking tokio v1.51.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking zerofrom v0.1.7 [INFO] [stderr] Checking yoke v0.8.2 [INFO] [stderr] Checking zerovec v0.11.6 [INFO] [stderr] Checking zerotrie v0.2.4 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking clap v4.6.0 [INFO] [stderr] Checking tinystr v0.8.3 [INFO] [stderr] Checking potential_utf v0.1.5 [INFO] [stderr] Checking icu_locale_core v2.2.0 [INFO] [stderr] Checking icu_collections v2.2.0 [INFO] [stderr] Checking icu_provider v2.2.0 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking icu_properties v2.2.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking bitcoin_hashes v0.13.1 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking jsonrpc v0.14.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking bitcoincore-rpc-json v0.18.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking bitcoincore-rpc v0.18.0 [INFO] [stderr] Checking sentinelnet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/client/lnd.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | use serde::{Deserialize, Serialize}; [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: `ClientConfig` [INFO] [stdout] --> src/client/lnd.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | pub use super::{ClientConfig, LndConfig}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/client/lnd.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | use serde::{Deserialize, Serialize}; [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: `ClientConfig` [INFO] [stdout] --> src/client/lnd.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | pub use super::{ClientConfig, LndConfig}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_util::sync::CancellationToken` [INFO] [stdout] --> src/bounty.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tokio_util::sync::CancellationToken; [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: `Context` and `Result` [INFO] [stdout] --> src/fee_bump.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Auth` [INFO] [stdout] --> src/fee_bump.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | use bitcoincore_rpc::{Auth, Client as BtcClient, RpcApi}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sleep` [INFO] [stdout] --> src/gossip.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | use tokio::time::{interval, sleep, Duration}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/lnd.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/watcher.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_util::sync::CancellationToken` [INFO] [stdout] --> src/bounty.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tokio_util::sync::CancellationToken; [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: `Context` and `Result` [INFO] [stdout] --> src/fee_bump.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Auth` [INFO] [stdout] --> src/fee_bump.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | use bitcoincore_rpc::{Auth, Client as BtcClient, RpcApi}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sleep` [INFO] [stdout] --> src/gossip.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | use tokio::time::{interval, sleep, Duration}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/lnd.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/watcher.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `open_channel` and `active_channel` are never read [INFO] [stdout] --> src/client/channel_events.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ChannelEventUpdate { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub open_channel: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | pub closed_channel: Option, [INFO] [stdout] 22 | pub active_channel: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChannelEventUpdate` has derived impls for the traits `Clone` and `Debug`, but these are 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: fields `capacity`, `local_balance`, `remote_balance`, and `active` are never read [INFO] [stdout] --> src/client/lnd.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct LndChannel { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | pub capacity: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | pub local_balance: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 49 | pub remote_balance: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 50 | pub active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LndChannel` 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 `local_balance` is never read [INFO] [stdout] --> src/client/lnd.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct ForceCloseChannelInfo { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 82 | pub local_balance: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ForceCloseChannelInfo` 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 `blocks_til_maturity` and `stage` are never read [INFO] [stdout] --> src/client/lnd.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct ForceCloseHtlc { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 93 | pub blocks_til_maturity: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 94 | pub stage: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ForceCloseHtlc` 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 `identity_pubkey` and `synced_to_chain` are never read [INFO] [stdout] --> src/client/lnd.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct NodeInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 104 | pub identity_pubkey: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub synced_to_chain: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeInfo` 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 `sig_script` is never read [INFO] [stdout] --> src/client/lnd.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct InputScript { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 120 | pub sig_script: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputScript` 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 `chan_id`, `remote_pubkey`, `csv_delay`, and `outpoints_confirmed` are never read [INFO] [stdout] --> src/client/lnd.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct ChannelWithHtlcs { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 127 | pub channel_point: String, [INFO] [stdout] 128 | pub chan_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 129 | pub remote_pubkey: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 130 | pub csv_delay: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub outpoints_confirmed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChannelWithHtlcs` 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 `htlc_index` is never read [INFO] [stdout] --> src/client/lnd.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct PendingHtlc { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 144 | pub htlc_index: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PendingHtlc` 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 `sign_raw_tx` is never used [INFO] [stdout] --> src/client/lnd.rs:399:18 [INFO] [stdout] | [INFO] [stdout] 155 | impl LndRestClient { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 399 | pub async fn sign_raw_tx(&self, raw_tx_hex: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `success`, `txid`, and `message` are never read [INFO] [stdout] --> src/client/register.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct RegistrationResponse { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 16 | pub success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | pub txid: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegistrationResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SignerBackend` is never used [INFO] [stdout] --> src/client/signer.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum SignerBackend { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_transaction` is never used [INFO] [stdout] --> src/client/signer.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn sign_transaction(raw_hex: &str, backend: &SignerBackend) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `open_channel` and `active_channel` are never read [INFO] [stdout] --> src/client/channel_events.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ChannelEventUpdate { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub open_channel: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | pub closed_channel: Option, [INFO] [stdout] 22 | pub active_channel: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChannelEventUpdate` has derived impls for the traits `Clone` and `Debug`, but these are 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: fields `capacity`, `local_balance`, `remote_balance`, and `active` are never read [INFO] [stdout] --> src/client/lnd.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct LndChannel { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | pub capacity: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | pub local_balance: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 49 | pub remote_balance: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 50 | pub active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LndChannel` 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 `local_balance` is never read [INFO] [stdout] --> src/client/lnd.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct ForceCloseChannelInfo { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 82 | pub local_balance: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ForceCloseChannelInfo` 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 `blocks_til_maturity` and `stage` are never read [INFO] [stdout] --> src/client/lnd.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct ForceCloseHtlc { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 93 | pub blocks_til_maturity: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 94 | pub stage: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ForceCloseHtlc` 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 `identity_pubkey` and `synced_to_chain` are never read [INFO] [stdout] --> src/client/lnd.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct NodeInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 104 | pub identity_pubkey: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub synced_to_chain: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeInfo` 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 `sig_script` is never read [INFO] [stdout] --> src/client/lnd.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct InputScript { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 120 | pub sig_script: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputScript` 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 `chan_id`, `remote_pubkey`, `csv_delay`, and `outpoints_confirmed` are never read [INFO] [stdout] --> src/client/lnd.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct ChannelWithHtlcs { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 127 | pub channel_point: String, [INFO] [stdout] 128 | pub chan_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 129 | pub remote_pubkey: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 130 | pub csv_delay: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub outpoints_confirmed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChannelWithHtlcs` 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 `htlc_index` is never read [INFO] [stdout] --> src/client/lnd.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct PendingHtlc { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 144 | pub htlc_index: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PendingHtlc` 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 `sign_raw_tx` is never used [INFO] [stdout] --> src/client/lnd.rs:399:18 [INFO] [stdout] | [INFO] [stdout] 155 | impl LndRestClient { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 399 | pub async fn sign_raw_tx(&self, raw_tx_hex: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `success`, `txid`, and `message` are never read [INFO] [stdout] --> src/client/register.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct RegistrationResponse { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 16 | pub success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | pub txid: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegistrationResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SignerBackend` is never used [INFO] [stdout] --> src/client/signer.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum SignerBackend { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_transaction` is never used [INFO] [stdout] --> src/client/signer.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn sign_transaction(raw_hex: &str, backend: &SignerBackend) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ManualTrigger` is never constructed [INFO] [stdout] --> src/defense.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum TriggerReason { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | ManualTrigger, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TriggerReason` has derived impls for the traits `Clone` and `Debug`, but these are 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: struct `FeeBumper` is never constructed [INFO] [stdout] --> src/fee_bump.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct FeeBumper { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `maybe_bump`, and `estimate_target_fee_rate` are never used [INFO] [stdout] --> src/fee_bump.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl FeeBumper { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 29 | pub fn new(rpc: Arc, bump_multiplier: f64, stuck_after_blocks: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn maybe_bump( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn estimate_target_fee_rate(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `payment_preimage` and `payment_route` are never read [INFO] [stdout] --> src/lnd.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct PaymentResponse { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub payment_preimage: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub payment_route: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PaymentResponse` 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 `num_active_channels`, `num_peers`, `block_height`, and `synced_to_chain` are never read [INFO] [stdout] --> src/lnd.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct NodeInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | pub num_active_channels: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub num_peers: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 44 | pub block_height: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 45 | pub synced_to_chain: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChannelsResponse` is never constructed [INFO] [stdout] --> src/lnd.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct ChannelsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Channel` is never constructed [INFO] [stdout] --> src/lnd.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Channel { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `list_channels` and `health_check` are never used [INFO] [stdout] --> src/lnd.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 65 | impl LndClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | pub async fn list_channels(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub async fn health_check(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `htlcs_expired`, `mempool_polls`, and `fee_bumps` are never read [INFO] [stdout] --> src/metrics.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Metrics { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub htlcs_expired: Counter, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub mempool_polls: Counter, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub fee_bumps: Counter, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unknown` is never constructed [INFO] [stdout] --> src/watcher.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum DisappearReason { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 29 | ReplacementCycling, // was in mempool, now gone, not confirmed [INFO] [stdout] 30 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DisappearReason` 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 `estimate_fee_rate` is never used [INFO] [stdout] --> src/watcher.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl MempoolWatcher { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn estimate_fee_rate(&self, conf_target: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ManualTrigger` is never constructed [INFO] [stdout] --> src/defense.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum TriggerReason { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | ManualTrigger, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TriggerReason` has derived impls for the traits `Clone` and `Debug`, but these are 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: struct `FeeBumper` is never constructed [INFO] [stdout] --> src/fee_bump.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct FeeBumper { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `maybe_bump`, and `estimate_target_fee_rate` are never used [INFO] [stdout] --> src/fee_bump.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl FeeBumper { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 29 | pub fn new(rpc: Arc, bump_multiplier: f64, stuck_after_blocks: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn maybe_bump( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn estimate_target_fee_rate(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `payment_preimage` and `payment_route` are never read [INFO] [stdout] --> src/lnd.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct PaymentResponse { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub payment_preimage: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub payment_route: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PaymentResponse` 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 `num_active_channels`, `num_peers`, `block_height`, and `synced_to_chain` are never read [INFO] [stdout] --> src/lnd.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct NodeInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | pub num_active_channels: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub num_peers: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 44 | pub block_height: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 45 | pub synced_to_chain: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChannelsResponse` is never constructed [INFO] [stdout] --> src/lnd.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct ChannelsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Channel` is never constructed [INFO] [stdout] --> src/lnd.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Channel { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `list_channels` and `health_check` are never used [INFO] [stdout] --> src/lnd.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 65 | impl LndClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | pub async fn list_channels(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub async fn health_check(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `htlcs_expired`, `mempool_polls`, and `fee_bumps` are never read [INFO] [stdout] --> src/metrics.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Metrics { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub htlcs_expired: Counter, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub mempool_polls: Counter, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub fee_bumps: Counter, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unknown` is never constructed [INFO] [stdout] --> src/watcher.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum DisappearReason { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 29 | ReplacementCycling, // was in mempool, now gone, not confirmed [INFO] [stdout] 30 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DisappearReason` 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 `estimate_fee_rate` is never used [INFO] [stdout] --> src/watcher.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl MempoolWatcher { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn estimate_fee_rate(&self, conf_target: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.10s [INFO] running `Command { std: "docker" "inspect" "aa83b9807c01b85baf7e23bb3fa23b23dfa51c5ece3f20ac15c69d4c0ec6b3b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa83b9807c01b85baf7e23bb3fa23b23dfa51c5ece3f20ac15c69d4c0ec6b3b7", kill_on_drop: false }` [INFO] [stdout] aa83b9807c01b85baf7e23bb3fa23b23dfa51c5ece3f20ac15c69d4c0ec6b3b7