[INFO] cloning repository https://github.com/rust-cashu/cdk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rust-cashu/cdk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-cashu%2Fcdk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-cashu%2Fcdk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb5b64db8fe81149fd26a08dbf3a4842f7aaf8c8 [INFO] checking rust-cashu/cdk against try#a3a874232ae0a7586b5fbe7483c5a42e157bd62a for pr-151109 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-cashu%2Fcdk" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/rust-cashu/cdk [INFO] finished tweaking git repo https://github.com/rust-cashu/cdk [INFO] tweaked toml for git repo https://github.com/rust-cashu/cdk written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rust-cashu/cdk on toolchain a3a874232ae0a7586b5fbe7483c5a42e157bd62a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rust-cashu/cdk already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustls-pki-types v1.4.1 [INFO] [stderr] Downloaded rustls-pemfile v2.1.1 [INFO] [stderr] Downloaded uniffi v0.27.1 [INFO] [stderr] Downloaded getrandom v0.2.13 [INFO] [stderr] Downloaded scroll_derive v0.12.0 [INFO] [stderr] Downloaded hyper-rustls v0.26.0 [INFO] [stderr] Downloaded uniffi_testing v0.27.1 [INFO] [stderr] Downloaded hex-conservative v0.1.1 [INFO] [stderr] Downloaded uniffi_udl v0.27.1 [INFO] [stderr] Downloaded uniffi_core v0.27.1 [INFO] [stderr] Downloaded uniffi_macros v0.27.1 [INFO] [stderr] Downloaded lightning-invoice v0.29.0 [INFO] [stderr] Downloaded base64 v0.22.0 [INFO] [stderr] Downloaded oneshot-uniffi v0.1.6 [INFO] [stderr] Downloaded rustls-webpki v0.102.2 [INFO] [stderr] Downloaded reqwest v0.12.3 [INFO] [stderr] Downloaded weedle2 v5.0.0 [INFO] [stderr] Downloaded webpki-roots v0.26.1 [INFO] [stderr] Downloaded redb v2.0.0 [INFO] [stderr] Downloaded uniffi_checksum_derive v0.27.1 [INFO] [stderr] Downloaded goblin v0.8.0 [INFO] [stderr] Downloaded uniffi_bindgen v0.27.1 [INFO] [stderr] Downloaded rustls v0.22.3 [INFO] [stderr] Downloaded uniffi_meta v0.27.1 [INFO] [stderr] Downloaded lightning v0.0.121 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd79f743084a8a5bb8ccfbd27aaeb3f2317ce38d8dd4cfea859dc485506b2667 [INFO] running `Command { std: "docker" "start" "-a" "bd79f743084a8a5bb8ccfbd27aaeb3f2317ce38d8dd4cfea859dc485506b2667", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd79f743084a8a5bb8ccfbd27aaeb3f2317ce38d8dd4cfea859dc485506b2667", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd79f743084a8a5bb8ccfbd27aaeb3f2317ce38d8dd4cfea859dc485506b2667", kill_on_drop: false }` [INFO] [stdout] bd79f743084a8a5bb8ccfbd27aaeb3f2317ce38d8dd4cfea859dc485506b2667 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 690e287c11b0e368e3d433caa84c5044daebc911144da640566da288536a6eda [INFO] running `Command { std: "docker" "start" "-a" "690e287c11b0e368e3d433caa84c5044daebc911144da640566da288536a6eda", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking getrandom v0.2.13 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling bitcoin-private v0.1.0 [INFO] [stderr] Checking rustls-pki-types v1.4.1 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rustls v0.22.3 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling bitcoin v0.30.2 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking askama_escape v0.10.3 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Checking hex-conservative v0.1.1 [INFO] [stderr] Compiling redb v2.0.0 [INFO] [stderr] Checking heck v0.4.1 [INFO] [stderr] Checking oneshot-uniffi v0.1.6 [INFO] [stderr] Checking weedle2 v5.0.0 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking rustls-pemfile v2.1.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking webpki-roots v0.26.1 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking cashu-cli v0.1.0 (/opt/rustwide/workdir/crates/cashu-cli) [INFO] [stderr] Checking rustls-webpki v0.102.2 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling uniffi_checksum_derive v0.27.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling scroll_derive v0.12.0 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking scroll v0.12.0 [INFO] [stderr] Checking uniffi_meta v0.27.1 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking goblin v0.8.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v1.2.0 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking tokio-socks v0.5.1 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking cargo-platform v0.1.8 [INFO] [stderr] Checking bitcoin_hashes v0.12.0 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling basic-toml v0.1.9 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Checking uniffi_core v0.27.1 [INFO] [stderr] Checking hyper-rustls v0.26.0 [INFO] [stderr] Checking bip39 v2.0.0 [INFO] [stderr] Checking cargo_metadata v0.15.4 [INFO] [stderr] Checking reqwest v0.12.3 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Checking secp256k1 v0.27.0 [INFO] [stderr] Checking uniffi_testing v0.27.1 [INFO] [stderr] Compiling uniffi_macros v0.27.1 [INFO] [stderr] Checking uniffi_udl v0.27.1 [INFO] [stderr] Checking askama v0.12.1 [INFO] [stderr] Checking uniffi_bindgen v0.27.1 [INFO] [stderr] Checking lightning v0.0.121 [INFO] [stderr] Checking uniffi v0.27.1 [INFO] [stderr] Checking uniffi-bindgen v0.1.0 (/opt/rustwide/workdir/bindings/uniffi-bindgen) [INFO] [stderr] Checking lightning-invoice v0.29.0 [INFO] [stderr] Checking cdk v0.1.0 (/opt/rustwide/workdir/crates/cdk) [INFO] [stdout] error[E0259]: the name `core` is defined multiple times [INFO] [stdout] --> crates/cdk/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate core; [INFO] [stdout] | ------------------ previous import of the extern crate `core` here [INFO] [stdout] 16 | extern crate core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `core` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `core` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0259]: the name `core` is defined multiple times [INFO] [stdout] --> crates/cdk/src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate core; [INFO] [stdout] | ------------------ previous import of the extern crate `core` here [INFO] [stdout] 16 | extern crate core; [INFO] [stdout] 17 | extern crate core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `core` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `core` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0259]: the name `core` is defined multiple times [INFO] [stdout] --> crates/cdk/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate core; [INFO] [stdout] | ------------------ previous import of the extern crate `core` here [INFO] [stdout] 16 | extern crate core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `core` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `core` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0259]: the name `core` is defined multiple times [INFO] [stdout] --> crates/cdk/src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate core; [INFO] [stdout] | ------------------ previous import of the extern crate `core` here [INFO] [stdout] 16 | extern crate core; [INFO] [stdout] 17 | extern crate core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `core` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `core` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::amount` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::amount::Amount; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `bitcoin::amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::dhke` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::dhke::{hash_to_curve, sign_message, verify_message}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `util::dhke` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::nuts::BlindSignature`, `crate::nuts::BlindedMessage`, `crate::nuts::CheckStateRequest`, `crate::nuts::CheckStateResponse`, `crate::nuts::MeltBolt11Request`, `crate::nuts::MeltBolt11Response`, `crate::nuts::Proof`, `crate::nuts::RestoreRequest`, `crate::nuts::RestoreResponse`, `crate::nuts::SwapRequest`, `crate::nuts::SwapResponse` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | BlindSignature, BlindedMessage, CheckStateRequest, CheckStateResponse, MeltBolt11Request, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ no `MeltBolt11Request` in `nuts` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `CheckStateResponse` in `nuts` [INFO] [stdout] | | | no `CheckStateRequest` in `nuts` [INFO] [stdout] | | no `BlindedMessage` in `nuts` [INFO] [stdout] | no `BlindSignature` in `nuts` [INFO] [stdout] 19 | MeltBolt11Response, Proof, RestoreRequest, RestoreResponse, SwapRequest, SwapResponse, *, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | no `SwapRequest` in `nuts` [INFO] [stdout] | | | | no `RestoreResponse` in `nuts` [INFO] [stdout] | | | no `RestoreRequest` in `nuts` [INFO] [stdout] | | no `Proof` in `nuts` [INFO] [stdout] | no `MeltBolt11Response` in `nuts` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::BlindSignature [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::BlindedMessage [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::CheckStateRequest [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::CheckStateResponse [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::MeltBolt11Request [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::MeltBolt11Response [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::Proof [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::RestoreRequest [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::RestoreResponse [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::SwapRequest [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Mnemonic` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::Mnemonic; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Mnemonic` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 22 | use crate::bip39::Mnemonic; [INFO] [stdout] | +++++++ [INFO] [stdout] 22 - use crate::Mnemonic; [INFO] [stdout] 22 + use bip39::Mnemonic; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::dhke` [INFO] [stdout] --> crates/cdk/src/nuts/nut00.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 129 | use crate::dhke::blind_message; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `util::dhke` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::nuts::BlindedMessage`, `crate::nuts::Id`, `crate::nuts::P2PKConditions`, `crate::nuts::Proofs`, `crate::nuts::SecretKey` [INFO] [stdout] --> crates/cdk/src/nuts/nut00.rs:131:23 [INFO] [stdout] | [INFO] [stdout] 131 | use crate::nuts::{BlindedMessage, Id, P2PKConditions, Proofs, SecretKey}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ no `SecretKey` in `nuts` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `Proofs` in `nuts` [INFO] [stdout] | | | no `P2PKConditions` in `nuts` [INFO] [stdout] | | no `Id` in `nuts` [INFO] [stdout] | no `BlindedMessage` in `nuts` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::BlindedMessage [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] crate::prelude::Id [INFO] [stdout] tracing::Id [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::P2PKConditions [INFO] [stdout] = help: consider importing this type alias through its public re-export instead: [INFO] [stdout] crate::prelude::Proofs [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] crate::prelude::SecretKey [INFO] [stdout] crate::secp256k1::SecretKey [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Amount` [INFO] [stdout] --> crates/cdk/src/nuts/nut00.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | use crate::{error, Amount}; [INFO] [stdout] | ^^^^^^ no `Amount` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::error::Error::Amount [INFO] [stdout] crate::mint::Error::Amount [INFO] [stdout] crate::prelude::nut00::Amount [INFO] [stdout] bitcoin::Amount [INFO] [stdout] note: variant `crate::mint::error::Error::Amount` exists but is inaccessible [INFO] [stdout] --> crates/cdk/src/mint/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Amount, [INFO] [stdout] | ^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::CurrencyUnit` [INFO] [stdout] --> crates/cdk/src/nuts/nut02.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use super::CurrencyUnit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `CurrencyUnit` in `nuts` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 19 - use super::CurrencyUnit; [INFO] [stdout] 19 + use crate::prelude::CurrencyUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::nuts::CurrencyUnit` [INFO] [stdout] --> crates/cdk/src/nuts/nut02.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | use crate::nuts::CurrencyUnit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `CurrencyUnit` in `nuts` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 232 - use crate::nuts::CurrencyUnit; [INFO] [stdout] 232 + use crate::prelude::CurrencyUnit; [INFO] [stdout] | [INFO] [stdout] 232 - use crate::nuts::CurrencyUnit; [INFO] [stdout] 232 + use crate::prelude::nut02::CurrencyUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Amount` [INFO] [stdout] --> crates/cdk/src/nuts/nut02.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | use crate::Amount; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Amount` in the root [INFO] [stdout] | [INFO] [stdout] note: variant `crate::mint::error::Error::Amount` exists but is inaccessible [INFO] [stdout] --> crates/cdk/src/mint/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Amount, [INFO] [stdout] | ^^^^^^ not accessible [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 233 | use crate::bitcoin::Amount; [INFO] [stdout] | +++++++++ [INFO] [stdout] 233 | use crate::error::Error::Amount; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] 233 | use crate::mint::Error::Amount; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] 233 - use crate::Amount; [INFO] [stdout] 233 + use bitcoin::Amount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::nuts::PreMintSecrets` [INFO] [stdout] --> crates/cdk/src/nuts/nut03.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::nuts::PreMintSecrets; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `PreMintSecrets` in `nuts` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 13 - use crate::nuts::PreMintSecrets; [INFO] [stdout] 13 + use crate::prelude::wallet::PreMintSecrets; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::nuts::BlindedMessage`, `crate::nuts::Proofs` [INFO] [stdout] --> crates/cdk/src/nuts/nut03.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::nuts::{BlindedMessage, Proofs}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^ no `Proofs` in `nuts` [INFO] [stdout] | | [INFO] [stdout] | no `BlindedMessage` in `nuts` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::BlindedMessage [INFO] [stdout] = help: consider importing this type alias through its public re-export instead: [INFO] [stdout] crate::prelude::Proofs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Amount` [INFO] [stdout] --> crates/cdk/src/nuts/nut03.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::Amount; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Amount` in the root [INFO] [stdout] | [INFO] [stdout] note: variant `crate::mint::error::Error::Amount` exists but is inaccessible [INFO] [stdout] --> crates/cdk/src/mint/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Amount, [INFO] [stdout] | ^^^^^^ not accessible [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 15 | use crate::bitcoin::Amount; [INFO] [stdout] | +++++++++ [INFO] [stdout] 15 | use crate::error::Error::Amount; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] 15 | use crate::mint::Error::Amount; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] 15 - use crate::Amount; [INFO] [stdout] 15 + use bitcoin::Amount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Bolt11Invoice` [INFO] [stdout] --> crates/cdk/src/nuts/nut03.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use crate::Bolt11Invoice; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Bolt11Invoice` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 16 - pub use crate::Bolt11Invoice; [INFO] [stdout] 16 + pub use lightning_invoice::Bolt11Invoice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::BlindSignature`, `super::BlindedMessage`, `super::CurrencyUnit`, `super::PaymentMethod` [INFO] [stdout] --> crates/cdk/src/nuts/nut04.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use super::{BlindSignature, BlindedMessage, CurrencyUnit, PaymentMethod}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `PaymentMethod` in `nuts` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `CurrencyUnit` in `nuts` [INFO] [stdout] | | no `BlindedMessage` in `nuts` [INFO] [stdout] | no `BlindSignature` in `nuts` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::BlindSignature [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::BlindedMessage [INFO] [stdout] = help: consider importing this enum through its public re-export instead: [INFO] [stdout] crate::prelude::CurrencyUnit [INFO] [stdout] = help: consider importing this enum through its public re-export instead: [INFO] [stdout] crate::prelude::PaymentMethod [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Amount` [INFO] [stdout] --> crates/cdk/src/nuts/nut04.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Amount; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Amount` in the root [INFO] [stdout] | [INFO] [stdout] note: variant `crate::mint::error::Error::Amount` exists but is inaccessible [INFO] [stdout] --> crates/cdk/src/mint/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Amount, [INFO] [stdout] | ^^^^^^ not accessible [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 13 | use crate::bitcoin::Amount; [INFO] [stdout] | +++++++++ [INFO] [stdout] 13 | use crate::error::Error::Amount; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] 13 | use crate::mint::Error::Amount; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] 13 - use crate::Amount; [INFO] [stdout] 13 + use bitcoin::Amount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::CurrencyUnit`, `super::PaymentMethod` [INFO] [stdout] --> crates/cdk/src/nuts/nut05.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use super::{CurrencyUnit, PaymentMethod}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `PaymentMethod` in `nuts` [INFO] [stdout] | | [INFO] [stdout] | no `CurrencyUnit` in `nuts` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this enum through its public re-export instead: [INFO] [stdout] crate::prelude::CurrencyUnit [INFO] [stdout] = help: consider importing this enum through its public re-export instead: [INFO] [stdout] crate::prelude::PaymentMethod [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::nuts::Proofs` [INFO] [stdout] --> crates/cdk/src/nuts/nut05.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::nuts::Proofs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Proofs` in `nuts` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 14 - use crate::nuts::Proofs; [INFO] [stdout] 14 + use crate::prelude::Proofs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::Amount`, `crate::Bolt11Invoice` [INFO] [stdout] --> crates/cdk/src/nuts/nut05.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::{Amount, Bolt11Invoice}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ no `Bolt11Invoice` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Amount` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::bitcoin::Amount [INFO] [stdout] crate::error::Error::Amount [INFO] [stdout] crate::mint::Error::Amount [INFO] [stdout] bitcoin::Amount [INFO] [stdout] note: variant `crate::mint::error::Error::Amount` exists but is inaccessible [INFO] [stdout] --> crates/cdk/src/mint/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Amount, [INFO] [stdout] | ^^^^^^ not accessible [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::prelude::Bolt11Invoice [INFO] [stdout] lightning_invoice::Bolt11Invoice [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::PublicKey` [INFO] [stdout] --> crates/cdk/src/nuts/nut07.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use super::PublicKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `PublicKey` in `nuts` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 11 - use super::PublicKey; [INFO] [stdout] 11 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 11 - use super::PublicKey; [INFO] [stdout] 11 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 11 - use super::PublicKey; [INFO] [stdout] 11 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 11 - use super::PublicKey; [INFO] [stdout] 11 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::MeltBolt11Request`, `super::MeltBolt11Response` [INFO] [stdout] --> crates/cdk/src/nuts/nut08.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use super::{MeltBolt11Request, MeltBolt11Response}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `MeltBolt11Response` in `nuts` [INFO] [stdout] | | [INFO] [stdout] | no `MeltBolt11Request` in `nuts` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::MeltBolt11Request [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::MeltBolt11Response [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Amount` [INFO] [stdout] --> crates/cdk/src/nuts/nut08.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::Amount; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Amount` in the root [INFO] [stdout] | [INFO] [stdout] note: variant `crate::mint::error::Error::Amount` exists but is inaccessible [INFO] [stdout] --> crates/cdk/src/mint/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Amount, [INFO] [stdout] | ^^^^^^ not accessible [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 12 | use crate::bitcoin::Amount; [INFO] [stdout] | +++++++++ [INFO] [stdout] 12 | use crate::error::Error::Amount; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] 12 | use crate::mint::Error::Amount; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] 12 - use crate::Amount; [INFO] [stdout] 12 + use bitcoin::Amount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::BlindSignature`, `super::BlindedMessage` [INFO] [stdout] --> crates/cdk/src/nuts/nut09.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use super::{BlindSignature, BlindedMessage}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `BlindedMessage` in `nuts` [INFO] [stdout] | | [INFO] [stdout] | no `BlindSignature` in `nuts` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::BlindSignature [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::BlindedMessage [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::utils` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::utils::unix_time; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `lightning_invoice::utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::BlindSignature`, `super::Id`, `super::Proof`, `super::PublicKey`, `super::SecretKey` [INFO] [stdout] --> crates/cdk/src/nuts/nut12.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use super::{BlindSignature, Id, Proof, PublicKey, SecretKey}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^ no `SecretKey` in `nuts` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `PublicKey` in `nuts` [INFO] [stdout] | | | no `Proof` in `nuts` [INFO] [stdout] | | no `Id` in `nuts` [INFO] [stdout] | no `BlindSignature` in `nuts` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::BlindSignature [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] crate::prelude::Id [INFO] [stdout] tracing::Id [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::Proof [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] crate::bitcoin::PublicKey [INFO] [stdout] crate::prelude::PublicKey [INFO] [stdout] crate::secp256k1::PublicKey [INFO] [stdout] bitcoin::PublicKey [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] crate::prelude::SecretKey [INFO] [stdout] crate::secp256k1::SecretKey [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::dhke` [INFO] [stdout] --> crates/cdk/src/nuts/nut12.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::dhke::{hash_e, hash_to_curve}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `util::dhke` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Amount` [INFO] [stdout] --> crates/cdk/src/nuts/nut12.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::Amount; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Amount` in the root [INFO] [stdout] | [INFO] [stdout] note: variant `crate::mint::error::Error::Amount` exists but is inaccessible [INFO] [stdout] --> crates/cdk/src/mint/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Amount, [INFO] [stdout] | ^^^^^^ not accessible [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 18 | use crate::bitcoin::Amount; [INFO] [stdout] | +++++++++ [INFO] [stdout] 18 | use crate::error::Error::Amount; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] 18 | use crate::mint::Error::Amount; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] 18 - use crate::Amount; [INFO] [stdout] 18 + use bitcoin::Amount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bitcoin::bip32::Xpriv` [INFO] [stdout] --> crates/cdk/src/nuts/nut13.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | use bitcoin::bip32::{DerivationPath, Xpriv}; [INFO] [stdout] | ^^^^^ no `Xpriv` in `bip32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::Id`, `super::SecretKey` [INFO] [stdout] --> crates/cdk/src/nuts/nut13.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use super::{Id, SecretKey}; [INFO] [stdout] | ^^ ^^^^^^^^^ no `SecretKey` in `nuts` [INFO] [stdout] | | [INFO] [stdout] | no `Id` in `nuts` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] crate::prelude::Id [INFO] [stdout] tracing::Id [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] crate::prelude::SecretKey [INFO] [stdout] crate::secp256k1::SecretKey [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::dhke` [INFO] [stdout] --> crates/cdk/src/nuts/nut13.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | use crate::dhke::blind_message; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `util::dhke` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::nuts::BlindedMessage`, `crate::nuts::Id`, `crate::nuts::PreMint`, `crate::nuts::PreMintSecrets`, `crate::nuts::SecretKey` [INFO] [stdout] --> crates/cdk/src/nuts/nut13.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | use crate::nuts::{BlindedMessage, Id, PreMint, PreMintSecrets, SecretKey}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^ ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ no `SecretKey` in `nuts` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `PreMintSecrets` in `nuts` [INFO] [stdout] | | | no `PreMint` in `nuts` [INFO] [stdout] | | no `Id` in `nuts` [INFO] [stdout] | no `BlindedMessage` in `nuts` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::BlindedMessage [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::prelude::Id [INFO] [stdout] crate::prelude::nut13::Id [INFO] [stdout] tracing::Id [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::prelude::wallet::PreMint [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::prelude::wallet::PreMintSecrets [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::prelude::SecretKey [INFO] [stdout] crate::prelude::nut13::SecretKey [INFO] [stdout] crate::secp256k1::SecretKey [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Amount` [INFO] [stdout] --> crates/cdk/src/nuts/nut13.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | use crate::Amount; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Amount` in the root [INFO] [stdout] | [INFO] [stdout] note: variant `crate::mint::error::Error::Amount` exists but is inaccessible [INFO] [stdout] --> crates/cdk/src/mint/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Amount, [INFO] [stdout] | ^^^^^^ not accessible [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 68 | use crate::bitcoin::Amount; [INFO] [stdout] | +++++++++ [INFO] [stdout] 68 | use crate::error::Error::Amount; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] 68 | use crate::mint::Error::Amount; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] 68 - use crate::Amount; [INFO] [stdout] 68 + use bitcoin::Amount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::amount` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::amount::Amount; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `bitcoin::amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::nuts::CurrencyUnit`, `crate::nuts::Proofs` [INFO] [stdout] --> crates/cdk/src/types.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::nuts::{CurrencyUnit, Proofs}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ no `Proofs` in `nuts` [INFO] [stdout] | | [INFO] [stdout] | no `CurrencyUnit` in `nuts` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this enum through its public re-export instead: [INFO] [stdout] crate::prelude::CurrencyUnit [INFO] [stdout] = help: consider importing this type alias through its public re-export instead: [INFO] [stdout] crate::prelude::Proofs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Amount` [INFO] [stdout] --> crates/cdk/src/types.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Amount; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Amount` in the root [INFO] [stdout] | [INFO] [stdout] note: variant `crate::mint::error::Error::Amount` exists but is inaccessible [INFO] [stdout] --> crates/cdk/src/mint/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Amount, [INFO] [stdout] | ^^^^^^ not accessible [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bitcoin::Amount; [INFO] [stdout] | +++++++++ [INFO] [stdout] 9 | use crate::error::Error::Amount; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] 9 | use crate::mint::Error::Amount; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] 9 - use crate::Amount; [INFO] [stdout] 9 + use bitcoin::Amount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::nuts::BlindSignature`, `crate::nuts::Keys`, `crate::nuts::Proof`, `crate::nuts::Proofs`, `crate::nuts::PublicKey` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | use crate::nuts::{BlindSignature, Keys, Proof, Proofs, PublicKey, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^ no `PublicKey` in `nuts` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `Proofs` in `nuts` [INFO] [stdout] | | | no `Proof` in `nuts` [INFO] [stdout] | | no `Keys` in `nuts` [INFO] [stdout] | no `BlindSignature` in `nuts` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::BlindSignature [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] crate::prelude::Keys [INFO] [stdout] crate::prelude::mint::Keys [INFO] [stdout] std::collections::btree_map::Keys [INFO] [stdout] std::collections::hash_map::Keys [INFO] [stdout] reqwest::header::Keys [INFO] [stdout] serde_json::map::Keys [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::Proof [INFO] [stdout] = help: consider importing this type alias through its public re-export instead: [INFO] [stdout] crate::prelude::Proofs [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] crate::bitcoin::PublicKey [INFO] [stdout] crate::prelude::PublicKey [INFO] [stdout] crate::secp256k1::PublicKey [INFO] [stdout] bitcoin::PublicKey [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `k256` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | use k256::{Scalar, SecretKey}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | use log::warn; [INFO] [stdout] | ^^^ help: a similar path exists: `tracing::log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::utils` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | use crate::utils::unix_time; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `lightning_invoice::utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/client/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use cashu::error::ErrorResponse; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/client/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use cashu::nuts::{ [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `k256` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | use k256::{ProjectivePoint, Scalar, SecretKey}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use cashu::error::ErrorResponse; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use cashu::nuts::{ [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cashu` [INFO] [stdout] --> crates/cdk/src/client/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use cashu::Amount; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cashu` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use cashu::{Amount, Bolt11Invoice}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cashu` [INFO] [stdout] --> crates/cdk/src/client/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use cashu::Bolt11Invoice; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use cashu::dhke::hash_to_curve; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use cashu::nuts::nut02::mint::KeySet; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use cashu::nuts::{BlindSignature, CurrencyUnit, Id, MintInfo, Proof, Proofs, PublicKey}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use cashu::secret::Secret; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use cashu::types::{MeltQuote, MintQuote}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/redb_store.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use cashu::dhke::hash_to_curve; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/redb_store.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use cashu::nuts::{ [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/redb_store.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use cashu::secret::Secret; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::dhke` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::dhke::{hash_to_curve, sign_message, verify_message}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `util::dhke` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/redb_store.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use cashu::types::{MeltQuote, MintQuote}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use cashu::nuts::nut02::mint::KeySet; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use cashu::nuts::{BlindSignature, CurrencyUnit, Id, MintInfo, Proof, PublicKey}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use cashu::secret::Secret; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use cashu::types::{MeltQuote, MintQuote}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use http::StatusCode; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `http` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `http`, use `cargo add http` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::error::wallet` [INFO] [stdout] --> crates/cdk/src/nuts/nut00.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | use crate::error::wallet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `wallet` in `error` [INFO] [stdout] | [INFO] [stdout] note: these modules exist but are inaccessible [INFO] [stdout] --> crates/cdk/src/nuts/nut13.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | mod wallet { [INFO] [stdout] | ^^^^^^^^^^ `crate::prelude::nut13::wallet`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: crates/cdk/src/util/dhke.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | mod wallet { [INFO] [stdout] | ^^^^^^^^^^ `crate::util::dhke::wallet`: not accessible [INFO] [stdout] help: consider importing one of these modules instead [INFO] [stdout] | [INFO] [stdout] 130 - use crate::error::wallet; [INFO] [stdout] 130 + use crate::prelude::wallet; [INFO] [stdout] | [INFO] [stdout] 130 - use crate::error::wallet; [INFO] [stdout] 130 + use crate::wallet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut02.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | use k256::SecretKey; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut12.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use k256::Scalar; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> crates/cdk/src/nuts/nut12.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use log::{debug, warn}; [INFO] [stdout] | ^^^ help: a similar path exists: `tracing::log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use cashu::dhke::{construct_proofs, unblind_message}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use cashu::nuts::nut07::State; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use cashu::nuts::nut11::SigningKey; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use cashu::nuts::{ [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use cashu::types::{MeltQuote, Melted, MintQuote}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use cashu::url::UncheckedUrl; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::error::wallet` [INFO] [stdout] --> crates/cdk/src/nuts/nut13.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | use crate::error::wallet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `wallet` in `error` [INFO] [stdout] | [INFO] [stdout] note: module `crate::util::dhke::wallet` exists but is inaccessible [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | mod wallet { [INFO] [stdout] | ^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing one of these modules instead [INFO] [stdout] | [INFO] [stdout] 65 - use crate::error::wallet; [INFO] [stdout] 65 + use crate::prelude::nut13::wallet; [INFO] [stdout] | [INFO] [stdout] 65 - use crate::error::wallet; [INFO] [stdout] 65 + use crate::prelude::wallet; [INFO] [stdout] | [INFO] [stdout] 65 - use crate::error::wallet; [INFO] [stdout] 65 + use crate::wallet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/localstore/memory.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use cashu::nuts::{Id, KeySetInfo, Keys, MintInfo, Proof, Proofs}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/localstore/memory.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use cashu::types::{MeltQuote, MintQuote}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/localstore/memory.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use cashu::url::UncheckedUrl; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/localstore/redb_store.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use cashu::nuts::{Id, KeySetInfo, Keys, MintInfo, Proofs}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/localstore/redb_store.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use cashu::types::{MeltQuote, MintQuote}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/localstore/redb_store.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use cashu::url::UncheckedUrl; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/localstore/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use cashu::nuts::{Id, KeySetInfo, Keys, MintInfo, Proofs}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/localstore/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use cashu::types::{MeltQuote, MintQuote}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/localstore/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use cashu::url::UncheckedUrl; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use cashu::{Amount, Bolt11Invoice}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `itertools` [INFO] [stdout] --> crates/cdk/src/nuts/nut02.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `itertools` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `itertools`, use `cargo add itertools` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_with` [INFO] [stdout] --> crates/cdk/src/nuts/nut02.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use serde_with::{serde_as, VecSkipError}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_with` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_with`, use `cargo add serde_with` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:162:25 [INFO] [stdout] | [INFO] [stdout] 162 | debug!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 9 + use tracing::debug; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | debug!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 9 + use tracing::debug; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::nuts::BlindSignature`, `crate::nuts::BlindedMessage`, `crate::nuts::CheckStateRequest`, `crate::nuts::CheckStateResponse`, `crate::nuts::MeltBolt11Request`, `crate::nuts::MeltBolt11Response`, `crate::nuts::Proof`, `crate::nuts::RestoreRequest`, `crate::nuts::RestoreResponse`, `crate::nuts::SwapRequest`, `crate::nuts::SwapResponse` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | BlindSignature, BlindedMessage, CheckStateRequest, CheckStateResponse, MeltBolt11Request, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ no `MeltBolt11Request` in `nuts` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `CheckStateResponse` in `nuts` [INFO] [stdout] | | | no `CheckStateRequest` in `nuts` [INFO] [stdout] | | no `BlindedMessage` in `nuts` [INFO] [stdout] | no `BlindSignature` in `nuts` [INFO] [stdout] 19 | MeltBolt11Response, Proof, RestoreRequest, RestoreResponse, SwapRequest, SwapResponse, *, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | no `SwapRequest` in `nuts` [INFO] [stdout] | | | | no `RestoreResponse` in `nuts` [INFO] [stdout] | | | no `RestoreRequest` in `nuts` [INFO] [stdout] | | no `Proof` in `nuts` [INFO] [stdout] | no `MeltBolt11Response` in `nuts` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::BlindSignature [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::BlindedMessage [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::CheckStateRequest [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::CheckStateResponse [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::MeltBolt11Request [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::MeltBolt11Response [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::Proof [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::RestoreRequest [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::RestoreResponse [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::SwapRequest [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Mnemonic` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::Mnemonic; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Mnemonic` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 22 | use crate::bip39::Mnemonic; [INFO] [stdout] | +++++++ [INFO] [stdout] 22 - use crate::Mnemonic; [INFO] [stdout] 22 + use bip39::Mnemonic; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::dhke` [INFO] [stdout] --> crates/cdk/src/nuts/nut00.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 129 | use crate::dhke::blind_message; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `util::dhke` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::nuts::BlindedMessage`, `crate::nuts::Id`, `crate::nuts::P2PKConditions`, `crate::nuts::Proofs`, `crate::nuts::SecretKey` [INFO] [stdout] --> crates/cdk/src/nuts/nut00.rs:131:23 [INFO] [stdout] | [INFO] [stdout] 131 | use crate::nuts::{BlindedMessage, Id, P2PKConditions, Proofs, SecretKey}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ no `SecretKey` in `nuts` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `Proofs` in `nuts` [INFO] [stdout] | | | no `P2PKConditions` in `nuts` [INFO] [stdout] | | no `Id` in `nuts` [INFO] [stdout] | no `BlindedMessage` in `nuts` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::BlindedMessage [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] crate::prelude::Id [INFO] [stdout] tracing::Id [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::P2PKConditions [INFO] [stdout] = help: consider importing this type alias through its public re-export instead: [INFO] [stdout] crate::prelude::Proofs [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] crate::prelude::SecretKey [INFO] [stdout] crate::secp256k1::SecretKey [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Amount` [INFO] [stdout] --> crates/cdk/src/nuts/nut00.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | use crate::{error, Amount}; [INFO] [stdout] | ^^^^^^ no `Amount` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::mint::Error::Amount [INFO] [stdout] crate::prelude::nut00::Amount [INFO] [stdout] bitcoin::Amount [INFO] [stdout] note: these variants exist but are inaccessible [INFO] [stdout] --> crates/cdk/src/error.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Amount, [INFO] [stdout] | ^^^^^^ `crate::util::dhke::tests::Error::Amount`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: crates/cdk/src/mint/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Amount, [INFO] [stdout] | ^^^^^^ `crate::mint::error::Error::Amount`: not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::CurrencyUnit` [INFO] [stdout] --> crates/cdk/src/nuts/nut02.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use super::CurrencyUnit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `CurrencyUnit` in `nuts` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 19 - use super::CurrencyUnit; [INFO] [stdout] 19 + use crate::prelude::CurrencyUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::nuts::CurrencyUnit` [INFO] [stdout] --> crates/cdk/src/nuts/nut02.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | use crate::nuts::CurrencyUnit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `CurrencyUnit` in `nuts` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 232 - use crate::nuts::CurrencyUnit; [INFO] [stdout] 232 + use crate::prelude::CurrencyUnit; [INFO] [stdout] | [INFO] [stdout] 232 - use crate::nuts::CurrencyUnit; [INFO] [stdout] 232 + use crate::prelude::nut02::CurrencyUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Amount` [INFO] [stdout] --> crates/cdk/src/nuts/nut02.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | use crate::Amount; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Amount` in the root [INFO] [stdout] | [INFO] [stdout] note: these variants exist but are inaccessible [INFO] [stdout] --> crates/cdk/src/error.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Amount, [INFO] [stdout] | ^^^^^^ `crate::util::dhke::tests::Error::Amount`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: crates/cdk/src/mint/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Amount, [INFO] [stdout] | ^^^^^^ `crate::mint::error::Error::Amount`: not accessible [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 233 | use crate::bitcoin::Amount; [INFO] [stdout] | +++++++++ [INFO] [stdout] 233 | use crate::mint::Error::Amount; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] 233 - use crate::Amount; [INFO] [stdout] 233 + use bitcoin::Amount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::nuts::PreMintSecrets` [INFO] [stdout] --> crates/cdk/src/nuts/nut03.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::nuts::PreMintSecrets; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `PreMintSecrets` in `nuts` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 13 - use crate::nuts::PreMintSecrets; [INFO] [stdout] 13 + use crate::prelude::wallet::PreMintSecrets; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::nuts::BlindedMessage`, `crate::nuts::Proofs` [INFO] [stdout] --> crates/cdk/src/nuts/nut03.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::nuts::{BlindedMessage, Proofs}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^ no `Proofs` in `nuts` [INFO] [stdout] | | [INFO] [stdout] | no `BlindedMessage` in `nuts` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::BlindedMessage [INFO] [stdout] = help: consider importing this type alias through its public re-export instead: [INFO] [stdout] crate::prelude::Proofs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Amount` [INFO] [stdout] --> crates/cdk/src/nuts/nut03.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::Amount; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Amount` in the root [INFO] [stdout] | [INFO] [stdout] note: these variants exist but are inaccessible [INFO] [stdout] --> crates/cdk/src/error.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Amount, [INFO] [stdout] | ^^^^^^ `crate::util::dhke::tests::Error::Amount`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: crates/cdk/src/mint/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Amount, [INFO] [stdout] | ^^^^^^ `crate::mint::error::Error::Amount`: not accessible [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 15 | use crate::bitcoin::Amount; [INFO] [stdout] | +++++++++ [INFO] [stdout] 15 | use crate::mint::Error::Amount; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] 15 - use crate::Amount; [INFO] [stdout] 15 + use bitcoin::Amount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Bolt11Invoice` [INFO] [stdout] --> crates/cdk/src/nuts/nut03.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use crate::Bolt11Invoice; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Bolt11Invoice` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 16 - pub use crate::Bolt11Invoice; [INFO] [stdout] 16 + pub use lightning_invoice::Bolt11Invoice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::BlindSignature`, `super::BlindedMessage`, `super::CurrencyUnit`, `super::PaymentMethod` [INFO] [stdout] --> crates/cdk/src/nuts/nut04.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use super::{BlindSignature, BlindedMessage, CurrencyUnit, PaymentMethod}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `PaymentMethod` in `nuts` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `CurrencyUnit` in `nuts` [INFO] [stdout] | | no `BlindedMessage` in `nuts` [INFO] [stdout] | no `BlindSignature` in `nuts` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::BlindSignature [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::BlindedMessage [INFO] [stdout] = help: consider importing this enum through its public re-export instead: [INFO] [stdout] crate::prelude::CurrencyUnit [INFO] [stdout] = help: consider importing this enum through its public re-export instead: [INFO] [stdout] crate::prelude::PaymentMethod [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Amount` [INFO] [stdout] --> crates/cdk/src/nuts/nut04.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::Amount; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Amount` in the root [INFO] [stdout] | [INFO] [stdout] note: these variants exist but are inaccessible [INFO] [stdout] --> crates/cdk/src/error.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Amount, [INFO] [stdout] | ^^^^^^ `crate::util::dhke::tests::Error::Amount`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: crates/cdk/src/mint/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Amount, [INFO] [stdout] | ^^^^^^ `crate::mint::error::Error::Amount`: not accessible [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 13 | use crate::bitcoin::Amount; [INFO] [stdout] | +++++++++ [INFO] [stdout] 13 | use crate::mint::Error::Amount; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] 13 - use crate::Amount; [INFO] [stdout] 13 + use bitcoin::Amount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::CurrencyUnit`, `super::PaymentMethod` [INFO] [stdout] --> crates/cdk/src/nuts/nut05.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use super::{CurrencyUnit, PaymentMethod}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `PaymentMethod` in `nuts` [INFO] [stdout] | | [INFO] [stdout] | no `CurrencyUnit` in `nuts` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this enum through its public re-export instead: [INFO] [stdout] crate::prelude::CurrencyUnit [INFO] [stdout] = help: consider importing this enum through its public re-export instead: [INFO] [stdout] crate::prelude::PaymentMethod [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::nuts::Proofs` [INFO] [stdout] --> crates/cdk/src/nuts/nut05.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::nuts::Proofs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Proofs` in `nuts` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 14 - use crate::nuts::Proofs; [INFO] [stdout] 14 + use crate::prelude::Proofs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::Amount`, `crate::Bolt11Invoice` [INFO] [stdout] --> crates/cdk/src/nuts/nut05.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::{Amount, Bolt11Invoice}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ no `Bolt11Invoice` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Amount` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::bitcoin::Amount [INFO] [stdout] crate::mint::Error::Amount [INFO] [stdout] bitcoin::Amount [INFO] [stdout] note: these variants exist but are inaccessible [INFO] [stdout] --> crates/cdk/src/error.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Amount, [INFO] [stdout] | ^^^^^^ `crate::util::dhke::tests::Error::Amount`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: crates/cdk/src/mint/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Amount, [INFO] [stdout] | ^^^^^^ `crate::mint::error::Error::Amount`: not accessible [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::prelude::Bolt11Invoice [INFO] [stdout] lightning_invoice::Bolt11Invoice [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::PublicKey` [INFO] [stdout] --> crates/cdk/src/nuts/nut07.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use super::PublicKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `PublicKey` in `nuts` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 11 - use super::PublicKey; [INFO] [stdout] 11 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 11 - use super::PublicKey; [INFO] [stdout] 11 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 11 - use super::PublicKey; [INFO] [stdout] 11 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 11 - use super::PublicKey; [INFO] [stdout] 11 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::MeltBolt11Request`, `super::MeltBolt11Response` [INFO] [stdout] --> crates/cdk/src/nuts/nut08.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use super::{MeltBolt11Request, MeltBolt11Response}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `MeltBolt11Response` in `nuts` [INFO] [stdout] | | [INFO] [stdout] | no `MeltBolt11Request` in `nuts` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::MeltBolt11Request [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::MeltBolt11Response [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Amount` [INFO] [stdout] --> crates/cdk/src/nuts/nut08.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::Amount; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Amount` in the root [INFO] [stdout] | [INFO] [stdout] note: these variants exist but are inaccessible [INFO] [stdout] --> crates/cdk/src/error.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Amount, [INFO] [stdout] | ^^^^^^ `crate::util::dhke::tests::Error::Amount`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: crates/cdk/src/mint/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Amount, [INFO] [stdout] | ^^^^^^ `crate::mint::error::Error::Amount`: not accessible [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 12 | use crate::bitcoin::Amount; [INFO] [stdout] | +++++++++ [INFO] [stdout] 12 | use crate::mint::Error::Amount; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] 12 - use crate::Amount; [INFO] [stdout] 12 + use bitcoin::Amount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::BlindSignature`, `super::BlindedMessage` [INFO] [stdout] --> crates/cdk/src/nuts/nut09.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use super::{BlindSignature, BlindedMessage}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `BlindedMessage` in `nuts` [INFO] [stdout] | | [INFO] [stdout] | no `BlindSignature` in `nuts` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::BlindSignature [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::BlindedMessage [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::utils` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::utils::unix_time; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `lightning_invoice::utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::nuts::Id` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:705:9 [INFO] [stdout] | [INFO] [stdout] 705 | use crate::nuts::Id; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Id` in `nuts` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 705 - use crate::nuts::Id; [INFO] [stdout] 705 + use crate::prelude::Id; [INFO] [stdout] | [INFO] [stdout] 705 - use crate::nuts::Id; [INFO] [stdout] 705 + use tracing::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Amount` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:706:9 [INFO] [stdout] | [INFO] [stdout] 706 | use crate::Amount; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Amount` in the root [INFO] [stdout] | [INFO] [stdout] note: these variants exist but are inaccessible [INFO] [stdout] --> crates/cdk/src/error.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Amount, [INFO] [stdout] | ^^^^^^ `crate::util::dhke::tests::Error::Amount`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: crates/cdk/src/mint/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Amount, [INFO] [stdout] | ^^^^^^ `crate::mint::error::Error::Amount`: not accessible [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 706 | use crate::bitcoin::Amount; [INFO] [stdout] | +++++++++ [INFO] [stdout] 706 | use crate::mint::Error::Amount; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] 706 - use crate::Amount; [INFO] [stdout] 706 + use bitcoin::Amount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::BlindSignature`, `super::Id`, `super::Proof`, `super::PublicKey`, `super::SecretKey` [INFO] [stdout] --> crates/cdk/src/nuts/nut12.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use super::{BlindSignature, Id, Proof, PublicKey, SecretKey}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^ no `SecretKey` in `nuts` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `PublicKey` in `nuts` [INFO] [stdout] | | | no `Proof` in `nuts` [INFO] [stdout] | | no `Id` in `nuts` [INFO] [stdout] | no `BlindSignature` in `nuts` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::BlindSignature [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] crate::prelude::Id [INFO] [stdout] tracing::Id [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::Proof [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] crate::bitcoin::PublicKey [INFO] [stdout] crate::prelude::PublicKey [INFO] [stdout] crate::secp256k1::PublicKey [INFO] [stdout] bitcoin::PublicKey [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] crate::prelude::SecretKey [INFO] [stdout] crate::secp256k1::SecretKey [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::dhke` [INFO] [stdout] --> crates/cdk/src/nuts/nut12.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::dhke::{hash_e, hash_to_curve}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `util::dhke` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Amount` [INFO] [stdout] --> crates/cdk/src/nuts/nut12.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::Amount; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Amount` in the root [INFO] [stdout] | [INFO] [stdout] note: these variants exist but are inaccessible [INFO] [stdout] --> crates/cdk/src/error.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Amount, [INFO] [stdout] | ^^^^^^ `crate::util::dhke::tests::Error::Amount`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: crates/cdk/src/mint/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Amount, [INFO] [stdout] | ^^^^^^ `crate::mint::error::Error::Amount`: not accessible [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 18 | use crate::bitcoin::Amount; [INFO] [stdout] | +++++++++ [INFO] [stdout] 18 | use crate::mint::Error::Amount; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] 18 - use crate::Amount; [INFO] [stdout] 18 + use bitcoin::Amount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bitcoin::bip32::Xpriv` [INFO] [stdout] --> crates/cdk/src/nuts/nut13.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | use bitcoin::bip32::{DerivationPath, Xpriv}; [INFO] [stdout] | ^^^^^ no `Xpriv` in `bip32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::Id`, `super::SecretKey` [INFO] [stdout] --> crates/cdk/src/nuts/nut13.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use super::{Id, SecretKey}; [INFO] [stdout] | ^^ ^^^^^^^^^ no `SecretKey` in `nuts` [INFO] [stdout] | | [INFO] [stdout] | no `Id` in `nuts` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] crate::prelude::Id [INFO] [stdout] tracing::Id [INFO] [stdout] = note: unresolved item `crate::prelude::nut12::tests::Id` exists but is inaccessible [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] crate::prelude::SecretKey [INFO] [stdout] crate::secp256k1::SecretKey [INFO] [stdout] = note: unresolved item `crate::prelude::nut12::tests::SecretKey` exists but is inaccessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::dhke` [INFO] [stdout] --> crates/cdk/src/nuts/nut13.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | use crate::dhke::blind_message; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `util::dhke` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::nuts::BlindedMessage`, `crate::nuts::Id`, `crate::nuts::PreMint`, `crate::nuts::PreMintSecrets`, `crate::nuts::SecretKey` [INFO] [stdout] --> crates/cdk/src/nuts/nut13.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | use crate::nuts::{BlindedMessage, Id, PreMint, PreMintSecrets, SecretKey}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^ ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ no `SecretKey` in `nuts` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `PreMintSecrets` in `nuts` [INFO] [stdout] | | | no `PreMint` in `nuts` [INFO] [stdout] | | no `Id` in `nuts` [INFO] [stdout] | no `BlindedMessage` in `nuts` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::BlindedMessage [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::prelude::Id [INFO] [stdout] crate::prelude::nut13::Id [INFO] [stdout] tracing::Id [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::prelude::wallet::PreMint [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::prelude::wallet::PreMintSecrets [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::prelude::SecretKey [INFO] [stdout] crate::prelude::nut13::SecretKey [INFO] [stdout] crate::secp256k1::SecretKey [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Amount` [INFO] [stdout] --> crates/cdk/src/nuts/nut13.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | use crate::Amount; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Amount` in the root [INFO] [stdout] | [INFO] [stdout] note: these items exist but are inaccessible: [INFO] [stdout] crate::prelude::nut12::tests::Amount [INFO] [stdout] --> crates/cdk/src/error.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Amount, [INFO] [stdout] | ^^^^^^ `crate::util::dhke::tests::Error::Amount`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: crates/cdk/src/mint/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Amount, [INFO] [stdout] | ^^^^^^ `crate::mint::error::Error::Amount`: not accessible [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 68 | use crate::bitcoin::Amount; [INFO] [stdout] | +++++++++ [INFO] [stdout] 68 | use crate::mint::Error::Amount; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] 68 - use crate::Amount; [INFO] [stdout] 68 + use bitcoin::Amount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::nuts::CurrencyUnit`, `crate::nuts::Proofs` [INFO] [stdout] --> crates/cdk/src/types.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::nuts::{CurrencyUnit, Proofs}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ no `Proofs` in `nuts` [INFO] [stdout] | | [INFO] [stdout] | no `CurrencyUnit` in `nuts` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this enum through its public re-export instead: [INFO] [stdout] crate::prelude::CurrencyUnit [INFO] [stdout] = help: consider importing this type alias through its public re-export instead: [INFO] [stdout] crate::prelude::Proofs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Amount` [INFO] [stdout] --> crates/cdk/src/types.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Amount; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Amount` in the root [INFO] [stdout] | [INFO] [stdout] note: these items exist but are inaccessible: [INFO] [stdout] crate::prelude::nut12::tests::Amount [INFO] [stdout] --> crates/cdk/src/error.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Amount, [INFO] [stdout] | ^^^^^^ `crate::util::dhke::tests::Error::Amount`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: crates/cdk/src/mint/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Amount, [INFO] [stdout] | ^^^^^^ `crate::mint::error::Error::Amount`: not accessible [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bitcoin::Amount; [INFO] [stdout] | +++++++++ [INFO] [stdout] 9 | use crate::mint::Error::Amount; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] 9 - use crate::Amount; [INFO] [stdout] 9 + use bitcoin::Amount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::nuts::BlindSignature`, `crate::nuts::Keys`, `crate::nuts::Proof`, `crate::nuts::Proofs`, `crate::nuts::PublicKey` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | use crate::nuts::{BlindSignature, Keys, Proof, Proofs, PublicKey, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^ no `PublicKey` in `nuts` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `Proofs` in `nuts` [INFO] [stdout] | | | no `Proof` in `nuts` [INFO] [stdout] | | no `Keys` in `nuts` [INFO] [stdout] | no `BlindSignature` in `nuts` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::BlindSignature [INFO] [stdout] = note: unresolved item `crate::util::dhke::wallet::nut12::tests::BlindSignature` exists but is inaccessible [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] crate::prelude::Keys [INFO] [stdout] crate::prelude::mint::Keys [INFO] [stdout] std::collections::btree_map::Keys [INFO] [stdout] std::collections::hash_map::Keys [INFO] [stdout] reqwest::header::Keys [INFO] [stdout] serde_json::map::Keys [INFO] [stdout] = help: consider importing this struct through its public re-export instead: [INFO] [stdout] crate::prelude::Proof [INFO] [stdout] = note: unresolved item `crate::util::dhke::wallet::nut12::tests::Proof` exists but is inaccessible [INFO] [stdout] = help: consider importing this type alias through its public re-export instead: [INFO] [stdout] crate::prelude::Proofs [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] crate::bitcoin::PublicKey [INFO] [stdout] crate::prelude::PublicKey [INFO] [stdout] crate::secp256k1::PublicKey [INFO] [stdout] bitcoin::PublicKey [INFO] [stdout] = note: unresolved item `crate::util::dhke::wallet::nut12::tests::PublicKey` exists but is inaccessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `k256` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | use k256::{Scalar, SecretKey}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | use log::warn; [INFO] [stdout] | ^^^ help: a similar path exists: `tracing::log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::nuts::PublicKey` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | use crate::nuts::PublicKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `PublicKey` in `nuts` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::prelude::nut12::tests::PublicKey` exists but is inaccessible [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 221 - use crate::nuts::PublicKey; [INFO] [stdout] 221 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 221 - use crate::nuts::PublicKey; [INFO] [stdout] 221 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 221 - use crate::nuts::PublicKey; [INFO] [stdout] 221 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 221 - use crate::nuts::PublicKey; [INFO] [stdout] 221 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::nuts::PublicKey` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | use crate::nuts::PublicKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `PublicKey` in `nuts` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 298 - use crate::nuts::PublicKey; [INFO] [stdout] 298 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 298 - use crate::nuts::PublicKey; [INFO] [stdout] 298 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 298 - use crate::nuts::PublicKey; [INFO] [stdout] 298 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 298 - use crate::nuts::PublicKey; [INFO] [stdout] 298 + use crate::util::dhke::tests::PublicKey; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::utils` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | use crate::utils::unix_time; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `lightning_invoice::utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/client/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use cashu::error::ErrorResponse; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/client/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use cashu::nuts::{ [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `k256` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | use k256::{ProjectivePoint, Scalar, SecretKey}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use cashu::error::ErrorResponse; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use cashu::nuts::{ [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cashu` [INFO] [stdout] --> crates/cdk/src/client/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use cashu::Amount; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cashu` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use cashu::{Amount, Bolt11Invoice}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cashu` [INFO] [stdout] --> crates/cdk/src/client/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use cashu::Bolt11Invoice; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use cashu::dhke::hash_to_curve; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use cashu::nuts::nut02::mint::KeySet; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use cashu::nuts::{BlindSignature, CurrencyUnit, Id, MintInfo, Proof, Proofs, PublicKey}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use cashu::secret::Secret; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use cashu::types::{MeltQuote, MintQuote}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/redb_store.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use cashu::dhke::hash_to_curve; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/redb_store.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use cashu::nuts::{ [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/redb_store.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use cashu::secret::Secret; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/redb_store.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use cashu::types::{MeltQuote, MintQuote}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use cashu::nuts::nut02::mint::KeySet; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use cashu::nuts::{BlindSignature, CurrencyUnit, Id, MintInfo, Proof, PublicKey}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use cashu::secret::Secret; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use cashu::types::{MeltQuote, MintQuote}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use http::StatusCode; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `http` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `http`, use `cargo add http` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::error::wallet` [INFO] [stdout] --> crates/cdk/src/nuts/nut00.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | use crate::error::wallet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `wallet` in `error` [INFO] [stdout] | [INFO] [stdout] note: these modules exist but are inaccessible [INFO] [stdout] --> crates/cdk/src/nuts/nut13.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | mod wallet { [INFO] [stdout] | ^^^^^^^^^^ `crate::prelude::nut13::wallet`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: crates/cdk/src/util/dhke.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | mod wallet { [INFO] [stdout] | ^^^^^^^^^^ `crate::util::dhke::wallet`: not accessible [INFO] [stdout] help: consider importing one of these modules instead [INFO] [stdout] | [INFO] [stdout] 130 - use crate::error::wallet; [INFO] [stdout] 130 + use crate::prelude::wallet; [INFO] [stdout] | [INFO] [stdout] 130 - use crate::error::wallet; [INFO] [stdout] 130 + use crate::wallet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut02.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | use k256::SecretKey; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut12.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use k256::Scalar; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> crates/cdk/src/nuts/nut12.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use log::{debug, warn}; [INFO] [stdout] | ^^^ help: a similar path exists: `tracing::log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | use k256::elliptic_curve::scalar::ScalarPrimitive; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::error::wallet` [INFO] [stdout] --> crates/cdk/src/nuts/nut13.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | use crate::error::wallet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `wallet` in `error` [INFO] [stdout] | [INFO] [stdout] note: module `crate::util::dhke::wallet` exists but is inaccessible [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | mod wallet { [INFO] [stdout] | ^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing one of these modules instead [INFO] [stdout] | [INFO] [stdout] 65 - use crate::error::wallet; [INFO] [stdout] 65 + use crate::prelude::nut13::wallet; [INFO] [stdout] | [INFO] [stdout] 65 - use crate::error::wallet; [INFO] [stdout] 65 + use crate::prelude::wallet; [INFO] [stdout] | [INFO] [stdout] 65 - use crate::error::wallet; [INFO] [stdout] 65 + use crate::wallet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `k256` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:295:13 [INFO] [stdout] | [INFO] [stdout] 295 | use k256::SecretKey; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use cashu::dhke::{construct_proofs, unblind_message}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use cashu::nuts::nut07::State; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use cashu::nuts::nut11::SigningKey; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use cashu::nuts::{ [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use cashu::types::{MeltQuote, Melted, MintQuote}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use cashu::url::UncheckedUrl; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `k256` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | use k256::SecretKey; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/localstore/memory.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use cashu::nuts::{Id, KeySetInfo, Keys, MintInfo, Proof, Proofs}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/localstore/memory.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use cashu::types::{MeltQuote, MintQuote}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/localstore/memory.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use cashu::url::UncheckedUrl; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/localstore/redb_store.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use cashu::nuts::{Id, KeySetInfo, Keys, MintInfo, Proofs}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/localstore/redb_store.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use cashu::types::{MeltQuote, MintQuote}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/localstore/redb_store.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use cashu::url::UncheckedUrl; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/localstore/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use cashu::nuts::{Id, KeySetInfo, Keys, MintInfo, Proofs}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/localstore/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use cashu::types::{MeltQuote, MintQuote}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/localstore/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use cashu::url::UncheckedUrl; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use cashu::{Amount, Bolt11Invoice}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `itertools` [INFO] [stdout] --> crates/cdk/src/nuts/nut02.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `itertools` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `itertools`, use `cargo add itertools` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_with` [INFO] [stdout] --> crates/cdk/src/nuts/nut02.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use serde_with::{serde_as, VecSkipError}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_with` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_with`, use `cargo add serde_with` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:162:25 [INFO] [stdout] | [INFO] [stdout] 162 | debug!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: macro `crate::prelude::nut13::tests::debug` exists but is inaccessible [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 9 + use tracing::debug; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | debug!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: macro `crate::prelude::nut13::tests::debug` exists but is inaccessible [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 9 + use tracing::debug; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | CashuMint(#[from] cashu::error::mint::Error), [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | CashuMint(#[from] cashu::error::mint::Error), [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:540:25 [INFO] [stdout] | [INFO] [stdout] 540 | pub struct VerifyingKey(k256::schnorr::VerifyingKey); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:594:29 [INFO] [stdout] | [INFO] [stdout] 594 | impl From for k256::schnorr::VerifyingKey { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:595:37 [INFO] [stdout] | [INFO] [stdout] 595 | fn from(value: VerifyingKey) -> k256::schnorr::VerifyingKey { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:540:25 [INFO] [stdout] | [INFO] [stdout] 540 | pub struct VerifyingKey(k256::schnorr::VerifyingKey); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:600:30 [INFO] [stdout] | [INFO] [stdout] 600 | impl From<&VerifyingKey> for k256::schnorr::VerifyingKey { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:601:38 [INFO] [stdout] | [INFO] [stdout] 601 | fn from(value: &VerifyingKey) -> k256::schnorr::VerifyingKey { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:606:11 [INFO] [stdout] | [INFO] [stdout] 606 | impl From for VerifyingKey { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:607:20 [INFO] [stdout] | [INFO] [stdout] 607 | fn from(value: k256::schnorr::VerifyingKey) -> VerifyingKey { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:594:29 [INFO] [stdout] | [INFO] [stdout] 594 | impl From for k256::schnorr::VerifyingKey { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:595:37 [INFO] [stdout] | [INFO] [stdout] 595 | fn from(value: VerifyingKey) -> k256::schnorr::VerifyingKey { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:636:23 [INFO] [stdout] | [INFO] [stdout] 636 | pub struct SigningKey(k256::schnorr::SigningKey); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:600:30 [INFO] [stdout] | [INFO] [stdout] 600 | impl From<&VerifyingKey> for k256::schnorr::VerifyingKey { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:638:27 [INFO] [stdout] | [INFO] [stdout] 638 | impl From for k256::schnorr::SigningKey { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:601:38 [INFO] [stdout] | [INFO] [stdout] 601 | fn from(value: &VerifyingKey) -> k256::schnorr::VerifyingKey { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:639:35 [INFO] [stdout] | [INFO] [stdout] 639 | fn from(value: SigningKey) -> k256::schnorr::SigningKey { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:606:11 [INFO] [stdout] | [INFO] [stdout] 606 | impl From for VerifyingKey { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:644:11 [INFO] [stdout] | [INFO] [stdout] 644 | impl From for SigningKey { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:645:20 [INFO] [stdout] | [INFO] [stdout] 645 | fn from(value: k256::schnorr::SigningKey) -> Self { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:607:20 [INFO] [stdout] | [INFO] [stdout] 607 | fn from(value: k256::schnorr::VerifyingKey) -> VerifyingKey { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:636:23 [INFO] [stdout] | [INFO] [stdout] 636 | pub struct SigningKey(k256::schnorr::SigningKey); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut12.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | EllipticCurve(#[from] k256::elliptic_curve::Error), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:638:27 [INFO] [stdout] | [INFO] [stdout] 638 | impl From for k256::schnorr::SigningKey { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:639:35 [INFO] [stdout] | [INFO] [stdout] 639 | fn from(value: SigningKey) -> k256::schnorr::SigningKey { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:644:11 [INFO] [stdout] | [INFO] [stdout] 644 | impl From for SigningKey { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:645:20 [INFO] [stdout] | [INFO] [stdout] 645 | fn from(value: k256::schnorr::SigningKey) -> Self { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut12.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | EllipticCurve(#[from] k256::elliptic_curve::Error), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/client/mod.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | CashuUrl(#[from] cashu::url::Error), [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 7 + use crate::url; [INFO] [stdout] | [INFO] [stdout] help: if you import `url`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 45 - CashuUrl(#[from] cashu::url::Error), [INFO] [stdout] 45 + CashuUrl(#[from] url::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/client/mod.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | UnknownErrorResponse(cashu::error::ErrorResponse), [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 7 + use crate::error; [INFO] [stdout] | [INFO] [stdout] help: if you import `error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 54 - UnknownErrorResponse(cashu::error::ErrorResponse), [INFO] [stdout] 54 + UnknownErrorResponse(error::ErrorResponse), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/mod.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | Cashu(#[from] cashu::error::Error), [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] note: module `crate::wallet::error` exists but is inaccessible [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | mod error; [INFO] [stdout] | ^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 9 + use crate::bitcoin::error; [INFO] [stdout] | [INFO] [stdout] 9 + use crate::error; [INFO] [stdout] | [INFO] [stdout] 9 + use crate::mint::error; [INFO] [stdout] | [INFO] [stdout] 9 + use crate::prelude::core::error; [INFO] [stdout] | [INFO] [stdout] = and 6 other candidates [INFO] [stdout] help: if you import `error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 47 - Cashu(#[from] cashu::error::Error), [INFO] [stdout] 47 + Cashu(#[from] error::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/mod.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | CashuNut02(#[from] cashu::nuts::nut02::Error), [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module through its public re-export [INFO] [stdout] | [INFO] [stdout] 9 + use crate::prelude::nut02; [INFO] [stdout] | [INFO] [stdout] help: if you import `nut02`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 49 - CashuNut02(#[from] cashu::nuts::nut02::Error), [INFO] [stdout] 49 + CashuNut02(#[from] nut02::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/mod.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | Secret(#[from] cashu::secret::Error), [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 9 + use crate::secret; [INFO] [stdout] | [INFO] [stdout] help: if you import `secret`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 51 - Secret(#[from] cashu::secret::Error), [INFO] [stdout] 51 + Secret(#[from] secret::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/client/mod.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | CashuUrl(#[from] cashu::url::Error), [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 7 + use crate::url; [INFO] [stdout] | [INFO] [stdout] help: if you import `url`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 45 - CashuUrl(#[from] cashu::url::Error), [INFO] [stdout] 45 + CashuUrl(#[from] url::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/client/mod.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | UnknownErrorResponse(cashu::error::ErrorResponse), [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 7 + use crate::error; [INFO] [stdout] | [INFO] [stdout] help: if you import `error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 54 - UnknownErrorResponse(cashu::error::ErrorResponse), [INFO] [stdout] 54 + UnknownErrorResponse(error::ErrorResponse), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | Cashu(#[from] cashu::error::Error), [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] note: module `crate::wallet::error` exists but is inaccessible [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | mod error; [INFO] [stdout] | ^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 5 + use crate::bitcoin::error; [INFO] [stdout] | [INFO] [stdout] 5 + use crate::error; [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::core::error; [INFO] [stdout] | [INFO] [stdout] 5 + use std::error; [INFO] [stdout] | [INFO] [stdout] = and 5 other candidates [INFO] [stdout] help: if you import `error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 56 - Cashu(#[from] cashu::error::Error), [INFO] [stdout] 56 + Cashu(#[from] error::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | Secret(#[from] cashu::secret::Error), [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 5 + use crate::secret; [INFO] [stdout] | [INFO] [stdout] help: if you import `secret`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 60 - Secret(#[from] cashu::secret::Error), [INFO] [stdout] 60 + Secret(#[from] secret::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/mod.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | Cashu(#[from] cashu::error::Error), [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] note: module `crate::wallet::error` exists but is inaccessible [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | mod error; [INFO] [stdout] | ^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 9 + use crate::bitcoin::error; [INFO] [stdout] | [INFO] [stdout] 9 + use crate::error; [INFO] [stdout] | [INFO] [stdout] 9 + use crate::mint::error; [INFO] [stdout] | [INFO] [stdout] 9 + use crate::prelude::core::error; [INFO] [stdout] | [INFO] [stdout] = and 6 other candidates [INFO] [stdout] help: if you import `error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 47 - Cashu(#[from] cashu::error::Error), [INFO] [stdout] 47 + Cashu(#[from] error::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/mod.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | CashuNut02(#[from] cashu::nuts::nut02::Error), [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module through its public re-export [INFO] [stdout] | [INFO] [stdout] 9 + use crate::prelude::nut02; [INFO] [stdout] | [INFO] [stdout] help: if you import `nut02`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 49 - CashuNut02(#[from] cashu::nuts::nut02::Error), [INFO] [stdout] 49 + CashuNut02(#[from] nut02::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/localstore/mod.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | Secret(#[from] cashu::secret::Error), [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 9 + use crate::secret; [INFO] [stdout] | [INFO] [stdout] help: if you import `secret`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 51 - Secret(#[from] cashu::secret::Error), [INFO] [stdout] 51 + Secret(#[from] secret::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | Nut12(#[from] cashu::nuts::nut12::Error), [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::nut12; [INFO] [stdout] | [INFO] [stdout] help: if you import `nut12`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 62 - Nut12(#[from] cashu::nuts::nut12::Error), [INFO] [stdout] 62 + Nut12(#[from] nut12::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | Cashu(#[from] cashu::error::Error), [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] note: module `crate::wallet::error` exists but is inaccessible [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | mod error; [INFO] [stdout] | ^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 5 + use crate::bitcoin::error; [INFO] [stdout] | [INFO] [stdout] 5 + use crate::error; [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::core::error; [INFO] [stdout] | [INFO] [stdout] 5 + use std::error; [INFO] [stdout] | [INFO] [stdout] = and 5 other candidates [INFO] [stdout] help: if you import `error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 56 - Cashu(#[from] cashu::error::Error), [INFO] [stdout] 56 + Cashu(#[from] error::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | Secret(#[from] cashu::secret::Error), [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 5 + use crate::secret; [INFO] [stdout] | [INFO] [stdout] help: if you import `secret`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 60 - Secret(#[from] cashu::secret::Error), [INFO] [stdout] 60 + Secret(#[from] secret::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | Nut12(#[from] cashu::nuts::nut12::Error), [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::nut12; [INFO] [stdout] | [INFO] [stdout] help: if you import `nut12`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 62 - Nut12(#[from] cashu::nuts::nut12::Error), [INFO] [stdout] 62 + Nut12(#[from] nut12::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `CurrencyUnit` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:105:39 [INFO] [stdout] | [INFO] [stdout] 105 | let mut active_units: HashSet = HashSet::default(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::CurrencyUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurrencyUnit` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | CurrencyUnit::Sat, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CurrencyUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::CurrencyUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurrencyUnit` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:116:36 [INFO] [stdout] | [INFO] [stdout] 116 | .add_active_keyset(CurrencyUnit::Sat, keyset.id) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CurrencyUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::CurrencyUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `CurrencyUnit` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:151:15 [INFO] [stdout] | [INFO] [stdout] 151 | unit: CurrencyUnit, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::CurrencyUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MintQuoteBolt11Response` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:162:68 [INFO] [stdout] | [INFO] [stdout] 162 | pub async fn check_mint_quote(&self, quote_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::MintQuoteBolt11Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MintQuoteBolt11Response` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | Ok(MintQuoteBolt11Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::MintQuoteBolt11Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `CurrencyUnit` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:196:15 [INFO] [stdout] | [INFO] [stdout] 196 | unit: CurrencyUnit, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::CurrencyUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Id` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:210:52 [INFO] [stdout] | [INFO] [stdout] 210 | pub async fn keyset_pubkeys(&self, keyset_id: &Id) -> Result { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::Id; [INFO] [stdout] | [INFO] [stdout] 5 + use tracing::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `KeysResponse` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:210:66 [INFO] [stdout] | [INFO] [stdout] 210 | pub async fn keyset_pubkeys(&self, keyset_id: &Id) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::KeysResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KeysResponse` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 218 | Ok(KeysResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::KeysResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `KeysResponse` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:225:43 [INFO] [stdout] | [INFO] [stdout] 225 | pub async fn pubkeys(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::KeysResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KeysResponse` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | Ok(KeysResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::KeysResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `KeysetResponse` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:234:43 [INFO] [stdout] | [INFO] [stdout] 234 | pub async fn keysets(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::KeysetResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Id` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:236:37 [INFO] [stdout] | [INFO] [stdout] 236 | let active_keysets: HashSet = self [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::Id; [INFO] [stdout] | [INFO] [stdout] 5 + use tracing::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `CurrencyUnit` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:105:39 [INFO] [stdout] | [INFO] [stdout] 105 | let mut active_units: HashSet = HashSet::default(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::CurrencyUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KeySetInfo` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:246:22 [INFO] [stdout] | [INFO] [stdout] 246 | .map(|k| KeySetInfo { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::KeySetInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KeysetResponse` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | Ok(KeysetResponse { keysets }) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::KeysetResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Id` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 256 | pub async fn keyset(&self, id: &Id) -> Result, Error> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::Id; [INFO] [stdout] | [INFO] [stdout] 5 + use tracing::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `KeySet` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:256:58 [INFO] [stdout] | [INFO] [stdout] 256 | pub async fn keyset(&self, id: &Id) -> Result, Error> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::KeySet; [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::nut02::mint::KeySet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `CurrencyUnit` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:268:15 [INFO] [stdout] | [INFO] [stdout] 268 | unit: CurrencyUnit, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::CurrencyUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Id` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:427:39 [INFO] [stdout] | [INFO] [stdout] 427 | let input_keyset_ids: HashSet = [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::Id; [INFO] [stdout] | [INFO] [stdout] 5 + use tracing::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Id` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:441:40 [INFO] [stdout] | [INFO] [stdout] 441 | let output_keyset_ids: HashSet = [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::Id; [INFO] [stdout] | [INFO] [stdout] 5 + use tracing::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Id` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:603:39 [INFO] [stdout] | [INFO] [stdout] 603 | let input_keyset_ids: HashSet = [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::Id; [INFO] [stdout] | [INFO] [stdout] 5 + use tracing::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Id` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:618:45 [INFO] [stdout] | [INFO] [stdout] 618 | let output_keysets_ids: HashSet = outputs.iter().map(|b| b.keyset_id).collect(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::Id; [INFO] [stdout] | [INFO] [stdout] 5 + use tracing::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MeltQuoteBolt11Response` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:737:68 [INFO] [stdout] | [INFO] [stdout] 737 | pub async fn check_melt_quote(&self, quote_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::MeltQuoteBolt11Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MeltQuoteBolt11Response` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:744:12 [INFO] [stdout] | [INFO] [stdout] 744 | Ok(MeltQuoteBolt11Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::MeltQuoteBolt11Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MintInfo` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:753:45 [INFO] [stdout] | [INFO] [stdout] 753 | pub async fn mint_info(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::MintInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `PublicKey` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:763:34 [INFO] [stdout] | [INFO] [stdout] 763 | let blinded_message: Vec = request.outputs.iter().map(|b| b.b.clone()).collect(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 5 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 5 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Id` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:796:13 [INFO] [stdout] | [INFO] [stdout] 796 | pub id: Id, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::Id; [INFO] [stdout] | [INFO] [stdout] 5 + use tracing::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurrencyUnit` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | CurrencyUnit::Sat, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CurrencyUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::CurrencyUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `CurrencyUnit` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:797:15 [INFO] [stdout] | [INFO] [stdout] 797 | pub unit: CurrencyUnit, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::CurrencyUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurrencyUnit` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:116:36 [INFO] [stdout] | [INFO] [stdout] 116 | .add_active_keyset(CurrencyUnit::Sat, keyset.id) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CurrencyUnit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::CurrencyUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `KeySetInfo` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:805:31 [INFO] [stdout] | [INFO] [stdout] 805 | impl From for KeySetInfo { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::KeySetInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `wallet` in `error` [INFO] [stdout] --> crates/cdk/src/nuts/nut00.rs:373:27 [INFO] [stdout] | [INFO] [stdout] 373 | type Err = error::wallet::Error; [INFO] [stdout] | ^^^^^^ could not find `wallet` in `error` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 119 + use crate::wallet; [INFO] [stdout] | [INFO] [stdout] help: if you import `wallet`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 373 - type Err = error::wallet::Error; [INFO] [stdout] 373 + type Err = wallet::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `CurrencyUnit` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:151:15 [INFO] [stdout] | [INFO] [stdout] 151 | unit: CurrencyUnit, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::CurrencyUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex` [INFO] [stdout] --> crates/cdk/src/nuts/nut02.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | let hex_bytes: [u8; 8] = hex::decode(value.to_string())? [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 9 + use crate::util::hex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex` [INFO] [stdout] --> crates/cdk/src/nuts/nut02.rs:157:27 [INFO] [stdout] | [INFO] [stdout] 157 | let hex_of_hash = hex::encode(hash.to_byte_array()); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 9 + use crate::util::hex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:73:51 [INFO] [stdout] | [INFO] [stdout] 73 | let sig = Signature::try_from(hex::decode(signature)?.as_slice())?; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 9 + use crate::util::hex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MintQuoteBolt11Response` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:162:68 [INFO] [stdout] | [INFO] [stdout] 162 | pub async fn check_mint_quote(&self, quote_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::MintQuoteBolt11Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:101:59 [INFO] [stdout] | [INFO] [stdout] 101 | ... let sig = Signature::try_from(hex::decode(s)?.as_slice()) [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 9 + use crate::util::hex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:126:19 [INFO] [stdout] | [INFO] [stdout] 126 | .push(hex::encode(signature.to_bytes())); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 9 + use crate::util::hex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:134:27 [INFO] [stdout] | [INFO] [stdout] 134 | let msg_to_sign = hex::decode(self.b.to_string())?; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 9 + use crate::util::hex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | .push(hex::encode(signature.to_bytes())); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 9 + use crate::util::hex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MintQuoteBolt11Response` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | Ok(MintQuoteBolt11Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::MintQuoteBolt11Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:157:51 [INFO] [stdout] | [INFO] [stdout] 157 | let sig = Signature::try_from(hex::decode(signature)?.as_slice())?; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 9 + use crate::util::hex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:544:25 [INFO] [stdout] | [INFO] [stdout] 544 | Ok(VerifyingKey(k256::schnorr::VerifyingKey::from_bytes( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 9 + use crate::prelude::VerifyingKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `VerifyingKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 544 - Ok(VerifyingKey(k256::schnorr::VerifyingKey::from_bytes( [INFO] [stdout] 544 + Ok(VerifyingKey(VerifyingKey::from_bytes( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:573:21 [INFO] [stdout] | [INFO] [stdout] 573 | let bytes = hex::decode(hex)?; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 9 + use crate::util::hex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:582:13 [INFO] [stdout] | [INFO] [stdout] 582 | k256::schnorr::VerifyingKey::from_bytes(&bytes).map_err(|_| Error::Key)?, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 9 + use crate::prelude::VerifyingKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `VerifyingKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 582 - k256::schnorr::VerifyingKey::from_bytes(&bytes).map_err(|_| Error::Key)?, [INFO] [stdout] 582 + VerifyingKey::from_bytes(&bytes).map_err(|_| Error::Key)?, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:590:22 [INFO] [stdout] | [INFO] [stdout] 590 | f.write_str(&hex::encode(bytes)) [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 9 + use crate::util::hex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:678:21 [INFO] [stdout] | [INFO] [stdout] 678 | let bytes = hex::decode(hex)?; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 9 + use crate::util::hex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:687:13 [INFO] [stdout] | [INFO] [stdout] 687 | k256::schnorr::SigningKey::from_bytes(&bytes).map_err(|_| Error::Key)?, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 9 + use crate::prelude::SigningKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `SigningKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 687 - k256::schnorr::SigningKey::from_bytes(&bytes).map_err(|_| Error::Key)?, [INFO] [stdout] 687 + SigningKey::from_bytes(&bytes).map_err(|_| Error::Key)?, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `CurrencyUnit` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:196:15 [INFO] [stdout] | [INFO] [stdout] 196 | unit: CurrencyUnit, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::CurrencyUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:696:22 [INFO] [stdout] | [INFO] [stdout] 696 | f.write_str(&hex::encode(bytes)) [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 9 + use crate::util::hex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut12.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | k256::PublicKey::try_from(r1)?, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 9 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 9 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 9 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 9 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `PublicKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 69 - k256::PublicKey::try_from(r1)?, [INFO] [stdout] 69 + PublicKey::try_from(r1)?, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut12.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | k256::PublicKey::try_from(r2)?, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 9 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 9 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 9 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 9 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `PublicKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 70 - k256::PublicKey::try_from(r2)?, [INFO] [stdout] 70 + PublicKey::try_from(r2)?, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Id` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:210:52 [INFO] [stdout] | [INFO] [stdout] 210 | pub async fn keyset_pubkeys(&self, keyset_id: &Id) -> Result { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::Id; [INFO] [stdout] | [INFO] [stdout] 5 + use tracing::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut12.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | let e_sk = k256::SecretKey::from_slice(&e)?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 9 + use crate::prelude::SecretKey; [INFO] [stdout] | [INFO] [stdout] 9 + use crate::secp256k1::SecretKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `SecretKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 101 - let e_sk = k256::SecretKey::from_slice(&e)?; [INFO] [stdout] 101 + let e_sk = SecretKey::from_slice(&e)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut12.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | let s: k256::SecretKey = k256::SecretKey::new(s.into()); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 9 + use crate::prelude::SecretKey; [INFO] [stdout] | [INFO] [stdout] 9 + use crate::secp256k1::SecretKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `SecretKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 107 - let s: k256::SecretKey = k256::SecretKey::new(s.into()); [INFO] [stdout] 107 + let s: k256::SecretKey = SecretKey::new(s.into()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut12.rs:134:33 [INFO] [stdout] | [INFO] [stdout] 134 | let blinded_signature = k256::PublicKey::try_from(blinded_signature)?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 9 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 9 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 9 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 9 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `PublicKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 134 - let blinded_signature = k256::PublicKey::try_from(blinded_signature)?; [INFO] [stdout] 134 + let blinded_signature = PublicKey::try_from(blinded_signature)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut12.rs:135:31 [INFO] [stdout] | [INFO] [stdout] 135 | let blinded_message = k256::PublicKey::try_from(blinded_message)?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 9 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 9 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 9 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 9 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `PublicKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 135 - let blinded_message = k256::PublicKey::try_from(blinded_message)?; [INFO] [stdout] 135 + let blinded_message = PublicKey::try_from(blinded_message)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `KeysResponse` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:210:66 [INFO] [stdout] | [INFO] [stdout] 210 | pub async fn keyset_pubkeys(&self, keyset_id: &Id) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::KeysResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex` [INFO] [stdout] --> crates/cdk/src/nuts/nut13.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | Ok(Self(hex::encode(xpriv.private_key().to_bytes()))) [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 9 + use crate::util::hex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `PublicKey` in this scope [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:18:48 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn hash_to_curve(message: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 7 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 7 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 7 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PublicKey` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | match PublicKey::from_sec1_bytes( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PublicKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 7 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 7 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 7 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `PublicKey` in this scope [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | I: IntoIterator, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 7 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 7 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 7 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `wallet` in `error` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:76:48 [INFO] [stdout] | [INFO] [stdout] 76 | ) -> Result<(PublicKey, SecretKey), error::wallet::Error> { [INFO] [stdout] | ^^^^^^ could not find `wallet` in `error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 63 + use crate::prelude::wallet; [INFO] [stdout] | [INFO] [stdout] 63 + use crate::wallet; [INFO] [stdout] | [INFO] [stdout] help: if you import `wallet`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 76 - ) -> Result<(PublicKey, SecretKey), error::wallet::Error> { [INFO] [stdout] 76 + ) -> Result<(PublicKey, SecretKey), wallet::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KeysResponse` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 218 | Ok(KeysResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::KeysResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:81:44 [INFO] [stdout] | [INFO] [stdout] 81 | None => SecretKey::random(&mut rand::thread_rng()), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this crate through its public re-export [INFO] [stdout] | [INFO] [stdout] 63 + use crate::util::rand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | Ok((k256::PublicKey::try_from(b)?.into(), r)) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 63 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 63 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 63 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 63 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `PublicKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 86 - Ok((k256::PublicKey::try_from(b)?.into(), r)) [INFO] [stdout] 86 + Ok((PublicKey::try_from(b)?.into(), r)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `wallet` in `error` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:96:35 [INFO] [stdout] | [INFO] [stdout] 96 | ) -> Result { [INFO] [stdout] | ^^^^^^ could not find `wallet` in `error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 63 + use crate::prelude::wallet; [INFO] [stdout] | [INFO] [stdout] 63 + use crate::wallet; [INFO] [stdout] | [INFO] [stdout] help: if you import `wallet`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 96 - ) -> Result { [INFO] [stdout] 96 + ) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | Ok(k256::PublicKey::try_from(c)?.into()) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 63 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 63 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 63 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 63 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `PublicKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 104 - Ok(k256::PublicKey::try_from(c)?.into()) [INFO] [stdout] 104 + Ok(PublicKey::try_from(c)?.into()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `wallet` in `error` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:113:32 [INFO] [stdout] | [INFO] [stdout] 113 | ) -> Result { [INFO] [stdout] | ^^^^^^ could not find `wallet` in `error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 63 + use crate::prelude::wallet; [INFO] [stdout] | [INFO] [stdout] 63 + use crate::wallet; [INFO] [stdout] | [INFO] [stdout] help: if you import `wallet`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 113 - ) -> Result { [INFO] [stdout] 113 + ) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `wallet` in `error` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:119:31 [INFO] [stdout] | [INFO] [stdout] 119 | .ok_or(error::wallet::Error::CustomError( [INFO] [stdout] | ^^^^^^ could not find `wallet` in `error` [INFO] [stdout] | [INFO] [stdout] note: these enums exist but are inaccessible [INFO] [stdout] --> crates/cdk/src/mint/error.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ `crate::mint::error::Error`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: crates/cdk/src/mint/localstore/mod.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ `crate::mint::localstore::Error`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: crates/cdk/src/wallet/error.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ `crate::wallet::error::Error`: not accessible [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 63 + use crate::bip39::Error; [INFO] [stdout] | [INFO] [stdout] 63 + use crate::bitcoin::Error; [INFO] [stdout] | [INFO] [stdout] 63 + use crate::bitcoin::absolute::Error; [INFO] [stdout] | [INFO] [stdout] 63 + use crate::bitcoin::address::Error; [INFO] [stdout] | [INFO] [stdout] = and 57 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 119 - .ok_or(error::wallet::Error::CustomError( [INFO] [stdout] 119 + .ok_or(Error::CustomError( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mint` in `error` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:184:41 [INFO] [stdout] | [INFO] [stdout] 184 | ) -> Result { [INFO] [stdout] | ^^^^ could not find `mint` in `error` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 172 + use crate::mint; [INFO] [stdout] | [INFO] [stdout] help: if you import `mint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 184 - ) -> Result { [INFO] [stdout] 184 + ) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `KeysResponse` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:225:43 [INFO] [stdout] | [INFO] [stdout] 225 | pub async fn pubkeys(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::KeysResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | Ok(k256::PublicKey::try_from( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 172 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 172 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 172 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 172 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `PublicKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 185 - Ok(k256::PublicKey::try_from( [INFO] [stdout] 185 + Ok(PublicKey::try_from( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mint` in `error` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:197:28 [INFO] [stdout] | [INFO] [stdout] 197 | ) -> Result<(), error::mint::Error> { [INFO] [stdout] | ^^^^ could not find `mint` in `error` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 172 + use crate::mint; [INFO] [stdout] | [INFO] [stdout] help: if you import `mint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 197 - ) -> Result<(), error::mint::Error> { [INFO] [stdout] 197 + ) -> Result<(), mint::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:202:16 [INFO] [stdout] | [INFO] [stdout] 202 | == k256::PublicKey::try_from(*y.as_affine() * Scalar::from(a.as_scalar_primitive()))? [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 172 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 172 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 172 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 172 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `PublicKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 202 - == k256::PublicKey::try_from(*y.as_affine() * Scalar::from(a.as_scalar_primitive()))? [INFO] [stdout] 202 + == PublicKey::try_from(*y.as_affine() * Scalar::from(a.as_scalar_primitive()))? [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KeysResponse` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | Ok(KeysResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::KeysResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `KeysetResponse` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:234:43 [INFO] [stdout] | [INFO] [stdout] 234 | pub async fn keysets(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::KeysetResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mint` in `error` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:209:20 [INFO] [stdout] | [INFO] [stdout] 209 | Err(error::mint::Error::TokenNotVerifed) [INFO] [stdout] | ^^^^ could not find `mint` in `error` [INFO] [stdout] | [INFO] [stdout] note: these enums exist but are inaccessible [INFO] [stdout] --> crates/cdk/src/mint/error.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ `crate::mint::error::Error`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: crates/cdk/src/mint/localstore/mod.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ `crate::mint::localstore::Error`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: crates/cdk/src/wallet/error.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ `crate::wallet::error::Error`: not accessible [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 172 + use crate::bip39::Error; [INFO] [stdout] | [INFO] [stdout] 172 + use crate::bitcoin::Error; [INFO] [stdout] | [INFO] [stdout] 172 + use crate::bitcoin::absolute::Error; [INFO] [stdout] | [INFO] [stdout] 172 + use crate::bitcoin::address::Error; [INFO] [stdout] | [INFO] [stdout] = and 57 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 209 - Err(error::mint::Error::TokenNotVerifed) [INFO] [stdout] 209 + Err(Error::TokenNotVerifed) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:229:26 [INFO] [stdout] | [INFO] [stdout] 229 | let expected_y = k256::PublicKey::from_sec1_bytes( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 215 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 215 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 215 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 215 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `PublicKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 229 - let expected_y = k256::PublicKey::from_sec1_bytes( [INFO] [stdout] 229 + let expected_y = PublicKey::from_sec1_bytes( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:240:26 [INFO] [stdout] | [INFO] [stdout] 240 | let expected_y = k256::PublicKey::from_sec1_bytes( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 215 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 215 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 215 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 215 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `PublicKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 240 - let expected_y = k256::PublicKey::from_sec1_bytes( [INFO] [stdout] 240 + let expected_y = PublicKey::from_sec1_bytes( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:252:26 [INFO] [stdout] | [INFO] [stdout] 252 | let expected_y = k256::PublicKey::from_sec1_bytes( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 215 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 215 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 215 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 215 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `PublicKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 252 - let expected_y = k256::PublicKey::from_sec1_bytes( [INFO] [stdout] 252 + let expected_y = PublicKey::from_sec1_bytes( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Id` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:236:37 [INFO] [stdout] | [INFO] [stdout] 236 | let active_keysets: HashSet = self [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::Id; [INFO] [stdout] | [INFO] [stdout] 5 + use tracing::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `SecretKey` in module `crate::nuts` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:303:35 [INFO] [stdout] | [INFO] [stdout] 303 | let sec: crate::nuts::SecretKey = crate::nuts::SecretKey::from_hex( [INFO] [stdout] | ^^^^^^^^^ not found in `crate::nuts` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 295 + use crate::prelude::SecretKey; [INFO] [stdout] | [INFO] [stdout] 295 + use crate::secp256k1::SecretKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `SecretKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 303 - let sec: crate::nuts::SecretKey = crate::nuts::SecretKey::from_hex( [INFO] [stdout] 303 + let sec: SecretKey = crate::nuts::SecretKey::from_hex( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `SecretKey` in `nuts` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:303:60 [INFO] [stdout] | [INFO] [stdout] 303 | let sec: crate::nuts::SecretKey = crate::nuts::SecretKey::from_hex( [INFO] [stdout] | ^^^^^^^^^ could not find `SecretKey` in `nuts` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 295 + use crate::prelude::SecretKey; [INFO] [stdout] | [INFO] [stdout] 295 + use crate::secp256k1::SecretKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `SecretKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 303 - let sec: crate::nuts::SecretKey = crate::nuts::SecretKey::from_hex( [INFO] [stdout] 303 + let sec: crate::nuts::SecretKey = SecretKey::from_hex( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KeySetInfo` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:246:22 [INFO] [stdout] | [INFO] [stdout] 246 | .map(|k| KeySetInfo { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::KeySetInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:316:21 [INFO] [stdout] | [INFO] [stdout] 316 | k256::PublicKey::from_sec1_bytes( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 295 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 295 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 295 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 295 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `PublicKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 316 - k256::PublicKey::from_sec1_bytes( [INFO] [stdout] 316 + PublicKey::from_sec1_bytes( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `SecretKey` in module `crate::nuts` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:328:35 [INFO] [stdout] | [INFO] [stdout] 328 | let sec: crate::nuts::SecretKey = crate::nuts::SecretKey::from_hex( [INFO] [stdout] | ^^^^^^^^^ not found in `crate::nuts` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 295 + use crate::prelude::SecretKey; [INFO] [stdout] | [INFO] [stdout] 295 + use crate::secp256k1::SecretKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `SecretKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 328 - let sec: crate::nuts::SecretKey = crate::nuts::SecretKey::from_hex( [INFO] [stdout] 328 + let sec: SecretKey = crate::nuts::SecretKey::from_hex( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `SecretKey` in `nuts` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:328:60 [INFO] [stdout] | [INFO] [stdout] 328 | let sec: crate::nuts::SecretKey = crate::nuts::SecretKey::from_hex( [INFO] [stdout] | ^^^^^^^^^ could not find `SecretKey` in `nuts` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 295 + use crate::prelude::SecretKey; [INFO] [stdout] | [INFO] [stdout] 295 + use crate::secp256k1::SecretKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `SecretKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 328 - let sec: crate::nuts::SecretKey = crate::nuts::SecretKey::from_hex( [INFO] [stdout] 328 + let sec: crate::nuts::SecretKey = SecretKey::from_hex( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KeysetResponse` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | Ok(KeysetResponse { keysets }) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::KeysetResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:341:21 [INFO] [stdout] | [INFO] [stdout] 341 | k256::PublicKey::from_sec1_bytes( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 295 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 295 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 295 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 295 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `PublicKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 341 - k256::PublicKey::from_sec1_bytes( [INFO] [stdout] 341 + PublicKey::from_sec1_bytes( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Id` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 256 | pub async fn keyset(&self, id: &Id) -> Result, Error> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::Id; [INFO] [stdout] | [INFO] [stdout] 5 + use tracing::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:355:31 [INFO] [stdout] | [INFO] [stdout] 355 | let blinded_key = k256::PublicKey::from_sec1_bytes( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 295 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 295 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 295 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 295 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `PublicKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 355 - let blinded_key = k256::PublicKey::from_sec1_bytes( [INFO] [stdout] 355 + let blinded_key = PublicKey::from_sec1_bytes( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:362:21 [INFO] [stdout] | [INFO] [stdout] 362 | let a = k256::PublicKey::from_sec1_bytes( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 295 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 295 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 295 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 295 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `PublicKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 362 - let a = k256::PublicKey::from_sec1_bytes( [INFO] [stdout] 362 + let a = PublicKey::from_sec1_bytes( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `KeySet` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:256:58 [INFO] [stdout] | [INFO] [stdout] 256 | pub async fn keyset(&self, id: &Id) -> Result, Error> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::KeySet; [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::nut02::mint::KeySet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:372:21 [INFO] [stdout] | [INFO] [stdout] 372 | k256::PublicKey::from_sec1_bytes( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 295 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 295 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 295 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 295 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `PublicKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 372 - k256::PublicKey::from_sec1_bytes( [INFO] [stdout] 372 + PublicKey::from_sec1_bytes( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | k256::PublicKey::from_sec1_bytes( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 388 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 388 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 388 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 388 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `PublicKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 408 - k256::PublicKey::from_sec1_bytes( [INFO] [stdout] 408 + PublicKey::from_sec1_bytes( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `CurrencyUnit` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:268:15 [INFO] [stdout] | [INFO] [stdout] 268 | unit: CurrencyUnit, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::CurrencyUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `SecretKey` in `nuts` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:418:40 [INFO] [stdout] | [INFO] [stdout] 418 | let bob_sec = crate::nuts::SecretKey::from_hex( [INFO] [stdout] | ^^^^^^^^^ could not find `SecretKey` in `nuts` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 388 + use crate::prelude::SecretKey; [INFO] [stdout] | [INFO] [stdout] 388 + use crate::secp256k1::SecretKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `SecretKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 418 - let bob_sec = crate::nuts::SecretKey::from_hex( [INFO] [stdout] 418 + let bob_sec = SecretKey::from_hex( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Id` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:427:39 [INFO] [stdout] | [INFO] [stdout] 427 | let input_keyset_ids: HashSet = [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::Id; [INFO] [stdout] | [INFO] [stdout] 5 + use tracing::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:428:17 [INFO] [stdout] | [INFO] [stdout] 428 | k256::PublicKey::from_sec1_bytes( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 388 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 388 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 388 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 388 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `PublicKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 428 - k256::PublicKey::from_sec1_bytes( [INFO] [stdout] 428 + PublicKey::from_sec1_bytes( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Id` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:441:40 [INFO] [stdout] | [INFO] [stdout] 441 | let output_keyset_ids: HashSet = [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::Id; [INFO] [stdout] | [INFO] [stdout] 5 + use tracing::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:442:50 [INFO] [stdout] | [INFO] [stdout] 442 | let bob_sec = SecretKey::random(&mut rand::thread_rng()); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this crate through its public re-export [INFO] [stdout] | [INFO] [stdout] 388 + use crate::util::rand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Id` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:603:39 [INFO] [stdout] | [INFO] [stdout] 603 | let input_keyset_ids: HashSet = [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::Id; [INFO] [stdout] | [INFO] [stdout] 5 + use tracing::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | CashuWallet(#[from] cashu::error::wallet::Error), [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module through its public re-export [INFO] [stdout] | [INFO] [stdout] 7 + use crate::prelude::wallet; [INFO] [stdout] | [INFO] [stdout] help: if you import `wallet`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 44 - CashuWallet(#[from] cashu::error::wallet::Error), [INFO] [stdout] 44 + CashuWallet(#[from] wallet::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Id` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:618:45 [INFO] [stdout] | [INFO] [stdout] 618 | let output_keysets_ids: HashSet = outputs.iter().map(|b| b.keyset_id).collect(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::Id; [INFO] [stdout] | [INFO] [stdout] 5 + use tracing::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | CashuUrl(#[from] cashu::url::Error), [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 7 + use crate::url; [INFO] [stdout] | [INFO] [stdout] help: if you import `url`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 49 - CashuUrl(#[from] cashu::url::Error), [INFO] [stdout] 49 + CashuUrl(#[from] url::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MeltQuoteBolt11Response` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:737:68 [INFO] [stdout] | [INFO] [stdout] 737 | pub async fn check_melt_quote(&self, quote_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::MeltQuoteBolt11Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | Cashu(#[from] cashu::error::Error), [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] note: module `crate::mint::error` exists but is inaccessible [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | mod error; [INFO] [stdout] | ^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 7 + use crate::bitcoin::error; [INFO] [stdout] | [INFO] [stdout] 7 + use crate::error; [INFO] [stdout] | [INFO] [stdout] 7 + use crate::prelude::core::error; [INFO] [stdout] | [INFO] [stdout] 7 + use std::error; [INFO] [stdout] | [INFO] [stdout] = and 5 other candidates [INFO] [stdout] help: if you import `error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 59 - Cashu(#[from] cashu::error::Error), [INFO] [stdout] 59 + Cashu(#[from] error::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MeltQuoteBolt11Response` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:744:12 [INFO] [stdout] | [INFO] [stdout] 744 | Ok(MeltQuoteBolt11Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::MeltQuoteBolt11Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MintInfo` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:753:45 [INFO] [stdout] | [INFO] [stdout] 753 | pub async fn mint_info(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::MintInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `PublicKey` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:763:34 [INFO] [stdout] | [INFO] [stdout] 763 | let blinded_message: Vec = request.outputs.iter().map(|b| b.b.clone()).collect(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 5 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 5 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Id` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:796:13 [INFO] [stdout] | [INFO] [stdout] 796 | pub id: Id, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::Id; [INFO] [stdout] | [INFO] [stdout] 5 + use tracing::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `CurrencyUnit` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:797:15 [INFO] [stdout] | [INFO] [stdout] 797 | pub unit: CurrencyUnit, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::CurrencyUnit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:911:36 [INFO] [stdout] | [INFO] [stdout] 911 | let conditions: Result = (&proof.secret).try_into(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module through its public re-export [INFO] [stdout] | [INFO] [stdout] 7 + use crate::prelude::nut10; [INFO] [stdout] | [INFO] [stdout] help: if you import `nut10`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 911 - let conditions: Result = (&proof.secret).try_into(); [INFO] [stdout] 911 + let conditions: Result = (&proof.secret).try_into(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:981:22 [INFO] [stdout] | [INFO] [stdout] 981 | >::try_into( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 7 + use crate::secret; [INFO] [stdout] | [INFO] [stdout] help: if you import `secret`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 981 - >::try_into( [INFO] [stdout] 981 + >::try_into( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:981:55 [INFO] [stdout] | [INFO] [stdout] 981 | >::try_into( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module through its public re-export [INFO] [stdout] | [INFO] [stdout] 7 + use crate::prelude::nut10; [INFO] [stdout] | [INFO] [stdout] help: if you import `nut10`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 981 - >::try_into( [INFO] [stdout] 981 + >::try_into( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RestoreRequest` in this scope [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:1083:39 [INFO] [stdout] | [INFO] [stdout] 1083 | let restore_request = RestoreRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 7 + use crate::prelude::RestoreRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `KeySetInfo` in this scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:805:31 [INFO] [stdout] | [INFO] [stdout] 805 | impl From for KeySetInfo { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::prelude::KeySetInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `wallet` in `error` [INFO] [stdout] --> crates/cdk/src/nuts/nut00.rs:373:27 [INFO] [stdout] | [INFO] [stdout] 373 | type Err = error::wallet::Error; [INFO] [stdout] | ^^^^^^ could not find `wallet` in `error` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 119 + use crate::wallet; [INFO] [stdout] | [INFO] [stdout] help: if you import `wallet`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 373 - type Err = error::wallet::Error; [INFO] [stdout] 373 + type Err = wallet::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Error` is ambiguous [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:558:70 [INFO] [stdout] | [INFO] [stdout] 558 | VerifyingKey::from_bytes(&bytes).map_err(|_| crate::prelude::Error::Key) [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could refer to the enum imported here [INFO] [stdout] --> crates/cdk/src/prelude.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | pub use crate::nuts::nut00::{self, *}; [INFO] [stdout] | ^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] note: `Error` could also refer to the enum imported here [INFO] [stdout] --> crates/cdk/src/prelude.rs:23:36 [INFO] [stdout] | [INFO] [stdout] 23 | pub use crate::nuts::nut12::{self, *}; [INFO] [stdout] | ^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex` [INFO] [stdout] --> crates/cdk/src/nuts/nut02.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | let hex_bytes: [u8; 8] = hex::decode(value.to_string())? [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 9 + use crate::util::hex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex` [INFO] [stdout] --> crates/cdk/src/nuts/nut02.rs:157:27 [INFO] [stdout] | [INFO] [stdout] 157 | let hex_of_hash = hex::encode(hash.to_byte_array()); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 9 + use crate::util::hex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:73:51 [INFO] [stdout] | [INFO] [stdout] 73 | let sig = Signature::try_from(hex::decode(signature)?.as_slice())?; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 9 + use crate::util::hex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:101:59 [INFO] [stdout] | [INFO] [stdout] 101 | ... let sig = Signature::try_from(hex::decode(s)?.as_slice()) [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 9 + use crate::util::hex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:126:19 [INFO] [stdout] | [INFO] [stdout] 126 | .push(hex::encode(signature.to_bytes())); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 9 + use crate::util::hex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:134:27 [INFO] [stdout] | [INFO] [stdout] 134 | let msg_to_sign = hex::decode(self.b.to_string())?; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 9 + use crate::util::hex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> crates/cdk/src/lib.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut09` [INFO] [stdout] --> crates/cdk/src/client/mod.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "nut09")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut09` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut07` [INFO] [stdout] --> crates/cdk/src/client/mod.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "nut07")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut07` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut07` [INFO] [stdout] --> crates/cdk/src/client/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "nut07")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut07` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gloo` [INFO] [stdout] --> crates/cdk/src/client/mod.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "gloo")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `gloo` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gloo` [INFO] [stdout] --> crates/cdk/src/client/mod.rs:129:40 [INFO] [stdout] | [INFO] [stdout] 129 | #[cfg(any(not(target_arch = "wasm32"), feature = "gloo"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `gloo` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | .push(hex::encode(signature.to_bytes())); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 9 + use crate::util::hex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gloo` [INFO] [stdout] --> crates/cdk/src/client/mod.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | #[cfg(feature = "gloo")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `gloo` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut09` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "nut09")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut09` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut07` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "nut07")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut07` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut07` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(feature = "nut07")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut07` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut07` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:194:11 [INFO] [stdout] | [INFO] [stdout] 194 | #[cfg(feature = "nut07")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut07` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut09` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:231:11 [INFO] [stdout] | [INFO] [stdout] 231 | #[cfg(feature = "nut09")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut09` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut07` [INFO] [stdout] --> crates/cdk/src/client/mod.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(feature = "nut07")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut07` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:157:51 [INFO] [stdout] | [INFO] [stdout] 157 | let sig = Signature::try_from(hex::decode(signature)?.as_slice())?; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 9 + use crate::util::hex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut09` [INFO] [stdout] --> crates/cdk/src/client/mod.rs:121:11 [INFO] [stdout] | [INFO] [stdout] 121 | #[cfg(feature = "nut09")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut09` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> crates/cdk/src/mint/localstore/redb_store.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:544:25 [INFO] [stdout] | [INFO] [stdout] 544 | Ok(VerifyingKey(k256::schnorr::VerifyingKey::from_bytes( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 9 + use crate::prelude::VerifyingKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `VerifyingKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 544 - Ok(VerifyingKey(k256::schnorr::VerifyingKey::from_bytes( [INFO] [stdout] 544 + Ok(VerifyingKey(VerifyingKey::from_bytes( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:573:21 [INFO] [stdout] | [INFO] [stdout] 573 | let bytes = hex::decode(hex)?; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 9 + use crate::util::hex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut11` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:479:15 [INFO] [stdout] | [INFO] [stdout] 479 | #[cfg(not(feature = "nut11"))] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nut13"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut11` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut11` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:514:11 [INFO] [stdout] | [INFO] [stdout] 514 | #[cfg(feature = "nut11")] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nut13"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut11` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut12` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:362:19 [INFO] [stdout] | [INFO] [stdout] 362 | #[cfg(not(feature = "nut12"))] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nut13"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut12` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut12` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:371:15 [INFO] [stdout] | [INFO] [stdout] 371 | #[cfg(feature = "nut12")] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nut13"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut12` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:582:13 [INFO] [stdout] | [INFO] [stdout] 582 | k256::schnorr::VerifyingKey::from_bytes(&bytes).map_err(|_| Error::Key)?, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 9 + use crate::prelude::VerifyingKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `VerifyingKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 582 - k256::schnorr::VerifyingKey::from_bytes(&bytes).map_err(|_| Error::Key)?, [INFO] [stdout] 582 + VerifyingKey::from_bytes(&bytes).map_err(|_| Error::Key)?, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:590:22 [INFO] [stdout] | [INFO] [stdout] 590 | f.write_str(&hex::encode(bytes)) [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 9 + use crate::util::hex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:678:21 [INFO] [stdout] | [INFO] [stdout] 678 | let bytes = hex::decode(hex)?; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 9 + use crate::util::hex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> crates/cdk/src/nuts/nut01/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializer` [INFO] [stdout] --> crates/cdk/src/nuts/nut01/mod.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use serde::{Deserialize, Deserializer, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> crates/cdk/src/nuts/nut01/public_key.rs:94:7 [INFO] [stdout] | [INFO] [stdout] 94 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:687:13 [INFO] [stdout] | [INFO] [stdout] 687 | k256::schnorr::SigningKey::from_bytes(&bytes).map_err(|_| Error::Key)?, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 9 + use crate::prelude::SigningKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `SigningKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 687 - k256::schnorr::SigningKey::from_bytes(&bytes).map_err(|_| Error::Key)?, [INFO] [stdout] 687 + SigningKey::from_bytes(&bytes).map_err(|_| Error::Key)?, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut08` [INFO] [stdout] --> crates/cdk/src/nuts/nut05.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "nut08")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut08` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut08` [INFO] [stdout] --> crates/cdk/src/nuts/nut05.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(feature = "nut08")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut08` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut08` [INFO] [stdout] --> crates/cdk/src/nuts/nut05.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | #[cfg(feature = "nut08")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut08` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:696:22 [INFO] [stdout] | [INFO] [stdout] 696 | f.write_str(&hex::encode(bytes)) [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 9 + use crate::util::hex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut07` [INFO] [stdout] --> crates/cdk/src/nuts/nut06.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "nut07")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut07` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut08` [INFO] [stdout] --> crates/cdk/src/nuts/nut06.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(feature = "nut08")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut08` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut07` [INFO] [stdout] --> crates/cdk/src/nuts/nut06.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg(feature = "nut07")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut07` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut08` [INFO] [stdout] --> crates/cdk/src/nuts/nut06.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | #[cfg(feature = "nut08")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut08` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut07` [INFO] [stdout] --> crates/cdk/src/nuts/nut06.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 97 | #[cfg(feature = "nut07")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut07` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut07` [INFO] [stdout] --> crates/cdk/src/nuts/nut06.rs:102:11 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(feature = "nut07")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut07` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut07` [INFO] [stdout] --> crates/cdk/src/nuts/nut06.rs:107:11 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(feature = "nut07")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut07` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut12.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | k256::PublicKey::try_from(r1)?, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 9 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 9 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 9 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 9 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `PublicKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 69 - k256::PublicKey::try_from(r1)?, [INFO] [stdout] 69 + PublicKey::try_from(r1)?, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut12.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | k256::PublicKey::try_from(r2)?, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 9 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 9 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 9 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 9 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `PublicKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 70 - k256::PublicKey::try_from(r2)?, [INFO] [stdout] 70 + PublicKey::try_from(r2)?, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut12` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:782:19 [INFO] [stdout] | [INFO] [stdout] 782 | #[cfg(feature = "nut12")] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nut13"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut12` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> crates/cdk/src/nuts/nut12.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> crates/cdk/src/prelude.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | pub use crate::nuts::nut08::{self, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> crates/cdk/src/prelude.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | pub use crate::nuts::nut13::{self, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut11` [INFO] [stdout] --> crates/cdk/src/secret.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(feature = "nut11")] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nut13"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut11` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut12.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | let e_sk = k256::SecretKey::from_slice(&e)?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 9 + use crate::prelude::SecretKey; [INFO] [stdout] | [INFO] [stdout] 9 + use crate::secp256k1::SecretKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `SecretKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 101 - let e_sk = k256::SecretKey::from_slice(&e)?; [INFO] [stdout] 101 + let e_sk = SecretKey::from_slice(&e)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Instant` and `UNIX_EPOCH` [INFO] [stdout] --> crates/cdk/src/util/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::{Instant, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> crates/cdk/src/util/mod.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | use bitcoin::secp256k1::rand::{self, Rng, RngCore}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut12` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:128:23 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg(not(feature = "nut12"))] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nut13"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut12` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut12` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | #[cfg(feature = "nut12")] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nut13"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut12` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut12.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | let s: k256::SecretKey = k256::SecretKey::new(s.into()); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 9 + use crate::prelude::SecretKey; [INFO] [stdout] | [INFO] [stdout] 9 + use crate::secp256k1::SecretKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `SecretKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 107 - let s: k256::SecretKey = k256::SecretKey::new(s.into()); [INFO] [stdout] 107 + let s: k256::SecretKey = SecretKey::new(s.into()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut11` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:135:27 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg(feature = "nut11")] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nut13"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut11` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> crates/cdk/src/util/hex.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> crates/cdk/src/util/hex.rs:127:7 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut07` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "nut07")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut07` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut09` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(feature = "nut09")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut09` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut07` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(feature = "nut07")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut07` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut12.rs:134:33 [INFO] [stdout] | [INFO] [stdout] 134 | let blinded_signature = k256::PublicKey::try_from(blinded_signature)?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 9 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 9 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 9 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 9 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `PublicKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 134 - let blinded_signature = k256::PublicKey::try_from(blinded_signature)?; [INFO] [stdout] 134 + let blinded_signature = PublicKey::try_from(blinded_signature)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> crates/cdk/src/wallet/localstore/redb_store.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/nuts/nut12.rs:135:31 [INFO] [stdout] | [INFO] [stdout] 135 | let blinded_message = k256::PublicKey::try_from(blinded_message)?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 9 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 9 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 9 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 9 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `PublicKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 135 - let blinded_message = k256::PublicKey::try_from(blinded_message)?; [INFO] [stdout] 135 + let blinded_message = PublicKey::try_from(blinded_message)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut07` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:193:11 [INFO] [stdout] | [INFO] [stdout] 193 | #[cfg(feature = "nut07")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut07` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut11` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:1155:11 [INFO] [stdout] | [INFO] [stdout] 1155 | #[cfg(feature = "nut11")] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nut13"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut11` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut12` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:1251:11 [INFO] [stdout] | [INFO] [stdout] 1251 | #[cfg(feature = "nut12")] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nut13"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut12` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut12` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:361:15 [INFO] [stdout] | [INFO] [stdout] 361 | #[cfg(feature = "nut12")] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nut13"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut12` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut12` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:407:15 [INFO] [stdout] | [INFO] [stdout] 407 | #[cfg(feature = "nut12")] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nut13"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut12` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut12` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:558:19 [INFO] [stdout] | [INFO] [stdout] 558 | #[cfg(feature = "nut12")] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nut13"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut12` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex` [INFO] [stdout] --> crates/cdk/src/nuts/nut13.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | Ok(Self(hex::encode(xpriv.private_key().to_bytes()))) [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 9 + use crate::util::hex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut12` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:973:23 [INFO] [stdout] | [INFO] [stdout] 973 | #[cfg(feature = "nut12")] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nut13"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut12` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `PublicKey` in this scope [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:18:48 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn hash_to_curve(message: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 7 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 7 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 7 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PublicKey` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | match PublicKey::from_sec1_bytes( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PublicKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 7 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 7 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 7 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `PublicKey` in this scope [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | I: IntoIterator, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 7 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 7 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 7 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `wallet` in `error` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:76:48 [INFO] [stdout] | [INFO] [stdout] 76 | ) -> Result<(PublicKey, SecretKey), error::wallet::Error> { [INFO] [stdout] | ^^^^^^ could not find `wallet` in `error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 63 + use crate::prelude::wallet; [INFO] [stdout] | [INFO] [stdout] 63 + use crate::wallet; [INFO] [stdout] | [INFO] [stdout] help: if you import `wallet`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 76 - ) -> Result<(PublicKey, SecretKey), error::wallet::Error> { [INFO] [stdout] 76 + ) -> Result<(PublicKey, SecretKey), wallet::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:81:44 [INFO] [stdout] | [INFO] [stdout] 81 | None => SecretKey::random(&mut rand::thread_rng()), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this crate through its public re-export [INFO] [stdout] | [INFO] [stdout] 63 + use crate::util::rand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | Ok((k256::PublicKey::try_from(b)?.into(), r)) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 63 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 63 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 63 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 63 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `PublicKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 86 - Ok((k256::PublicKey::try_from(b)?.into(), r)) [INFO] [stdout] 86 + Ok((PublicKey::try_from(b)?.into(), r)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `wallet` in `error` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:96:35 [INFO] [stdout] | [INFO] [stdout] 96 | ) -> Result { [INFO] [stdout] | ^^^^^^ could not find `wallet` in `error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 63 + use crate::prelude::wallet; [INFO] [stdout] | [INFO] [stdout] 63 + use crate::wallet; [INFO] [stdout] | [INFO] [stdout] help: if you import `wallet`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 96 - ) -> Result { [INFO] [stdout] 96 + ) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | Ok(k256::PublicKey::try_from(c)?.into()) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 63 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 63 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 63 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 63 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `PublicKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 104 - Ok(k256::PublicKey::try_from(c)?.into()) [INFO] [stdout] 104 + Ok(PublicKey::try_from(c)?.into()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `wallet` in `error` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:113:32 [INFO] [stdout] | [INFO] [stdout] 113 | ) -> Result { [INFO] [stdout] | ^^^^^^ could not find `wallet` in `error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 63 + use crate::prelude::wallet; [INFO] [stdout] | [INFO] [stdout] 63 + use crate::wallet; [INFO] [stdout] | [INFO] [stdout] help: if you import `wallet`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 113 - ) -> Result { [INFO] [stdout] 113 + ) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `wallet` in `error` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:119:31 [INFO] [stdout] | [INFO] [stdout] 119 | .ok_or(error::wallet::Error::CustomError( [INFO] [stdout] | ^^^^^^ could not find `wallet` in `error` [INFO] [stdout] | [INFO] [stdout] note: these enums exist but are inaccessible [INFO] [stdout] --> crates/cdk/src/mint/error.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ `crate::mint::error::Error`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: crates/cdk/src/mint/localstore/mod.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ `crate::mint::localstore::Error`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: crates/cdk/src/wallet/error.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ `crate::wallet::error::Error`: not accessible [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 63 + use crate::bip39::Error; [INFO] [stdout] | [INFO] [stdout] 63 + use crate::bitcoin::Error; [INFO] [stdout] | [INFO] [stdout] 63 + use crate::bitcoin::absolute::Error; [INFO] [stdout] | [INFO] [stdout] 63 + use crate::bitcoin::address::Error; [INFO] [stdout] | [INFO] [stdout] = and 58 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 119 - .ok_or(error::wallet::Error::CustomError( [INFO] [stdout] 119 + .ok_or(Error::CustomError( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mint` in `error` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:184:41 [INFO] [stdout] | [INFO] [stdout] 184 | ) -> Result { [INFO] [stdout] | ^^^^ could not find `mint` in `error` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 172 + use crate::mint; [INFO] [stdout] | [INFO] [stdout] help: if you import `mint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 184 - ) -> Result { [INFO] [stdout] 184 + ) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | Ok(k256::PublicKey::try_from( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 172 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 172 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 172 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 172 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `PublicKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 185 - Ok(k256::PublicKey::try_from( [INFO] [stdout] 185 + Ok(PublicKey::try_from( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mint` in `error` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:197:28 [INFO] [stdout] | [INFO] [stdout] 197 | ) -> Result<(), error::mint::Error> { [INFO] [stdout] | ^^^^ could not find `mint` in `error` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 172 + use crate::mint; [INFO] [stdout] | [INFO] [stdout] help: if you import `mint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 197 - ) -> Result<(), error::mint::Error> { [INFO] [stdout] 197 + ) -> Result<(), mint::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `k256` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:202:16 [INFO] [stdout] | [INFO] [stdout] 202 | == k256::PublicKey::try_from(*y.as_affine() * Scalar::from(a.as_scalar_primitive()))? [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `k256` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `k256`, use `cargo add k256` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 172 + use crate::bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] 172 + use crate::prelude::PublicKey; [INFO] [stdout] | [INFO] [stdout] 172 + use crate::secp256k1::PublicKey; [INFO] [stdout] | [INFO] [stdout] 172 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `PublicKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 202 - == k256::PublicKey::try_from(*y.as_affine() * Scalar::from(a.as_scalar_primitive()))? [INFO] [stdout] 202 + == PublicKey::try_from(*y.as_affine() * Scalar::from(a.as_scalar_primitive()))? [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mint` in `error` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:209:20 [INFO] [stdout] | [INFO] [stdout] 209 | Err(error::mint::Error::TokenNotVerifed) [INFO] [stdout] | ^^^^ could not find `mint` in `error` [INFO] [stdout] | [INFO] [stdout] note: these enums exist but are inaccessible [INFO] [stdout] --> crates/cdk/src/mint/error.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ `crate::mint::error::Error`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: crates/cdk/src/mint/localstore/mod.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ `crate::mint::localstore::Error`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: crates/cdk/src/wallet/error.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ `crate::wallet::error::Error`: not accessible [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 172 + use crate::bip39::Error; [INFO] [stdout] | [INFO] [stdout] 172 + use crate::bitcoin::Error; [INFO] [stdout] | [INFO] [stdout] 172 + use crate::bitcoin::absolute::Error; [INFO] [stdout] | [INFO] [stdout] 172 + use crate::bitcoin::address::Error; [INFO] [stdout] | [INFO] [stdout] = and 58 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 209 - Err(error::mint::Error::TokenNotVerifed) [INFO] [stdout] 209 + Err(Error::TokenNotVerifed) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | CashuWallet(#[from] cashu::error::wallet::Error), [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module through its public re-export [INFO] [stdout] | [INFO] [stdout] 7 + use crate::prelude::wallet; [INFO] [stdout] | [INFO] [stdout] help: if you import `wallet`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 44 - CashuWallet(#[from] cashu::error::wallet::Error), [INFO] [stdout] 44 + CashuWallet(#[from] wallet::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | CashuUrl(#[from] cashu::url::Error), [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 7 + use crate::url; [INFO] [stdout] | [INFO] [stdout] help: if you import `url`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 49 - CashuUrl(#[from] cashu::url::Error), [INFO] [stdout] 49 + CashuUrl(#[from] url::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | Cashu(#[from] cashu::error::Error), [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] note: module `crate::mint::error` exists but is inaccessible [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | mod error; [INFO] [stdout] | ^^^^^^^^^^ not accessible [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 7 + use crate::bitcoin::error; [INFO] [stdout] | [INFO] [stdout] 7 + use crate::error; [INFO] [stdout] | [INFO] [stdout] 7 + use crate::prelude::core::error; [INFO] [stdout] | [INFO] [stdout] 7 + use std::error; [INFO] [stdout] | [INFO] [stdout] = and 5 other candidates [INFO] [stdout] help: if you import `error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 59 - Cashu(#[from] cashu::error::Error), [INFO] [stdout] 59 + Cashu(#[from] error::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:911:36 [INFO] [stdout] | [INFO] [stdout] 911 | let conditions: Result = (&proof.secret).try_into(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module through its public re-export [INFO] [stdout] | [INFO] [stdout] 7 + use crate::prelude::nut10; [INFO] [stdout] | [INFO] [stdout] help: if you import `nut10`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 911 - let conditions: Result = (&proof.secret).try_into(); [INFO] [stdout] 911 + let conditions: Result = (&proof.secret).try_into(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:981:22 [INFO] [stdout] | [INFO] [stdout] 981 | >::try_into( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 7 + use crate::secret; [INFO] [stdout] | [INFO] [stdout] help: if you import `secret`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 981 - >::try_into( [INFO] [stdout] 981 + >::try_into( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cashu` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:981:55 [INFO] [stdout] | [INFO] [stdout] 981 | >::try_into( [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `cashu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cashu`, use `cargo add cashu` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module through its public re-export [INFO] [stdout] | [INFO] [stdout] 7 + use crate::prelude::nut10; [INFO] [stdout] | [INFO] [stdout] help: if you import `nut10`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 981 - >::try_into( [INFO] [stdout] 981 + >::try_into( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RestoreRequest` in this scope [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:1083:39 [INFO] [stdout] | [INFO] [stdout] 1083 | let restore_request = RestoreRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 7 + use crate::prelude::RestoreRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Error` is ambiguous [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:558:70 [INFO] [stdout] | [INFO] [stdout] 558 | VerifyingKey::from_bytes(&bytes).map_err(|_| crate::prelude::Error::Key) [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Error` could refer to the enum imported here [INFO] [stdout] --> crates/cdk/src/prelude.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | pub use crate::nuts::nut00::{self, *}; [INFO] [stdout] | ^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] note: `Error` could also refer to the enum imported here [INFO] [stdout] --> crates/cdk/src/prelude.rs:23:36 [INFO] [stdout] | [INFO] [stdout] 23 | pub use crate::nuts::nut12::{self, *}; [INFO] [stdout] | ^ [INFO] [stdout] = help: consider adding an explicit import of `Error` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> crates/cdk/src/lib.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut09` [INFO] [stdout] --> crates/cdk/src/client/mod.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "nut09")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut09` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut07` [INFO] [stdout] --> crates/cdk/src/client/mod.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "nut07")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut07` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut07` [INFO] [stdout] --> crates/cdk/src/client/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "nut07")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut07` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gloo` [INFO] [stdout] --> crates/cdk/src/client/mod.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "gloo")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `gloo` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gloo` [INFO] [stdout] --> crates/cdk/src/client/mod.rs:129:40 [INFO] [stdout] | [INFO] [stdout] 129 | #[cfg(any(not(target_arch = "wasm32"), feature = "gloo"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `gloo` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gloo` [INFO] [stdout] --> crates/cdk/src/client/mod.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | #[cfg(feature = "gloo")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `gloo` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut09` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "nut09")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut09` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut07` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "nut07")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut07` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut07` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(feature = "nut07")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut07` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut07` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:194:11 [INFO] [stdout] | [INFO] [stdout] 194 | #[cfg(feature = "nut07")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut07` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut09` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:231:11 [INFO] [stdout] | [INFO] [stdout] 231 | #[cfg(feature = "nut09")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut09` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut07` [INFO] [stdout] --> crates/cdk/src/client/mod.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(feature = "nut07")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut07` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut09` [INFO] [stdout] --> crates/cdk/src/client/mod.rs:121:11 [INFO] [stdout] | [INFO] [stdout] 121 | #[cfg(feature = "nut09")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut09` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> crates/cdk/src/mint/localstore/redb_store.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut11` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:479:15 [INFO] [stdout] | [INFO] [stdout] 479 | #[cfg(not(feature = "nut11"))] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nut13"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut11` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut11` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:514:11 [INFO] [stdout] | [INFO] [stdout] 514 | #[cfg(feature = "nut11")] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nut13"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut11` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut12` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:362:19 [INFO] [stdout] | [INFO] [stdout] 362 | #[cfg(not(feature = "nut12"))] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nut13"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut12` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut12` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:371:15 [INFO] [stdout] | [INFO] [stdout] 371 | #[cfg(feature = "nut12")] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nut13"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut12` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> crates/cdk/src/nuts/nut01/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> crates/cdk/src/nuts/nut01/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializer` [INFO] [stdout] --> crates/cdk/src/nuts/nut01/mod.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use serde::{Deserialize, Deserializer, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> crates/cdk/src/nuts/nut01/public_key.rs:94:7 [INFO] [stdout] | [INFO] [stdout] 94 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::nut11::VerifyingKey` [INFO] [stdout] --> crates/cdk/src/nuts/nut01/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use super::nut11::VerifyingKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut08` [INFO] [stdout] --> crates/cdk/src/nuts/nut05.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "nut08")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut08` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut08` [INFO] [stdout] --> crates/cdk/src/nuts/nut05.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(feature = "nut08")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut08` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut08` [INFO] [stdout] --> crates/cdk/src/nuts/nut05.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | #[cfg(feature = "nut08")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut08` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut07` [INFO] [stdout] --> crates/cdk/src/nuts/nut06.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "nut07")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut07` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut08` [INFO] [stdout] --> crates/cdk/src/nuts/nut06.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(feature = "nut08")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut08` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut07` [INFO] [stdout] --> crates/cdk/src/nuts/nut06.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg(feature = "nut07")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut07` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut08` [INFO] [stdout] --> crates/cdk/src/nuts/nut06.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | #[cfg(feature = "nut08")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut08` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut07` [INFO] [stdout] --> crates/cdk/src/nuts/nut06.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 97 | #[cfg(feature = "nut07")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut07` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut07` [INFO] [stdout] --> crates/cdk/src/nuts/nut06.rs:102:11 [INFO] [stdout] | [INFO] [stdout] 102 | #[cfg(feature = "nut07")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut07` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut07` [INFO] [stdout] --> crates/cdk/src/nuts/nut06.rs:107:11 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(feature = "nut07")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut07` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> crates/cdk/src/prelude.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | pub use crate::nuts::nut08::{self, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> crates/cdk/src/prelude.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | pub use crate::nuts::nut13::{self, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut11` [INFO] [stdout] --> crates/cdk/src/secret.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(feature = "nut11")] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nut13"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut11` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Instant` and `UNIX_EPOCH` [INFO] [stdout] --> crates/cdk/src/util/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::{Instant, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> crates/cdk/src/util/mod.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | use bitcoin::secp256k1::rand::{self, Rng, RngCore}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut12` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:128:23 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg(not(feature = "nut12"))] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nut13"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut12` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut12` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | #[cfg(feature = "nut12")] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nut13"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut12` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut11` [INFO] [stdout] --> crates/cdk/src/util/dhke.rs:135:27 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg(feature = "nut11")] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nut13"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut11` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> crates/cdk/src/util/hex.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> crates/cdk/src/util/hex.rs:127:7 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut07` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "nut07")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut07` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut09` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(feature = "nut09")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut09` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut07` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(feature = "nut07")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut07` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> crates/cdk/src/wallet/localstore/redb_store.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut07` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:193:11 [INFO] [stdout] | [INFO] [stdout] 193 | #[cfg(feature = "nut07")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut07` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut11` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:1155:11 [INFO] [stdout] | [INFO] [stdout] 1155 | #[cfg(feature = "nut11")] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nut13"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut11` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut12` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:1251:11 [INFO] [stdout] | [INFO] [stdout] 1251 | #[cfg(feature = "nut12")] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nut13"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut12` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut12` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:361:15 [INFO] [stdout] | [INFO] [stdout] 361 | #[cfg(feature = "nut12")] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nut13"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut12` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut12` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:407:15 [INFO] [stdout] | [INFO] [stdout] 407 | #[cfg(feature = "nut12")] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nut13"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut12` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut12` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:558:19 [INFO] [stdout] | [INFO] [stdout] 558 | #[cfg(feature = "nut12")] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nut13"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut12` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nut12` [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:973:23 [INFO] [stdout] | [INFO] [stdout] 973 | #[cfg(feature = "nut12")] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nut13"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-nuts`, `default`, `mint`, `nut13`, `redb`, and `wallet` [INFO] [stdout] = help: consider adding `nut12` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `TryFrom` for type `nut11::VerifyingKey` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:612:1 [INFO] [stdout] | [INFO] [stdout] 612 | impl TryFrom for VerifyingKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: conflicting implementation in crate `core`: [INFO] [stdout] - impl TryFrom for T [INFO] [stdout] where U: Into; [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `TryFrom<&public_key::PublicKey>` for type `nut11::VerifyingKey` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:619:1 [INFO] [stdout] | [INFO] [stdout] 619 | impl TryFrom<&PublicKey> for VerifyingKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: conflicting implementation in crate `core`: [INFO] [stdout] - impl TryFrom for T [INFO] [stdout] where U: Into; [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | let quote = self [INFO] [stdout] | _____________________^ [INFO] [stdout] 164 | | .localstore [INFO] [stdout] 165 | | .get_mint_quote(quote_id) [INFO] [stdout] 166 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:212:29 [INFO] [stdout] | [INFO] [stdout] 212 | Some(keyset) => keyset.clone(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let keysets = self.localstore.get_keysets().await?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | keysets: keysets.into_iter().map(|k| k.into()).collect(), [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `keysets` an explicit type [INFO] [stdout] | [INFO] [stdout] 226 | let keysets: /* Type */ = self.localstore.get_keysets().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:229:47 [INFO] [stdout] | [INFO] [stdout] 229 | keysets: keysets.into_iter().map(|k| k.into()).collect(), [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 229 | keysets: keysets.into_iter().map(|k: /* Type */| k.into()).collect(), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:236:43 [INFO] [stdout] | [INFO] [stdout] 236 | let active_keysets: HashSet = self [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 237 | | .localstore [INFO] [stdout] 238 | | .get_active_keysets() [INFO] [stdout] 239 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | let keysets = self.localstore.get_keysets().await?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | let keysets = keysets [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `keysets` an explicit type [INFO] [stdout] | [INFO] [stdout] 235 | let keysets: /* Type */ = self.localstore.get_keysets().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | Ok(self [INFO] [stdout] | ____________^ [INFO] [stdout] 258 | | .localstore [INFO] [stdout] 259 | | .get_keyset(id) [INFO] [stdout] 260 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:261:19 [INFO] [stdout] | [INFO] [stdout] 261 | .map(|ks| ks.clone().into())) [INFO] [stdout] | ^^ -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 261 | .map(|ks: /* Type */| ks.clone().into())) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MintKeySet` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:272:26 [INFO] [stdout] | [INFO] [stdout] 272 | let new_keyset = MintKeySet::generate( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MintKeySet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:293:16 [INFO] [stdout] | [INFO] [stdout] 293 | if self [INFO] [stdout] | ________________^ [INFO] [stdout] 294 | | .localstore [INFO] [stdout] 295 | | .get_blinded_signature(&blinded_message.b) [INFO] [stdout] 296 | | .await? [INFO] [stdout] | |_______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:304:21 [INFO] [stdout] | [INFO] [stdout] 304 | let quote = self [INFO] [stdout] | _____________________^ [INFO] [stdout] 305 | | .localstore [INFO] [stdout] 306 | | .get_mint_quote(&mint_request.quote) [INFO] [stdout] 307 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | let blinded_signature = self.blind_sign(&blinded_message).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 318 | self.localstore [INFO] [stdout] 319 | .add_blinded_signature(blinded_message.b, blinded_signature.clone()) [INFO] [stdout] | ----------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `blinded_signature` an explicit type [INFO] [stdout] | [INFO] [stdout] 317 | let blinded_signature: /* Type */ = self.blind_sign(&blinded_message).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:337:22 [INFO] [stdout] | [INFO] [stdout] 337 | let keyset = self [INFO] [stdout] | ______________________^ [INFO] [stdout] 338 | | .localstore [INFO] [stdout] 339 | | .get_keyset(keyset_id) [INFO] [stdout] 340 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:343:22 [INFO] [stdout] | [INFO] [stdout] 343 | let active = self [INFO] [stdout] | ______________________^ [INFO] [stdout] 344 | | .localstore [INFO] [stdout] 345 | | .get_active_keyset_id(&keyset.unit) [INFO] [stdout] 346 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:390:16 [INFO] [stdout] | [INFO] [stdout] 390 | if self [INFO] [stdout] | ________________^ [INFO] [stdout] 391 | | .localstore [INFO] [stdout] 392 | | .get_blinded_signature(&blinded_message.b) [INFO] [stdout] 393 | | .await? [INFO] [stdout] | |_______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:415:19 [INFO] [stdout] | [INFO] [stdout] 415 | .map(|p| p.to_sec1_bytes().to_vec()) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 415 | .map(|p: /* Type */| p.to_sec1_bytes().to_vec()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:433:26 [INFO] [stdout] | [INFO] [stdout] 433 | let keyset = self [INFO] [stdout] | __________________________^ [INFO] [stdout] 434 | | .localstore [INFO] [stdout] 435 | | .get_keyset(&id) [INFO] [stdout] 436 | | .await? [INFO] [stdout] | |_______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:445:26 [INFO] [stdout] | [INFO] [stdout] 445 | let keyset = self [INFO] [stdout] | __________________________^ [INFO] [stdout] 446 | | .localstore [INFO] [stdout] 447 | | .get_keyset(id) [INFO] [stdout] 448 | | .await? [INFO] [stdout] | |_______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:469:17 [INFO] [stdout] | [INFO] [stdout] 469 | let blinded_signature = self.blind_sign(&blinded_message).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 470 | self.localstore [INFO] [stdout] 471 | .add_blinded_signature(blinded_message.b, blinded_signature.clone()) [INFO] [stdout] | ----------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `blinded_signature` an explicit type [INFO] [stdout] | [INFO] [stdout] 469 | let blinded_signature: /* Type */ = self.blind_sign(&blinded_message).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_spent_proof_by_hash` found for struct `Arc<(dyn mint::localstore::LocalStore + Send + Sync + 'static)>` in the current scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:482:28 [INFO] [stdout] | [INFO] [stdout] 482 | if self.localstore.get_spent_proof_by_hash(&y).await?.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_spent_proof_by_y` with a similar name [INFO] [stdout] | [INFO] [stdout] 482 - if self.localstore.get_spent_proof_by_hash(&y).await?.is_some() { [INFO] [stdout] 482 + if self.localstore.get_spent_proof_by_y(&y).await?.is_some() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:482:12 [INFO] [stdout] | [INFO] [stdout] 482 | if self.localstore.get_spent_proof_by_hash(&y).await?.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_pending_proof_by_hash` found for struct `Arc<(dyn mint::localstore::LocalStore + Send + Sync + 'static)>` in the current scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:488:14 [INFO] [stdout] | [INFO] [stdout] 486 | if self [INFO] [stdout] | ____________- [INFO] [stdout] 487 | | .localstore [INFO] [stdout] 488 | | .get_pending_proof_by_hash(&y) [INFO] [stdout] | |_____________-^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_pending_proof_by_y` with a similar name [INFO] [stdout] | [INFO] [stdout] 488 - .get_pending_proof_by_hash(&y) [INFO] [stdout] 488 + .get_pending_proof_by_y(&y) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:486:12 [INFO] [stdout] | [INFO] [stdout] 486 | if self [INFO] [stdout] | ____________^ [INFO] [stdout] 487 | | .localstore [INFO] [stdout] 488 | | .get_pending_proof_by_hash(&y) [INFO] [stdout] 489 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:495:22 [INFO] [stdout] | [INFO] [stdout] 495 | let keyset = self [INFO] [stdout] | ______________________^ [INFO] [stdout] 496 | | .localstore [INFO] [stdout] 497 | | .get_keyset(&proof.keyset_id) [INFO] [stdout] 498 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:564:28 [INFO] [stdout] | [INFO] [stdout] 564 | let state = if self.localstore.get_spent_proof_by_y(y).await?.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:566:23 [INFO] [stdout] | [INFO] [stdout] 566 | } else if self.localstore.get_pending_proof_by_y(y).await?.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:585:21 [INFO] [stdout] | [INFO] [stdout] 585 | let quote = self [INFO] [stdout] | _____________________^ [INFO] [stdout] 586 | | .localstore [INFO] [stdout] 587 | | .get_melt_quote(&melt_request.quote) [INFO] [stdout] 588 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:609:26 [INFO] [stdout] | [INFO] [stdout] 609 | let keyset = self [INFO] [stdout] | __________________________^ [INFO] [stdout] 610 | | .localstore [INFO] [stdout] 611 | | .get_keyset(&id) [INFO] [stdout] 612 | | .await? [INFO] [stdout] | |_______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:618:51 [INFO] [stdout] | [INFO] [stdout] 618 | let output_keysets_ids: HashSet = outputs.iter().map(|b| b.keyset_id).collect(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:620:30 [INFO] [stdout] | [INFO] [stdout] 620 | let keyset = self [INFO] [stdout] | ______________________________^ [INFO] [stdout] 621 | | .localstore [INFO] [stdout] 622 | | .get_keyset(&id) [INFO] [stdout] 623 | | .await? [INFO] [stdout] | |___________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:627:40 [INFO] [stdout] | [INFO] [stdout] 627 | let active_keyset_id = self [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 628 | | .localstore [INFO] [stdout] 629 | | .get_active_keyset_id(&keyset.unit) [INFO] [stdout] 630 | | .await? [INFO] [stdout] | |___________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:650:19 [INFO] [stdout] | [INFO] [stdout] 650 | .map(|p| p.to_sec1_bytes().to_vec()) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 650 | .map(|p: /* Type */| p.to_sec1_bytes().to_vec()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:675:20 [INFO] [stdout] | [INFO] [stdout] 675 | if self [INFO] [stdout] | ____________________^ [INFO] [stdout] 676 | | .localstore [INFO] [stdout] 677 | | .get_blinded_signature(&blinded_message.b) [INFO] [stdout] 678 | | .await? [INFO] [stdout] | |___________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:688:45 [INFO] [stdout] | [INFO] [stdout] 688 | self.localstore.add_spent_proof(input.clone()).await?; [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:698:16 [INFO] [stdout] | [INFO] [stdout] 698 | if outputs.len().lt(&amounts.len()) { [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:708:37 [INFO] [stdout] | [INFO] [stdout] 708 | amounts.sort_by(|a, b| b.cmp(a)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 708 | amounts.sort_by(|a, b: /* Type */| b.cmp(a)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:715:21 [INFO] [stdout] | [INFO] [stdout] 715 | let blinded_signature = self.blind_sign(&blinded_message).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 716 | self.localstore [INFO] [stdout] 717 | .add_blinded_signature(blinded_message.b, blinded_signature.clone()) [INFO] [stdout] | ----------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `blinded_signature` an explicit type [INFO] [stdout] | [INFO] [stdout] 715 | let blinded_signature: /* Type */ = self.blind_sign(&blinded_message).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:738:21 [INFO] [stdout] | [INFO] [stdout] 738 | let quote = self [INFO] [stdout] | _____________________^ [INFO] [stdout] 739 | | .localstore [INFO] [stdout] 740 | | .get_melt_quote(quote_id) [INFO] [stdout] 741 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:765:13 [INFO] [stdout] | [INFO] [stdout] 765 | let blinded_signatures = self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 770 | assert_eq!(blinded_signatures.len(), output_len); [INFO] [stdout] | ------------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `blinded_signatures` an explicit type [INFO] [stdout] | [INFO] [stdout] 765 | let blinded_signatures: /* Type */ = self [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:103:62 [INFO] [stdout] | [INFO] [stdout] 103 | if let Some(proofs) = self.localstore.get_proofs(mint.clone()).await? { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | let amount = proofs.iter().map(|p| p.amount).sum(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | let keysets = self.client.get_mint_keys(mint_url.try_into()?).await?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 178 | [INFO] [stdout] 179 | for keyset in keysets.clone() { [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `keysets` an explicit type [INFO] [stdout] | [INFO] [stdout] 177 | let keysets: /* Type */ = self.client.get_mint_keys(mint_url.try_into()?).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:287:25 [INFO] [stdout] | [INFO] [stdout] 287 | keys = Some(k.clone()) [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 304 | if self.localstore.get_mint(mint_url.clone()).await?.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 439 | self.localstore.get_keys(&active_keyset_id).await?.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:474:27 [INFO] [stdout] | [INFO] [stdout] 474 | self.add_mint(mint.clone()).await?; [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:573:21 [INFO] [stdout] | [INFO] [stdout] 573 | let a = self [INFO] [stdout] | _____________________^ [INFO] [stdout] 574 | | .localstore [INFO] [stdout] 575 | | .get_keys(&promise.keyset_id) [INFO] [stdout] 576 | | .await? [INFO] [stdout] | |_______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:617:13 [INFO] [stdout] | [INFO] [stdout] 617 | let proofs = self.select_proofs(mint_url.clone(), unit, amount).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 620 | .create_swap(mint_url, unit, Some(amount), proofs.clone()) [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `proofs` an explicit type [INFO] [stdout] | [INFO] [stdout] 617 | let proofs: /* Type */ = self.select_proofs(mint_url.clone(), unit, amount).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:635:14 [INFO] [stdout] | [INFO] [stdout] 635 | &self.active_keys(mint_url, unit).await?.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:721:27 [INFO] [stdout] | [INFO] [stdout] 721 | let mint_proofs = self [INFO] [stdout] | ___________________________^ [INFO] [stdout] 722 | | .localstore [INFO] [stdout] 723 | | .get_proofs(mint_url.clone()) [INFO] [stdout] 724 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:727:28 [INFO] [stdout] | [INFO] [stdout] 727 | let mint_keysets = self.localstore.get_mint_keysets(mint_url).await?.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:784:13 [INFO] [stdout] | [INFO] [stdout] 784 | let proofs = self [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | let proofs_amount = proofs.iter().map(|p| p.amount).sum(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `proofs` an explicit type [INFO] [stdout] | [INFO] [stdout] 784 | let proofs: /* Type */ = self [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:828:18 [INFO] [stdout] | [INFO] [stdout] 828 | &self.active_keys(mint_url, "e_info.unit).await?.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:842:17 [INFO] [stdout] | [INFO] [stdout] 842 | change_proofs.iter().map(|p| p.amount).sum::() [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:874:13 [INFO] [stdout] | [INFO] [stdout] 874 | let input_proofs = self.select_proofs(mint_url.clone(), unit, amount).await?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 877 | let input_amount: Amount = input_proofs.iter().map(|p| p.amount).sum(); [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `input_proofs` an explicit type [INFO] [stdout] | [INFO] [stdout] 874 | let input_proofs: /* Type */ = self.select_proofs(mint_url.clone(), unit, amount).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:904:14 [INFO] [stdout] | [INFO] [stdout] 904 | &self.active_keys(mint_url, unit).await?.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:945:19 [INFO] [stdout] | [INFO] [stdout] 945 | .map(|s| (s.public_key().to_string(), s)) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 945 | .map(|s: /* Type */| (s.public_key().to_string(), s)) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:990:75 [INFO] [stdout] | [INFO] [stdout] 990 | ... if let Some(signing) = pubkey_secret_key.get(&pubkey.to_string()) { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:991:49 [INFO] [stdout] | [INFO] [stdout] 991 | ... proof.sign_p2pk(signing.clone())?; [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:1007:25 [INFO] [stdout] | [INFO] [stdout] 1007 | blinded_message.sign_p2pk(signing_key.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:962:17 [INFO] [stdout] | [INFO] [stdout] 962 | let keys = self.localstore.get_keys(&active_keyset_id).await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1022 | &keys.unwrap(), [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `keys` an explicit type [INFO] [stdout] | [INFO] [stdout] 962 | let keys: /* Type */ = self.localstore.get_keys(&active_keyset_id).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:1054:12 [INFO] [stdout] | [INFO] [stdout] 1054 | if self.localstore.get_mint(mint_url.clone()).await?.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `post_restore` found for struct `Arc<(dyn Client + Send + Sync + 'static)>` in the current scope [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:1089:22 [INFO] [stdout] | [INFO] [stdout] 1087 | let response = self [INFO] [stdout] | ________________________________- [INFO] [stdout] 1088 | | .client [INFO] [stdout] 1089 | | .post_restore(mint_url.clone().try_into()?, restore_request) [INFO] [stdout] | |_____________________-^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `post_melt` with a similar name, but with different arguments [INFO] [stdout] --> crates/cdk/src/client/mod.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | / async fn post_melt( [INFO] [stdout] 96 | | &self, [INFO] [stdout] 97 | | mint_url: Url, [INFO] [stdout] 98 | | quote: String, [INFO] [stdout] 99 | | inputs: Vec, [INFO] [stdout] 100 | | outputs: Option>, [INFO] [stdout] 101 | | ) -> Result; [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:1087:32 [INFO] [stdout] | [INFO] [stdout] 1087 | let response = self [INFO] [stdout] | ________________________________^ [INFO] [stdout] 1088 | | .client [INFO] [stdout] 1089 | | .post_restore(mint_url.clone().try_into()?, restore_request) [INFO] [stdout] 1090 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `check_proofs_spent` found for mutable reference `&mut Wallet` in the current scope [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:1128:22 [INFO] [stdout] | [INFO] [stdout] 1127 | let states = self [INFO] [stdout] | ______________________________- [INFO] [stdout] 1128 | | .check_proofs_spent(mint_url.clone(), proofs.clone()) [INFO] [stdout] | |_____________________-^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_proofs` with a similar name, but with different arguments [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | pub async fn get_proofs(&self, mint_url: UncheckedUrl) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `minreq` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | let keys = minreq::get(url).send()?.json::()?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `minreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minreq`, use `cargo add minreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `minreq` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | let keys = minreq::get(url).send()?.json::()?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `minreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minreq`, use `cargo add minreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `minreq` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | let res = minreq::get(url).send()?.json::()?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `minreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minreq`, use `cargo add minreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `minreq` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | let res = minreq::post(url).with_json(&request)?.send()?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `minreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minreq`, use `cargo add minreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `minreq` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | let res = minreq::post(url) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `minreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minreq`, use `cargo add minreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `minreq` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | let value = minreq::post(url).with_json(&request)?.send()?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `minreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minreq`, use `cargo add minreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `minreq` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | let value = minreq::post(url).with_json(&request)?.send()?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `minreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minreq`, use `cargo add minreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `minreq` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:181:19 [INFO] [stdout] | [INFO] [stdout] 181 | let res = minreq::post(url).with_json(&swap_request)?.send()?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `minreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minreq`, use `cargo add minreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `minreq` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:221:19 [INFO] [stdout] | [INFO] [stdout] 221 | let res = minreq::get(url).send()?.json::()?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `minreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minreq`, use `cargo add minreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_dyn_error` exists for reference `&util::hex::Error`, but its trait bounds were not satisfied [INFO] [stdout] --> crates/cdk/src/error.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | #[error(transparent)] [INFO] [stdout] | ^^^^^^^^^^^ method cannot be called on `&util::hex::Error` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: crates/cdk/src/util/hex.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Error { [INFO] [stdout] | -------------- doesn't satisfy `util::hex::Error: AsDynError<'_>` or `util::hex::Error: StdError` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `util::hex::Error: StdError` [INFO] [stdout] which is required by `util::hex::Error: AsDynError<'_>` [INFO] [stdout] `&util::hex::Error: StdError` [INFO] [stdout] which is required by `&util::hex::Error: AsDynError<'_>` [INFO] [stdout] note: the trait `StdError` must be implemented [INFO] [stdout] --> /rustc/a3a874232ae0a7586b5fbe7483c5a42e157bd62a/library/core/src/error.rs:59:0 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_dyn_error`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsDynError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_dyn_error` exists for reference `&std::string::String`, but its trait bounds were not satisfied [INFO] [stdout] --> crates/cdk/src/mint/error.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | #[error(transparent)] [INFO] [stdout] | ^^^^^^^^^^^ method cannot be called on `&std::string::String` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::string::String: StdError` [INFO] [stdout] which is required by `std::string::String: AsDynError<'_>` [INFO] [stdout] `&std::string::String: StdError` [INFO] [stdout] which is required by `&std::string::String: AsDynError<'_>` [INFO] [stdout] `str: Sized` [INFO] [stdout] which is required by `str: AsDynError<'_>` [INFO] [stdout] `str: StdError` [INFO] [stdout] which is required by `str: AsDynError<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `TryFrom` for type `VerifyingKey` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:612:1 [INFO] [stdout] | [INFO] [stdout] 612 | impl TryFrom for VerifyingKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: conflicting implementation in crate `core`: [INFO] [stdout] - impl TryFrom for T [INFO] [stdout] where U: Into; [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `TryFrom<&public_key::PublicKey>` for type `VerifyingKey` [INFO] [stdout] --> crates/cdk/src/nuts/nut11.rs:619:1 [INFO] [stdout] | [INFO] [stdout] 619 | impl TryFrom<&PublicKey> for VerifyingKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: conflicting implementation in crate `core`: [INFO] [stdout] - impl TryFrom for T [INFO] [stdout] where U: Into; [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | Ok(self.mint_info.lock().await.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | self.active_keysets.lock().await.insert(unit, id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | Ok(self.active_keysets.lock().await.get(unit).cloned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | Ok(self.active_keysets.lock().await.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | self.keysets.lock().await.insert(keyset.id, keyset); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | Ok(self.keysets.lock().await.get(keyset_id).cloned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | Ok(self.keysets.lock().await.values().cloned().collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | / self.mint_quotes [INFO] [stdout] 123 | | .lock() [INFO] [stdout] 124 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | Ok(self.mint_quotes.lock().await.get(quote_id).cloned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | Ok(self.mint_quotes.lock().await.values().cloned().collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | self.mint_quotes.lock().await.remove(quote_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | / self.melt_quotes [INFO] [stdout] 145 | | .lock() [INFO] [stdout] 146 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | Ok(self.melt_quotes.lock().await.get(quote_id).cloned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | Ok(self.melt_quotes.lock().await.values().cloned().collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | self.melt_quotes.lock().await.remove(quote_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | / self.spent_proofs [INFO] [stdout] 168 | | .lock() [INFO] [stdout] 169 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | Ok(self [INFO] [stdout] | ____________^ [INFO] [stdout] 176 | | .spent_proofs [INFO] [stdout] 177 | | .lock() [INFO] [stdout] 178 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | Ok(self [INFO] [stdout] | ____________^ [INFO] [stdout] 185 | | .spent_proofs [INFO] [stdout] 186 | | .lock() [INFO] [stdout] 187 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | self.pending_proofs.lock().await.insert( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 204 | Ok(self [INFO] [stdout] | ____________^ [INFO] [stdout] 205 | | .pending_proofs [INFO] [stdout] 206 | | .lock() [INFO] [stdout] 207 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 213 | Ok(self [INFO] [stdout] | ____________^ [INFO] [stdout] 214 | | .pending_proofs [INFO] [stdout] 215 | | .lock() [INFO] [stdout] 216 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | / self.pending_proofs [INFO] [stdout] 224 | | .lock() [INFO] [stdout] 225 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | / self.blinded_signatures [INFO] [stdout] 236 | | .lock() [INFO] [stdout] 237 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | Ok(self [INFO] [stdout] | ____________^ [INFO] [stdout] 247 | | .blinded_signatures [INFO] [stdout] 248 | | .lock() [INFO] [stdout] 249 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | let blinded_signatures = self.blinded_signatures.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | let signature = blinded_signatures.get(&blinded_message.to_bytes()).cloned(); [INFO] [stdout] | ------------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `blinded_signatures` an explicit type [INFO] [stdout] | [INFO] [stdout] 260 | let blinded_signatures: /* Type */ = self.blinded_signatures.lock().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/localstore/memory.rs:263:53 [INFO] [stdout] | [INFO] [stdout] 263 | let signature = blinded_signatures.get(&blinded_message.to_bytes()).cloned(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> crates/cdk/src/mint/localstore/redb_store.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Deserialize<'_>` will fail [INFO] [stdout] --> crates/cdk/src/mint/localstore/redb_store.rs:433:23 [INFO] [stdout] | [INFO] [stdout] 433 | return Ok(serde_json::from_str(blinded_signature.value())?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 433 | return Ok(serde_json::from_str::<()>(blinded_signature.value())?); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/localstore/redb_store.rs:450:56 [INFO] [stdout] | [INFO] [stdout] 450 | if let Some(blinded_signature) = table.get(blinded_message.to_bytes().as_ref())? { [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bitcoin::Amount: Serialize` is not satisfied [INFO] [stdout] --> crates/cdk/src/nuts/nut00.rs:30:39 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `bitcoin::Amount` [INFO] [stdout] 31 | pub struct BlindedMessage { [INFO] [stdout] 32 | / /// Amount [INFO] [stdout] 33 | | pub amount: Amount, [INFO] [stdout] | |______________________- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 293 others [INFO] [stdout] note: required by a bound in `error::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.197/src/ser/mod.rs:1865:12 [INFO] [stdout] | [INFO] [stdout] 1859 | fn serialize_field( [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 1865 | T: Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bitcoin::Amount: Deserialize<'_>` is not satisfied [INFO] [stdout] --> crates/cdk/src/nuts/nut00.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | pub amount: Amount, [INFO] [stdout] | ^^^^^^ the trait `Deserialize<'_>` is not implemented for `bitcoin::Amount` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 296 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.197/src/de/mod.rs:1726:12 [INFO] [stdout] | [INFO] [stdout] 1724 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1725 | where [INFO] [stdout] 1726 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/cdk-292da7643051de7c.long-type-16286050065359149758.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bitcoin::Amount: Deserialize<'_>` is not satisfied [INFO] [stdout] --> crates/cdk/src/nuts/nut00.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | pub amount: Amount, [INFO] [stdout] | ^^^^^^ the trait `Deserialize<'_>` is not implemented for `bitcoin::Amount` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 296 others [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.197/src/de/mod.rs:1865:12 [INFO] [stdout] | [INFO] [stdout] 1863 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1864 | where [INFO] [stdout] 1865 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/cdk-292da7643051de7c.long-type-16286050065359149758.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bitcoin::Amount: Deserialize<'_>` is not satisfied [INFO] [stdout] --> crates/cdk/src/nuts/nut00.rs:30:50 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `bitcoin::Amount` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 296 others [INFO] [stdout] note: required by a bound in `error::_::_serde::__private::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.197/src/private/de.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 24 | where [INFO] [stdout] 25 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/cdk-292da7643051de7c.long-type-16286050065359149758.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/nuts/nut00.rs:181:24 [INFO] [stdout] | [INFO] [stdout] 181 | r: r.into(), [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/nuts/nut00.rs:197:51 [INFO] [stdout] | [INFO] [stdout] 197 | let (blinded, r) = blind_message(&secret.to_bytes(), None)?; [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/nuts/nut00.rs:204:24 [INFO] [stdout] | [INFO] [stdout] 204 | r: r.into(), [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/nuts/nut00.rs:227:24 [INFO] [stdout] | [INFO] [stdout] 227 | r: r.into(), [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/nuts/nut00.rs:253:24 [INFO] [stdout] | [INFO] [stdout] 253 | r: r.into(), [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bitcoin::Amount: Serialize` is not satisfied [INFO] [stdout] --> crates/cdk/src/nuts/nut00.rs:417:39 [INFO] [stdout] | [INFO] [stdout] 417 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `bitcoin::Amount` [INFO] [stdout] 418 | pub struct BlindSignature { [INFO] [stdout] 419 | pub amount: Amount, [INFO] [stdout] | ------------------ required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 293 others [INFO] [stdout] note: required by a bound in `error::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.197/src/ser/mod.rs:1865:12 [INFO] [stdout] | [INFO] [stdout] 1859 | fn serialize_field( [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 1865 | T: Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bitcoin::Amount: Deserialize<'_>` is not satisfied [INFO] [stdout] --> crates/cdk/src/nuts/nut00.rs:419:17 [INFO] [stdout] | [INFO] [stdout] 419 | pub amount: Amount, [INFO] [stdout] | ^^^^^^ the trait `Deserialize<'_>` is not implemented for `bitcoin::Amount` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 296 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.197/src/de/mod.rs:1726:12 [INFO] [stdout] | [INFO] [stdout] 1724 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1725 | where [INFO] [stdout] 1726 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/cdk-292da7643051de7c.long-type-16286050065359149758.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bitcoin::Amount: Deserialize<'_>` is not satisfied [INFO] [stdout] --> crates/cdk/src/nuts/nut00.rs:419:17 [INFO] [stdout] | [INFO] [stdout] 419 | pub amount: Amount, [INFO] [stdout] | ^^^^^^ the trait `Deserialize<'_>` is not implemented for `bitcoin::Amount` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 296 others [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.197/src/de/mod.rs:1865:12 [INFO] [stdout] | [INFO] [stdout] 1863 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1864 | where [INFO] [stdout] 1865 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/cdk-292da7643051de7c.long-type-16286050065359149758.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bitcoin::Amount: Deserialize<'_>` is not satisfied [INFO] [stdout] --> crates/cdk/src/nuts/nut00.rs:417:50 [INFO] [stdout] | [INFO] [stdout] 417 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `bitcoin::Amount` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 296 others [INFO] [stdout] note: required by a bound in `error::_::_serde::__private::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.197/src/private/de.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 24 | where [INFO] [stdout] 25 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/cdk-292da7643051de7c.long-type-16286050065359149758.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bitcoin::Amount: Serialize` is not satisfied [INFO] [stdout] --> crates/cdk/src/nuts/nut00.rs:431:39 [INFO] [stdout] | [INFO] [stdout] 431 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `bitcoin::Amount` [INFO] [stdout] 432 | pub struct Proof { [INFO] [stdout] 433 | / /// Amount in satoshi [INFO] [stdout] 434 | | pub amount: Amount, [INFO] [stdout] | |______________________- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 293 others [INFO] [stdout] note: required by a bound in `error::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.197/src/ser/mod.rs:1865:12 [INFO] [stdout] | [INFO] [stdout] 1859 | fn serialize_field( [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 1865 | T: Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bitcoin::Amount: Deserialize<'_>` is not satisfied [INFO] [stdout] --> crates/cdk/src/nuts/nut00.rs:434:17 [INFO] [stdout] | [INFO] [stdout] 434 | pub amount: Amount, [INFO] [stdout] | ^^^^^^ the trait `Deserialize<'_>` is not implemented for `bitcoin::Amount` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 296 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.197/src/de/mod.rs:1726:12 [INFO] [stdout] | [INFO] [stdout] 1724 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1725 | where [INFO] [stdout] 1726 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/cdk-292da7643051de7c.long-type-16286050065359149758.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bitcoin::Amount: Deserialize<'_>` is not satisfied [INFO] [stdout] --> crates/cdk/src/nuts/nut00.rs:434:17 [INFO] [stdout] | [INFO] [stdout] 434 | pub amount: Amount, [INFO] [stdout] | ^^^^^^ the trait `Deserialize<'_>` is not implemented for `bitcoin::Amount` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 296 others [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.197/src/de/mod.rs:1865:12 [INFO] [stdout] | [INFO] [stdout] 1863 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1864 | where [INFO] [stdout] 1865 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/cdk-292da7643051de7c.long-type-16286050065359149758.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | let quote = self [INFO] [stdout] | _____________________^ [INFO] [stdout] 164 | | .localstore [INFO] [stdout] 165 | | .get_mint_quote(quote_id) [INFO] [stdout] 166 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bitcoin::Amount: Deserialize<'_>` is not satisfied [INFO] [stdout] --> crates/cdk/src/nuts/nut00.rs:431:50 [INFO] [stdout] | [INFO] [stdout] 431 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `bitcoin::Amount` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 296 others [INFO] [stdout] note: required by a bound in `error::_::_serde::__private::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.197/src/private/de.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 24 | where [INFO] [stdout] 25 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/cdk-292da7643051de7c.long-type-16286050065359149758.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:212:29 [INFO] [stdout] | [INFO] [stdout] 212 | Some(keyset) => keyset.clone(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let keysets = self.localstore.get_keysets().await?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | keysets: keysets.into_iter().map(|k| k.into()).collect(), [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `keysets` an explicit type [INFO] [stdout] | [INFO] [stdout] 226 | let keysets: /* Type */ = self.localstore.get_keysets().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:229:47 [INFO] [stdout] | [INFO] [stdout] 229 | keysets: keysets.into_iter().map(|k| k.into()).collect(), [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 229 | keysets: keysets.into_iter().map(|k: /* Type */| k.into()).collect(), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:236:43 [INFO] [stdout] | [INFO] [stdout] 236 | let active_keysets: HashSet = self [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 237 | | .localstore [INFO] [stdout] 238 | | .get_active_keysets() [INFO] [stdout] 239 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | let keysets = self.localstore.get_keysets().await?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | let keysets = keysets [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `keysets` an explicit type [INFO] [stdout] | [INFO] [stdout] 235 | let keysets: /* Type */ = self.localstore.get_keysets().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | Ok(self [INFO] [stdout] | ____________^ [INFO] [stdout] 258 | | .localstore [INFO] [stdout] 259 | | .get_keyset(id) [INFO] [stdout] 260 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:261:19 [INFO] [stdout] | [INFO] [stdout] 261 | .map(|ks| ks.clone().into())) [INFO] [stdout] | ^^ -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 261 | .map(|ks: /* Type */| ks.clone().into())) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MintKeySet` [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:272:26 [INFO] [stdout] | [INFO] [stdout] 272 | let new_keyset = MintKeySet::generate( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MintKeySet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:293:16 [INFO] [stdout] | [INFO] [stdout] 293 | if self [INFO] [stdout] | ________________^ [INFO] [stdout] 294 | | .localstore [INFO] [stdout] 295 | | .get_blinded_signature(&blinded_message.b) [INFO] [stdout] 296 | | .await? [INFO] [stdout] | |_______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:304:21 [INFO] [stdout] | [INFO] [stdout] 304 | let quote = self [INFO] [stdout] | _____________________^ [INFO] [stdout] 305 | | .localstore [INFO] [stdout] 306 | | .get_mint_quote(&mint_request.quote) [INFO] [stdout] 307 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | let blinded_signature = self.blind_sign(&blinded_message).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 318 | self.localstore [INFO] [stdout] 319 | .add_blinded_signature(blinded_message.b, blinded_signature.clone()) [INFO] [stdout] | ----------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `blinded_signature` an explicit type [INFO] [stdout] | [INFO] [stdout] 317 | let blinded_signature: /* Type */ = self.blind_sign(&blinded_message).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/cdk/src/nuts/nut00.rs:532:26 [INFO] [stdout] | [INFO] [stdout] 532 | Amount::from(1000), [INFO] [stdout] | ------------ ^^^^ expected `Amount`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/a3a874232ae0a7586b5fbe7483c5a42e157bd62a/library/core/src/convert/mod.rs:592:7 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:337:22 [INFO] [stdout] | [INFO] [stdout] 337 | let keyset = self [INFO] [stdout] | ______________________^ [INFO] [stdout] 338 | | .localstore [INFO] [stdout] 339 | | .get_keyset(keyset_id) [INFO] [stdout] 340 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:343:22 [INFO] [stdout] | [INFO] [stdout] 343 | let active = self [INFO] [stdout] | ______________________^ [INFO] [stdout] 344 | | .localstore [INFO] [stdout] 345 | | .get_active_keyset_id(&keyset.unit) [INFO] [stdout] 346 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:390:16 [INFO] [stdout] | [INFO] [stdout] 390 | if self [INFO] [stdout] | ________________^ [INFO] [stdout] 391 | | .localstore [INFO] [stdout] 392 | | .get_blinded_signature(&blinded_message.b) [INFO] [stdout] 393 | | .await? [INFO] [stdout] | |_______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:415:19 [INFO] [stdout] | [INFO] [stdout] 415 | .map(|p| p.to_sec1_bytes().to_vec()) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 415 | .map(|p: /* Type */| p.to_sec1_bytes().to_vec()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/cdk/src/nuts/nut00.rs:538:95 [INFO] [stdout] | [INFO] [stdout] 538 | let b = PreMintSecrets::blank(Id::from_str("009a1f293253e41e").unwrap(), Amount::from(1)) [INFO] [stdout] | ------------ ^ expected `Amount`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/a3a874232ae0a7586b5fbe7483c5a42e157bd62a/library/core/src/convert/mod.rs:592:7 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:433:26 [INFO] [stdout] | [INFO] [stdout] 433 | let keyset = self [INFO] [stdout] | __________________________^ [INFO] [stdout] 434 | | .localstore [INFO] [stdout] 435 | | .get_keyset(&id) [INFO] [stdout] 436 | | .await? [INFO] [stdout] | |_______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:445:26 [INFO] [stdout] | [INFO] [stdout] 445 | let keyset = self [INFO] [stdout] | __________________________^ [INFO] [stdout] 446 | | .localstore [INFO] [stdout] 447 | | .get_keyset(id) [INFO] [stdout] 448 | | .await? [INFO] [stdout] | |_______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:469:17 [INFO] [stdout] | [INFO] [stdout] 469 | let blinded_signature = self.blind_sign(&blinded_message).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 470 | self.localstore [INFO] [stdout] 471 | .add_blinded_signature(blinded_message.b, blinded_signature.clone()) [INFO] [stdout] | ----------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `blinded_signature` an explicit type [INFO] [stdout] | [INFO] [stdout] 469 | let blinded_signature: /* Type */ = self.blind_sign(&blinded_message).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `secret_key::SecretKey` in the current scope [INFO] [stdout] --> crates/cdk/src/nuts/nut01/secret_key.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct SecretKey { [INFO] [stdout] | -------------------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 71 | Self::parse(secret_key) [INFO] [stdout] | ^^^^^ function or associated item not found in `secret_key::SecretKey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `secret_key::SecretKey` consider using one of the following associated functions: [INFO] [stdout] secret_key::SecretKey::from_slice [INFO] [stdout] secret_key::SecretKey::from_hex [INFO] [stdout] secret_key::SecretKey::generate [INFO] [stdout] --> crates/cdk/src/nuts/nut01/secret_key.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn from_slice(slice: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | / pub fn from_hex(hex: S) -> Result [INFO] [stdout] 36 | | where [INFO] [stdout] 37 | | S: AsRef, [INFO] [stdout] | |______________________^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn generate() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `secret_key::SecretKey` in the current scope [INFO] [stdout] --> crates/cdk/src/nuts/nut01/secret_key.rs:81:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct SecretKey { [INFO] [stdout] | -------------------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 81 | Self::parse(secret_key).map_err(serde::de::Error::custom) [INFO] [stdout] | ^^^^^ function or associated item not found in `secret_key::SecretKey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `secret_key::SecretKey` consider using one of the following associated functions: [INFO] [stdout] secret_key::SecretKey::from_slice [INFO] [stdout] secret_key::SecretKey::from_hex [INFO] [stdout] secret_key::SecretKey::generate [INFO] [stdout] --> crates/cdk/src/nuts/nut01/secret_key.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn from_slice(slice: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | / pub fn from_hex(hex: S) -> Result [INFO] [stdout] 36 | | where [INFO] [stdout] 37 | | S: AsRef, [INFO] [stdout] | |______________________^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn generate() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bitcoin::Amount: Serialize` is not satisfied [INFO] [stdout] --> crates/cdk/src/nuts/nut01/mod.rs:39:62 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `bitcoin::Amount` [INFO] [stdout] 40 | pub struct Keys(BTreeMap); [INFO] [stdout] | --------------------------- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 292 others [INFO] [stdout] = note: required for `BTreeMap` to implement `Serialize` [INFO] [stdout] note: required by a bound in `serialize_newtype_struct` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.197/src/ser/mod.rs:900:12 [INFO] [stdout] | [INFO] [stdout] 894 | fn serialize_newtype_struct( [INFO] [stdout] | ------------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 900 | T: Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Serializer::serialize_newtype_struct` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bitcoin::Amount: Deserialize<'_>` is not satisfied [INFO] [stdout] --> crates/cdk/src/nuts/nut01/mod.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Keys(BTreeMap); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `bitcoin::Amount` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 289 others [INFO] [stdout] = note: required for `BTreeMap` to implement `Deserialize<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_spent_proof_by_hash` found for struct `Arc<(dyn mint::localstore::LocalStore + Send + Sync + 'static)>` in the current scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:482:28 [INFO] [stdout] | [INFO] [stdout] 482 | if self.localstore.get_spent_proof_by_hash(&y).await?.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_spent_proof_by_y` with a similar name [INFO] [stdout] | [INFO] [stdout] 482 - if self.localstore.get_spent_proof_by_hash(&y).await?.is_some() { [INFO] [stdout] 482 + if self.localstore.get_spent_proof_by_y(&y).await?.is_some() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:482:12 [INFO] [stdout] | [INFO] [stdout] 482 | if self.localstore.get_spent_proof_by_hash(&y).await?.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bitcoin::Amount: Deserialize<'_>` is not satisfied [INFO] [stdout] --> crates/cdk/src/nuts/nut01/mod.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Keys(BTreeMap); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `bitcoin::Amount` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 289 others [INFO] [stdout] = note: required for `BTreeMap` to implement `Deserialize<'_>` [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.197/src/de/mod.rs:1726:12 [INFO] [stdout] | [INFO] [stdout] 1724 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1725 | where [INFO] [stdout] 1726 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bitcoin::Amount: Serialize` is not satisfied [INFO] [stdout] --> crates/cdk/src/nuts/nut01/mod.rs:87:43 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `bitcoin::Amount` [INFO] [stdout] 88 | pub struct Keys(pub BTreeMap); [INFO] [stdout] | ----------------------------- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 292 others [INFO] [stdout] = note: required for `BTreeMap` to implement `Serialize` [INFO] [stdout] note: required by a bound in `serialize_newtype_struct` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.197/src/ser/mod.rs:900:12 [INFO] [stdout] | [INFO] [stdout] 894 | fn serialize_newtype_struct( [INFO] [stdout] | ------------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 900 | T: Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Serializer::serialize_newtype_struct` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_pending_proof_by_hash` found for struct `Arc<(dyn mint::localstore::LocalStore + Send + Sync + 'static)>` in the current scope [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:488:14 [INFO] [stdout] | [INFO] [stdout] 486 | if self [INFO] [stdout] | ____________- [INFO] [stdout] 487 | | .localstore [INFO] [stdout] 488 | | .get_pending_proof_by_hash(&y) [INFO] [stdout] | |_____________-^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_pending_proof_by_y` with a similar name [INFO] [stdout] | [INFO] [stdout] 488 - .get_pending_proof_by_hash(&y) [INFO] [stdout] 488 + .get_pending_proof_by_y(&y) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:486:12 [INFO] [stdout] | [INFO] [stdout] 486 | if self [INFO] [stdout] | ____________^ [INFO] [stdout] 487 | | .localstore [INFO] [stdout] 488 | | .get_pending_proof_by_hash(&y) [INFO] [stdout] 489 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:495:22 [INFO] [stdout] | [INFO] [stdout] 495 | let keyset = self [INFO] [stdout] | ______________________^ [INFO] [stdout] 496 | | .localstore [INFO] [stdout] 497 | | .get_keyset(&proof.keyset_id) [INFO] [stdout] 498 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:564:28 [INFO] [stdout] | [INFO] [stdout] 564 | let state = if self.localstore.get_spent_proof_by_y(y).await?.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:566:23 [INFO] [stdout] | [INFO] [stdout] 566 | } else if self.localstore.get_pending_proof_by_y(y).await?.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bitcoin::Amount: Deserialize<'_>` is not satisfied [INFO] [stdout] --> crates/cdk/src/nuts/nut01/mod.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Keys(pub BTreeMap); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `bitcoin::Amount` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 290 others [INFO] [stdout] = note: required for `BTreeMap` to implement `Deserialize<'_>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/cdk-292da7643051de7c.long-type-15432067644775377101.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:585:21 [INFO] [stdout] | [INFO] [stdout] 585 | let quote = self [INFO] [stdout] | _____________________^ [INFO] [stdout] 586 | | .localstore [INFO] [stdout] 587 | | .get_melt_quote(&melt_request.quote) [INFO] [stdout] 588 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:609:26 [INFO] [stdout] | [INFO] [stdout] 609 | let keyset = self [INFO] [stdout] | __________________________^ [INFO] [stdout] 610 | | .localstore [INFO] [stdout] 611 | | .get_keyset(&id) [INFO] [stdout] 612 | | .await? [INFO] [stdout] | |_______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:618:51 [INFO] [stdout] | [INFO] [stdout] 618 | let output_keysets_ids: HashSet = outputs.iter().map(|b| b.keyset_id).collect(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:620:30 [INFO] [stdout] | [INFO] [stdout] 620 | let keyset = self [INFO] [stdout] | ______________________________^ [INFO] [stdout] 621 | | .localstore [INFO] [stdout] 622 | | .get_keyset(&id) [INFO] [stdout] 623 | | .await? [INFO] [stdout] | |___________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:627:40 [INFO] [stdout] | [INFO] [stdout] 627 | let active_keyset_id = self [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 628 | | .localstore [INFO] [stdout] 629 | | .get_active_keyset_id(&keyset.unit) [INFO] [stdout] 630 | | .await? [INFO] [stdout] | |___________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bitcoin::Amount: Deserialize<'_>` is not satisfied [INFO] [stdout] --> crates/cdk/src/nuts/nut01/mod.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Keys(pub BTreeMap); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `bitcoin::Amount` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] &'de bitcoin::Script [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 290 others [INFO] [stdout] = note: required for `BTreeMap` to implement `Deserialize<'_>` [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.197/src/de/mod.rs:1726:12 [INFO] [stdout] | [INFO] [stdout] 1724 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1725 | where [INFO] [stdout] 1726 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/cdk-292da7643051de7c.long-type-15432067644775377101.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `secret_key::SecretKey: Serialize` is not satisfied [INFO] [stdout] --> crates/cdk/src/nuts/nut01/mod.rs:90:43 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] ... [INFO] [stdout] 93 | pub secret_key: SecretKey, [INFO] [stdout] | ------------------------- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Serialize` is not implemented for `secret_key::SecretKey` [INFO] [stdout] --> crates/cdk/src/nuts/nut01/secret_key.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct SecretKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 292 others [INFO] [stdout] note: required by a bound in `error::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.197/src/ser/mod.rs:1865:12 [INFO] [stdout] | [INFO] [stdout] 1859 | fn serialize_field( [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 1865 | T: Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:650:19 [INFO] [stdout] | [INFO] [stdout] 650 | .map(|p| p.to_sec1_bytes().to_vec()) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 650 | .map(|p: /* Type */| p.to_sec1_bytes().to_vec()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:675:20 [INFO] [stdout] | [INFO] [stdout] 675 | if self [INFO] [stdout] | ____________________^ [INFO] [stdout] 676 | | .localstore [INFO] [stdout] 677 | | .get_blinded_signature(&blinded_message.b) [INFO] [stdout] 678 | | .await? [INFO] [stdout] | |___________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:688:45 [INFO] [stdout] | [INFO] [stdout] 688 | self.localstore.add_spent_proof(input.clone()).await?; [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:698:16 [INFO] [stdout] | [INFO] [stdout] 698 | if outputs.len().lt(&amounts.len()) { [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:708:37 [INFO] [stdout] | [INFO] [stdout] 708 | amounts.sort_by(|a, b| b.cmp(a)); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 708 | amounts.sort_by(|a, b: /* Type */| b.cmp(a)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:715:21 [INFO] [stdout] | [INFO] [stdout] 715 | let blinded_signature = self.blind_sign(&blinded_message).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 716 | self.localstore [INFO] [stdout] 717 | .add_blinded_signature(blinded_message.b, blinded_signature.clone()) [INFO] [stdout] | ----------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `blinded_signature` an explicit type [INFO] [stdout] | [INFO] [stdout] 715 | let blinded_signature: /* Type */ = self.blind_sign(&blinded_message).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `public_key` found for struct `secret_key::SecretKey` in the current scope [INFO] [stdout] --> crates/cdk/src/nuts/nut01/mod.rs:99:40 [INFO] [stdout] | [INFO] [stdout] 99 | public_key: secret_key.public_key(), [INFO] [stdout] | ^^^^^^^^^^ method not found in `secret_key::SecretKey` [INFO] [stdout] | [INFO] [stdout] ::: crates/cdk/src/nuts/nut01/secret_key.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct SecretKey { [INFO] [stdout] | -------------------- method `public_key` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `public_key`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ring::signature::KeyPair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `public_key::PublicKey: From` is not satisfied [INFO] [stdout] --> crates/cdk/src/nuts/nut01/mod.rs:118:34 [INFO] [stdout] | [INFO] [stdout] 118 | let p: PublicKey = v_key.into(); [INFO] [stdout] | ^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `From` is not implemented for `public_key::PublicKey` [INFO] [stdout] --> crates/cdk/src/nuts/nut01/public_key.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct PublicKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `nut11::VerifyingKey` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:738:21 [INFO] [stdout] | [INFO] [stdout] 738 | let quote = self [INFO] [stdout] | _____________________^ [INFO] [stdout] 739 | | .localstore [INFO] [stdout] 740 | | .get_melt_quote(quote_id) [INFO] [stdout] 741 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/mint/mod.rs:765:13 [INFO] [stdout] | [INFO] [stdout] 765 | let blinded_signatures = self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 770 | assert_eq!(blinded_signatures.len(), output_len); [INFO] [stdout] | ------------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `blinded_signatures` an explicit type [INFO] [stdout] | [INFO] [stdout] 765 | let blinded_signatures: /* Type */ = self [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `secret_key::SecretKey` in the current scope [INFO] [stdout] --> crates/cdk/src/nuts/nut01/mod.rs:132:33 [INFO] [stdout] | [INFO] [stdout] 132 | let secret = SecretKey::random(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `secret_key::SecretKey` [INFO] [stdout] | [INFO] [stdout] ::: crates/cdk/src/nuts/nut01/secret_key.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct SecretKey { [INFO] [stdout] | -------------------- function or associated item `random` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `secret_key::SecretKey` consider using one of the following associated functions: [INFO] [stdout] secret_key::SecretKey::from_slice [INFO] [stdout] secret_key::SecretKey::from_hex [INFO] [stdout] secret_key::SecretKey::generate [INFO] [stdout] --> crates/cdk/src/nuts/nut01/secret_key.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn from_slice(slice: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | / pub fn from_hex(hex: S) -> Result [INFO] [stdout] 36 | | where [INFO] [stdout] 37 | | S: AsRef, [INFO] [stdout] | |______________________^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn generate() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:103:62 [INFO] [stdout] | [INFO] [stdout] 103 | if let Some(proofs) = self.localstore.get_proofs(mint.clone()).await? { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | let amount = proofs.iter().map(|p| p.amount).sum(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | let keysets = self.client.get_mint_keys(mint_url.try_into()?).await?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 178 | [INFO] [stdout] 179 | for keyset in keysets.clone() { [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `keysets` an explicit type [INFO] [stdout] | [INFO] [stdout] 177 | let keysets: /* Type */ = self.client.get_mint_keys(mint_url.try_into()?).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `iter` found for reference `&nuts::nut01::Keys` in the current scope [INFO] [stdout] --> crates/cdk/src/nuts/nut02.rs:150:14 [INFO] [stdout] | [INFO] [stdout] 149 | let pubkeys_concat = map [INFO] [stdout] | ______________________________- [INFO] [stdout] 150 | | .iter() [INFO] [stdout] | | -^^^^ method not found in `&nuts::nut01::Keys` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `ReadableMultimapTable` [INFO] [stdout] candidate #2: `ReadableTable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> crates/cdk/src/nuts/nut02.rs:151:25 [INFO] [stdout] | [INFO] [stdout] 151 | .sorted_by(|(amt_a, _), (amt_b, _)| amt_a.cmp(amt_b)) [INFO] [stdout] | ^^^^^^^^^^ ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 151 | .sorted_by(|(amt_a, _): (_, _), (amt_b, _)| amt_a.cmp(amt_b)) [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> crates/cdk/src/nuts/nut02.rs:152:19 [INFO] [stdout] | [INFO] [stdout] 152 | .map(|(_, pubkey)| pubkey.to_bytes()) [INFO] [stdout] | ^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 152 | .map(|(_, pubkey): (_, _)| pubkey.to_bytes()) [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:287:25 [INFO] [stdout] | [INFO] [stdout] 287 | keys = Some(k.clone()) [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 304 | if self.localstore.get_mint(mint_url.clone()).await?.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/cdk/src/nuts/nut02.rs:200:30 [INFO] [stdout] | [INFO] [stdout] 200 | keys: Keys::from(keyset.keys), [INFO] [stdout] | ---------- ^^^^^^^^^^^ expected `nuts::nut01::Keys`, found `nuts::nut01::mint::Keys` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `nuts::nut01::mint::Keys` and `nuts::nut01::Keys` have similar names, but are actually distinct types [INFO] [stdout] note: `nuts::nut01::mint::Keys` is defined in module `crate::nuts::nut01::mint` of the current crate [INFO] [stdout] --> crates/cdk/src/nuts/nut01/mod.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Keys(pub BTreeMap); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `nuts::nut01::Keys` is defined in module `crate::nuts::nut01` of the current crate [INFO] [stdout] --> crates/cdk/src/nuts/nut01/mod.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Keys(BTreeMap); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/a3a874232ae0a7586b5fbe7483c5a42e157bd62a/library/core/src/convert/mod.rs:592:7 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 439 | self.localstore.get_keys(&active_keyset_id).await?.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:474:27 [INFO] [stdout] | [INFO] [stdout] 474 | self.add_mint(mint.clone()).await?; [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:573:21 [INFO] [stdout] | [INFO] [stdout] 573 | let a = self [INFO] [stdout] | _____________________^ [INFO] [stdout] 574 | | .localstore [INFO] [stdout] 575 | | .get_keys(&promise.keyset_id) [INFO] [stdout] 576 | | .await? [INFO] [stdout] | |_______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `nuts::nut01::Keys: From` is not satisfied [INFO] [stdout] --> crates/cdk/src/nuts/nut02.rs:295:49 [INFO] [stdout] | [INFO] [stdout] 295 | let keys: super::Keys = map.clone().into(); [INFO] [stdout] | ^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `From` is not implemented for `nuts::nut01::Keys` [INFO] [stdout] --> crates/cdk/src/nuts/nut01/mod.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Keys(BTreeMap); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `nuts::nut01::mint::Keys` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:617:13 [INFO] [stdout] | [INFO] [stdout] 617 | let proofs = self.select_proofs(mint_url.clone(), unit, amount).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 620 | .create_swap(mint_url, unit, Some(amount), proofs.clone()) [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `proofs` an explicit type [INFO] [stdout] | [INFO] [stdout] 617 | let proofs: /* Type */ = self.select_proofs(mint_url.clone(), unit, amount).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:635:14 [INFO] [stdout] | [INFO] [stdout] 635 | &self.active_keys(mint_url, unit).await?.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:721:27 [INFO] [stdout] | [INFO] [stdout] 721 | let mint_proofs = self [INFO] [stdout] | ___________________________^ [INFO] [stdout] 722 | | .localstore [INFO] [stdout] 723 | | .get_proofs(mint_url.clone()) [INFO] [stdout] 724 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:727:28 [INFO] [stdout] | [INFO] [stdout] 727 | let mint_keysets = self.localstore.get_mint_keysets(mint_url).await?.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:784:13 [INFO] [stdout] | [INFO] [stdout] 784 | let proofs = self [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | let proofs_amount = proofs.iter().map(|p| p.amount).sum(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `proofs` an explicit type [INFO] [stdout] | [INFO] [stdout] 784 | let proofs: /* Type */ = self [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:828:18 [INFO] [stdout] | [INFO] [stdout] 828 | &self.active_keys(mint_url, "e_info.unit).await?.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:842:17 [INFO] [stdout] | [INFO] [stdout] 842 | change_proofs.iter().map(|p| p.amount).sum::() [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:874:13 [INFO] [stdout] | [INFO] [stdout] 874 | let input_proofs = self.select_proofs(mint_url.clone(), unit, amount).await?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 877 | let input_amount: Amount = input_proofs.iter().map(|p| p.amount).sum(); [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `input_proofs` an explicit type [INFO] [stdout] | [INFO] [stdout] 874 | let input_proofs: /* Type */ = self.select_proofs(mint_url.clone(), unit, amount).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:904:14 [INFO] [stdout] | [INFO] [stdout] 904 | &self.active_keys(mint_url, unit).await?.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:945:19 [INFO] [stdout] | [INFO] [stdout] 945 | .map(|s| (s.public_key().to_string(), s)) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 945 | .map(|s: /* Type */| (s.public_key().to_string(), s)) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:990:75 [INFO] [stdout] | [INFO] [stdout] 990 | ... if let Some(signing) = pubkey_secret_key.get(&pubkey.to_string()) { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:991:49 [INFO] [stdout] | [INFO] [stdout] 991 | ... proof.sign_p2pk(signing.clone())?; [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:1007:25 [INFO] [stdout] | [INFO] [stdout] 1007 | blinded_message.sign_p2pk(signing_key.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:962:17 [INFO] [stdout] | [INFO] [stdout] 962 | let keys = self.localstore.get_keys(&active_keyset_id).await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1022 | &keys.unwrap(), [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `keys` an explicit type [INFO] [stdout] | [INFO] [stdout] 962 | let keys: /* Type */ = self.localstore.get_keys(&active_keyset_id).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:1054:12 [INFO] [stdout] | [INFO] [stdout] 1054 | if self.localstore.get_mint(mint_url.clone()).await?.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `post_restore` found for struct `Arc<(dyn Client + Send + Sync + 'static)>` in the current scope [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:1089:22 [INFO] [stdout] | [INFO] [stdout] 1087 | let response = self [INFO] [stdout] | ________________________________- [INFO] [stdout] 1088 | | .client [INFO] [stdout] 1089 | | .post_restore(mint_url.clone().try_into()?, restore_request) [INFO] [stdout] | |_____________________-^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `post_melt` with a similar name, but with different arguments [INFO] [stdout] --> crates/cdk/src/client/mod.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | / async fn post_melt( [INFO] [stdout] 96 | | &self, [INFO] [stdout] 97 | | mint_url: Url, [INFO] [stdout] 98 | | quote: String, [INFO] [stdout] 99 | | inputs: Vec, [INFO] [stdout] 100 | | outputs: Option>, [INFO] [stdout] 101 | | ) -> Result; [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:1087:32 [INFO] [stdout] | [INFO] [stdout] 1087 | let response = self [INFO] [stdout] | ________________________________^ [INFO] [stdout] 1088 | | .client [INFO] [stdout] 1089 | | .post_restore(mint_url.clone().try_into()?, restore_request) [INFO] [stdout] 1090 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `check_proofs_spent` found for mutable reference `&mut Wallet` in the current scope [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:1128:22 [INFO] [stdout] | [INFO] [stdout] 1127 | let states = self [INFO] [stdout] | ______________________________- [INFO] [stdout] 1128 | | .check_proofs_spent(mint_url.clone(), proofs.clone()) [INFO] [stdout] | |_____________________-^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_proofs` with a similar name, but with different arguments [INFO] [stdout] --> crates/cdk/src/wallet/mod.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | pub async fn get_proofs(&self, mint_url: UncheckedUrl) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `minreq` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | let keys = minreq::get(url).send()?.json::()?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `minreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minreq`, use `cargo add minreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `minreq` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | let keys = minreq::get(url).send()?.json::()?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `minreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minreq`, use `cargo add minreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `minreq` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | let res = minreq::get(url).send()?.json::()?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `minreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minreq`, use `cargo add minreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `minreq` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | let res = minreq::post(url).with_json(&request)?.send()?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `minreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minreq`, use `cargo add minreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `minreq` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | let res = minreq::post(url) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `minreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minreq`, use `cargo add minreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `minreq` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | let value = minreq::post(url).with_json(&request)?.send()?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `minreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minreq`, use `cargo add minreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `minreq` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | let value = minreq::post(url).with_json(&request)?.send()?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `minreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minreq`, use `cargo add minreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `minreq` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:181:19 [INFO] [stdout] | [INFO] [stdout] 181 | let res = minreq::post(url).with_json(&swap_request)?.send()?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `minreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minreq`, use `cargo add minreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `minreq` [INFO] [stdout] --> crates/cdk/src/client/minreq_client.rs:221:19 [INFO] [stdout] | [INFO] [stdout] 221 | let res = minreq::get(url).send()?.json::()?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `minreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minreq`, use `cargo add minreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/nuts/nut08.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | .map(|o| o.iter().map(|proof| proof.amount).sum()) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 18 | .map(|o: /* Type */| o.iter().map(|proof| proof.amount).sum()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/cdk/src/nuts/nut08.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | .map(|c| c.iter().map(|b| b.amount).sum()) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 26 | .map(|c: /* Type */| c.iter().map(|b| b.amount).sum()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_dyn_error` exists for reference `&util::hex::Error`, but its trait bounds were not satisfied [INFO] [stdout] --> crates/cdk/src/error.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | #[error(transparent)] [INFO] [stdout] | ^^^^^^^^^^^ method cannot be called on `&util::hex::Error` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: crates/cdk/src/util/hex.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Error { [INFO] [stdout] | -------------- doesn't satisfy `util::hex::Error: AsDynError<'_>` or `util::hex::Error: StdError` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `util::hex::Error: StdError` [INFO] [stdout] which is required by `util::hex::Error: AsDynError<'_>` [INFO] [stdout] `&util::hex::Error: StdError` [INFO] [stdout] which is required by `&util::hex::Error: AsDynError<'_>` [INFO] [stdout] note: the trait `StdError` must be implemented [INFO] [stdout] --> /rustc/a3a874232ae0a7586b5fbe7483c5a42e157bd62a/library/core/src/error.rs:59:0 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_dyn_error`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsDynError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_dyn_error` exists for reference `&std::string::String`, but its trait bounds were not satisfied [INFO] [stdout] --> crates/cdk/src/mint/error.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | #[error(transparent)] [INFO] [stdout] | ^^^^^^^^^^^ method cannot be called on `&std::string::String` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::string::String: StdError` [INFO] [stdout] which is required by `std::string::String: AsDynError<'_>` [INFO] [stdout] `&std::string::String: StdError` [INFO] [stdout] which is required by `&std::string::String: AsDynError<'_>` [INFO] [stdout] `str: Sized` [INFO] [stdout] which is required by `str: AsDynError<'_>` [INFO] [stdout] `str: StdError` [INFO] [stdout] which is required by `str: AsDynError<'_>` [INFO] [stdout] [INFO] [stdout] [WARN] too many lines in the log, truncating it