You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To work around this issue, set BDK_CLI_VER="0.26.0" in demo.sh. This will complete the script, but it is uncertain whether the demo will work correctly.
Details
The exact error is as follows:
error[E0275]: overflow evaluating the requirement `F:FnMut<(&Pk,)>`
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`miniscript`)
= note: required for `&mut F` to implement `FnMut<(&Pk,)>`
= note:128 redundant requirements hidden
= note: required for `&mut &mut &mut &mut &mut &mut &mut &mut &mut &mut &mut &mut &mut &mut &mut &mut &mut &mut &mut &mut &mut ...` to implement `FnMut<(&Pk,)>`
= note: the full type name has been written to '/tmp/cargo-installldSIZU/release/deps/miniscript-4331abc3e75b540d.long-type-2030699453202166277.txt'For more information about this error, try `rustc --explain E0275`.error: could not compile `miniscript` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `bdk-cli v0.27.1`, intermediate artifacts can be found at `/tmp/cargo-installldSIZU`.To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.ERROR: error installing bdk-cli
Miniscript v9.0.2 fixes this issue.
However, bdk-cli v0.27.1, which is used by rgb-sandbox, depends on bdk v0.27.1, which in turn relies on miniscript v9.0.
What went wrong
Running
bash demo.sh
results in an error, failing to compile bdk-cli.The root cause is the miniscript package, on which bdk-cli indirectly depends.
rgb-sandbox version: v0.10 or the commit d2707b9.
To work around this issue, set
BDK_CLI_VER="0.26.0"
indemo.sh
. This will complete the script, but it is uncertain whether the demo will work correctly.Details
The exact error is as follows:
This is a known issue already reported in the miniscript repo.
rust-bitcoin/rust-miniscript#549
Miniscript v9.0.2 fixes this issue.
However, bdk-cli v0.27.1, which is used by rgb-sandbox, depends on bdk v0.27.1, which in turn relies on miniscript v9.0.
RGB-Tools/rgb-lib#27 is related issue.
The text was updated successfully, but these errors were encountered: