RGB-Tools / rgb-lib

MIT License
44 stars 24 forks source link

cannot run tests in release mode (miniscript overflow) #27

Open zoedberg opened 1 year ago

zoedberg commented 1 year ago

Executing tests in release mode I receive the following error:

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 &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 '/mnt/dmc/zoe/work/bitfinex/rgb-lib-kotlin/rgb-lib/target/release/deps/miniscript-f3a95c2934347d02.long-type-692420154592931688.txt'

For more information about this error, try `rustc --explain E0275`.
error: could not compile `miniscript` (lib) due to previous error

I believe we need to wait https://github.com/rust-lang/rust/issues/110475 to be resolved

dr-orlovsky commented 1 year ago

Related: https://github.com/rust-bitcoin/rust-miniscript/issues/549