[Pkg-rust-maintainers] Bug#1119777: rust-quinn: FTBFS: error[E0061]: this function takes 1 argument but 0 arguments were supplied

Santiago Vila sanvila at debian.org
Fri Oct 31 11:29:48 GMT 2025


Package: src:rust-quinn
Version: 0.11.6-1
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/202510/

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-quinn, 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 = 

[... snipped ...]

    |                  ----------- associated items in this trait
246 |     #[inline(always)]
247 |     fn lanes() -> usize {
    |        ^^^^^
...
255 |     fn extract(self, index: usize) -> Self {
    |        ^^^^^^^
...
260 |     fn replace(self, index: usize, new_value: Self) -> Self {
    |        ^^^^^^^

warning: method `all` is never used
   --> /usr/share/cargo/registry/rand-0.8.5/src/distributions/utils.rs:268:8
    |
266 | pub(crate) trait BoolAsSIMD: Sized {
    |                  ---------- method in this trait
267 |     fn any(self) -> bool;
268 |     fn all(self) -> bool;
    |        ^^^

[quinn-udp 0.5.9] cargo:rustc-check-cfg=cfg(apple)
[quinn-udp 0.5.9] cargo:rustc-check-cfg=cfg(bsd)
warning: hiding a lifetime that's elided elsewhere is confusing
   --> /usr/share/cargo/registry/rand-0.8.5/src/seq/mod.rs:115:27
    |
115 |     fn choose_multiple<R>(&self, rng: &mut R, amount: usize) -> SliceChooseIter<Self, Self::Item>
    |                           ^^^^^ the lifetime is elided here     --------------------------------- the same lifetime is hidden here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
    |
115 |     fn choose_multiple<R>(&self, rng: &mut R, amount: usize) -> SliceChooseIter<'_, Self, Self::Item>
    |                                                                                 +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /usr/share/cargo/registry/rand-0.8.5/src/seq/mod.rs:221:9
    |
221 |         &self, rng: &mut R, amount: usize, weight: F,
    |         ^^^^^ the lifetime is elided here
222 |     ) -> Result<SliceChooseIter<Self, Self::Item>, WeightedError>
    |                 --------------------------------- the same lifetime is hidden here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
222 |     ) -> Result<SliceChooseIter<'_, Self, Self::Item>, WeightedError>
    |                                 +++

[quinn-udp 0.5.9] cargo:rustc-check-cfg=cfg(solarish)
[quinn-udp 0.5.9] cargo:rustc-check-cfg=cfg(apple_fast)
[quinn-udp 0.5.9] cargo:rustc-check-cfg=cfg(apple_slow)
   Compiling mio v1.0.2
warning: hiding a lifetime that's elided elsewhere is confusing
   --> /usr/share/cargo/registry/rand-0.8.5/src/seq/mod.rs:515:27
    |
515 |     fn choose_multiple<R>(&self, rng: &mut R, amount: usize) -> SliceChooseIter<Self, Self::Item>
    |                           ^^^^^ the lifetime is elided here     --------------------------------- the same lifetime is hidden here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
515 |     fn choose_multiple<R>(&self, rng: &mut R, amount: usize) -> SliceChooseIter<'_, Self, Self::Item>
    |                                                                                 +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /usr/share/cargo/registry/rand-0.8.5/src/seq/mod.rs:565:9
    |
565 |         &self, rng: &mut R, amount: usize, weight: F,
    |         ^^^^^ the lifetime is elided here
566 |     ) -> Result<SliceChooseIter<Self, Self::Item>, WeightedError>
    |                 --------------------------------- the same lifetime is hidden here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
566 |     ) -> Result<SliceChooseIter<'_, Self, Self::Item>, WeightedError>
    |                                 +++

     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=mio CARG [too-long-redacted] stry=/usr/share/cargo/registry`
warning: `rand` (lib) generated 73 warnings
   Compiling rustc-hash v2.0.0
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=rustc_ha [too-long-redacted] stry=/usr/share/cargo/registry`
   Compiling bytes v1.10.1
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=bytes CA [too-long-redacted] stry=/usr/share/cargo/registry`
   Compiling tokio v1.47.1
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=tokio CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/tokio-1.47.1 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/tokio-1.47.1/Cargo.toml CARGO_PKG_AUTHORS='Tokio Contributors <team at tokio.rs>' CARGO_PKG_DESCRIPTION='An event-driven, non-blocking I/O platform for writing asynchronous I/O
backed applications.
' CARGO_PKG_HOMEPAGE='https://tokio.rs' CARGO_PKG_LICENSE=MI [too-long-redacted] stry=/usr/share/cargo/registry`
   Compiling quinn-proto v0.11.9
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=quinn_pr [too-long-redacted] uild/ring-921156f2a7b944be/out`
warning: unexpected `cfg` condition value: `rustls-aws-lc-rs`
  --> /usr/share/cargo/registry/quinn-proto-0.11.9/src/lib.rs:34:21
   |
34 | #[cfg(all(test, any(feature = "rustls-aws-lc-rs", feature = "rustls-ring")))]
   |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: expected values for `feature` are: `arbitrary`, `default`, `log`, `platform-verifier`, `ring`, `rustls`, `rustls-log`, and `rustls-ring`
   = help: consider adding `rustls-aws-lc-rs` as a feature in `Cargo.toml`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
   = note: requested on the command line with `-W unexpected-cfgs`

warning: unexpected `cfg` condition value: `rustls-aws-lc-rs`
 --> /usr/share/cargo/registry/quinn-proto-0.11.9/src/config.rs:8:11
  |
8 | #[cfg(any(feature = "rustls-aws-lc-rs", feature = "rustls-ring"))]
  |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: expected values for `feature` are: `arbitrary`, `default`, `log`, `platform-verifier`, `ring`, `rustls`, `rustls-log`, and `rustls-ring`
  = help: consider adding `rustls-aws-lc-rs` as a feature in `Cargo.toml`
  = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `rustls-aws-lc-rs`
  --> /usr/share/cargo/registry/quinn-proto-0.11.9/src/config.rs:10:11
   |
10 | #[cfg(any(feature = "rustls-aws-lc-rs", feature = "rustls-ring"))]
   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: expected values for `feature` are: `arbitrary`, `default`, `log`, `platform-verifier`, `ring`, `rustls`, `rustls-log`, and `rustls-ring`
   = help: consider adding `rustls-aws-lc-rs` as a feature in `Cargo.toml`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `rustls-aws-lc-rs`
  --> /usr/share/cargo/registry/quinn-proto-0.11.9/src/config.rs:14:11
   |
14 | #[cfg(any(feature = "rustls-aws-lc-rs", feature = "rustls-ring"))]
   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: expected values for `feature` are: `arbitrary`, `default`, `log`, `platform-verifier`, `ring`, `rustls`, `rustls-log`, and `rustls-ring`
   = help: consider adding `rustls-aws-lc-rs` as a feature in `Cargo.toml`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `aws-lc-rs`
   --> /usr/share/cargo/registry/quinn-proto-0.11.9/src/config.rs:778:11
    |
778 | #[cfg(any(feature = "aws-lc-rs", feature = "ring"))]
    |           ^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `arbitrary`, `default`, `log`, `platform-verifier`, `ring`, `rustls`, `rustls-log`, and `rustls-ring`
    = help: consider adding `aws-lc-rs` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `rustls-aws-lc-rs`
   --> /usr/share/cargo/registry/quinn-proto-0.11.9/src/config.rs:941:11
    |
941 | #[cfg(any(feature = "rustls-aws-lc-rs", feature = "rustls-ring"))]
    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `arbitrary`, `default`, `log`, `platform-verifier`, `ring`, `rustls`, `rustls-log`, and `rustls-ring`
    = help: consider adding `rustls-aws-lc-rs` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `aws-lc-rs`
   --> /usr/share/cargo/registry/quinn-proto-0.11.9/src/config.rs:956:11
    |
956 | #[cfg(any(feature = "aws-lc-rs", feature = "ring"))]
    |           ^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `arbitrary`, `default`, `log`, `platform-verifier`, `ring`, `rustls`, `rustls-log`, and `rustls-ring`
    = help: consider adding `aws-lc-rs` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `rustls-aws-lc-rs`
    --> /usr/share/cargo/registry/quinn-proto-0.11.9/src/config.rs:1058:11
     |
1058 | #[cfg(any(feature = "rustls-aws-lc-rs", feature = "rustls-ring"))]
     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: expected values for `feature` are: `arbitrary`, `default`, `log`, `platform-verifier`, `ring`, `rustls`, `rustls-log`, and `rustls-ring`
     = help: consider adding `rustls-aws-lc-rs` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `aws-lc-rs`
   --> /usr/share/cargo/registry/quinn-proto-0.11.9/src/config.rs:781:19
    |
781 |         #[cfg(all(feature = "aws-lc-rs", not(feature = "ring")))]
    |                   ^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `arbitrary`, `default`, `log`, `platform-verifier`, `ring`, `rustls`, `rustls-log`, and `rustls-ring`
    = help: consider adding `aws-lc-rs` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `aws-lc-rs`
   --> /usr/share/cargo/registry/quinn-proto-0.11.9/src/config.rs:962:19
    |
962 |         #[cfg(all(feature = "aws-lc-rs", not(feature = "ring")))]
    |                   ^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `arbitrary`, `default`, `log`, `platform-verifier`, `ring`, `rustls`, `rustls-log`, and `rustls-ring`
    = help: consider adding `aws-lc-rs` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `aws-lc-rs`
  --> /usr/share/cargo/registry/quinn-proto-0.11.9/src/crypto.rs:21:11
   |
21 | #[cfg(any(feature = "aws-lc-rs", feature = "ring"))]
   |           ^^^^^^^^^^^^^^^^^^^^^
   |
   = note: expected values for `feature` are: `arbitrary`, `default`, `log`, `platform-verifier`, `ring`, `rustls`, `rustls-log`, and `rustls-ring`
   = help: consider adding `aws-lc-rs` as a feature in `Cargo.toml`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `rustls-aws-lc-rs`
  --> /usr/share/cargo/registry/quinn-proto-0.11.9/src/crypto.rs:24:11
   |
24 | #[cfg(any(feature = "rustls-aws-lc-rs", feature = "rustls-ring"))]
   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: expected values for `feature` are: `arbitrary`, `default`, `log`, `platform-verifier`, `ring`, `rustls`, `rustls-log`, and `rustls-ring`
   = help: consider adding `rustls-aws-lc-rs` as a feature in `Cargo.toml`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `aws-lc-rs`
 --> /usr/share/cargo/registry/quinn-proto-0.11.9/src/crypto/ring_like.rs:1:11
  |
1 | #[cfg(all(feature = "aws-lc-rs", not(feature = "ring")))]
  |           ^^^^^^^^^^^^^^^^^^^^^
  |
  = note: expected values for `feature` are: `arbitrary`, `default`, `log`, `platform-verifier`, `ring`, `rustls`, `rustls-log`, and `rustls-ring`
  = help: consider adding `aws-lc-rs` as a feature in `Cargo.toml`
  = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `aws-lc-rs`
 --> /usr/share/cargo/registry/quinn-proto-0.11.9/src/crypto/rustls.rs:3:11
  |
3 | #[cfg(all(feature = "aws-lc-rs", not(feature = "ring")))]
  |           ^^^^^^^^^^^^^^^^^^^^^
  |
  = note: expected values for `feature` are: `arbitrary`, `default`, `log`, `platform-verifier`, `ring`, `rustls`, `rustls-log`, and `rustls-ring`
  = help: consider adding `aws-lc-rs` as a feature in `Cargo.toml`
  = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `rustls-aws-lc-rs`
   --> /usr/share/cargo/registry/quinn-proto-0.11.9/src/crypto/rustls.rs:552:15
    |
552 |     #[cfg(all(feature = "rustls-aws-lc-rs", not(feature = "rustls-ring")))]
    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `arbitrary`, `default`, `log`, `platform-verifier`, `ring`, `rustls`, `rustls-log`, and `rustls-ring`
    = help: consider adding `rustls-aws-lc-rs` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `aws-lc-rs`
   --> /usr/share/cargo/registry/quinn-proto-0.11.9/src/token.rs:166:21
    |
166 | #[cfg(all(test, any(feature = "aws-lc-rs", feature = "ring")))]
    |                     ^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `arbitrary`, `default`, `log`, `platform-verifier`, `ring`, `rustls`, `rustls-log`, and `rustls-ring`
    = help: consider adding `aws-lc-rs` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

error[E0061]: this function takes 1 argument but 0 arguments were supplied
    --> /usr/share/cargo/registry/quinn-proto-0.11.9/src/config.rs:1064:13
     |
1064 |             rustls_platform_verifier::Verifier::new().expect("Failed to load TLS certificates"),
     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-- argument #1 of type `Arc<CryptoProvider>` is missing
     |
note: associated function defined here
    --> /usr/share/cargo/registry/rustls-platform-verifier-0.6.1/src/verification/others.rs:30:12
     |
  30 |     pub fn new(crypto_provider: Arc<CryptoProvider>) -> Result<Self, TlsError> {
     |            ^^^
help: provide the argument
     |
1064 |             rustls_platform_verifier::Verifier::new(/* Arc<CryptoProvider> */).expect("Failed to load TLS certificates"),
     |                                                     +++++++++++++++++++++++++

For more information about this error, try `rustc --explain E0061`.
warning: `quinn-proto` (lib) generated 16 warnings
error: could not compile `quinn-proto` (lib) due to 1 previous error; 16 warnings emitted

Caused by:
  process didn't exit successfully: `CARGO=/usr/bin/cargo CA [too-long-redacted] 2a7b944be/out` (exit status: 1)
warning: build failed, waiting for other jobs to finish...
dh_auto_test: error: /usr/share/cargo/bin/cargo build returned exit code 101
make: *** [debian/rules:3: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-rust-maintainers mailing list