[INFO] fetching crate spark-rust 0.1.11... [INFO] testing spark-rust-0.1.11 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate spark-rust 0.1.11 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate spark-rust 0.1.11 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate spark-rust 0.1.11 [INFO] tweaked toml for crates.io crate spark-rust 0.1.11 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate spark-rust 0.1.11 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate spark-rust 0.1.11 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 792985f551a8caa163fc2098d65a3beb45ea78729434f498b782d87f2d669d0f [INFO] running `Command { std: "docker" "start" "-a" "792985f551a8caa163fc2098d65a3beb45ea78729434f498b782d87f2d669d0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "792985f551a8caa163fc2098d65a3beb45ea78729434f498b782d87f2d669d0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "792985f551a8caa163fc2098d65a3beb45ea78729434f498b782d87f2d669d0f", kill_on_drop: false }` [INFO] [stdout] 792985f551a8caa163fc2098d65a3beb45ea78729434f498b782d87f2d669d0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 018ba474fb4c4e6428e20217a20c44c2cf1bc167b75e8b5405fff329cb0e22c7 [INFO] running `Command { std: "docker" "start" "-a" "018ba474fb4c4e6428e20217a20c44c2cf1bc167b75e8b5405fff329cb0e22c7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustls v0.23.23 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustix v1.0.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling prettyplease v0.2.31 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling hex-conservative v0.2.1 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling bitcoin v0.32.5 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling tempfile v3.19.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling bitcoin-units v0.1.2 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling base58ck v0.1.0 [INFO] [stderr] Compiling secp256k1 v0.29.1 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling thiserror-nostd-notrait v1.0.57 [INFO] [stderr] Compiling bech32 v0.11.0 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror-nostd-notrait-impl v1.0.57 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling zstd-sys v2.0.14+zstd.1.5.7 [INFO] [stderr] Compiling cobs v0.2.3 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling postcard v1.1.1 [INFO] [stderr] Compiling libsecp256k1 v0.7.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling tonic-build v0.12.3 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling visibility v0.1.1 [INFO] [stderr] Compiling derive-getters v0.5.0 [INFO] [stderr] Compiling const-crc32-nostd v1.3.1 [INFO] [stderr] Compiling debugless-unwrap v0.0.4 [INFO] [stderr] Compiling minreq v2.13.3 [INFO] [stderr] Compiling frost-core-unofficial v2.2.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling spark-protos v0.1.9 [INFO] [stderr] Compiling zstd-safe v7.2.3 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling frost-rerandomized-unofficial v2.2.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling hex-conservative v0.1.2 [INFO] [stderr] Compiling jsonrpc v0.18.0 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling frost-secp256k1-tr-unofficial v2.2.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling ecies v0.2.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bitcoincore-rpc-json v0.19.0 [INFO] [stderr] Compiling lightning-types v0.2.0 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling spark-rust v0.1.11 (/opt/rustwide/workdir) [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling reqwest v0.12.14 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling bip32 v0.5.3 [INFO] [stderr] Compiling lightning-invoice v0.33.1 [INFO] [stderr] Compiling spark-cryptography v0.1.7 [INFO] [stderr] Compiling bip39 v2.1.0 [INFO] [stderr] Compiling sha256 v1.6.0 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling bitcoincore-rpc v0.19.0 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stdout] warning: unused variable: `cancel_err` [INFO] [stdout] --> src/wallet/handlers/cooperative_exit.rs:293:28 [INFO] [stdout] | [INFO] [stdout] 293 | if let Err(cancel_err) = self.cancel_send_transfer(transfer.id.to_string()).await { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cancel_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/handlers/create_tree.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/handlers/create_tree.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/handlers/deposit.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/handlers/deposit.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/handlers/deposit.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lightning_send_response` [INFO] [stdout] --> src/wallet/handlers/lightning.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let lightning_send_response = self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lightning_send_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/wallet/handlers/swap.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | let network = self.config.spark_config.network; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pending_len` [INFO] [stdout] --> src/wallet/handlers/transfer.rs:593:13 [INFO] [stdout] | [INFO] [stdout] 593 | let pending_len = pending.len(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pending_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `spark_protos::spark::spark_service_client::SparkServiceClient::::leaf_swap` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/swap.rs:77:64 [INFO] [stdout] | [INFO] [stdout] 77 | |mut client, req| Box::pin(async move { client.leaf_swap(req).await }), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/create_tree.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/create_tree.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/create_tree.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/create_tree.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/create_tree.rs:532:13 [INFO] [stdout] | [INFO] [stdout] 532 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/create_tree.rs:548:13 [INFO] [stdout] | [INFO] [stdout] 548 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/create_tree.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/create_tree.rs:588:13 [INFO] [stdout] | [INFO] [stdout] 588 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/leaves.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let network = self.config.spark_config.network; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/lightning.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cancel_err` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/transfer.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | if let Err(cancel_err) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cancel_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cancel_err` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/transfer.rs:140:32 [INFO] [stdout] | [INFO] [stdout] 140 | if let Err(cancel_err) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cancel_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cancel_err` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/transfer.rs:238:32 [INFO] [stdout] | [INFO] [stdout] 238 | if let Err(cancel_err) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cancel_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateInvoiceVariables` is never constructed [INFO] [stdout] --> src/wallet/internal_handlers/traits/ssp.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct CreateInvoiceVariables { [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 `frost_commitment_to_proto_commitment` is never used [INFO] [stdout] --> src/wallet/utils/frost.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn frost_commitment_to_proto_commitment( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `filter_nodes`, `filter_and_lock_nodes`, and `remove_all_leaves` are never used [INFO] [stdout] --> src/wallet/leaf_manager/mod.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 102 | impl LeafManager { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | pub(crate) fn filter_nodes(&self, cb: Option) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub(crate) fn filter_and_lock_nodes( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub(crate) fn remove_all_leaves(&self) -> Result<(), SparkSdkError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CoopExitStatus` is never used [INFO] [stdout] --> src/wallet/handlers/cooperative_exit.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum CoopExitStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CoopExitRequest` is never constructed [INFO] [stdout] --> src/wallet/handlers/cooperative_exit.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct CoopExitRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SigningNonce` is never constructed [INFO] [stdout] --> src/wallet/handlers/cooperative_exit.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct SigningNonce { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SigningCommitment` is never constructed [INFO] [stdout] --> src/wallet/handlers/cooperative_exit.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct SigningCommitment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_tree` is never used [INFO] [stdout] --> src/wallet/handlers/create_tree.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 38 | impl SparkSdk { [INFO] [stdout] | ---------------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | async fn create_tree( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 39s [INFO] running `Command { std: "docker" "inspect" "018ba474fb4c4e6428e20217a20c44c2cf1bc167b75e8b5405fff329cb0e22c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "018ba474fb4c4e6428e20217a20c44c2cf1bc167b75e8b5405fff329cb0e22c7", kill_on_drop: false }` [INFO] [stdout] 018ba474fb4c4e6428e20217a20c44c2cf1bc167b75e8b5405fff329cb0e22c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4df64b493367372e241b75384dc3e5f2b871e2bd5fd27cbec28caa6d4b5e004c [INFO] running `Command { std: "docker" "start" "-a" "4df64b493367372e241b75384dc3e5f2b871e2bd5fd27cbec28caa6d4b5e004c", kill_on_drop: false }` [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling mockall_derive v0.13.1 [INFO] [stderr] Compiling fragile v2.0.0 [INFO] [stdout] warning: unused variable: `cancel_err` [INFO] [stdout] --> src/wallet/handlers/cooperative_exit.rs:293:28 [INFO] [stdout] | [INFO] [stdout] 293 | if let Err(cancel_err) = self.cancel_send_transfer(transfer.id.to_string()).await { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cancel_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/handlers/create_tree.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/handlers/create_tree.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/handlers/deposit.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/handlers/deposit.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/handlers/deposit.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lightning_send_response` [INFO] [stdout] --> src/wallet/handlers/lightning.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let lightning_send_response = self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lightning_send_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/wallet/handlers/swap.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | let network = self.config.spark_config.network; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pending_len` [INFO] [stdout] --> src/wallet/handlers/transfer.rs:593:13 [INFO] [stdout] | [INFO] [stdout] 593 | let pending_len = pending.len(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pending_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `spark_protos::spark::spark_service_client::SparkServiceClient::::leaf_swap` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/swap.rs:77:64 [INFO] [stdout] | [INFO] [stdout] 77 | |mut client, req| Box::pin(async move { client.leaf_swap(req).await }), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/create_tree.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/create_tree.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/create_tree.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/create_tree.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/create_tree.rs:532:13 [INFO] [stdout] | [INFO] [stdout] 532 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/create_tree.rs:548:13 [INFO] [stdout] | [INFO] [stdout] 548 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/create_tree.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/create_tree.rs:588:13 [INFO] [stdout] | [INFO] [stdout] 588 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/leaves.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let network = self.config.spark_config.network; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/lightning.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cancel_err` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/transfer.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | if let Err(cancel_err) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cancel_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cancel_err` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/transfer.rs:140:32 [INFO] [stdout] | [INFO] [stdout] 140 | if let Err(cancel_err) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cancel_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cancel_err` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/transfer.rs:238:32 [INFO] [stdout] | [INFO] [stdout] 238 | if let Err(cancel_err) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cancel_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateInvoiceVariables` is never constructed [INFO] [stdout] --> src/wallet/internal_handlers/traits/ssp.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct CreateInvoiceVariables { [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 `frost_commitment_to_proto_commitment` is never used [INFO] [stdout] --> src/wallet/utils/frost.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn frost_commitment_to_proto_commitment( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `filter_nodes`, `filter_and_lock_nodes`, and `remove_all_leaves` are never used [INFO] [stdout] --> src/wallet/leaf_manager/mod.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 102 | impl LeafManager { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | pub(crate) fn filter_nodes(&self, cb: Option) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub(crate) fn filter_and_lock_nodes( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub(crate) fn remove_all_leaves(&self) -> Result<(), SparkSdkError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CoopExitStatus` is never used [INFO] [stdout] --> src/wallet/handlers/cooperative_exit.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum CoopExitStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CoopExitRequest` is never constructed [INFO] [stdout] --> src/wallet/handlers/cooperative_exit.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct CoopExitRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SigningNonce` is never constructed [INFO] [stdout] --> src/wallet/handlers/cooperative_exit.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct SigningNonce { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SigningCommitment` is never constructed [INFO] [stdout] --> src/wallet/handlers/cooperative_exit.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct SigningCommitment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_tree` is never used [INFO] [stdout] --> src/wallet/handlers/create_tree.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 38 | impl SparkSdk { [INFO] [stdout] | ---------------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | async fn create_tree( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mockall v0.13.1 [INFO] [stderr] Compiling spark-rust v0.1.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> tests/api_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [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: `bitcoin::Address` [INFO] [stdout] --> tests/api_tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bitcoin::Address; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoin::Network` [INFO] [stdout] --> tests/api_tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use bitcoin::Network; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WITHDRAWAL_CONFIRMATION_WAIT` [INFO] [stdout] --> tests/multi_flow_scenario_tests.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | WITHDRAWAL_CONFIRMATION_WAIT, [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 variable: `secp` [INFO] [stdout] --> tests/multi_flow_scenario_tests.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let secp = bitcoin::secp256k1::Secp256k1::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_secp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cancel_err` [INFO] [stdout] --> src/wallet/handlers/cooperative_exit.rs:293:28 [INFO] [stdout] | [INFO] [stdout] 293 | if let Err(cancel_err) = self.cancel_send_transfer(transfer.id.to_string()).await { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cancel_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/handlers/create_tree.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/handlers/create_tree.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/handlers/deposit.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/handlers/deposit.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/handlers/deposit.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lightning_send_response` [INFO] [stdout] --> src/wallet/handlers/lightning.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let lightning_send_response = self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lightning_send_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/wallet/handlers/swap.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | let network = self.config.spark_config.network; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 194 | let _network = self.config.spark_config.network; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `TEST_NETWORK` [INFO] [stdout] | [INFO] [stdout] 194 - let network = self.config.spark_config.network; [INFO] [stdout] 194 + let signer::default_signer::default_signer_ecies_tests::TEST_NETWORK = self.config.spark_config.network; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pending_len` [INFO] [stdout] --> src/wallet/handlers/transfer.rs:593:13 [INFO] [stdout] | [INFO] [stdout] 593 | let pending_len = pending.len(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pending_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `spark_protos::spark::spark_service_client::SparkServiceClient::::leaf_swap` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/swap.rs:77:64 [INFO] [stdout] | [INFO] [stdout] 77 | |mut client, req| Box::pin(async move { client.leaf_swap(req).await }), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/create_tree.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/create_tree.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/create_tree.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/create_tree.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/create_tree.rs:532:13 [INFO] [stdout] | [INFO] [stdout] 532 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/create_tree.rs:548:13 [INFO] [stdout] | [INFO] [stdout] 548 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/create_tree.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/create_tree.rs:588:13 [INFO] [stdout] | [INFO] [stdout] 588 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/leaves.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let network = self.config.spark_config.network; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 19 | let _network = self.config.spark_config.network; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `TEST_NETWORK` [INFO] [stdout] | [INFO] [stdout] 19 - let network = self.config.spark_config.network; [INFO] [stdout] 19 + let signer::default_signer::default_signer_ecies_tests::TEST_NETWORK = self.config.spark_config.network; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/lightning.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let duration = time_start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cancel_err` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/transfer.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | if let Err(cancel_err) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cancel_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cancel_err` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/transfer.rs:140:32 [INFO] [stdout] | [INFO] [stdout] 140 | if let Err(cancel_err) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cancel_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cancel_err` [INFO] [stdout] --> src/wallet/internal_handlers/implementations/transfer.rs:238:32 [INFO] [stdout] | [INFO] [stdout] 238 | if let Err(cancel_err) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cancel_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateInvoiceVariables` is never constructed [INFO] [stdout] --> src/wallet/internal_handlers/traits/ssp.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct CreateInvoiceVariables { [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 `frost_commitment_to_proto_commitment` is never used [INFO] [stdout] --> src/wallet/utils/frost.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn frost_commitment_to_proto_commitment( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `filter_nodes`, `filter_and_lock_nodes`, and `remove_all_leaves` are never used [INFO] [stdout] --> src/wallet/leaf_manager/mod.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 102 | impl LeafManager { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | pub(crate) fn filter_nodes(&self, cb: Option) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub(crate) fn filter_and_lock_nodes( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub(crate) fn remove_all_leaves(&self) -> Result<(), SparkSdkError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CoopExitStatus` is never used [INFO] [stdout] --> src/wallet/handlers/cooperative_exit.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum CoopExitStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CoopExitRequest` is never constructed [INFO] [stdout] --> src/wallet/handlers/cooperative_exit.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct CoopExitRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SigningNonce` is never constructed [INFO] [stdout] --> src/wallet/handlers/cooperative_exit.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct SigningNonce { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SigningCommitment` is never constructed [INFO] [stdout] --> src/wallet/handlers/cooperative_exit.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct SigningCommitment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_tree` is never used [INFO] [stdout] --> src/wallet/handlers/create_tree.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 38 | impl SparkSdk { [INFO] [stdout] | ---------------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | async fn create_tree( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.57s [INFO] running `Command { std: "docker" "inspect" "4df64b493367372e241b75384dc3e5f2b871e2bd5fd27cbec28caa6d4b5e004c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4df64b493367372e241b75384dc3e5f2b871e2bd5fd27cbec28caa6d4b5e004c", kill_on_drop: false }` [INFO] [stdout] 4df64b493367372e241b75384dc3e5f2b871e2bd5fd27cbec28caa6d4b5e004c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 273d4e828a1bb59b90b03a12c46f41c50f1f39b1816d798733852059ee6eed25 [INFO] running `Command { std: "docker" "start" "-a" "273d4e828a1bb59b90b03a12c46f41c50f1f39b1816d798733852059ee6eed25", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `cancel_err` [INFO] [stderr] --> src/wallet/handlers/cooperative_exit.rs:293:28 [INFO] [stderr] | [INFO] [stderr] 293 | if let Err(cancel_err) = self.cancel_send_transfer(transfer.id.to_string()).await { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cancel_err` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `duration` [INFO] [stderr] --> src/wallet/handlers/create_tree.rs:85:13 [INFO] [stderr] | [INFO] [stderr] 85 | let duration = time_start.elapsed(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `duration` [INFO] [stderr] --> src/wallet/handlers/create_tree.rs:99:13 [INFO] [stderr] | [INFO] [stderr] 99 | let duration = time_start.elapsed(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `duration` [INFO] [stderr] --> src/wallet/handlers/deposit.rs:166:17 [INFO] [stderr] | [INFO] [stderr] 166 | let duration = time_start.elapsed(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `duration` [INFO] [stderr] --> src/wallet/handlers/deposit.rs:287:13 [INFO] [stderr] | [INFO] [stderr] 287 | let duration = time_start.elapsed(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `duration` [INFO] [stderr] --> src/wallet/handlers/deposit.rs:303:13 [INFO] [stderr] | [INFO] [stderr] 303 | let duration = time_start.elapsed(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lightning_send_response` [INFO] [stderr] --> src/wallet/handlers/lightning.rs:146:13 [INFO] [stderr] | [INFO] [stderr] 146 | let lightning_send_response = self [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lightning_send_response` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `network` [INFO] [stderr] --> src/wallet/handlers/swap.rs:194:13 [INFO] [stderr] | [INFO] [stderr] 194 | let network = self.config.spark_config.network; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pending_len` [INFO] [stderr] --> src/wallet/handlers/transfer.rs:593:13 [INFO] [stderr] | [INFO] [stderr] 593 | let pending_len = pending.len(); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pending_len` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `spark_protos::spark::spark_service_client::SparkServiceClient::::leaf_swap` [INFO] [stderr] --> src/wallet/internal_handlers/implementations/swap.rs:77:64 [INFO] [stderr] | [INFO] [stderr] 77 | |mut client, req| Box::pin(async move { client.leaf_swap(req).await }), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `duration` [INFO] [stderr] --> src/wallet/internal_handlers/implementations/create_tree.rs:176:13 [INFO] [stderr] | [INFO] [stderr] 176 | let duration = time_start.elapsed(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `duration` [INFO] [stderr] --> src/wallet/internal_handlers/implementations/create_tree.rs:188:13 [INFO] [stderr] | [INFO] [stderr] 188 | let duration = time_start.elapsed(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `duration` [INFO] [stderr] --> src/wallet/internal_handlers/implementations/create_tree.rs:244:13 [INFO] [stderr] | [INFO] [stderr] 244 | let duration = time_start.elapsed(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `duration` [INFO] [stderr] --> src/wallet/internal_handlers/implementations/create_tree.rs:262:13 [INFO] [stderr] | [INFO] [stderr] 262 | let duration = time_start.elapsed(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `duration` [INFO] [stderr] --> src/wallet/internal_handlers/implementations/create_tree.rs:532:13 [INFO] [stderr] | [INFO] [stderr] 532 | let duration = time_start.elapsed(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `duration` [INFO] [stderr] --> src/wallet/internal_handlers/implementations/create_tree.rs:548:13 [INFO] [stderr] | [INFO] [stderr] 548 | let duration = time_start.elapsed(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `duration` [INFO] [stderr] --> src/wallet/internal_handlers/implementations/create_tree.rs:566:13 [INFO] [stderr] | [INFO] [stderr] 566 | let duration = time_start.elapsed(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `duration` [INFO] [stderr] --> src/wallet/internal_handlers/implementations/create_tree.rs:588:13 [INFO] [stderr] | [INFO] [stderr] 588 | let duration = time_start.elapsed(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `network` [INFO] [stderr] --> src/wallet/internal_handlers/implementations/leaves.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | let network = self.config.spark_config.network; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `duration` [INFO] [stderr] --> src/wallet/internal_handlers/implementations/lightning.rs:95:13 [INFO] [stderr] | [INFO] [stderr] 95 | let duration = time_start.elapsed(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cancel_err` [INFO] [stderr] --> src/wallet/internal_handlers/implementations/transfer.rs:93:32 [INFO] [stderr] | [INFO] [stderr] 93 | if let Err(cancel_err) = [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cancel_err` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cancel_err` [INFO] [stderr] --> src/wallet/internal_handlers/implementations/transfer.rs:140:32 [INFO] [stderr] | [INFO] [stderr] 140 | if let Err(cancel_err) = [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cancel_err` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cancel_err` [INFO] [stderr] --> src/wallet/internal_handlers/implementations/transfer.rs:238:32 [INFO] [stderr] | [INFO] [stderr] 238 | if let Err(cancel_err) = [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cancel_err` [INFO] [stderr] [INFO] [stderr] warning: struct `CreateInvoiceVariables` is never constructed [INFO] [stderr] --> src/wallet/internal_handlers/traits/ssp.rs:20:19 [INFO] [stderr] | [INFO] [stderr] 20 | pub(crate) struct CreateInvoiceVariables { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `frost_commitment_to_proto_commitment` is never used [INFO] [stderr] --> src/wallet/utils/frost.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | pub(crate) fn frost_commitment_to_proto_commitment( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `filter_nodes`, `filter_and_lock_nodes`, and `remove_all_leaves` are never used [INFO] [stderr] --> src/wallet/leaf_manager/mod.rs:110:19 [INFO] [stderr] | [INFO] [stderr] 102 | impl LeafManager { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 110 | pub(crate) fn filter_nodes(&self, cb: Option) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 138 | pub(crate) fn filter_and_lock_nodes( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 272 | pub(crate) fn remove_all_leaves(&self) -> Result<(), SparkSdkError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `CoopExitStatus` is never used [INFO] [stderr] --> src/wallet/handlers/cooperative_exit.rs:34:10 [INFO] [stderr] | [INFO] [stderr] 34 | pub enum CoopExitStatus { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CoopExitRequest` is never constructed [INFO] [stderr] --> src/wallet/handlers/cooperative_exit.rs:60:12 [INFO] [stderr] | [INFO] [stderr] 60 | pub struct CoopExitRequest { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SigningNonce` is never constructed [INFO] [stderr] --> src/wallet/handlers/cooperative_exit.rs:75:12 [INFO] [stderr] | [INFO] [stderr] 75 | pub struct SigningNonce { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SigningCommitment` is never constructed [INFO] [stderr] --> src/wallet/handlers/cooperative_exit.rs:84:12 [INFO] [stderr] | [INFO] [stderr] 84 | pub struct SigningCommitment { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `create_tree` is never used [INFO] [stderr] --> src/wallet/handlers/create_tree.rs:66:14 [INFO] [stderr] | [INFO] [stderr] 38 | impl SparkSdk { [INFO] [stderr] | ---------------------------------------------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 66 | async fn create_tree( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `spark-rust` (lib) generated 31 warnings [INFO] [stderr] warning: unused import: `std::str::FromStr` [INFO] [stderr] --> tests/api_tests.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::str::FromStr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `bitcoin::Address` [INFO] [stderr] --> tests/api_tests.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use bitcoin::Address; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `bitcoin::Network` [INFO] [stderr] --> tests/api_tests.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use bitcoin::Network; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `network` [INFO] [stderr] --> src/wallet/handlers/swap.rs:194:13 [INFO] [stderr] | [INFO] [stderr] 194 | let network = self.config.spark_config.network; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 194 | let _network = self.config.spark_config.network; [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `TEST_NETWORK` [INFO] [stderr] | [INFO] [stderr] 194 - let network = self.config.spark_config.network; [INFO] [stderr] 194 + let signer::default_signer::default_signer_ecies_tests::TEST_NETWORK = self.config.spark_config.network; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `network` [INFO] [stderr] --> src/wallet/internal_handlers/implementations/leaves.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | let network = self.config.spark_config.network; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 19 | let _network = self.config.spark_config.network; [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `TEST_NETWORK` [INFO] [stderr] | [INFO] [stderr] 19 - let network = self.config.spark_config.network; [INFO] [stderr] 19 + let signer::default_signer::default_signer_ecies_tests::TEST_NETWORK = self.config.spark_config.network; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `WITHDRAWAL_CONFIRMATION_WAIT` [INFO] [stderr] --> tests/multi_flow_scenario_tests.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | WITHDRAWAL_CONFIRMATION_WAIT, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `secp` [INFO] [stderr] --> tests/multi_flow_scenario_tests.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | let secp = bitcoin::secp256k1::Secp256k1::new(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_secp` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `spark-rust` (test "api_tests") generated 3 warnings (run `cargo fix --test "api_tests"` to apply 3 suggestions) [INFO] [stderr] warning: `spark-rust` (lib test) generated 31 warnings (29 duplicates) (run `cargo fix --lib -p spark-rust --tests` to apply 2 suggestions) [INFO] [stderr] warning: `spark-rust` (test "multi_flow_scenario_tests") generated 2 warnings (run `cargo fix --test "multi_flow_scenario_tests"` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/spark_rust-194ddf9628e6362f) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test signer::default_signer::default_signer_shamir_tests::test_split_with_verifiable_secret_sharing ... ignored [INFO] [stdout] test signer::default_signer::frost_to_proto_conversions_test::test_frost_to_proto_conversions ... ok [INFO] [stdout] test tests::test_spark_network_display ... ok [INFO] [stdout] test tests::test_spark_network_from_str ... ok [INFO] [stdout] test wallet::config::spark::test::test_parse_spark_operator ... ok [INFO] [stdout] test wallet::handlers::transfer::tests::test_get_all_transfers_response ... ok [INFO] [stdout] test wallet::handlers::transfer::tests::test_get_all_transfers_response_no_offset ... ok [INFO] [stdout] test wallet::internal_handlers::implementations::leaves::tests::test_next_lower_power_of_two ... ok [INFO] [stdout] test wallet::utils::bitcoin::tests::test_p2tr_address_from_public_key ... ok [INFO] [stdout] test wallet::utils::bitcoin::tests::test_sighash_from_tx ... ok [INFO] [stdout] test wallet::utils::bitcoin::tests::test_tx_from_raw_tx_hex ... ok [INFO] [stdout] test signer::default_signer::default_signer_secp256k1_tests::test_get_identity_public_key ... ok [INFO] [stdout] test signer::default_signer::default_signer_secp256k1_tests::test_subtract_secret_keys_given_pubkeys ... ok [INFO] [stdout] test wallet::utils::sequence::next_sequence_tests::test_next_sequence_only_uses_lower_16_bits_of_input ... ok [INFO] [stdout] test signer::default_signer::default_signer_ecdsa_tests::test_sign_message_ecdsa_with_key ... ok [INFO] [stdout] test wallet::utils::sequence::next_sequence_tests::test_next_sequence_returns_zero_when_timelock_greater_equal_than_mask ... ok [INFO] [stdout] test wallet::utils::sequence::next_sequence_tests::test_next_sequence_should_pass_on_minimal_possible_inputs ... ok [INFO] [stdout] test signer::default_signer::default_signer_secp256k1_tests::test_new_secp256k1_keypair ... ok [INFO] [stdout] test signer::default_signer::default_signer_secp256k1_tests::test_insert_secp256k1_keypair_from_secret_key ... ok [INFO] [stdout] test signer::default_signer::default_signer_ecies_tests::test_ecies_encrypt_decrypt_round_trip ... ok [INFO] [stdout] test wallet::utils::sequence::next_sequence_tests::test_next_sequence_decrements_by_timelock_interval - should panic ... ok [INFO] [stdout] test signer::default_signer::default_signer_ecdsa_tests::test_sign_message_ecdsa_with_identity_key ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.36s [INFO] [stdout] [INFO] [stderr] Running tests/api_tests.rs (/opt/rustwide/target/debug/deps/api_tests-0903429b4bd31578) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test should_get_fee_estimates ... ignored [INFO] [stdout] test should_swap_leaves_with_ssp ... ignored [INFO] [stdout] test should_update_timelock_and_send_transfers ... ignored [INFO] [stdout] test should_pay_invoice_and_receive_funds ... FAILED [INFO] [stdout] test should_transfer ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- should_pay_invoice_and_receive_funds stdout ---- [INFO] [stdout] Error: Network(Transport(tonic::transport::Error(Transport, ConnectError(ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" }))))) [INFO] [stdout] [INFO] [stdout] ---- should_transfer stdout ---- [INFO] [stdout] Error: Network(Transport(tonic::transport::Error(Transport, ConnectError(ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" }))))) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] should_pay_invoice_and_receive_funds [INFO] [stdout] should_transfer [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 3 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test api_tests` [INFO] running `Command { std: "docker" "inspect" "273d4e828a1bb59b90b03a12c46f41c50f1f39b1816d798733852059ee6eed25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "273d4e828a1bb59b90b03a12c46f41c50f1f39b1816d798733852059ee6eed25", kill_on_drop: false }` [INFO] [stdout] 273d4e828a1bb59b90b03a12c46f41c50f1f39b1816d798733852059ee6eed25