Your message dated Sun, 15 Nov 2026 23:21:57 +0000
with message-id <[email protected]>
and subject line Bug#1150092: fixed in rust-num-prime 0.7.0-1
has caused the Debian Bug report #1150092,
regarding 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
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1150092: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1150092
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:rust-num-prime
Version: 0.5.0-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202610/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:rust-num-prime, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
   --> src/nt_funcs.rs:566:20
    |
566 | pub fn is_prime<T: PrimalityBase>(target: &T, config: 
Option<PrimalityTestConfig>) -> Primality
    |                    ^^^^^^^^^^^^^ required by this bound in `is_prime`

error[E0277]: the trait bound `for<'r, 'r> &'r num_bigint::BigUint: 
num_modular::ModularUnaryOps<&'r num_bigint::BigUint>` is not satisfied
    --> src/rand.rs:282:35
     |
 282 |             assert!(is_safe_prime(&p).probably());
     |                     ------------- ^^ the trait `for<'r, 'r> 
num_modular::ModularUnaryOps<&'r num_bigint::BigUint>` is not implemented for 
`&'r num_bigint::BigUint`
     |                     |
     |                     required by a bound introduced by this call
     |
     = help: the following other types implement trait 
`num_modular::ModularUnaryOps<Modulus>`:
               `&Mint<T, R>` implements `num_modular::ModularUnaryOps<&Mint<T, 
R>>`
               `&num_bigint::biguint::BigUint` implements 
`num_modular::ModularUnaryOps<&num_bigint::biguint::BigUint>`
               `&u128` implements `num_modular::ModularUnaryOps<&u128>`
               `&u16` implements `num_modular::ModularUnaryOps<&u16>`
               `&u32` implements `num_modular::ModularUnaryOps<&u32>`
               `&u64` implements `num_modular::ModularUnaryOps<&u64>`
               `&u8` implements `num_modular::ModularUnaryOps<&u8>`
               `&usize` implements `num_modular::ModularUnaryOps<&usize>`
             and 8 others
     = note: there are multiple different versions of crate `num_bigint` in the 
dependency graph
     = help: you can use `cargo tree` to explore your dependency tree
note: required for `&'r num_bigint::BigUint` to implement `for<'r> 
PrimalityRefBase<num_bigint::BigUint>`
    --> src/primality.rs:381:15
     |
 381 | impl<T, Base> PrimalityRefBase<Base> for T where
     |               ^^^^^^^^^^^^^^^^^^^^^^     ^
...
 384 |         + for<'r> ModularUnaryOps<&'r Base, Output = Base>
     |           ------------------------------------------------ unsatisfied 
trait bound introduced here
note: required by a bound in `nt_funcs::is_safe_prime`
    --> src/nt_funcs.rs:1009:20
     |
1007 | pub fn is_safe_prime<T: PrimalityBase>(target: &T) -> Primality
     |        ------------- required by a bound in this function
1008 | where
1009 |     for<'r> &'r T: PrimalityRefBase<T>,
     |                    ^^^^^^^^^^^^^^^^^^^ required by this bound in 
`is_safe_prime`

error[E0277]: the trait bound `&BigUint: ModularCoreOps<&BigUint, &BigUint>` is 
not satisfied
    --> src/rand.rs:282:35
     |
 282 |             assert!(is_safe_prime(&p).probably());
     |                     ------------- ^^ unsatisfied trait bound
     |                     |
     |                     required by a bound introduced by this call
     |
     = help: the trait `for<'r, 'r> num_modular::ModularCoreOps<&'r 
num_bigint::BigUint, &'r num_bigint::BigUint>` is not implemented for `&'r 
num_bigint::BigUint`
     = help: the following other types implement trait 
`num_modular::ModularCoreOps<Rhs, Modulus>`:
               `&Mint<T, R>` implements `num_modular::ModularCoreOps<&'b 
Mint<T, R>, &'b Mint<T, R>>`
               `&num_bigint::biguint::BigUint` implements 
`num_modular::ModularCoreOps<&num_bigint::biguint::BigUint, 
&num_bigint::biguint::BigUint>`
               `&num_bigint::biguint::BigUint` implements 
