Your message dated Thu, 06 Nov 2025 16:56:05 +0000
with message-id <[email protected]>
and subject line Bug#1120220: fixed in rust-rustls-pemfile 2.2.0-4
has caused the Debian Bug report #1120220,
regarding rust-rustls-pemfile: FTBFS: test
tests::unit::rejects_unclosed_start_section ... FAILED
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.)
--
1120220: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1120220
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:rust-rustls-pemfile
Version: 2.2.0-3
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/202511/
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-rustls-pemfile, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem cargo
dh_auto_clean -O--buildsystem=cargo
debian cargo wrapper: options = ['parallel=2'], profiles = [], parallel =
['-j2'], lto =
debian cargo wrapper: rust_type = x86_64-unknown-linux-gnu, gnu_type =
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_autoreconf_clean -O--buildsystem=cargo
dh_clean -XCargo.toml.orig -O--buildsystem=cargo
debian/rules binary
dh binary --buildsystem cargo
dh_update_autotools_config -O--buildsystem=cargo
dh_autoreconf -O--buildsystem=cargo
dh_auto_configure -O--buildsystem=cargo
debian cargo wrapper: options = ['parallel=2'], profiles = [], parallel =
['-j2'], lto =
debian cargo wrapper: rust_type = x86_64-unknown-linux-gnu, gnu_type =
x86_64-linux-gnu
debian cargo wrapper: linking /usr/share/cargo/registry/* into
/<<PKGBUILDDIR>>/debian/cargo_registry/
dh_auto_build -O--buildsystem=cargo
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_test -- test --all
debian cargo wrapper: options = ['parallel=2'], profiles = [], parallel =
['-j2'], lto =
debian cargo wrapper: rust_type = x86_64-unknown-linux-gnu, gnu_type =
x86_64-linux-gnu
debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1',
'/usr/bin/cargo', '-Zavoid-dev-deps', 'test', '--verbose', '--verbose', '-j2',
'--target', 'x86_64-unknown-linux-gnu', '--all'],) {}
warning: unused manifest key: disabled
Compiling zeroize v1.8.1
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=zeroize
CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/zeroize-1.8.1
CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/zeroize-1.8.1/Cargo.toml
CARGO_PKG_AUTHORS='The RustCrypto Project Developers'
CARGO_PKG_DESCRIPTION='Securely clear secrets from memory with a simple trait
built on
stable Rust primitives which guarantee memory is zeroed using an
operation will not be '\''optimized away'\'' by the compiler.
Uses a portable pure Rust implementation that works everywhere,
even WASM'\!'
' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='Apache-2.0 OR MIT
[too-long-redacted] stry=/usr/share/cargo/registry`
warning: unnecessary qualification
--> /usr/share/cargo/registry/zeroize-1.8.1/src/lib.rs:415:63
|
415 | volatile_set((self as *mut Self).cast::<u8>(), 0,
mem::size_of::<Self>());
|
^^^^^^^^^^^^^^^^^^^^
|
note: the lint level is defined here
--> /usr/share/cargo/registry/zeroize-1.8.1/src/lib.rs:7:41
|
7 | #![warn(missing_docs, rust_2018_idioms, unused_qualifications)]
| ^^^^^^^^^^^^^^^^^^^^^
help: remove the unnecessary path segments
|
415 - volatile_set((self as *mut Self).cast::<u8>(), 0,
mem::size_of::<Self>());
415 + volatile_set((self as *mut Self).cast::<u8>(), 0,
size_of::<Self>());
|
warning: unnecessary qualification
--> /usr/share/cargo/registry/zeroize-1.8.1/src/lib.rs:460:43
|
460 | let size = self.len().checked_mul(mem::size_of::<Z>()).unwrap();
| ^^^^^^^^^^^^^^^^^
|
help: remove the unnecessary path segments
|
460 - let size = self.len().checked_mul(mem::size_of::<Z>()).unwrap();
460 + let size = self.len().checked_mul(size_of::<Z>()).unwrap();
|
warning: unnecessary qualification
--> /usr/share/cargo/registry/zeroize-1.8.1/src/lib.rs:840:16
|
840 | let size = mem::size_of::<F>();
| ^^^^^^^^^^^^^^^^^
|
help: remove the unnecessary path segments
|
840 - let size = mem::size_of::<F>();
840 + let size = size_of::<F>();
|
Compiling rustls-pki-types v1.13.0
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=rustls_p
[too-long-redacted] stry=/usr/share/cargo/registry`
warning: `zeroize` (lib) generated 3 warnings
Compiling rustls-pemfile v2.2.0 (/<<PKGBUILDDIR>>)
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=rustls_p
[too-long-redacted] stry=/usr/share/cargo/registry`
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=rustls_p
[too-long-redacted] stry=/usr/share/cargo/registry`
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=integrat
[too-long-redacted] stry=/usr/share/cargo/registry`
Finished `test` profile [unoptimized + debuginfo] target(s) in 1.32s
Running `CARGO=/usr/bin/cargo CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>
CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS=''
CARGO_PKG_DESCRIPTION='Basic .pem file parser for keys and certificates'
CARGO_PKG_HOMEPAGE='https://github.com/rustls/pemfile'
CARGO_PKG_LICENSE='Apache-2.0 OR ISC OR MIT' CARGO_PKG_LICENSE_FILE=''
CARGO_PKG_NAME=rustls-pemfile CARGO_PKG_README=README.md
CARGO_PKG_REPOSITORY='https://github.com/rustls/pemfile'
CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=2.2.0 CARGO_PKG_VERSION_MAJOR=2
CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE=''
LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps:/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug:/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib'
/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/rustls_pemfile-a38c4ac11cc18e53`
running 7 tests
test tests::unit::rejects_bad_start ... ok
test tests::unit::rejects_invalid_base64 ... ok
test tests::unit::skips_leading_junk ... ok
test tests::unit::skips_non_utf8_junk ... ok
test tests::unit::skips_trailing_junk ... ok
test tests::unit::skips_unrecognised_section ... ok
test tests::unit::rejects_unclosed_start_section ... FAILED
failures:
---- tests::unit::rejects_unclosed_start_section stdout ----
thread 'tests::unit::rejects_unclosed_start_section' panicked at
src/tests.rs:64:9:
assertion `left == right` failed
left: "Err(Custom { kind: InvalidData, error: \"section end \\\"RSA PRIVATE
KEY\\\" missing\" })"
right: "Err(Custom { kind: InvalidData, error: \"section end \\\"-----END RSA
PRIVATE KEY-----\\\" missing\" })"
stack backtrace:
0: __rustc::rust_begin_unwind
at /usr/src/rustc-1.90.0/library/std/src/panicking.rs:697:5
1: core::panicking::panic_fmt
at /usr/src/rustc-1.90.0/library/core/src/panicking.rs:75:14
2: core::panicking::assert_failed_inner
3: core::panicking::assert_failed
at /usr/src/rustc-1.90.0/library/core/src/panicking.rs:403:5
4: rustls_pemfile::tests::unit::rejects_unclosed_start_section
at /usr/share/cargo/registry/rustls-pemfile-2.2.0/src/tests.rs:64:9
5: rustls_pemfile::tests::unit::rejects_unclosed_start_section::{{closure}}
at
/usr/share/cargo/registry/rustls-pemfile-2.2.0/src/tests.rs:61:40
6: core::ops::function::FnOnce::call_once
at /usr/src/rustc-1.90.0/library/core/src/ops/function.rs:253:5
7: core::ops::function::FnOnce::call_once
at /usr/src/rustc-1.90.0/library/core/src/ops/function.rs:253:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose
backtrace.
failures:
tests::unit::rejects_unclosed_start_section
test result: FAILED. 6 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out;
finished in 0.02s
error: test failed, to rerun pass `--lib`
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 returned exit status 2
--------------------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
Source: rust-rustls-pemfile
Source-Version: 2.2.0-4
Done: Peter Michael Green <[email protected]>
We believe that the bug you reported is fixed in the latest version of
rust-rustls-pemfile, 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.
Peter Michael Green <[email protected]> (supplier of updated
rust-rustls-pemfile 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: SHA256
Format: 1.8
Date: Thu, 06 Nov 2025 13:33:32 +0000
Source: rust-rustls-pemfile
Architecture: source
Version: 2.2.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Rust Maintainers
<[email protected]>
Changed-By: Peter Michael Green <[email protected]>
Closes: 1120220
Changes:
rust-rustls-pemfile (2.2.0-4) unstable; urgency=medium
.
* Team upload.
* Package rustls-pemfile 2.2.0 from crates.io using debcargo 2.7.11
* Tolerate slight changes in error reporting after upgrade of
rust-rustls-pki-types to 1.13 (Closes: #1120220)
Checksums-Sha1:
1e0990531a8bfce89569b21ebb591ce85228aba1 2418 rust-rustls-pemfile_2.2.0-4.dsc
71364f0fa2417753aeffda7688f3aa686c4c1605 4028
rust-rustls-pemfile_2.2.0-4.debian.tar.xz
60bb47a88e9842c5f647827a8c651c7d8e579701 8546
rust-rustls-pemfile_2.2.0-4_source.buildinfo
Checksums-Sha256:
25b7506e0ea19a383d0510e9b628f219d77eba5c781a637e638f56bc93a52ec7 2418
rust-rustls-pemfile_2.2.0-4.dsc
7ed4826501d53da1faba5e754180cc25f718757560e81a5e885d33c4ce8b113c 4028
rust-rustls-pemfile_2.2.0-4.debian.tar.xz
e893fb82a733b5969fc9f686c07d427c6a6f6ef3805c56746acdabdae71a0c41 8546
rust-rustls-pemfile_2.2.0-4_source.buildinfo
Files:
ee79973190f3caa6b2ec849d025e7c90 2418 rust optional
rust-rustls-pemfile_2.2.0-4.dsc
fb880657f608f28f9d3112280546707d 4028 rust optional
rust-rustls-pemfile_2.2.0-4.debian.tar.xz
54c51a3592b83c53f272b0b85afd0e3f 8546 rust optional
rust-rustls-pemfile_2.2.0-4_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCAAyFiEEU0DQATYMplbjSX63DEjqKnqP/XsFAmkMpOUUHHBsdWd3YXNo
QGRlYmlhbi5vcmcACgkQDEjqKnqP/XsOug//WUieKl/Auf3MQWC+iheUb8pNnBiJ
l64YycKtX0exum6QvtxhWxCCwRtsodUm0wdeHDQeR3fK2FcUuZsph3ktDFRi89Yr
rlME6JmixU6frb3Oofq/qO8EaPzxtaU/xbWPBPpdt9DEaT+6IJ+0QymmMP0tAner
HonR/cIOAb32mlORRbf4paJz4SdVdhoxQgT3cLUn0y78if3LrToR/glc44f40gm1
6Xu9rGoTGc+FxKQuBLF3Tv0bthCo9k/FG0J0ubRaZTFsUfOreDuw9UNtDj+ioCk3
ELnN+CheYcNgcfxUF1VVUS27zQgqlMRhJk/Kw6n7xUBoAERWGLgp7Urzn4RYWMtZ
3P+HD5x6SVx0R6u4xJOKdt/3mGfqQoyAcUvZ/0j5dzqmNV4ZrwqeUveoiJ6Yj5fn
VlFJjsiYky4zDfaC5ddqQU9SAdxDRri049RDcXAj19mJji0SMucYnYir+jQseESi
864oHAhvcvSPtncSJ7xM5PfzRzxpsliHpbc7SSHy2vGh0xEpIS9Qsqdy8BfdSpKv
XNhw3QhHSBAt7CqrvN9UuCdS945EMoFV4hGMcrbv/hbpCDAEGsdc3UZuaclCzk+x
yIDeA5KPID3Rjpk3QpobcwbEQ12UaHRKvq8S/fx792/ZjOFtcu2HGCgbWJfn28M+
AOehQErX6N35boI=
=v8PQ
-----END PGP SIGNATURE-----
pgpVhF5kId2MT.pgp
Description: PGP signature
--- End Message ---