[Pkg-rust-maintainers] Bug#1150092: rust-num-prime: FTBFS: error[E0277]: the trait bound `for<'r, 'r> &'r num_bigint::BigUint: num_modular::ModularUnaryOps<&'r num_bigint::BigUint>` is not satisfied
Peter Green
plugwash at debian.org
Tue Oct 6 02:41:48 BST 2026
The cause of this failure is that num-modular 0.6.6 has switched to
version 0.5 of num-bigint, this probablly should have come with a
semver bump upstream, but it didn't.
num-bigint 0.5 in turn no longer supports rand 0.8.
I've prepared patches in debcargo-conf which fix the package to use
num-modular 0.6.6, num-bigint 0.5 and rand 0.10 but I haven't
uploaded them because of their potentially large API impact, and
the fact that num-prime is currently not in testing and not used
by any applications in debian.
I have also posted links to the fixes upstream at
https://github.com/uutils/num-prime/issues/120
More information about the Pkg-rust-maintainers
mailing list