`num_modular::ModularCoreOps<num_bigint::biguint::BigUint, 
&num_bigint::biguint::BigUint>`
               `&u128` implements `num_modular::ModularCoreOps<&u128, &u128>`
               `&u128` implements `num_modular::ModularCoreOps<u128, &u128>`
               `&u16` implements `num_modular::ModularCoreOps<&u16, &u16>`
               `&u16` implements `num_modular::ModularCoreOps<u16, &u16>`
               `&u32` implements `num_modular::ModularCoreOps<&u32, &u32>`
             and 22 others
     = note: there are multiple different versions of crate `num_bigint` in the 
dependency graph
     = help: you can use `cargo tree` to explore your dependency tree
note: required for `&'r num_bigint::BigUint` to implement `for<'r> 
PrimalityRefBase<num_bigint::BigUint>`
    --> src/primality.rs:381:15
     |
 381 | impl<T, Base> PrimalityRefBase<Base> for T where
     |               ^^^^^^^^^^^^^^^^^^^^^^     ^
...
 385 |         + for<'r> ModularCoreOps<&'r Base, &'r Base, Output = Base>
     |           --------------------------------------------------------- 
unsatisfied trait bound introduced here
note: required by a bound in `nt_funcs::is_safe_prime`
    --> src/nt_funcs.rs:1009:20
     |
1007 | pub fn is_safe_prime<T: PrimalityBase>(target: &T) -> Primality
     |        ------------- required by a bound in this function
1008 | where
1009 |     for<'r> &'r T: PrimalityRefBase<T>,
     |                    ^^^^^^^^^^^^^^^^^^^ required by this bound in 
`is_safe_prime`
     = note: the full name for the type has been written to 
'/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/num_prime-e6abd335b43719b8.long-type-7837229316896088173.txt'
     = note: consider using `--verbose` to print the full type name to the 
console

error[E0277]: the trait bound `num_bigint::BigUint: PrimalityBase` is not 
satisfied
    --> src/rand.rs:282:35
     |
 282 |             assert!(is_safe_prime(&p).probably());
     |                     ------------- ^^ unsatisfied trait bound
     |                     |
     |                     required by a bound introduced by this call
     |
     = help: the trait `for<'r> num_modular::ModularCoreOps<&'r 
num_bigint::BigUint, &'r num_bigint::BigUint>` is not implemented for 
`num_bigint::BigUint`
     = help: the following other types implement trait 
`num_modular::ModularCoreOps<Rhs, Modulus>`:
               `&Mint<T, R>` implements `num_modular::ModularCoreOps<&'b 
Mint<T, R>, &'b Mint<T, R>>`
               `&num_bigint::biguint::BigUint` implements 
`num_modular::ModularCoreOps<&num_bigint::biguint::BigUint, 
&num_bigint::biguint::BigUint>`
               `&num_bigint::biguint::BigUint` implements 
`num_modular::ModularCoreOps<num_bigint::biguint::BigUint, 
&num_bigint::biguint::BigUint>`
               `&u128` implements `num_modular::ModularCoreOps<&u128, &u128>`
               `&u128` implements `num_modular::ModularCoreOps<u128, &u128>`
               `&u16` implements `num_modular::ModularCoreOps<&u16, &u16>`
               `&u16` implements `num_modular::ModularCoreOps<u16, &u16>`
               `&u32` implements `num_modular::ModularCoreOps<&u32, &u32>`
             and 22 others
     = note: there are multiple different versions of crate `num_bigint` in the 
dependency graph
     = help: you can use `cargo tree` to explore your dependency tree
     = note: required for `num_bigint::BigUint` to implement `for<'r> 
ModularOps<&'r num_bigint::BigUint, &'r num_bigint::BigUint>`
     = note: required for `num_bigint::BigUint` to implement `ModularRefOps`
note: required for `num_bigint::BigUint` to implement `PrimalityBase`
    --> src/primality.rs:368:7
     |
 367 |             + ModularRefOps,
     |               ------------- unsatisfied trait bound introduced here
 368 |     > PrimalityBase for T
     |       ^^^^^^^^^^^^^     ^
note: required by a bound in `nt_funcs::is_safe_prime`
    --> src/nt_funcs.rs:1007:25
     |
