#1153432 rust-rustls - autopkgtest failure on amd64

Package:
rust-rustls
Source:
rust-rustls
Submitter:
Peter Michael Green
Date:
2026-11-15 12:15:03 UTC
Severity:
normal
Tags:
#1153432#5
Date:
2026-11-08 13:45:27 UTC
From:
To:
The autopkgttest for rust-rustls is failing on amd64.
This looks like some missing feature guards.

The test configuration in question is only run on amd64.

This is (indirectly) blocking rust-zip from migrating to testing.

#1153432#10
Date:
2026-11-12 05:45:49 UTC
From:
To:
Hi Jonas,

The rustls:ring failure comes from the test added in 0.23.46,
test_client_rejects_protected_change_cipher_spec in
rustls/src/client/test.rs. It uses ClientConfig::builder_with_provider
and ClientConnection, which need feature "std", and
1001_fence_test.patch doesn't fence it yet like the other std-only tests
in that file.

The attached patch (git format-patch against debian/latest, b83abdb5)
adds the same #[cfg(feature = "std")] to that test. The remaining hunks
in 1001 only shift by one line. The same commit is also on


https://salsa.debian.org/elixpo/rust-rustls/-/tree/fence-protected-ccs-test

if pulling is easier.

Tested: sbuild + autopkgtest of 0.23.46+ds-1 with the patch. All 9 tests
pass, including rustls:ring. The new test still runs where std is
enabled.

This also unblocks rust-zip's migration.

Thanks,
Ayushman

#1153432#19
Date:
2026-11-15 12:12:48 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
rust-rustls, 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 1153432@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Peter Michael Green <plugwash@debian.org> (supplier of updated rust-rustls 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: Sun, 15 Nov 2026 11:10:01 +0000
Source: rust-rustls
Architecture: source
Version: 0.23.46+ds-1.1
Distribution: unstable
Urgency: medium
Maintainer: Jonas Smedegaard <dr@jones.dk>
Changed-By: Peter Michael Green <plugwash@debian.org>
Closes: 1153432
Changes:
 rust-rustls (0.23.46+ds-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Extend patch 1001_fence_test.patch to also cover
     test_client_rejects_protected_change_cipher_spec, thanks to
     Ayushman Bhattacharya (Closes: #1153432)
Checksums-Sha1:
 ec5cf4d1a6fd2472529ebbd7a62a631ff08f6b3f 3264 rust-rustls_0.23.46+ds-1.1.dsc
 9a96218931f3c3b93d9a68c3c6dc66f774efcca6 23448 rust-rustls_0.23.46+ds-1.1.debian.tar.xz
 110d826236f022139efc9deaff35c039c0d08961 19778 rust-rustls_0.23.46+ds-1.1_source.buildinfo
Checksums-Sha256:
 78f082eb69b8786a3b4450e95688f6869cc8ba8a30192ba8b1e167821fd10be3 3264 rust-rustls_0.23.46+ds-1.1.dsc
 3c971cb31699477dbd862f2504f5ca03b28051a75337757679611402e7133d71 23448 rust-rustls_0.23.46+ds-1.1.debian.tar.xz
 e3a4a249ec1224e455b0b632372def352ddef742d22fade590d395f5210913f3 19778 rust-rustls_0.23.46+ds-1.1_source.buildinfo
Files:
 efc556ee3f5c9e0bb949fb9aef60530f 3264 rust optional rust-rustls_0.23.46+ds-1.1.dsc
 600c864c65f2b8f4f72bc16cbb99ab9b 23448 rust optional rust-rustls_0.23.46+ds-1.1.debian.tar.xz
 bc84b444b02bbd72e45f2eba982c610a 19778 rust optional rust-rustls_0.23.46+ds-1.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJIBAEBCAAyFiEEU0DQATYMplbjSX63DEjqKnqP/XsFAmr5lkoUHHBsdWd3YXNo
QGRlYmlhbi5vcmcACgkQDEjqKnqP/XuurQ//b04ECSrsgB98KoYVRq3GCG4XDTgz
gFrMHsn2EHX9CKUhJoE2o7z76t3okuROAuJlTNq7+8Y0JBB5qnLC8zkaig3DlTRo
lSCHh97HSdU3k+IWCEDBckLvjggBUCugzAe2qwOKyqPcaYZcEiCjbC33s+X8yUBz
ZSmk6XWMahiE3dJeu3GlX52m+6KgrGFMdgg8VJFJqUQ8ethIqDlbIkQjfJQ5z+E4
R1Xi06mPqbomnqzSRdtYN//KlQrmHufqhcSyKKO7J2Jtsh7nGfDkQfQw3v6gMErV
W+LMzpdFIzrU+R6NK/DePFEbYkRpLs8IoCju2g8+Asl1kPMIpw0iMC3YUpf6/Esa
Qg81hX8bL8y7LmldaxlAGK/l7xYpSgdK7Yd/VogrcG1Ticxg3zpgXlvO8IpivzHP
w5IGIh0MecWHU3yrEmNsHXvpSDwrT8ufH5Z5DBldG/Gw6v3OKJjvQI5mqt1d7kM4
Bs84mVqjGjg5N+EIKEeuiUevzFxkT4SanUPIm9XfH1NaeesRb6Q78X5OQD+8iqtK
ER7VOAwWnWg9VN2KR1xa4O87IKzq7AAh2WJMHuhCuakg51IaZ2KRzdIIYP0JDUfA
Wh+kfbbBDOV0Bayii5VWsZcIFkTL0h9AgH/Jfco7EJnxcKL9TPO92uO6lXE/4K8w
qTqq7ujEAX1Jt8Y=
=nokW
-----END PGP SIGNATURE-----