[INFO] cloning repository https://github.com/notmandatory/btcsync [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/notmandatory/btcsync" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnotmandatory%2Fbtcsync", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnotmandatory%2Fbtcsync'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e40aebef5e70c74603e2a75678593d6d22554e01 [INFO] checking notmandatory/btcsync against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnotmandatory%2Fbtcsync" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/notmandatory/btcsync [INFO] finished tweaking git repo https://github.com/notmandatory/btcsync [INFO] tweaked toml for git repo https://github.com/notmandatory/btcsync written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/notmandatory/btcsync on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/notmandatory/btcsync 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca751dfcbebe6894163e04f6ea600eb96c1fbd3ef2d99010db6eff571fc9683f [INFO] running `Command { std: "docker" "start" "-a" "ca751dfcbebe6894163e04f6ea600eb96c1fbd3ef2d99010db6eff571fc9683f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca751dfcbebe6894163e04f6ea600eb96c1fbd3ef2d99010db6eff571fc9683f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca751dfcbebe6894163e04f6ea600eb96c1fbd3ef2d99010db6eff571fc9683f", kill_on_drop: false }` [INFO] [stdout] ca751dfcbebe6894163e04f6ea600eb96c1fbd3ef2d99010db6eff571fc9683f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1897f4a6b1613f40d6b3a6edcceeca277c3fad7262f4d8af0ed1766dcfc16c3 [INFO] running `Command { std: "docker" "start" "-a" "b1897f4a6b1613f40d6b3a6edcceeca277c3fad7262f4d8af0ed1766dcfc16c3", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling rustls v0.23.29 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking bech32 v0.11.0 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Compiling bitcoin v0.32.6 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking hex-conservative v0.2.1 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling redb v2.6.0 [INFO] [stderr] Checking lru v0.14.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking proc-macro2 v1.0.95 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Checking negentropy v0.5.0 [INFO] [stderr] Checking atomic-destructor v0.3.0 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking clap_builder v4.5.41 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking ureq-proto v0.4.2 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Checking aes-gcm-siv v0.11.1 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking syn v2.0.104 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking bitcoin_hashes v0.14.0 [INFO] [stderr] Checking bitcoin-units v0.1.2 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking minreq v2.14.0 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking ulid v1.2.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking clap v4.5.41 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking jsonrpc v0.18.0 [INFO] [stderr] Checking base58ck v0.1.0 [INFO] [stderr] Compiling redb_derive v0.1.0 (/opt/rustwide/workdir/crates/redb_derive) [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-socks v0.5.2 [INFO] [stderr] Checking async-utility v0.3.1 [INFO] [stderr] Checking secp256k1 v0.29.1 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking rustls-webpki v0.103.4 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking tungstenite v0.26.2 [INFO] [stderr] Checking ureq v3.0.12 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.12.22 [INFO] [stderr] Checking tokio-tungstenite v0.26.2 [INFO] [stderr] Checking async-wsocket v0.13.1 [INFO] [stderr] Checking bdk_core v0.6.0 [INFO] [stderr] Checking miniscript v12.3.5 [INFO] [stderr] Checking bitcoincore-rpc-json v0.19.0 [INFO] [stderr] Checking nostr v0.42.2 [INFO] [stderr] Checking bdk_chain v0.23.0 [INFO] [stderr] Checking nostr-database v0.42.0 [INFO] [stderr] Checking nostr-relay-pool v0.42.0 [INFO] [stderr] Checking bdk_wallet v2.0.0 [INFO] [stderr] Checking bitcoincore-rpc v0.19.0 [INFO] [stderr] Checking bdk_bitcoind_rpc v0.20.0 [INFO] [stderr] Checking nostr-sdk v0.42.0 [INFO] [stderr] Checking bdk_redb v0.1.0 [INFO] [stderr] Checking btcsync v0.1.0 (/opt/rustwide/workdir/crates/btcsync) [INFO] [stdout] warning: method `get_account_entries` is never used [INFO] [stdout] --> crates/btcsync/src/account/mod.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl AccountService { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_account_entries(&self, account_id: AccountId) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multi_accounts_input` is never used [INFO] [stdout] --> crates/btcsync/src/account/cli.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn multi_accounts_input( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_account_entries` is never used [INFO] [stdout] --> crates/btcsync/src/account/db.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl AccountDb { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn get_account_entries(&self, account_id: AccountId) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_datetime`, `min`, and `max` are never used [INFO] [stdout] --> crates/btcsync/src/macros.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 22 | impl $type_name { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn from_datetime(date_time: chrono::DateTime) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn min() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn max() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/btcsync/src/account/types.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | ulid_id!(AccountId); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ulid_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `balance_sheet`, `income_statement`, and `positive_balance` are never used [INFO] [stdout] --> crates/btcsync/src/account/types.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl AccountType { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn balance_sheet(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn income_statement(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn positive_balance(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_datetime`, `min`, and `max` are never used [INFO] [stdout] --> crates/btcsync/src/macros.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 22 | impl $type_name { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn from_datetime(date_time: chrono::DateTime) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn min() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn max() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/btcsync/src/account/types.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | ulid_id!(AccountEntryId); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ulid_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_confirming` and `is_confirmed` are never used [INFO] [stdout] --> crates/btcsync/src/bitcoin.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl TxStatus { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 62 | pub fn is_confirming(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn is_confirmed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_datetime` is never used [INFO] [stdout] --> crates/btcsync/src/macros.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 22 | impl $type_name { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn from_datetime(date_time: chrono::DateTime) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/btcsync/src/catalog/types.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | ulid_id!(CatalogItemId); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ulid_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_event` is never used [INFO] [stdout] --> crates/btcsync/src/contact/mod.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl ContactService { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_event(&self, event_id: nostr_sdk::EventId) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `address_input` is never used [INFO] [stdout] --> crates/btcsync/src/contact/cli.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn address_input( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_event` is never used [INFO] [stdout] --> crates/btcsync/src/contact/db.rs:220:19 [INFO] [stdout] | [INFO] [stdout] 31 | impl ContactDb { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 220 | pub(super) fn get_event(&self, event_id: EventId) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_relays`, `add_addresses`, and `bank_details` are never used [INFO] [stdout] --> crates/btcsync/src/contact/types.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Contact { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn remove_relays(&mut self, relays: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn add_addresses(&mut self, addresses: Vec<(ContactPurpose, String)>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn bank_details(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> crates/btcsync/src/contact/types.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl ContactAccounts { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 131 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_day_open_prices` and `get_all_day_open` are never used [INFO] [stdout] --> crates/btcsync/src/cost_basis/mod.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl CostBasisService { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn insert_day_open_prices(&self, prices: Vec<(DateTime, Decimal)>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn get_all_day_open(&self) -> Vec<(DateTime, Decimal)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all_day_open` and `update_btc_sell` are never used [INFO] [stdout] --> crates/btcsync/src/cost_basis/db.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl CostBasisDb { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn get_all_day_open(&self) -> Vec<(DateTime, Decimal)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn update_btc_sell(&self, btc_sell: BtcSell) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `iso_4217_id` and `decimal_from_f64` are never used [INFO] [stdout] --> crates/btcsync/src/cost_basis/types.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl CurrencyCode { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn iso_4217_id(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn decimal_from_f64(&self, value: f64) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_btc` and `from_btc` are never used [INFO] [stdout] --> crates/btcsync/src/cost_basis/types.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl BtcExchangeRate { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn to_btc(&self, fiat_amount: Decimal) -> Decimal { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn from_btc(&self, btc_amount: Decimal) -> Decimal { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_datetime`, `min`, and `max` are never used [INFO] [stdout] --> crates/btcsync/src/macros.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 22 | impl $type_name { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn from_datetime(date_time: chrono::DateTime) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn min() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn max() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/btcsync/src/cost_basis/types.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | ulid_id!(BtcBuyId); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ulid_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_datetime`, `min`, and `max` are never used [INFO] [stdout] --> crates/btcsync/src/macros.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 22 | impl $type_name { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn from_datetime(date_time: chrono::DateTime) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn min() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn max() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/btcsync/src/cost_basis/types.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | ulid_id!(BtcSellId); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ulid_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_invoice` is never used [INFO] [stdout] --> crates/btcsync/src/invoice/mod.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl InvoiceService { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_invoice(&self, seller_npub: &PublicKey, invoice_id: &InvoiceId) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_invoice` is never used [INFO] [stdout] --> crates/btcsync/src/invoice/db.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl InvoiceDb { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn get_invoice(&self, seller_npub: &PublicKey, invoice_id: &InvoiceId) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_datetime` is never used [INFO] [stdout] --> crates/btcsync/src/macros.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 22 | impl $type_name { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn from_datetime(date_time: chrono::DateTime) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/btcsync/src/invoice/types.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | ulid_id!(InvoiceId); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ulid_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_date`, `set_due_date`, `set_payment_methods`, and `payment_method_total` are never used [INFO] [stdout] --> crates/btcsync/src/invoice/types.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl Invoice { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn set_date(&mut self, date: DateTime) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn set_due_date(&mut self, due_date: DueDate) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn set_payment_methods(&mut self, payment_methods: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn payment_method_total(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `contact_service` and `invoice_service` are never read [INFO] [stdout] --> crates/btcsync/src/payment/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub(super) struct BtcPaymentService { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | contact_service: ContactService, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | invoice_service: InvoiceService, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_payment_from_tx` is never used [INFO] [stdout] --> crates/btcsync/src/payment/mod.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl BtcPaymentService { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn add_payment_from_tx( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ACCOUNT_ENTRY_BTC_PAYMENT_TABLE` is never used [INFO] [stdout] --> crates/btcsync/src/payment/db.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const ACCOUNT_ENTRY_BTC_PAYMENT_TABLE: TableDefinition = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_btc_payment` is never used [INFO] [stdout] --> crates/btcsync/src/payment/db.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl BtcPaymentDb { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn get_btc_payment(&self, btc_payment_id: &BtcPaymentId) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_datetime`, `min`, and `max` are never used [INFO] [stdout] --> crates/btcsync/src/macros.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 22 | impl $type_name { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn from_datetime(date_time: chrono::DateTime) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn min() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn max() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/btcsync/src/payment/types.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | ulid_id!(BtcPaymentId); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ulid_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FiatPaymentId` is never constructed [INFO] [stdout] --> crates/btcsync/src/payment/types.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | ulid_id!(FiatPaymentId); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ulid_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `from_datetime`, `min`, and `max` are never used [INFO] [stdout] --> crates/btcsync/src/macros.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 22 | impl $type_name { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 23 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn from_datetime(date_time: chrono::DateTime) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn min() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn max() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/btcsync/src/payment/types.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | ulid_id!(FiatPaymentId); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ulid_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FiatPayment` is never constructed [INFO] [stdout] --> crates/btcsync/src/payment/types.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct FiatPayment { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> crates/btcsync/src/payment/types.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 153 | impl FiatPayment { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 154 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn id(&self) -> &FiatPaymentId { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn status(&self) -> &FiatPaymentStatus { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn set_status(&mut self, status: FiatPaymentStatus) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn bank_config(&self) -> &BankConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn date(&self) -> &DateTime { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn invoice_ids(&self) -> &Vec<(PublicKey, InvoiceId)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn add_invoice_id(&mut self, seller_npub: PublicKey, id: InvoiceId) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FiatPaymentStatus` is never used [INFO] [stdout] --> crates/btcsync/src/payment/types.rs:200:10 [INFO] [stdout] | [INFO] [stdout] 200 | pub enum FiatPaymentStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_account_entries` is never used [INFO] [stdout] --> crates/btcsync/src/account/mod.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl AccountService { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_account_entries(&self, account_id: AccountId) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multi_accounts_input` is never used [INFO] [stdout] --> crates/btcsync/src/account/cli.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn multi_accounts_input( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_account_entries` is never used [INFO] [stdout] --> crates/btcsync/src/account/db.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl AccountDb { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn get_account_entries(&self, account_id: AccountId) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/btcsync/src/main.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | / contact [INFO] [stdout] 124 | | .npub() [INFO] [stdout] 125 | | .to_bech32() [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/btcsync/src/main.rs:361:21 [INFO] [stdout] | [INFO] [stdout] 361 | / contact [INFO] [stdout] 362 | | .npub() [INFO] [stdout] 363 | | .to_bech32() [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_datetime`, `min`, and `max` are never used [INFO] [stdout] --> crates/btcsync/src/macros.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 22 | impl $type_name { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn from_datetime(date_time: chrono::DateTime) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn min() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn max() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/btcsync/src/account/types.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | ulid_id!(AccountId); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ulid_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `balance_sheet`, `income_statement`, and `positive_balance` are never used [INFO] [stdout] --> crates/btcsync/src/account/types.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl AccountType { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn balance_sheet(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn income_statement(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn positive_balance(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/btcsync/src/main.rs:392:25 [INFO] [stdout] | [INFO] [stdout] 392 | / contact [INFO] [stdout] 393 | | .npub() [INFO] [stdout] 394 | | .to_bech32() [INFO] [stdout] | |________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_datetime`, `min`, and `max` are never used [INFO] [stdout] --> crates/btcsync/src/macros.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 22 | impl $type_name { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn from_datetime(date_time: chrono::DateTime) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn min() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn max() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/btcsync/src/account/types.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | ulid_id!(AccountEntryId); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ulid_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_confirming` and `is_confirmed` are never used [INFO] [stdout] --> crates/btcsync/src/bitcoin.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl TxStatus { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 62 | pub fn is_confirming(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn is_confirmed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_datetime` is never used [INFO] [stdout] --> crates/btcsync/src/macros.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 22 | impl $type_name { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn from_datetime(date_time: chrono::DateTime) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/btcsync/src/catalog/types.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | ulid_id!(CatalogItemId); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ulid_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_event` is never used [INFO] [stdout] --> crates/btcsync/src/contact/mod.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl ContactService { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_event(&self, event_id: nostr_sdk::EventId) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `address_input` is never used [INFO] [stdout] --> crates/btcsync/src/contact/cli.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn address_input( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_event` is never used [INFO] [stdout] --> crates/btcsync/src/contact/db.rs:220:19 [INFO] [stdout] | [INFO] [stdout] 31 | impl ContactDb { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 220 | pub(super) fn get_event(&self, event_id: EventId) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_relays`, `add_addresses`, and `bank_details` are never used [INFO] [stdout] --> crates/btcsync/src/contact/types.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Contact { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn remove_relays(&mut self, relays: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn add_addresses(&mut self, addresses: Vec<(ContactPurpose, String)>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn bank_details(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> crates/btcsync/src/contact/types.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl ContactAccounts { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 131 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_day_open_prices` and `get_all_day_open` are never used [INFO] [stdout] --> crates/btcsync/src/cost_basis/mod.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl CostBasisService { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn insert_day_open_prices(&self, prices: Vec<(DateTime, Decimal)>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn get_all_day_open(&self) -> Vec<(DateTime, Decimal)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_btc_sell` is never used [INFO] [stdout] --> crates/btcsync/src/cost_basis/db.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl CostBasisDb { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn update_btc_sell(&self, btc_sell: BtcSell) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iso_4217_id` is never used [INFO] [stdout] --> crates/btcsync/src/cost_basis/types.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl CurrencyCode { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn iso_4217_id(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_datetime`, `min`, and `max` are never used [INFO] [stdout] --> crates/btcsync/src/macros.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 22 | impl $type_name { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn from_datetime(date_time: chrono::DateTime) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn min() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn max() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/btcsync/src/cost_basis/types.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | ulid_id!(BtcBuyId); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ulid_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_datetime`, `min`, and `max` are never used [INFO] [stdout] --> crates/btcsync/src/macros.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 22 | impl $type_name { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn from_datetime(date_time: chrono::DateTime) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn min() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn max() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/btcsync/src/cost_basis/types.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | ulid_id!(BtcSellId); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ulid_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_invoice` is never used [INFO] [stdout] --> crates/btcsync/src/invoice/mod.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl InvoiceService { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_invoice(&self, seller_npub: &PublicKey, invoice_id: &InvoiceId) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_datetime` is never used [INFO] [stdout] --> crates/btcsync/src/macros.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 22 | impl $type_name { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn from_datetime(date_time: chrono::DateTime) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/btcsync/src/invoice/types.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | ulid_id!(InvoiceId); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ulid_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_date`, `set_due_date`, `set_payment_methods`, and `payment_method_total` are never used [INFO] [stdout] --> crates/btcsync/src/invoice/types.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl Invoice { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn set_date(&mut self, date: DateTime) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn set_due_date(&mut self, due_date: DueDate) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn set_payment_methods(&mut self, payment_methods: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn payment_method_total(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `contact_service` and `invoice_service` are never read [INFO] [stdout] --> crates/btcsync/src/payment/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub(super) struct BtcPaymentService { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | contact_service: ContactService, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | invoice_service: InvoiceService, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_payment_from_tx` is never used [INFO] [stdout] --> crates/btcsync/src/payment/mod.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl BtcPaymentService { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn add_payment_from_tx( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ACCOUNT_ENTRY_BTC_PAYMENT_TABLE` is never used [INFO] [stdout] --> crates/btcsync/src/payment/db.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const ACCOUNT_ENTRY_BTC_PAYMENT_TABLE: TableDefinition = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_btc_payment` is never used [INFO] [stdout] --> crates/btcsync/src/payment/db.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl BtcPaymentDb { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn get_btc_payment(&self, btc_payment_id: &BtcPaymentId) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_datetime`, `min`, and `max` are never used [INFO] [stdout] --> crates/btcsync/src/macros.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 22 | impl $type_name { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn from_datetime(date_time: chrono::DateTime) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn min() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn max() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/btcsync/src/payment/types.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | ulid_id!(BtcPaymentId); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ulid_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FiatPaymentId` is never constructed [INFO] [stdout] --> crates/btcsync/src/payment/types.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | ulid_id!(FiatPaymentId); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ulid_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `from_datetime`, `min`, and `max` are never used [INFO] [stdout] --> crates/btcsync/src/macros.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 22 | impl $type_name { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 23 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn from_datetime(date_time: chrono::DateTime) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn min() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn max() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/btcsync/src/payment/types.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | ulid_id!(FiatPaymentId); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ulid_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FiatPayment` is never constructed [INFO] [stdout] --> crates/btcsync/src/payment/types.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct FiatPayment { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> crates/btcsync/src/payment/types.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 153 | impl FiatPayment { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 154 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn id(&self) -> &FiatPaymentId { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn status(&self) -> &FiatPaymentStatus { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn set_status(&mut self, status: FiatPaymentStatus) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn bank_config(&self) -> &BankConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn date(&self) -> &DateTime { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn invoice_ids(&self) -> &Vec<(PublicKey, InvoiceId)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn add_invoice_id(&mut self, seller_npub: PublicKey, id: InvoiceId) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FiatPaymentStatus` is never used [INFO] [stdout] --> crates/btcsync/src/payment/types.rs:200:10 [INFO] [stdout] | [INFO] [stdout] 200 | pub enum FiatPaymentStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/btcsync/src/contact/types.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | / self.npub() [INFO] [stdout] 76 | | .to_bech32() [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/btcsync/src/invoice/mod.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | id.npub().to_bech32().expect("failed to convert to bech32"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/btcsync/src/invoice/mod.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | [id.npub().to_bech32().expect("failed to convert to bech32")], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/btcsync/src/main.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | / contact [INFO] [stdout] 124 | | .npub() [INFO] [stdout] 125 | | .to_bech32() [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/btcsync/src/main.rs:361:21 [INFO] [stdout] | [INFO] [stdout] 361 | / contact [INFO] [stdout] 362 | | .npub() [INFO] [stdout] 363 | | .to_bech32() [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/btcsync/src/main.rs:392:25 [INFO] [stdout] | [INFO] [stdout] 392 | / contact [INFO] [stdout] 393 | | .npub() [INFO] [stdout] 394 | | .to_bech32() [INFO] [stdout] | |________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/btcsync/src/contact/types.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | / self.npub() [INFO] [stdout] 76 | | .to_bech32() [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/btcsync/src/contact/mod.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | dbg!(recovered_nsec.to_bech32().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/btcsync/src/contact/mod.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | dbg!(&npub.to_bech32().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/btcsync/src/invoice/mod.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | id.npub().to_bech32().expect("failed to convert to bech32"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/btcsync/src/invoice/mod.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | [id.npub().to_bech32().expect("failed to convert to bech32")], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `btcsync` (bin "btcsync") due to 6 previous errors; 33 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `btcsync` (bin "btcsync" test) due to 8 previous errors; 31 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b1897f4a6b1613f40d6b3a6edcceeca277c3fad7262f4d8af0ed1766dcfc16c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1897f4a6b1613f40d6b3a6edcceeca277c3fad7262f4d8af0ed1766dcfc16c3", kill_on_drop: false }` [INFO] [stdout] b1897f4a6b1613f40d6b3a6edcceeca277c3fad7262f4d8af0ed1766dcfc16c3