[Pkg-rust-maintainers] Bug#1129911: rust-h3-quinn: FTBFS: error[E0616]: field `0` of struct `quinn::StreamId` is private
Santiago Vila
sanvila at debian.org
Thu Mar 5 23:49:43 GMT 2026
Package: src:rust-h3-quinn
Version: 0.0.7-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/202603/
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-h3-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 ...]
= help: consider adding `bloom` 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.13/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.13/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.13/src/token.rs:410:21
|
410 | #[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
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=quinn_ud [too-long-redacted] -check-cfg 'cfg(wasm_browser)'`
Running `CARGO=/usr/bin/cargo CARGO_CFG_FEATURE=futures [too-long-redacted] 01e5a80d471/build-script-build`
[quinn 0.11.9] cargo:rustc-check-cfg=cfg(wasm_browser)
Compiling futures-executor v0.3.31
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=futures_executor CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/futures-executor-0.3.31 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/futures-executor-0.3.31/Cargo.toml CARGO_PKG_AUTHORS='' CARGO_PKG_DESCRIPTION='Executors for asynchronous tasks based on the futures-rs library.
' CARGO_PKG_HOMEPAGE='https://rust-lang.github.io/futures-rs [too-long-redacted] stry=/usr/share/cargo/registry`
Compiling fastrand v2.3.0
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=fastrand [too-long-redacted] stry=/usr/share/cargo/registry`
Compiling h3 v0.0.6
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=h3 CARGO [too-long-redacted] stry=/usr/share/cargo/registry`
warning: hiding a lifetime that's elided elsewhere is confusing
--> /usr/share/cargo/registry/h3-0.0.6/src/server/connection.rs:458:26
|
458 | pub fn read_datagram(&mut self) -> ReadDatagram<C, B> {
| ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided 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
|
458 | pub fn read_datagram(&mut self) -> ReadDatagram<'_, C, B> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /usr/share/cargo/registry/h3-0.0.6/src/buf.rs:25:19
|
25 | pub fn cursor(&self) -> Cursor<T> {
| ^^^^^ ^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
25 | pub fn cursor(&self) -> Cursor<'_, T> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /usr/share/cargo/registry/h3-0.0.6/src/connection.rs:48:17
|
48 | pub fn read(&self, panic_msg: &'static str) -> RwLockReadGuard<SharedState> {
| ^^^^^ 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
|
48 | pub fn read(&self, panic_msg: &'static str) -> RwLockReadGuard<'_, SharedState> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /usr/share/cargo/registry/h3-0.0.6/src/connection.rs:52:18
|
52 | pub fn write(&self, panic_msg: &'static str) -> RwLockWriteGuard<SharedState> {
| ^^^^^ 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
|
52 | pub fn write(&self, panic_msg: &'static str) -> RwLockWriteGuard<'_, SharedState> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /usr/share/cargo/registry/h3-0.0.6/src/qpack/dynamic.rs:261:20
|
261 | pub fn decoder(&self, base: usize) -> DynamicTableDecoder {
| ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
261 | pub fn decoder(&self, base: usize) -> DynamicTableDecoder<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /usr/share/cargo/registry/h3-0.0.6/src/qpack/dynamic.rs:265:20
|
265 | pub fn encoder(&mut self, stream_id: u64) -> DynamicTableEncoder {
| ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
265 | pub fn encoder(&mut self, stream_id: u64) -> DynamicTableEncoder<'_> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /usr/share/cargo/registry/h3-0.0.6/src/qpack/prefix_string/decode.rs:315:21
|
315 | fn hpack_decode(&self) -> DecodeIter;
| ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
315 | fn hpack_decode(&self) -> DecodeIter<'_>;
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> /usr/share/cargo/registry/h3-0.0.6/src/qpack/prefix_string/decode.rs:319:21
|
319 | fn hpack_decode(&self) -> DecodeIter {
| ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
319 | fn hpack_decode(&self) -> DecodeIter<'_> {
| ++++
warning: `h3` (lib) generated 8 warnings
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=quinn CA [too-long-redacted] -check-cfg 'cfg(wasm_browser)'`
warning: unexpected `cfg` condition value: `bloom`
--> /usr/share/cargo/registry/quinn-0.11.9/src/lib.rs:60:7
|
60 | #[cfg(feature = "bloom")]
| ^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `async-io`, `async-std`, `default`, `futures-io`, `lock_tracking`, `log`, `platform-verifier`, `ring`, `runtime-async-std`, `runtime-smol`, `runtime-tokio`, `rustls`, `rustls-log`, `rustls-ring`, and `smol`
= help: consider adding `bloom` 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: `#[warn(unexpected_cfgs)]` on by default
warning: unexpected `cfg` condition value: `qlog`
--> /usr/share/cargo/registry/quinn-0.11.9/src/lib.rs:71:7
|
71 | #[cfg(feature = "qlog")]
| ^^^^^^^^^^------
| |
| help: there is a expected value with a similar name: `"log"`
|
= note: expected values for `feature` are: `async-io`, `async-std`, `default`, `futures-io`, `lock_tracking`, `log`, `platform-verifier`, `ring`, `runtime-async-std`, `runtime-smol`, `runtime-tokio`, `rustls`, `rustls-log`, `rustls-ring`, and `smol`
= help: consider adding `qlog` 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-0.11.9/src/lib.rs:73:11
|
73 | #[cfg(any(feature = "rustls-aws-lc-rs", feature = "rustls-ring"))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `async-io`, `async-std`, `default`, `futures-io`, `lock_tracking`, `log`, `platform-verifier`, `ring`, `runtime-async-std`, `runtime-smol`, `runtime-tokio`, `rustls`, `rustls-log`, `rustls-ring`, and `smol`
= 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-0.11.9/src/endpoint.rs:15:34
|
15 | #[cfg(all(not(wasm_browser), any(feature = "aws-lc-rs", feature = "ring")))]
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `async-io`, `async-std`, `default`, `futures-io`, `lock_tracking`, `log`, `platform-verifier`, `ring`, `runtime-async-std`, `runtime-smol`, `runtime-tokio`, `rustls`, `rustls-log`, `rustls-ring`, and `smol`
= 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-0.11.9/src/endpoint.rs:29:34
|
29 | #[cfg(all(not(wasm_browser), any(feature = "aws-lc-rs", feature = "ring"),))]
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `async-io`, `async-std`, `default`, `futures-io`, `lock_tracking`, `log`, `platform-verifier`, `ring`, `runtime-async-std`, `runtime-smol`, `runtime-tokio`, `rustls`, `rustls-log`, `rustls-ring`, and `smol`
= 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-0.11.9/src/endpoint.rs:71:38
|
71 | #[cfg(all(not(wasm_browser), any(feature = "aws-lc-rs", feature = "ring")))] // `EndpointConfig::default()` is only available with these
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `async-io`, `async-std`, `default`, `futures-io`, `lock_tracking`, `log`, `platform-verifier`, `ring`, `runtime-async-std`, `runtime-smol`, `runtime-tokio`, `rustls`, `rustls-log`, `rustls-ring`, and `smol`
= 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-0.11.9/src/endpoint.rs:101:38
|
101 | #[cfg(all(not(wasm_browser), any(feature = "aws-lc-rs", feature = "ring")))] // `EndpointConfig::default()` is only available with these
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `async-io`, `async-std`, `default`, `futures-io`, `lock_tracking`, `log`, `platform-verifier`, `ring`, `runtime-async-std`, `runtime-smol`, `runtime-tokio`, `rustls`, `rustls-log`, `rustls-ring`, and `smol`
= 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: `quinn` (lib) generated 7 warnings
Compiling futures v0.3.31
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=futures CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/futures-0.3.31 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/futures-0.3.31/Cargo.toml CARGO_PKG_AUTHORS='' CARGO_PKG_DESCRIPTION='An implementation of futures and streams featuring zero allocations,
composability, and iterator-like interfaces.
' CARGO_PKG_HOMEPAGE='https://rust-lang.github.io/futures-rs [too-long-redacted] stry=/usr/share/cargo/registry`
warning: unexpected `cfg` condition value: `compat`
--> /usr/share/cargo/registry/futures-0.3.31/src/lib.rs:200:7
|
200 | #[cfg(feature = "compat")]
| ^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `alloc`, `async-await`, `bilock`, `default`, `executor`, `futures-executor`, `std`, `thread-pool`, `unstable`, and `write-all-vectored`
= help: consider adding `compat` 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: `futures` (lib) generated 1 warning
Compiling tokio-util v0.7.17
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=tokio_util CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/tokio-util-0.7.17 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/tokio-util-0.7.17/Cargo.toml CARGO_PKG_AUTHORS='Tokio Contributors <team at tokio.rs>' CARGO_PKG_DESCRIPTION='Additional utilities for working with Tokio.
' CARGO_PKG_HOMEPAGE='https://tokio.rs' CARGO_PKG_LICENSE=MI [too-long-redacted] stry=/usr/share/cargo/registry`
warning: `quinn-proto` (lib) generated 50 warnings
Compiling h3-quinn v0.0.7 (/<<PKGBUILDDIR>>)
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=h3_quinn [too-long-redacted] stry=/usr/share/cargo/registry`
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=h3_quinn [too-long-redacted] stry=/usr/share/cargo/registry`
error[E0616]: field `0` of struct `quinn::StreamId` is private
--> src/lib.rs:503:14
|
503 | .0
| ^ private field
error[E0616]: field `0` of struct `quinn::StreamId` is private
--> src/lib.rs:650:14
|
650 | .0
| ^ private field
For more information about this error, try `rustc --explain E0616`.
error: could not compile `h3-quinn` (lib) due to 2 previous errors
Caused by:
process didn't exit successfully: `CARGO=/usr/bin/cargo CA [too-long-redacted] argo/registry` (exit status: 1)
warning: build failed, waiting for other jobs to finish...
error: could not compile `h3-quinn` (lib test) due to 2 previous errors
Caused by:
process didn't exit successfully: `CARGO=/usr/bin/cargo CA [too-long-redacted] argo/registry` (exit status: 1)
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 failed with exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-rust-maintainers
mailing list