hyper-server 0.6.0

High level server for hyper and tower.
Documentation

Build #3481029 2026-06-04 18:01:52

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# error kind ExecutionFailed

# pre-build errors command failed: exit status: 101

# rustc version rustc 1.98.0-nightly (b354133fb 2026-06-03)

# docs.rs version docsrs 0.0.0 (39849b9c22c419f6b690c8d2213455bc7426a6b8 2026-06-03 )

# build log [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "6cf58b4094f10c4a9006682090c71cd2c8cf38c6e57c2a53e889b22981a03c34" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260603-1.98.0-nightly-b354133fb\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu" "-Zunstable-options" "-Zrustdoc-scrape-examples", kill_on_drop: false }` [INFO] [stderr] Checking hyper-server v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/proxy_protocol/mod.rs:333:13 [INFO] [stderr] | [INFO] [stderr] 332 | ProxyProtocolAcceptorFuture::new( [INFO] [stderr] | -------------------------------- arguments to this function are incorrect [INFO] [stderr] 333 | timeout(self.parsing_timeout, future), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `dyn futures_util::Future`, found future [INFO] [stderr] | [INFO] [stderr] = note: expected struct `tokio::time::Timeout<Pin<Box<dyn futures_util::Future<Output = Result<(I, Option<std::net::SocketAddr>), std::io::Error>> + Send>>>` [INFO] [stderr] found struct `tokio::time::Timeout<Pin<Box<impl futures_util::Future<Output = Result<(I, Option<std::net::SocketAddr>), std::io::Error>>>>>` [INFO] [stderr] = help: you can box the `impl futures_util::Future<Output = Result<(I, Option<std::net::SocketAddr>), std::io::Error>>` to coerce it to `Box<dyn futures_util::Future<Output = Result<(I, Option<std::net::SocketAddr>), std::io::Error>> + Send>`, but you'll have to change the expected type as well [INFO] [stderr] note: associated function defined here [INFO] [stderr] --> src/proxy_protocol/future.rs:40:19 [INFO] [stderr] | [INFO] [stderr] 40 | pub(crate) fn new(future: Timeout<F>, acceptor: A, service: S) -> Self { [INFO] [stderr] | ^^^ ------------------ [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `hyper-server` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "6cf58b4094f10c4a9006682090c71cd2c8cf38c6e57c2a53e889b22981a03c34", kill_on_drop: false }`