-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vls-protocol-signer-0.11.0 compilation error #969
Comments
I ran into this same error when trying to Dockerfile for this
fails with
|
I opened an issue directly at Greenlight here: Blockstream/greenlight#434 but this issue makes the Rust Breez SDK unusable at the moment as it does not compile. After some research I'm pretty sure the problem is unrelated to MacOS as I tried on my Linux machine (Ubuntu) and it fails with same error. I'm pretty new to Rust so might be wrong but I think the Breez SDK is currently broken for anyone trying to use the Rust version. |
Can you please try pinning [dependencies]
breez-sdk-core = { git = "https://github.com/breez/breez-sdk", tag = "0.4.1-rc2" }
serde_bolt = "=0.3.4" Then cargo clean
cargo clippy |
well thank you very much this seems to work! I'm a bit out of my depth here but would be nice if I could get an explanation of the issue so I understand better as this fix is a mystery to me. Also to know at what level this should be fixed. Cheers. |
Great, glad it fixed it for you! From what I can tell, the issue was a combination of
Rust handling of dependenciesLibraries (like the Breez SDK, So if a library's See here for more details: https://doc.rust-lang.org/cargo/faq.html#why-have-cargolock-in-version-control
Cargo syntax for versioning in
|
Thank you very much for the explanation. For some time I thought the root of the issue was the default Really great catch! Thanks again! I'll let the VLS team know that they should fix the |
Thank you for the feedback and for reporting it in the first place! |
While updating the dependencies of our project with
cargo update
, I ran into the following compiling error linked to VLS. This is on MacOS M2 using the Breez SDK v0.4.0 (tried with 0.4.0-rc1 as well).I'm not sure what the issue could be here:
Using
rustc 1.76.0
. Pretty surprised no-one is running into this issue so I'm wondering if I messed up something. Sadly for me, I didn't commit the Cargo.lock to revert so now I'm stuck :/.I tried
cargo clean
without success.The text was updated successfully, but these errors were encountered: