the first error is error[E0277]: the trait bound `T: rand_core::RngCore` is not satisfied .. this could be related but doesn't help https://nest.pijul.com/pijul_org/pijul/discussions/291