1007 | pub fn is_safe_prime<T: PrimalityBase>(target: &T) -> Primality
     |                         ^^^^^^^^^^^^^ required by this bound in 
`is_safe_prime`

error[E0277]: the trait bound `num_bigint::BigUint: PrimalityBase` is not 
satisfied
    --> src/rand.rs:282:35
     |
 282 |             assert!(is_safe_prime(&p).probably());
     |                     ------------- ^^ the trait `for<'r> 
num_modular::ModularUnaryOps<&'r num_bigint::BigUint>` is not implemented for 
`num_bigint::BigUint`
     |                     |
     |                     required by a bound introduced by this call
     |
     = help: the following other types implement trait 
`num_modular::ModularUnaryOps<Modulus>`:
               `&Mint<T, R>` implements `num_modular::ModularUnaryOps<&Mint<T, 
R>>`
               `&num_bigint::biguint::BigUint` implements 
`num_modular::ModularUnaryOps<&num_bigint::biguint::BigUint>`
               `&u128` implements `num_modular::ModularUnaryOps<&u128>`
               `&u16` implements `num_modular::ModularUnaryOps<&u16>`
               `&u32` implements `num_modular::ModularUnaryOps<&u32>`
               `&u64` implements `num_modular::ModularUnaryOps<&u64>`
               `&u8` implements `num_modular::ModularUnaryOps<&u8>`
               `&usize` implements `num_modular::ModularUnaryOps<&usize>`
             and 8 others
     = note: there are multiple different versions of crate `num_bigint` in the 
dependency graph
     = help: you can use `cargo tree` to explore your dependency tree
     = note: required for `num_bigint::BigUint` to implement `for<'r> 
ModularOps<&'r num_bigint::BigUint, &'r num_bigint::BigUint>`
     = note: required for `num_bigint::BigUint` to implement `ModularRefOps`
note: required for `num_bigint::BigUint` to implement `PrimalityBase`
    --> src/primality.rs:368:7
     |
 367 |             + ModularRefOps,
     |               ------------- unsatisfied trait bound introduced here
 368 |     > PrimalityBase for T
     |       ^^^^^^^^^^^^^     ^
note: required by a bound in `nt_funcs::is_safe_prime`
    --> src/nt_funcs.rs:1007:25
     |
1007 | pub fn is_safe_prime<T: PrimalityBase>(target: &T) -> Primality
     |                         ^^^^^^^^^^^^^ required by this bound in 
`is_safe_prime`

error[E0277]: the trait bound `num_bigint::BigUint: PrimalityBase` is not 
satisfied
    --> src/rand.rs:282:35
     |
 282 |             assert!(is_safe_prime(&p).probably());
     |                     ------------- ^^ the trait `for<'r> 
num_modular::ModularPow<&'r num_bigint::BigUint, &'r num_bigint::BigUint>` is 
not implemented for `num_bigint::BigUint`
     |                     |
     |                     required by a bound introduced by this call
     |
     = help: the following other types implement trait 
`num_modular::ModularPow<Exp, Modulus>`:
               `&num_bigint::biguint::BigUint` implements 
`num_modular::ModularPow<&num_bigint::biguint::BigUint, 
&num_bigint::biguint::BigUint>`
               `&num_bigint::biguint::BigUint` implements 
`num_modular::ModularPow<num_bigint::biguint::BigUint, 
&num_bigint::biguint::BigUint>`
               `&u128` implements `num_modular::ModularPow<&u128, &u128>`
               `&u128` implements `num_modular::ModularPow<u128, &u128>`
               `&u16` implements `num_modular::ModularPow<&u16, &u16>`
               `&u16` implements `num_modular::ModularPow<u16, &u16>`
               `&u32` implements `num_modular::ModularPow<&u32, &u32>`
               `&u32` implements `num_modular::ModularPow<u32, &u32>`
             and 21 others
     = note: there are multiple different versions of crate `num_bigint` in the 
dependency graph
     = help: you can use `cargo tree` to explore your dependency tree
     = note: required for `num_bigint::BigUint` to implement `for<'r> 
ModularOps<&'r num_bigint::BigUint, &'r num_bigint::BigUint>`
     = note: required for `num_bigint::BigUint` to implement `ModularRefOps`
