-
Notifications
You must be signed in to change notification settings - Fork 139
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
build error: overflow evaluating the requirement F: FnMut<(&Pk,)>
#549
Comments
Are you using a released version of Rust? I believe you are hitting rust-lang/rust#110475 which should be fixed by #546. If the bug is affecting released version of rustc then we need to backport the fix. |
Ah, I am on nightly, but I guess I also tried with stable, and at this point, your fix should be included inside the bdk. Thanks |
Edit: Oh, now I see it was not backported to 8.0.1... . I updated to 9.0.0 since it seems to use the same I'm trying to update our CI to Rust 1.71 release. This forced me to update to a proper
and i'm hitting:
The same code seems to fail with |
Ok, I can backport to 8.0 as well. What a freeking chore though. I'm tempted to just say "we don't support rustc after 1.71" because it's incredibly demoralizing to have to clean up after the compiler authors after giving them 3 months notice of a bug. |
Since updating to 9.0 worked, I personally no longer need it. But technically 8.0 is a available, non-yanked version. |
I'm not going to yank it. They should yank rustc. But glad that it's no longer an urgent issue for you. |
BTW. @apoelstra , @sanket1729 that On top of my head:
would be better as:
Note: I might be wrong. |
@dpc the rationale for rust-bitcoin 1030 was that we had multiple functions that would non-recursively call each other, resulting in a small finite number of The consensus encoding traits in rust-bitcoin are also not really meant to be used directly, though they can be, so we were willing to make the API a bit worse to improve this. The situation here is different -- these functions are only called from themselves, so they should be compiled only once (per choice of generics). Basically you either have zero With all of our other rust-miniscript APIs that have this issue, we've fixed by having a private internal function that takes a single |
I'm going to close this. We fixed it and backported to 4 or 5 old versions and nobody has complained about more versions in a while. |
I am building a project with bdk and I am now running the cargo install but
I had this error here
I am not sure how to reproduce it, but I guess you could have some idea on what kind macros is causing this error?
The text was updated successfully, but these errors were encountered: