[INFO] fetching crate cashu-crab 0.4.1-ALPHA... [INFO] testing cashu-crab-0.4.1-ALPHA against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate cashu-crab 0.4.1-ALPHA into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cashu-crab 0.4.1-ALPHA on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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 172 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.17.0) [INFO] [stderr] Adding getrandom v0.2.16 (available: v0.3.4) [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded minreq v2.14.1 [INFO] [stderr] Downloaded gloo-worker-macros v0.1.0 [INFO] [stderr] Downloaded bitcoin_hashes v0.11.0 [INFO] [stderr] Downloaded gloo-console v0.2.3 [INFO] [stderr] Downloaded gloo-dialogs v0.1.1 [INFO] [stderr] Downloaded pinned v0.1.0 [INFO] [stderr] Downloaded gloo-render v0.1.1 [INFO] [stderr] Downloaded gloo-file v0.2.3 [INFO] [stderr] Downloaded serde-wasm-bindgen v0.5.0 [INFO] [stderr] Downloaded gloo-history v0.1.5 [INFO] [stderr] Downloaded core2 v0.3.3 [INFO] [stderr] Downloaded gloo-net v0.3.1 [INFO] [stderr] Downloaded gloo-utils v0.1.7 [INFO] [stderr] Downloaded secp256k1 v0.27.0 [INFO] [stderr] Downloaded gloo-events v0.1.2 [INFO] [stderr] Downloaded gloo v0.9.0 [INFO] [stderr] Downloaded gloo-storage v0.2.2 [INFO] [stderr] Downloaded lightning-invoice v0.24.0 [INFO] [stderr] Downloaded bitcoin v0.29.2 [INFO] [stderr] Downloaded bitcoin v0.30.2 [INFO] [stderr] Downloaded secp256k1-sys v0.8.2 [INFO] [stderr] Downloaded gloo-worker v0.3.0 [INFO] [stderr] Downloaded lightning v0.0.116 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f94446d5bed4a79f0f21ca5e587467dff5ac9e5ac2887b852c4d2e6b421967cb [INFO] running `Command { std: "docker" "start" "-a" "f94446d5bed4a79f0f21ca5e587467dff5ac9e5ac2887b852c4d2e6b421967cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f94446d5bed4a79f0f21ca5e587467dff5ac9e5ac2887b852c4d2e6b421967cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f94446d5bed4a79f0f21ca5e587467dff5ac9e5ac2887b852c4d2e6b421967cb", kill_on_drop: false }` [INFO] [stdout] f94446d5bed4a79f0f21ca5e587467dff5ac9e5ac2887b852c4d2e6b421967cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43bf9a7fd59c9451b164af794e6e5b8343e9ebb4afa54f5364f11eb3e2597221 [INFO] running `Command { std: "docker" "start" "-a" "43bf9a7fd59c9451b164af794e6e5b8343e9ebb4afa54f5364f11eb3e2597221", kill_on_drop: false }` [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling bitcoin-private v0.1.0 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Compiling secp256k1-sys v0.8.2 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling bitcoin_hashes v0.11.0 [INFO] [stderr] Compiling core2 v0.3.3 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling bitcoin v0.30.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling digest v0.10.7 [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 rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling secp256k1 v0.24.3 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling bitcoin v0.29.2 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling bitcoin_hashes v0.12.0 [INFO] [stderr] Compiling minreq v2.14.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling secp256k1 v0.27.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling lightning v0.0.116 [INFO] [stderr] Compiling lightning-invoice v0.24.0 [INFO] [stderr] Compiling cashu-crab v0.4.1-ALPHA (/opt/rustwide/workdir) [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.24s [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 4` [INFO] running `Command { std: "docker" "inspect" "43bf9a7fd59c9451b164af794e6e5b8343e9ebb4afa54f5364f11eb3e2597221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43bf9a7fd59c9451b164af794e6e5b8343e9ebb4afa54f5364f11eb3e2597221", kill_on_drop: false }` [INFO] [stdout] 43bf9a7fd59c9451b164af794e6e5b8343e9ebb4afa54f5364f11eb3e2597221 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d502d66af7cd4007535abf895860abb533fd8592268c359474c86f0f7c4e9474 [INFO] running `Command { std: "docker" "start" "-a" "d502d66af7cd4007535abf895860abb533fd8592268c359474c86f0f7c4e9474", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling bitcoin_hashes v0.12.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling minreq v2.14.1 [INFO] [stderr] Compiling lightning-invoice v0.24.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: 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] [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.59s [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 4` [INFO] running `Command { std: "docker" "inspect" "d502d66af7cd4007535abf895860abb533fd8592268c359474c86f0f7c4e9474", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d502d66af7cd4007535abf895860abb533fd8592268c359474c86f0f7c4e9474", kill_on_drop: false }` [INFO] [stdout] d502d66af7cd4007535abf895860abb533fd8592268c359474c86f0f7c4e9474 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ed2e155ab353a7ec16a2ac92feba6d243681986f44ae1d11bca92166e51dc246 [INFO] running `Command { std: "docker" "start" "-a" "ed2e155ab353a7ec16a2ac92feba6d243681986f44ae1d11bca92166e51dc246", kill_on_drop: false }` [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: 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: `cashu-crab` (lib) generated 13 warnings (run `cargo fix --lib -p cashu-crab` to apply 2 suggestions) [INFO] [stderr] warning: `cashu-crab` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [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 4` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cashu_crab-54a1f31e616ceac7) [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 client::tests::test_decode_error ... ok [INFO] [stdout] test nuts::nut00::tests::test_token_str_round_trip ... ok [INFO] [stdout] test dhke::tests::test_sign_message ... ok [INFO] [stdout] test dhke::tests::test_blind_message ... ok [INFO] [stdout] test dhke::tests::test_unblind_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.07s [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" "ed2e155ab353a7ec16a2ac92feba6d243681986f44ae1d11bca92166e51dc246", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed2e155ab353a7ec16a2ac92feba6d243681986f44ae1d11bca92166e51dc246", kill_on_drop: false }` [INFO] [stdout] ed2e155ab353a7ec16a2ac92feba6d243681986f44ae1d11bca92166e51dc246