note: required for `num_bigint::BigUint` to implement `PrimalityBase`
    --> src/primality.rs:368:7
     |
 367 |             + ModularRefOps,
     |               ------------- unsatisfied trait bound introduced here
 368 |     > PrimalityBase for T
     |       ^^^^^^^^^^^^^     ^
note: required by a bound in `nt_funcs::is_safe_prime`
    --> src/nt_funcs.rs:1007:25
     |
1007 | pub fn is_safe_prime<T: PrimalityBase>(target: &T) -> Primality
     |                         ^^^^^^^^^^^^^ required by this bound in 
`is_safe_prime`

error[E0277]: the trait bound `num_bigint::BigUint: PrimalityBase` is not 
satisfied
    --> src/rand.rs:282:35
     |
 282 |             assert!(is_safe_prime(&p).probably());
     |                     ------------- ^^ the trait `for<'r> 
num_modular::ModularSymbols<&'r num_bigint::BigUint>` is not implemented for 
`num_bigint::BigUint`
     |                     |
     |                     required by a bound introduced by this call
     |
     = help: the following other types implement trait 
`num_modular::ModularSymbols<Modulus>`:
               `Mint<T, R>` implements `num_modular::ModularSymbols<&Mint<T, 
R>>`
               `i128` implements `num_modular::ModularSymbols<&i128>`
               `i16` implements `num_modular::ModularSymbols<&i16>`
               `i32` implements `num_modular::ModularSymbols<&i32>`
               `i64` implements `num_modular::ModularSymbols<&i64>`
               `i8` implements `num_modular::ModularSymbols<&i8>`
               `isize` implements `num_modular::ModularSymbols<&isize>`
               `num_bigint::bigint::BigInt` implements 
`num_modular::ModularSymbols<&num_bigint::bigint::BigInt>`
             and 7 others
     = note: there are multiple different versions of crate `num_bigint` in the 
dependency graph
     = help: you can use `cargo tree` to explore your dependency tree
     = note: required for `num_bigint::BigUint` to implement `for<'r> 
ModularOps<&'r num_bigint::BigUint, &'r num_bigint::BigUint>`
     = note: required for `num_bigint::BigUint` to implement `ModularRefOps`
note: required for `num_bigint::BigUint` to implement `PrimalityBase`
    --> src/primality.rs:368:7
     |
 367 |             + ModularRefOps,
     |               ------------- unsatisfied trait bound introduced here
 368 |     > PrimalityBase for T
     |       ^^^^^^^^^^^^^     ^
note: required by a bound in `nt_funcs::is_safe_prime`
    --> src/nt_funcs.rs:1007:25
     |
1007 | pub fn is_safe_prime<T: PrimalityBase>(target: &T) -> Primality
     |                         ^^^^^^^^^^^^^ required by this bound in 
`is_safe_prime`

error: could not compile `num-prime` (lib test) due to 90 previous errors

Caused by:
  process didn't exit successfully: `CARGO=/usr/bin/cargo 
CARGO_CRATE_NAME=num_prime CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> 
CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS='' 
CARGO_PKG_DESCRIPTION='Generic and optimized primality test, factorization and 
various number theoretic functions with arbitrary precision based on `num`.
  ' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=Apache-2.0 CARGO 
