hyper-server 0.6.0

High level server for hyper and tower.
Documentation
Build #2075765 2025-05-04 18:26:57

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.

# rustc version
rustc 1.88.0-nightly (d6a325d93 2025-05-03)# docs.rs version
docsrs 0.6.0 (ee9a3fe6 2025-03-28)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/hyper-server-0.6.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/hyper-server-0.6.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/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\", \"-20250503-1.88.0-nightly-d6a325d93\", \"--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] [stdout] 56f8cadae54012e68c747a649283348fc97a7dfc2e890ed1422fd2c04c58b99f
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "56f8cadae54012e68c747a649283348fc97a7dfc2e890ed1422fd2c04c58b99f", 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" "56f8cadae54012e68c747a649283348fc97a7dfc2e890ed1422fd2c04c58b99f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "56f8cadae54012e68c747a649283348fc97a7dfc2e890ed1422fd2c04c58b99f", kill_on_drop: false }`
[INFO] [stdout] 56f8cadae54012e68c747a649283348fc97a7dfc2e890ed1422fd2c04c58b99f