[INFO] fetching crate cashu-crab 0.4.1-ALPHA... [INFO] testing cashu-crab-0.4.1-ALPHA against 1.90.0 for beta-1.91-3 [INFO] extracting crate cashu-crab 0.4.1-ALPHA into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate cashu-crab 0.4.1-ALPHA [INFO] finished tweaking crates.io crate cashu-crab 0.4.1-ALPHA [INFO] tweaked toml for crates.io crate cashu-crab 0.4.1-ALPHA written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cashu-crab 0.4.1-ALPHA on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 185 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding bitcoin v0.30.2 (available: v0.32.7) [INFO] [stderr] Adding bitcoin_hashes v0.12.0 (available: v0.16.0) [INFO] [stderr] Adding getrandom v0.2.16 (available: v0.3.3) [INFO] [stderr] Adding gloo v0.9.0 (available: v0.11.0) [INFO] [stderr] Adding lightning-invoice v0.24.0 (available: v0.33.2) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitcoin_hashes v0.12.0 [INFO] [stderr] Downloaded bitcoin_hashes v0.11.0 [INFO] [stderr] Downloaded gloo-worker v0.3.0 [INFO] [stderr] Downloaded minreq v2.14.1 [INFO] [stderr] Downloaded lightning-invoice v0.24.0 [INFO] [stderr] Downloaded bitcoin v0.30.2 [INFO] [stderr] Downloaded gloo v0.9.0 [INFO] [stderr] Downloaded bitcoin v0.29.2 [INFO] [stderr] Downloaded lightning v0.0.116 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0bdc372af571dd89b6c98e46b2c4fc01147a77af65b17001cfe82e78b5712ed5 [INFO] running `Command { std: "docker" "start" "-a" "0bdc372af571dd89b6c98e46b2c4fc01147a77af65b17001cfe82e78b5712ed5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bdc372af571dd89b6c98e46b2c4fc01147a77af65b17001cfe82e78b5712ed5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bdc372af571dd89b6c98e46b2c4fc01147a77af65b17001cfe82e78b5712ed5", kill_on_drop: false }` [INFO] [stdout] 0bdc372af571dd89b6c98e46b2c4fc01147a77af65b17001cfe82e78b5712ed5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3acba0c48e162b4154d2a464c296824117ff25a9a773b84b7608b09d6be7123b [INFO] running `Command { std: "docker" "start" "-a" "3acba0c48e162b4154d2a464c296824117ff25a9a773b84b7608b09d6be7123b", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling bitcoin-private v0.1.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling bitcoin_hashes v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling core2 v0.3.3 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling bitcoin v0.30.2 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Compiling secp256k1-sys v0.8.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling secp256k1 v0.24.3 [INFO] [stderr] Compiling bitcoin v0.29.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling lightning v0.0.116 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling bitcoin_hashes v0.12.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling minreq v2.14.1 [INFO] [stderr] Compiling secp256k1 v0.27.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling lightning-invoice v0.24.0 [INFO] [stderr] Compiling cashu-crab v0.4.1-ALPHA (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/wallet.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | let amount: Amount = token.proofs.iter().map(|p| p.amount).sum(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount_to_keep` [INFO] [stdout] --> src/wallet.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | let amount_to_keep = amount_available - amount; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount_to_keep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `nuts::nut06::SplitRequest::amount`: mint does not need amount [INFO] [stdout] --> src/mint.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | match &split_request.amount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `nuts::nut06::SplitResponse::new_from_amount`: mint only response with one list of all promises [INFO] [stdout] --> src/mint.rs:138:53 [INFO] [stdout] | [INFO] [stdout] 138 | let split_response = SplitResponse::new_from_amount(fst, snd); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `nuts::nut06::SplitResponse::target_amount`: mint only response with one list of all promises [INFO] [stdout] --> src/mint.rs:140:35 [INFO] [stdout] | [INFO] [stdout] 140 | if split_response.target_amount() != split_request.amount { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `nuts::nut06::SplitRequest::amount`: mint does not need amount [INFO] [stdout] --> src/mint.rs:140:54 [INFO] [stdout] | [INFO] [stdout] 140 | if split_response.target_amount() != split_request.amount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `nuts::nut06::SplitResponse::fst`: mint only response with one list of all promises [INFO] [stdout] --> src/nuts/nut06.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | fst: None, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `nuts::nut06::SplitResponse::snd`: mint only response with one list of all promises [INFO] [stdout] --> src/nuts/nut06.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | snd: None, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `nuts::nut06::SplitResponse::fst`: mint only response with one list of all promises [INFO] [stdout] --> src/nuts/nut06.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | fst: Some(fst), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `nuts::nut06::SplitResponse::snd`: mint only response with one list of all promises [INFO] [stdout] --> src/nuts/nut06.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | snd: Some(snd), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `nuts::nut06::SplitResponse::fst`: mint only response with one list of all promises [INFO] [stdout] --> src/nuts/nut06.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | match &self.fst { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `nuts::nut06::SplitResponse::snd`: mint only response with one list of all promises [INFO] [stdout] --> src/nuts/nut06.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | match &self.snd { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `nuts::nut06::SplitRequest::amount`: mint does not need amount [INFO] [stdout] --> src/wallet.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | amount: None, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.57s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lightning v0.0.116 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "3acba0c48e162b4154d2a464c296824117ff25a9a773b84b7608b09d6be7123b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3acba0c48e162b4154d2a464c296824117ff25a9a773b84b7608b09d6be7123b", kill_on_drop: false }` [INFO] [stdout] 3acba0c48e162b4154d2a464c296824117ff25a9a773b84b7608b09d6be7123b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c91bb5b667fc99e57432294999c6e510f31feb14994672c2a6a05e7339612692 [INFO] running `Command { std: "docker" "start" "-a" "c91bb5b667fc99e57432294999c6e510f31feb14994672c2a6a05e7339612692", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling bitcoin_hashes v0.12.0 [INFO] [stderr] Compiling lightning-invoice v0.24.0 [INFO] [stderr] Compiling minreq v2.14.1 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling secp256k1 v0.27.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling bitcoin v0.30.2 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling cashu-crab v0.4.1-ALPHA (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/wallet.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | let amount: Amount = token.proofs.iter().map(|p| p.amount).sum(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount_to_keep` [INFO] [stdout] --> src/wallet.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | let amount_to_keep = amount_available - amount; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount_to_keep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `nuts::nut06::SplitRequest::amount`: mint does not need amount [INFO] [stdout] --> src/mint.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | match &split_request.amount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `nuts::nut06::SplitResponse::new_from_amount`: mint only response with one list of all promises [INFO] [stdout] --> src/mint.rs:138:53 [INFO] [stdout] | [INFO] [stdout] 138 | let split_response = SplitResponse::new_from_amount(fst, snd); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `nuts::nut06::SplitResponse::target_amount`: mint only response with one list of all promises [INFO] [stdout] --> src/mint.rs:140:35 [INFO] [stdout] | [INFO] [stdout] 140 | if split_response.target_amount() != split_request.amount { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `nuts::nut06::SplitRequest::amount`: mint does not need amount [INFO] [stdout] --> src/mint.rs:140:54 [INFO] [stdout] | [INFO] [stdout] 140 | if split_response.target_amount() != split_request.amount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `nuts::nut06::SplitResponse::fst`: mint only response with one list of all promises [INFO] [stdout] --> src/nuts/nut06.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | fst: None, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `nuts::nut06::SplitResponse::snd`: mint only response with one list of all promises [INFO] [stdout] --> src/nuts/nut06.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | snd: None, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `nuts::nut06::SplitResponse::fst`: mint only response with one list of all promises [INFO] [stdout] --> src/nuts/nut06.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | fst: Some(fst), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `nuts::nut06::SplitResponse::snd`: mint only response with one list of all promises [INFO] [stdout] --> src/nuts/nut06.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | snd: Some(snd), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `nuts::nut06::SplitResponse::fst`: mint only response with one list of all promises [INFO] [stdout] --> src/nuts/nut06.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | match &self.fst { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `nuts::nut06::SplitResponse::snd`: mint only response with one list of all promises [INFO] [stdout] --> src/nuts/nut06.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | match &self.snd { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `nuts::nut06::SplitRequest::amount`: mint does not need amount [INFO] [stdout] --> src/wallet.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | amount: None, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/wallet.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | let amount: Amount = token.proofs.iter().map(|p| p.amount).sum(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount_to_keep` [INFO] [stdout] --> src/wallet.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | let amount_to_keep = amount_available - amount; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount_to_keep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `nuts::nut06::SplitRequest::amount`: mint does not need amount [INFO] [stdout] --> src/mint.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | match &split_request.amount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `nuts::nut06::SplitResponse::new_from_amount`: mint only response with one list of all promises [INFO] [stdout] --> src/mint.rs:138:53 [INFO] [stdout] | [INFO] [stdout] 138 | let split_response = SplitResponse::new_from_amount(fst, snd); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `nuts::nut06::SplitResponse::target_amount`: mint only response with one list of all promises [INFO] [stdout] --> src/mint.rs:140:35 [INFO] [stdout] | [INFO] [stdout] 140 | if split_response.target_amount() != split_request.amount { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `nuts::nut06::SplitRequest::amount`: mint does not need amount [INFO] [stdout] --> src/mint.rs:140:54 [INFO] [stdout] | [INFO] [stdout] 140 | if split_response.target_amount() != split_request.amount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `nuts::nut06::SplitResponse::fst`: mint only response with one list of all promises [INFO] [stdout] --> src/nuts/nut06.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | fst: None, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `nuts::nut06::SplitResponse::snd`: mint only response with one list of all promises [INFO] [stdout] --> src/nuts/nut06.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | snd: None, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `nuts::nut06::SplitResponse::fst`: mint only response with one list of all promises [INFO] [stdout] --> src/nuts/nut06.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | fst: Some(fst), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `nuts::nut06::SplitResponse::snd`: mint only response with one list of all promises [INFO] [stdout] --> src/nuts/nut06.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | snd: Some(snd), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `nuts::nut06::SplitResponse::fst`: mint only response with one list of all promises [INFO] [stdout] --> src/nuts/nut06.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | match &self.fst { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `nuts::nut06::SplitResponse::snd`: mint only response with one list of all promises [INFO] [stdout] --> src/nuts/nut06.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | match &self.snd { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `nuts::nut06::SplitRequest::amount`: mint does not need amount [INFO] [stdout] --> src/wallet.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | amount: None, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 22.10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lightning v0.0.116 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "c91bb5b667fc99e57432294999c6e510f31feb14994672c2a6a05e7339612692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c91bb5b667fc99e57432294999c6e510f31feb14994672c2a6a05e7339612692", kill_on_drop: false }` [INFO] [stdout] c91bb5b667fc99e57432294999c6e510f31feb14994672c2a6a05e7339612692 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 19519c0cb0021a05d63bfc10d673d732375ad2209f82877ef8c278d8064e12b4 [INFO] running `Command { std: "docker" "start" "-a" "19519c0cb0021a05d63bfc10d673d732375ad2209f82877ef8c278d8064e12b4", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `amount` [INFO] [stderr] --> src/wallet.rs:122:17 [INFO] [stderr] | [INFO] [stderr] 122 | let amount: Amount = token.proofs.iter().map(|p| p.amount).sum(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `amount_to_keep` [INFO] [stderr] --> src/wallet.rs:232:13 [INFO] [stderr] | [INFO] [stderr] 232 | let amount_to_keep = amount_available - amount; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount_to_keep` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `nuts::nut06::SplitRequest::amount`: mint does not need amount [INFO] [stderr] --> src/mint.rs:117:16 [INFO] [stderr] | [INFO] [stderr] 117 | match &split_request.amount { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `nuts::nut06::SplitResponse::new_from_amount`: mint only response with one list of all promises [INFO] [stderr] --> src/mint.rs:138:53 [INFO] [stderr] | [INFO] [stderr] 138 | let split_response = SplitResponse::new_from_amount(fst, snd); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `nuts::nut06::SplitResponse::target_amount`: mint only response with one list of all promises [INFO] [stderr] --> src/mint.rs:140:35 [INFO] [stderr] | [INFO] [stderr] 140 | if split_response.target_amount() != split_request.amount { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `nuts::nut06::SplitRequest::amount`: mint does not need amount [INFO] [stderr] --> src/mint.rs:140:54 [INFO] [stderr] | [INFO] [stderr] 140 | if split_response.target_amount() != split_request.amount { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `nuts::nut06::SplitResponse::fst`: mint only response with one list of all promises [INFO] [stderr] --> src/nuts/nut06.rs:63:13 [INFO] [stderr] | [INFO] [stderr] 63 | fst: None, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `nuts::nut06::SplitResponse::snd`: mint only response with one list of all promises [INFO] [stderr] --> src/nuts/nut06.rs:64:13 [INFO] [stderr] | [INFO] [stderr] 64 | snd: None, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `nuts::nut06::SplitResponse::fst`: mint only response with one list of all promises [INFO] [stderr] --> src/nuts/nut06.rs:78:13 [INFO] [stderr] | [INFO] [stderr] 78 | fst: Some(fst), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `nuts::nut06::SplitResponse::snd`: mint only response with one list of all promises [INFO] [stderr] --> src/nuts/nut06.rs:79:13 [INFO] [stderr] | [INFO] [stderr] 79 | snd: Some(snd), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `nuts::nut06::SplitResponse::fst`: mint only response with one list of all promises [INFO] [stderr] --> src/nuts/nut06.rs:89:16 [INFO] [stderr] | [INFO] [stderr] 89 | match &self.fst { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `nuts::nut06::SplitResponse::snd`: mint only response with one list of all promises [INFO] [stderr] --> src/nuts/nut06.rs:104:16 [INFO] [stderr] | [INFO] [stderr] 104 | match &self.snd { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `nuts::nut06::SplitRequest::amount`: mint does not need amount [INFO] [stderr] --> src/wallet.rs:154:13 [INFO] [stderr] | [INFO] [stderr] 154 | amount: None, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `cashu-crab` (lib) generated 13 warnings [INFO] [stderr] warning: `cashu-crab` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lightning v0.0.116 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cashu_crab-bb3dd98ca56a3b76) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test dhke::tests::test_blinded_dhke ... ignored [INFO] [stdout] test dhke::tests::test_hash_to_curve ... ok [INFO] [stdout] test client::tests::test_decode_error ... ok [INFO] [stdout] test dhke::tests::test_unblind_message ... ok [INFO] [stdout] test nuts::nut00::tests::test_proof_seralize ... ok [INFO] [stdout] test dhke::tests::test_sign_message ... ok [INFO] [stdout] test nuts::nut00::tests::test_token_str_round_trip ... ok [INFO] [stdout] test dhke::tests::test_blind_message ... ok [INFO] [stdout] test utils::tests::test_split_amount ... ok [INFO] [stdout] test nuts::nut02::test::deserialization_and_id_generation ... ok [INFO] [stdout] test nuts::nut00::tests::test_blank_blinded_messages ... ok [INFO] [stdout] test wallet::tests::test_wallet ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Doc-tests cashu_crab [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "19519c0cb0021a05d63bfc10d673d732375ad2209f82877ef8c278d8064e12b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19519c0cb0021a05d63bfc10d673d732375ad2209f82877ef8c278d8064e12b4", kill_on_drop: false }` [INFO] [stdout] 19519c0cb0021a05d63bfc10d673d732375ad2209f82877ef8c278d8064e12b4