[INFO] fetching crate cashu-crab 0.4.1-ALPHA... [INFO] testing cashu-crab-0.4.1-ALPHA against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate cashu-crab 0.4.1-ALPHA into /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cashu-crab 0.4.1-ALPHA on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 182 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gloo-storage v0.2.2 [INFO] [stderr] Downloaded gloo-worker-macros v0.1.0 [INFO] [stderr] Downloaded pinned v0.1.0 [INFO] [stderr] Downloaded gloo-console v0.2.3 [INFO] [stderr] Downloaded gloo-file v0.2.3 [INFO] [stderr] Downloaded bitcoin-private v0.1.0 [INFO] [stderr] Downloaded gloo-dialogs v0.1.1 [INFO] [stderr] Downloaded gloo-render v0.1.1 [INFO] [stderr] Downloaded gloo-events v0.1.2 [INFO] [stderr] Downloaded gloo-net v0.3.1 [INFO] [stderr] Downloaded gloo-worker v0.3.0 [INFO] [stderr] Downloaded serde-wasm-bindgen v0.5.0 [INFO] [stderr] Downloaded gloo-history v0.1.5 [INFO] [stderr] Downloaded minreq v2.14.0 [INFO] [stderr] Downloaded core2 v0.3.3 [INFO] [stderr] Downloaded lightning-invoice v0.24.0 [INFO] [stderr] Downloaded bitcoin_hashes v0.12.0 [INFO] [stderr] Downloaded gloo v0.9.0 [INFO] [stderr] Downloaded bitcoin v0.30.2 [INFO] [stderr] Downloaded bitcoin v0.29.2 [INFO] [stderr] Downloaded lightning v0.0.116 [INFO] [stderr] Downloaded secp256k1-sys v0.8.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afdfce6387f902b9ec2fe260706dee08905bdfff59b4ab0ce0e831d28091f5af [INFO] running `Command { std: "docker" "start" "-a" "afdfce6387f902b9ec2fe260706dee08905bdfff59b4ab0ce0e831d28091f5af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afdfce6387f902b9ec2fe260706dee08905bdfff59b4ab0ce0e831d28091f5af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afdfce6387f902b9ec2fe260706dee08905bdfff59b4ab0ce0e831d28091f5af", kill_on_drop: false }` [INFO] [stdout] afdfce6387f902b9ec2fe260706dee08905bdfff59b4ab0ce0e831d28091f5af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22a688eb1180d7879d94fd2693927d0db1c2f8afb9f3fd215c09e79d4cbda914 [INFO] running `Command { std: "docker" "start" "-a" "22a688eb1180d7879d94fd2693927d0db1c2f8afb9f3fd215c09e79d4cbda914", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Compiling bitcoin-private v0.1.0 [INFO] [stderr] Compiling secp256k1-sys v0.8.2 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling bitcoin_hashes v0.11.0 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling smallvec v1.15.1 [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 der v0.7.10 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling bitcoin v0.30.2 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling group v0.13.0 [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.219 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling secp256k1 v0.24.3 [INFO] [stderr] Compiling bitcoin v0.29.2 [INFO] [stderr] Compiling serde v1.0.219 [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 sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling lightning v0.0.116 [INFO] [stderr] Compiling bitcoin_hashes v0.12.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling secp256k1 v0.27.0 [INFO] [stderr] Compiling minreq v2.14.0 [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)]` (part of `#[warn(unused)]`) 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 41.92s [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" "22a688eb1180d7879d94fd2693927d0db1c2f8afb9f3fd215c09e79d4cbda914", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22a688eb1180d7879d94fd2693927d0db1c2f8afb9f3fd215c09e79d4cbda914", kill_on_drop: false }` [INFO] [stdout] 22a688eb1180d7879d94fd2693927d0db1c2f8afb9f3fd215c09e79d4cbda914 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d992cac70b154e481173ba3a5b79ad46d1679a914b81ce4cad0774da551fd16 [INFO] running `Command { std: "docker" "start" "-a" "6d992cac70b154e481173ba3a5b79ad46d1679a914b81ce4cad0774da551fd16", 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.219 [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.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling bitcoin_hashes v0.12.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling lightning-invoice v0.24.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling minreq v2.14.0 [INFO] [stderr] Compiling secp256k1 v0.27.0 [INFO] [stderr] Compiling bitcoin v0.30.2 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 15.53s [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" "6d992cac70b154e481173ba3a5b79ad46d1679a914b81ce4cad0774da551fd16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d992cac70b154e481173ba3a5b79ad46d1679a914b81ce4cad0774da551fd16", kill_on_drop: false }` [INFO] [stdout] 6d992cac70b154e481173ba3a5b79ad46d1679a914b81ce4cad0774da551fd16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5f021265868ab47862c67f09aefb90edbf5a5301f9ef638586a43e50abcebc6f [INFO] running `Command { std: "docker" "start" "-a" "5f021265868ab47862c67f09aefb90edbf5a5301f9ef638586a43e50abcebc6f", 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)]` (part of `#[warn(unused)]`) 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.11s [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-9ad84a8d4479331c) [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 utils::tests::test_split_amount ... ok [INFO] [stdout] test nuts::nut00::tests::test_proof_seralize ... 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 dhke::tests::test_unblind_message ... ok [INFO] [stdout] test client::tests::test_decode_error ... ok [INFO] [stdout] test dhke::tests::test_sign_message ... 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.04s [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" "5f021265868ab47862c67f09aefb90edbf5a5301f9ef638586a43e50abcebc6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f021265868ab47862c67f09aefb90edbf5a5301f9ef638586a43e50abcebc6f", kill_on_drop: false }` [INFO] [stdout] 5f021265868ab47862c67f09aefb90edbf5a5301f9ef638586a43e50abcebc6f