Package: rust-rustls
Version: 0.23.46+ds-1
Severity: serious
The autopkgttest for rust-rustls is failing on amd64.
901s error[E0599]: no associated function or constant named
`builder_with_provider` found for struct `client_conn::ClientConfig` in the
current scope
901s --> src/client/test.rs:467:40
901s |
901s 467 | let mut config =
ClientConfig::builder_with_provider(x25519_provider().into())
901s | ^^^^^^^^^^^^^^^^^^^^^
associated function or constant not found in `client_conn::ClientConfig`
901s |
901s ::: src/client/client_conn.rs:164:1
901s |
901s 164 | pub struct ClientConfig {
901s | ----------------------- associated function or constant
`builder_with_provider` not found for this struct
901s |
901s help: there is an associated function `builder_with_details` with a
similar name
901s --> src/client/client_conn.rs:378:5
901s |
901s 378 | / pub fn builder_with_details(
901s 379 | | provider: Arc<CryptoProvider>,
901s 380 | | time_provider: Arc<dyn TimeProvider>,
901s 381 | | ) -> ConfigBuilder<Self, WantsVersions> {
901s | |___________________________________________^
901s
901s error[E0433]: cannot find type `ClientConnection` in this scope
901s --> src/client/test.rs:474:13
901s |
901s 474 | ClientConnection::new(config.into(),
ServerName::try_from("localhost").unwrap())
901s | ^^^^^^^^^^^^^^^^ use of undeclared type
`ClientConnection`
901s |
901s note: found an item that was configured out
901s --> src/lib.rs:624:17
901s |
901s 623 | #[cfg(feature = "std")]
901s | --------------- the item is gated behind the `std` feature
901s 624 | pub use client::ClientConnection;
901s | ^^^^^^^^^^^^^^^^
<<-snip-->
904s rustls:ring FAIL non-zero exit status 101
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.