[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] testing Silexperience210/sentinelnet against 1.95.0 for beta-1.96-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSilexperience210%2Fsentinelnet" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Silexperience210/sentinelnet on toolchain 1.95.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded matchers v0.2.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.117 [INFO] [stderr] Downloaded libredox v0.1.15 [INFO] [stderr] Downloaded redox_users v0.5.2 [INFO] [stderr] Downloaded zerofrom v0.1.7 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.67 [INFO] [stderr] Downloaded fastrand v2.4.1 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.117 [INFO] [stderr] Downloaded zerofrom-derive v0.1.7 [INFO] [stderr] Downloaded potential_utf v0.1.5 [INFO] [stderr] Downloaded bitcoin-internals v0.2.1 [INFO] [stderr] Downloaded writeable v0.6.3 [INFO] [stderr] Downloaded bech32 v0.10.0-beta [INFO] [stderr] Downloaded bitcoin_hashes v0.13.1 [INFO] [stderr] Downloaded procfs-core v0.16.0 [INFO] [stderr] Downloaded prometheus v0.13.4 [INFO] [stderr] Downloaded zerocopy-derive v0.8.48 [INFO] [stderr] Downloaded secp256k1 v0.28.2 [INFO] [stderr] Downloaded cc v1.2.59 [INFO] [stderr] Downloaded hkdf v0.12.4 [INFO] [stderr] Downloaded protobuf v2.28.0 [INFO] [stderr] Downloaded js-sys v0.3.94 [INFO] [stderr] Downloaded openssl-sys v0.9.112 [INFO] [stderr] Downloaded wasm-bindgen v0.2.117 [INFO] [stderr] Downloaded procfs v0.16.0 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.117 [INFO] [stderr] Downloaded zerocopy v0.8.48 [INFO] [stderr] Downloaded openssl v0.10.76 [INFO] [stderr] Downloaded indexmap v2.13.1 [INFO] [stderr] Downloaded jsonrpc v0.14.1 [INFO] [stderr] Downloaded clap_derive v4.6.0 [INFO] [stderr] Downloaded clap v4.6.0 [INFO] [stderr] Downloaded litemap v0.8.2 [INFO] [stderr] Downloaded semver v1.0.28 [INFO] [stderr] Downloaded bitcoin v0.31.3 [INFO] [stderr] Downloaded hex-conservative v0.1.2 [INFO] [stderr] Downloaded sled v0.34.7 [INFO] [stderr] Downloaded bitcoincore-rpc-json v0.18.0 [INFO] [stderr] Downloaded bitcoincore-rpc v0.18.0 [INFO] [stderr] Downloaded shellexpand v3.1.2 [INFO] [stderr] Downloaded web-sys v0.3.94 [INFO] [stderr] Downloaded libc v0.2.184 [INFO] [stderr] Downloaded tokio v1.51.1 [INFO] [stderr] Downloaded secp256k1-sys v0.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e08cd2945c925fa28e3b23dfed9ad4cf5069f7184617c1be780cbac49d805899 [INFO] running `Command { std: "docker" "start" "-a" "e08cd2945c925fa28e3b23dfed9ad4cf5069f7184617c1be780cbac49d805899", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e08cd2945c925fa28e3b23dfed9ad4cf5069f7184617c1be780cbac49d805899", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e08cd2945c925fa28e3b23dfed9ad4cf5069f7184617c1be780cbac49d805899", kill_on_drop: false }` [INFO] [stdout] e08cd2945c925fa28e3b23dfed9ad4cf5069f7184617c1be780cbac49d805899 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b0188e9b06393a91e19c8e0d9754614017f0c558ccb492335a38521bb6cc922 [INFO] running `Command { std: "docker" "start" "-a" "3b0188e9b06393a91e19c8e0d9754614017f0c558ccb492335a38521bb6cc922", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling cc v1.2.59 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling indexmap v2.13.1 [INFO] [stderr] Compiling bitcoin-internals v0.2.1 [INFO] [stderr] Compiling hex-conservative v0.1.2 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling bitcoin v0.31.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling anstyle-parse v1.0.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling colorchoice v1.0.5 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling bech32 v0.10.0-beta [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling procfs v0.16.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling procfs-core v0.16.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling heck v0.5.0 [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] Compiling winnow v0.7.15 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling clap_lex v1.1.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling shellexpand v3.1.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling serde_derive v1.0.228 [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 futures-util v0.3.32 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Compiling tokio v1.51.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling clap v4.6.0 [INFO] [stderr] Compiling bitcoin_hashes v0.13.1 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling jsonrpc v0.14.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling bitcoincore-rpc-json v0.18.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling bitcoincore-rpc v0.18.0 [INFO] [stderr] Compiling 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: `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: 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 2m 10s [INFO] running `Command { std: "docker" "inspect" "3b0188e9b06393a91e19c8e0d9754614017f0c558ccb492335a38521bb6cc922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b0188e9b06393a91e19c8e0d9754614017f0c558ccb492335a38521bb6cc922", kill_on_drop: false }` [INFO] [stdout] 3b0188e9b06393a91e19c8e0d9754614017f0c558ccb492335a38521bb6cc922 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d248d0798ee1d43db8e98ab347553d570c6f8f8ae2ea57c7aa2c0d7ab7acd28c [INFO] running `Command { std: "docker" "start" "-a" "d248d0798ee1d43db8e98ab347553d570c6f8f8ae2ea57c7aa2c0d7ab7acd28c", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling fastrand v2.4.1 [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: 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: 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: 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] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling 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: `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: 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 `test` profile [unoptimized + debuginfo] target(s) in 10.93s [INFO] running `Command { std: "docker" "inspect" "d248d0798ee1d43db8e98ab347553d570c6f8f8ae2ea57c7aa2c0d7ab7acd28c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d248d0798ee1d43db8e98ab347553d570c6f8f8ae2ea57c7aa2c0d7ab7acd28c", kill_on_drop: false }` [INFO] [stdout] d248d0798ee1d43db8e98ab347553d570c6f8f8ae2ea57c7aa2c0d7ab7acd28c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 45469c4960c21c7b51525ef4449290701b4c6f971f00b84d79310650b242bb6c [INFO] running `Command { std: "docker" "start" "-a" "45469c4960c21c7b51525ef4449290701b4c6f971f00b84d79310650b242bb6c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `tokio_util::sync::CancellationToken` [INFO] [stderr] --> src/bounty.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use tokio_util::sync::CancellationToken; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Context` and `Result` [INFO] [stderr] --> src/fee_bump.rs:8:14 [INFO] [stderr] | [INFO] [stderr] 8 | use anyhow::{Context, Result}; [INFO] [stderr] | ^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Auth` [INFO] [stderr] --> src/fee_bump.rs:15:23 [INFO] [stderr] | [INFO] [stderr] 15 | use bitcoincore_rpc::{Auth, Client as BtcClient, RpcApi}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sleep` [INFO] [stderr] --> src/gossip.rs:20:29 [INFO] [stderr] | [INFO] [stderr] 20 | use tokio::time::{interval, sleep, Duration}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `debug` [INFO] [stderr] --> src/lnd.rs:9:15 [INFO] [stderr] | [INFO] [stderr] 9 | use tracing::{debug, info}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `chrono::Utc` [INFO] [stderr] --> src/watcher.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use chrono::Utc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `ManualTrigger` is never constructed [INFO] [stderr] --> src/defense.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub enum TriggerReason { [INFO] [stderr] | ------------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 24 | ManualTrigger, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TriggerReason` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `FeeBumper` is never constructed [INFO] [stderr] --> src/fee_bump.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct FeeBumper { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `maybe_bump`, and `estimate_target_fee_rate` are never used [INFO] [stderr] --> src/fee_bump.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 28 | impl FeeBumper { [INFO] [stderr] | -------------- associated items in this implementation [INFO] [stderr] 29 | pub fn new(rpc: Arc, bump_multiplier: f64, stuck_after_blocks: u32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 35 | pub fn maybe_bump( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 103 | fn estimate_target_fee_rate(&self) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `payment_preimage` and `payment_route` are never read [INFO] [stderr] --> src/lnd.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct PaymentResponse { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 34 | pub payment_preimage: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 35 | pub payment_route: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PaymentResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `num_active_channels`, `num_peers`, `block_height`, and `synced_to_chain` are never read [INFO] [stderr] --> src/lnd.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 39 | pub struct NodeInfo { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 42 | pub num_active_channels: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 43 | pub num_peers: u32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 44 | pub block_height: u32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 45 | pub synced_to_chain: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `NodeInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `ChannelsResponse` is never constructed [INFO] [stderr] --> src/lnd.rs:49:12 [INFO] [stderr] | [INFO] [stderr] 49 | pub struct ChannelsResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Channel` is never constructed [INFO] [stderr] --> src/lnd.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | pub struct Channel { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `list_channels` and `health_check` are never used [INFO] [stderr] --> src/lnd.rs:102:18 [INFO] [stderr] | [INFO] [stderr] 65 | impl LndClient { [INFO] [stderr] | -------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 102 | pub async fn list_channels(&self) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 183 | pub async fn health_check(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `htlcs_expired`, `mempool_polls`, and `fee_bumps` are never read [INFO] [stderr] --> src/metrics.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct Metrics { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 14 | pub htlcs_expired: Counter, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 21 | pub mempool_polls: Counter, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 22 | pub fee_bumps: Counter, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Unknown` is never constructed [INFO] [stderr] --> src/watcher.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 28 | pub enum DisappearReason { [INFO] [stderr] | --------------- variant in this enum [INFO] [stderr] 29 | ReplacementCycling, // was in mempool, now gone, not confirmed [INFO] [stderr] 30 | Unknown, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DisappearReason` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `estimate_fee_rate` is never used [INFO] [stderr] --> src/watcher.rs:195:12 [INFO] [stderr] | [INFO] [stderr] 40 | impl MempoolWatcher { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 195 | pub fn estimate_fee_rate(&self, conf_target: u16) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Serialize` [INFO] [stderr] --> src/client/lnd.rs:28:26 [INFO] [stderr] | [INFO] [stderr] 28 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `ClientConfig` [INFO] [stderr] --> src/client/lnd.rs:34:17 [INFO] [stderr] | [INFO] [stderr] 34 | pub use super::{ClientConfig, LndConfig}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `open_channel` and `active_channel` are never read [INFO] [stderr] --> src/client/channel_events.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct ChannelEventUpdate { [INFO] [stderr] | ------------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 20 | pub open_channel: Option, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 21 | pub closed_channel: Option, [INFO] [stderr] 22 | pub active_channel: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ChannelEventUpdate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `capacity`, `local_balance`, `remote_balance`, and `active` are never read [INFO] [stderr] --> src/client/lnd.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 44 | pub struct LndChannel { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 47 | pub capacity: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 48 | pub local_balance: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 49 | pub remote_balance: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 50 | pub active: bool, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LndChannel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `local_balance` is never read [INFO] [stderr] --> src/client/lnd.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 79 | pub struct ForceCloseChannelInfo { [INFO] [stderr] | --------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 82 | pub local_balance: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ForceCloseChannelInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `blocks_til_maturity` and `stage` are never read [INFO] [stderr] --> src/client/lnd.rs:93:9 [INFO] [stderr] | [INFO] [stderr] 87 | pub struct ForceCloseHtlc { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 93 | pub blocks_til_maturity: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 94 | pub stage: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ForceCloseHtlc` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `identity_pubkey` and `synced_to_chain` are never read [INFO] [stderr] --> src/client/lnd.rs:104:9 [INFO] [stderr] | [INFO] [stderr] 103 | pub struct NodeInfo { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 104 | pub identity_pubkey: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 107 | pub synced_to_chain: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `NodeInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `sig_script` is never read [INFO] [stderr] --> src/client/lnd.rs:120:9 [INFO] [stderr] | [INFO] [stderr] 117 | pub struct InputScript { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 120 | pub sig_script: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `InputScript` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `chan_id`, `remote_pubkey`, `csv_delay`, and `outpoints_confirmed` are never read [INFO] [stderr] --> src/client/lnd.rs:128:9 [INFO] [stderr] | [INFO] [stderr] 126 | pub struct ChannelWithHtlcs { [INFO] [stderr] | ---------------- fields in this struct [INFO] [stderr] 127 | pub channel_point: String, [INFO] [stderr] 128 | pub chan_id: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 129 | pub remote_pubkey: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 130 | pub csv_delay: u32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 133 | pub outpoints_confirmed: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ChannelWithHtlcs` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `htlc_index` is never read [INFO] [stderr] --> src/client/lnd.rs:144:9 [INFO] [stderr] | [INFO] [stderr] 137 | pub struct PendingHtlc { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 144 | pub htlc_index: u64, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PendingHtlc` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `sign_raw_tx` is never used [INFO] [stderr] --> src/client/lnd.rs:399:18 [INFO] [stderr] | [INFO] [stderr] 155 | impl LndRestClient { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 399 | pub async fn sign_raw_tx(&self, raw_tx_hex: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `success`, `txid`, and `message` are never read [INFO] [stderr] --> src/client/register.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct RegistrationResponse { [INFO] [stderr] | -------------------- fields in this struct [INFO] [stderr] 16 | pub success: bool, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 17 | pub txid: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] 18 | pub message: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RegistrationResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: enum `SignerBackend` is never used [INFO] [stderr] --> src/client/signer.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | pub enum SignerBackend { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `sign_transaction` is never used [INFO] [stderr] --> src/client/signer.rs:18:14 [INFO] [stderr] | [INFO] [stderr] 18 | pub async fn sign_transaction(raw_hex: &str, backend: &SignerBackend) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `sentinelnet` (bin "sentinel") generated 17 warnings (run `cargo fix --bin "sentinel" -p sentinelnet` to apply 6 suggestions) [INFO] [stderr] warning: `sentinelnet` (bin "sentinel-client") generated 14 warnings (run `cargo fix --bin "sentinel-client" -p sentinelnet` to apply 2 suggestions) [INFO] [stderr] warning: `sentinelnet` (bin "sentinel" test) generated 17 warnings (17 duplicates) [INFO] [stderr] warning: `sentinelnet` (bin "sentinel-client" test) generated 14 warnings (14 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sentinel-720b550d57d60aa7) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test proof::tests::test_proof_roundtrip ... ok [INFO] [stdout] test proof::tests::test_proof_tamper_detection ... ok [INFO] [stdout] test rate_limit::tests::test_blocks_after_capacity ... ok [INFO] [stdout] test store::tests::test_bounty_retry_logic ... ok [INFO] [stdout] test rate_limit::tests::test_allows_initial_burst ... ok [INFO] [stdout] test rate_limit::tests::test_different_ips_independent ... ok [INFO] [stdout] test store::tests::test_register_and_get ... ok [INFO] [stdout] test store::tests::test_active_filter ... ok [INFO] [stdout] test store::tests::test_encrypted_roundtrip ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s [INFO] [stdout] [INFO] [stderr] Running unittests src/client/main.rs (/opt/rustwide/target/debug/deps/sentinel_client-5428bd1f810d151e) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test htlc_builder::tests::htlc_script_valid ... ok [INFO] [stdout] test htlc_builder::tests::bip69_script_tiebreak ... ok [INFO] [stdout] test htlc_builder::tests::fee_guards ... ok [INFO] [stdout] test htlc_builder::tests::bip69_value_order ... ok [INFO] [stdout] test htlc_builder::tests::p2wsh_length ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-8ce0e3d2a5cabc50) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test test_gossip_hmac_rejected ... ignored [INFO] [stdout] test test_htlc_list_authenticated ... ignored [INFO] [stdout] test test_register_htlc_bad_txid ... ignored [INFO] [stdout] test test_register_htlc_rejected_without_key ... ignored [INFO] [stdout] test test_register_htlc_valid ... ignored [INFO] [stdout] test test_sentinel_health ... ignored [INFO] [stdout] test test_config_toml_example_parses ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 6 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "45469c4960c21c7b51525ef4449290701b4c6f971f00b84d79310650b242bb6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45469c4960c21c7b51525ef4449290701b4c6f971f00b84d79310650b242bb6c", kill_on_drop: false }` [INFO] [stdout] 45469c4960c21c7b51525ef4449290701b4c6f971f00b84d79310650b242bb6c