#1141041 rust-prio: FTBFS: error: failed to select a version for the requirement `hmac = "^0.12.1"`

#1141041#5
Date:
2026-06-28 20:52:46 UTC
From:
To:
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/202606/

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-prio, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean --buildsystem=rust
	/usr/share/dh-rust/bin/cargo clean
debian cargo wrapper: options, profiles, parallel, lto: ['parallel=2'] [] ['-j2'] 0
debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu, x86_64-linux-gnu
debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', 'clean', '--verbose', '--verbose'],) {'check': True}
     Removed 0 files
   dh_clean -XCargo.toml.orig
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure --buildsystem=rust
	/usr/share/dh-rust/bin/cargo prepare-debian debian/cargo_registry
debian cargo wrapper: options, profiles, parallel, lto: ['parallel=2'] [] ['-j2'] 0
debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu, x86_64-linux-gnu
debian cargo wrapper: linking /usr/share/cargo/registry/* into /<<PKGBUILDDIR>>/debian/cargo_registry/
	cargo update
error: failed to select a version for the requirement `hmac = "^0.12.1"`
candidate versions found which didn't match: 0.13.0
location searched: directory source `/<<PKGBUILDDIR>>/debian/cargo_registry` (which is replacing registry `crates-io`)
required by package `prio v0.17.0 (/<<PKGBUILDDIR>>)`
perhaps a crate was updated and forgotten to be re-vendored?
dh_auto_configure: error: cargo update returned exit code 101
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1141041#10
Date:
2026-06-29 18:07:10 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
rust-prio, 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 1141041@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Smedegaard <dr@jones.dk> (supplier of updated rust-prio 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 29 Jun 2026 19:21:41 +0200
Source: rust-prio
Architecture: source
Version: 0.17.0+ds-6
Distribution: unstable
Urgency: medium
Maintainer: Jonas Smedegaard <dr@jones.dk>
Changed-By: Jonas Smedegaard <dr@jones.dk>
Closes: 1141041
Changes:
 rust-prio (0.17.0+ds-6) unstable; urgency=medium
 .
   * reorganize patch naming and numbering
   * tighten (build-)dependencies for crates hmac sha2;
     closes: bug#1141041, thanks to Santiago Vila
   * use debhelper compatibility level 14 (not 13)
Checksums-Sha1:
 2f13750b89ad42156ebcb361f591006ec1cbeb93 2869 rust-prio_0.17.0+ds-6.dsc
 5a50f4191c8d193a83b8dba5ed09fd06a329c030 10252 rust-prio_0.17.0+ds-6.debian.tar.xz
 694f6d5533ee125573d047f94aa625ecac8ec743 21888 rust-prio_0.17.0+ds-6_amd64.buildinfo
Checksums-Sha256:
 6dbb1b40ea0eba89d62c700bafcf6b2ff3c2d015358e0c6cfdd598256923aba4 2869 rust-prio_0.17.0+ds-6.dsc
 20aed6f99ddea303fc28d571a0d9fa118408d2de174508f674b6d479b4d92187 10252 rust-prio_0.17.0+ds-6.debian.tar.xz
 2b628b62282d01c5f7a46a65c8819240df194897b59d252e91eefbc65770d422 21888 rust-prio_0.17.0+ds-6_amd64.buildinfo
Files:
 e32b2f01d670e0ff2e53b9bd70faae33 2869 rust optional rust-prio_0.17.0+ds-6.dsc
 a62a045157860dfc2b4462a5f258e6d5 10252 rust optional rust-prio_0.17.0+ds-6.debian.tar.xz
 c0f82c1c3dc1e3351927ad99b93eaae5 21888 rust optional rust-prio_0.17.0+ds-6_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJABAEBCgAqFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmpCqqcMHGRyQGpvbmVz
LmRrAAoJECx8MUbBoAEhWQYQAJkmiheLSGdaCcrq6hZu7abpy+eXEx5HAVoiB9mm
T9lJZxq99ZS9WzjDbgyxN2/lwPKzmfVE1HG/Woi4W/Gp9rQ/Iis2RY2FQ4FN/X+K
VZKIps6OlenRpmnijCZvjlBnoStryRCCIaK40Q4I4ExbCj73sgbvNyGwVi2T+Ix8
kEoz1V8D5K+wNOjYY8pIqkNl5NNK9JCipA565Jy5M+lXcKXeQsxvV/bTfy2UWYm6
3B76WNPqLNUnCW6q0/bQQiikNe77zfZjbVNQ47En8TS5wQbMqRrWg8Bb/bCsvSXd
bBjoXdRsRZdl4AEA//BBXf0YmEpvWFEefD50J2QapzHx646+GSlGUqXHPQnPIGI/
qFZsTJ67/V4hkdc+UnVensNQr7/dvYI9F6Nbw6wmEeHYMRhQwLJLpR3+CpMB0p2z
BdookAmY5BfURF2KVrvRpI6Tvb8t2rqvvAm59wo75bdFyeCnN89YO3b+v41vi4LA
jkX509oRACw0HtNlvdShZifwbJwkXR02vVbfDkpCyf+uA54u4mLgxe/6QyRs1VW/
r5lDT0vCX0/lPGj6cOfLIkxSr+a6bam/70WvYREQxvJ8sPQ/Tq/NdI4wuIC8LXDa
8rl7gD4fHtocohY7tyu6rbQy1a3o8YNDusBR4tPDZXdM1vA4oereAb8WEdXebrN+
o3uz
=8rag
-----END PGP SIGNATURE-----