[Pkg-rust-maintainers] Bug#1110490: crate actix-http fails to build with feature "openssl": use of undeclared crate or module `actix_tls`

Jonas Smedegaard dr at jones.dk
Wed Aug 6 22:37:24 BST 2025


Package: librust-actix-http-dev
Version: 3.9.0-3
Severity: grave

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

Building a package with crate actix-http and feature "openssl" fails:

error[E0433]: failed to resolve: use of undeclared crate or module `actix_tls`
  --> /build/atomic-data-rust-0.40.0+ds/debian/cargo_registry/actix-http-3.9.0/src/h1/service.rs:96:9
   |
96 |     use actix_tls::accept::{
   |         ^^^^^^^^^ use of undeclared crate or module `actix_tls`
   |
help: there is a crate or module with a similar name
   |
96 |     use actix_utils::accept::{
   |         ~~~~~~~~~~~

error[E0433]: failed to resolve: use of undeclared crate or module `actix_tls`
  --> /build/atomic-data-rust-0.40.0+ds/debian/cargo_registry/actix-http-3.9.0/src/h2/service.rs:98:9
   |
98 |     use actix_tls::accept::{
   |         ^^^^^^^^^ use of undeclared crate or module `actix_tls`
   |
help: there is a crate or module with a similar name
   |
98 |     use actix_utils::accept::{
   |         ~~~~~~~~~~~

error[E0433]: failed to resolve: use of undeclared crate or module `actix_tls`
   --> /build/atomic-data-rust-0.40.0+ds/debian/cargo_registry/actix-http-3.9.0/src/service.rs:264:9
    |
264 |     use actix_tls::accept::{
    |         ^^^^^^^^^ use of undeclared crate or module `actix_tls`
    |
help: there is a crate or module with a similar name
    |
264 |     use actix_utils::accept::{
    |         ~~~~~~~~~~~

error[E0412]: cannot find type `TlsAcceptorConfig` in this scope
   --> /build/atomic-data-rust-0.40.0+ds/debian/cargo_registry/actix-http-3.9.0/src/service.rs:317:34
    |
317 |             tls_acceptor_config: TlsAcceptorConfig,
    |                                  ^^^^^^^^^^^^^^^^^ not found in this scope

Apparently the package has been crudely patched to ignore upstream
declared dependency on actix-tls.

 - Jonas


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

wsG7BAEBCgBvBYJok8sRCRAsfDFGwaABIUcUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmcKXGgAQhz90sqLJL1rMi7uGLKt7P6eDwKUoH0aCdJw
+BYhBJ/j6cNmkaaf9TzGhCx8MUbBoAEhAADHPw/+LdTHQuCGIPy4uf5ZsLnDxg2Z
vkdjLerZ91/dv7gNDuoCnN/yUXn0z9Fe75a6XGrymU2XVtM3dvso4mjqoI4jQzXy
89YQZ76sxE7bmzkF+TnGN+OjFhSDULj0Oru7w22eTdaogWaRBRsP7+q0h1xlnVTb
d1OHPlRJVww/PdQL0ZebClG5StNpymYpdkU2kg7xU9yttOdgSY6fE8LzuFoZwe+9
1/vD416zPlXwAYe5186xMk7Tk+LXCvwr1kuEPOiehDfaRl8y0tUVvuWiTLCOZ4oT
IHKtrEfJqsqNyypbRpfgwES6w6I3C1+sxE2iK8z37abFn7sprtkXGMPT/cKruLPk
JySr2TuYsdNLu7LLOp9IJKhq/Y6bVOAMeO19ERJeRje403e3FwZh3bZYtEcYMsxv
IyYRz3iIejUJLBXMGmaPgjHfj8A+dQcxqBM0bBSlyUoMMiFncLAdBalM2p84IGDz
OefafDrAaKx4H5m2ouSI3QOg54KlGND+v9qWHl6il623Et0In9KaDzs55oAGKTYm
R0MeR9nFESbeovC1ry7HP+9/Y20KtRiQDScmj9Ha89Y+pht/CkdpWq/xVNEQfCiW
yaYHUYziagSm6hPAVsab65t6xzTeo3qTkKv6hxsSURC053NkeyYUGwx73+TyH9Kb
IQ37540RiX/+kzu+mko=
=rKi8
-----END PGP SIGNATURE-----



More information about the Pkg-rust-maintainers mailing list