[too-long-redacted] argo/registry` (exit status: 1)
dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 
101
make[1]: *** [debian/rules:6: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:3: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: rust-num-prime
Source-Version: 0.7.0-1
Done: Simon Quigley <[email protected]>

We believe that the bug you reported is fixed in the latest version of
rust-num-prime, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Simon Quigley <[email protected]> (supplier of updated rust-num-prime package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 15 Nov 2026 16:24:19 -0600
Source: rust-num-prime
Architecture: source
Version: 0.7.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Rust Maintainers 
<[email protected]>
Changed-By: Simon Quigley <[email protected]>
Closes: 1150092
Changes:
 rust-num-prime (0.7.0-1) unstable; urgency=medium
 .
   * Team upload.
   * Package num-prime 0.7.0 from crates.io using debcargo 2.8.4
 .
   [ Peter Michael Green ]
   * Update patches for new upstream and to reflect reality of num-modular 
versions
   * Update to num-bigint 0.5 to match version used by num-modular 0.6.6 
(Closes: #1150092)
   * Update to rand 0.10 to match version supported by num-bigint 0.5.
 .
   [ Simon Quigley ]
   * Build against num-modular 0.7.
   * Drop fix-num-modular-features.diff; 0.7.0 dropped num-modular/num-integer.
Checksums-Sha1:
 9e4bc028e4fcf34de745cabf1e4c0b8e5fb23073 2747 rust-num-prime_0.7.0-1.dsc
 a48cf9e9b06c4723aa2183490552ed18f8072f61 162354 
rust-num-prime_0.7.0.orig.tar.gz
 830e6094d23896ed5c8af879b3e869543d446da1 4980 
rust-num-prime_0.7.0-1.debian.tar.xz
 a547d80194b25dfd1aba1a29a036571339c10334 8587 
rust-num-prime_0.7.0-1_source.buildinfo
Checksums-Sha256:
 64ea2c06bf3859e13cba3c071a8567a6d57211b94c7ce205f76d7dc3ac5a50f4 2747 
rust-num-prime_0.7.0-1.dsc
 6de1394909173a98f21f28406f9d82f0e11d87be4bf36473364f37a5bd100741 162354 
rust-num-prime_0.7.0.orig.tar.gz
 1b7dc7e91af512953169e622979b4081a6f3e6e73cf4dc3a383f96b6498bf103 4980 
rust-num-prime_0.7.0-1.debian.tar.xz
 f6a09a6d9fc26271ae64dfc8c441c3cc15938e3ae9cc2d6772eaad951dddb84d 8587 
rust-num-prime_0.7.0-1_source.buildinfo
Files:
 c3e94c5a8a48f189f3880bdee4559976 2747 rust optional rust-num-prime_0.7.0-1.dsc
 022cffbba8fd7baee92cd042c47a287c 162354 rust optional 
rust-num-prime_0.7.0.orig.tar.gz
 b5d5697daca854040524730f4b0dc549 4980 rust optional 
rust-num-prime_0.7.0-1.debian.tar.xz
 4672061e902610f8416655135588dcb9 8587 rust optional 
rust-num-prime_0.7.0-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXHq+og+GMEWcyMi14n8s+EWML6QFAmr6NjEACgkQ4n8s+EWM
L6QFDxAAlRqRv7/QXXYMEI2C0CfBZzUTAaRvrsx5sFt7Pt14VW59Mc8dRIxlyUX8
hYlCkHvopgXuG7jb9gkPy0CccWRHsBhEEiNFKZ57lGVBHdvPvX4wsgNY1AdKhb3Z
fZi6lVidzy1L3udRugenNiHjrx0kIktxRtkKYBWmv1NffFwsysPDyWMJSePgyQAG
OLCp/HTiN0r0xoInSB0M/BEge4Y0MZ1pMCGP1zBnjVGe746KElSVOdLkA0EAIl2+
NpQKYw5Dw6RdVst2g+AT5z1DdSWYUFA54gfi19arswYX0BPw0+Qqv3VXHEX2Zq7x
TvWO04+cPefc5nmjT8zeOib24NQQ4dRKhkXBn4Xuek4djLiZ259fK4gyuQctjVVb
L6fQJNomhY1yYUTuPDYkUnW/EUYC0rpSTa8wIsmbGfD3FkHYkZFPlC0CCWRoq45T
iqdWS+CLW6YGYy7h/fI2s68qiZm9+aF47yrhdwYmlBECneu7x9TRVNE4lkAiN1et
k4eAQ2G8264lHe55GqfcCykrG6i/j1zaYJVlU4H6IJkQj0r1DepqY4UfRKmEAKHn
I8NNjojWx3tGC0H2UqFjksLepys7m21daIkGVpy5MLPBYk6VWrFeYf5Fa/5HN6NS
BpcSdhXP4JDOZ69zLBG15dxT/ioz0iegFmmXkl4f20JFBEp1hJ8=
=gjcv
-----END PGP SIGNATURE-----

Attachment: pgp2W7ccknUhJ.pgp
Description: PGP signature


--- End Message ---

Reply via email to