[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Quoting Jonas Smedegaard (2025-08-06 23:37:24)
> 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.

Ping...

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature


Reply to: