http-client-2 6.6.3

Types and traits for http clients.
Build #2339251 2025-07-22 05:03:11

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.90.0-nightly (9748d87dc 2025-07-21)# docs.rs version
docsrs 0.6.0 (c1135d19 2025-07-02)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/http-client-2-6.6.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/http-client-2-6.6.3/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "docs" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \'feature=\"docs\"\', \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250721-1.90.0-nightly-9748d87dc\", \"--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", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] fd42011fc50cb14e4bf4a667d50590805420c36aa718581f54232b0020dc6827
[INFO] running `Command { std: "docker" "start" "-a" "fd42011fc50cb14e4bf4a667d50590805420c36aa718581f54232b0020dc6827", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: print_client_debug
[INFO] [stderr]     If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr]     to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting http-client-2 v6.6.3 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved import `hyper::body::HttpBody`
[INFO] [stderr]   --> src/hyper.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use hyper::body::HttpBody;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^ no `HttpBody` in `body`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `hyper::client::connect`
[INFO] [stderr]   --> src/hyper.rs:12:20
[INFO] [stderr]    |
[INFO] [stderr] 12 | use hyper::client::connect::Connect;
[INFO] [stderr]    |                    ^^^^^^^ could not find `connect` in `client`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Body` in crate `hyper`
[INFO] [stderr]   --> src/hyper.rs:19:43
[INFO] [stderr]    |
[INFO] [stderr] 19 | type HyperRequest = hyper::Request<hyper::Body>;
[INFO] [stderr]    |                                           ^^^^ not found in `hyper`
[INFO] [stderr]    |
[INFO] [stderr] help: consider importing one of these items
[INFO] [stderr]    |
[INFO] [stderr] 3  + use crate::Body;
[INFO] [stderr]    |
[INFO] [stderr] 3  + use crate::http_types::Body;
[INFO] [stderr]    |
[INFO] [stderr] 3  + use http_types::Body;
[INFO] [stderr]    |
[INFO] [stderr] 3  + use hyper::body::Body;
[INFO] [stderr]    |
[INFO] [stderr]    = and 1 other candidate
[INFO] [stderr] help: if you import `Body`, refer to it directly
[INFO] [stderr]    |
[INFO] [stderr] 19 - type HyperRequest = hyper::Request<hyper::Body>;
[INFO] [stderr] 19 + type HyperRequest = hyper::Request<Body>;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Body` in crate `hyper`
[INFO] [stderr]   --> src/hyper.rs:23:54
[INFO] [stderr]    |
[INFO] [stderr] 23 |     fn dyn_request(&self, req: hyper::Request<hyper::Body>) -> hyper::client::ResponseFuture;
[INFO] [stderr]    |                                                      ^^^^ not found in `hyper`
[INFO] [stderr]    |
[INFO] [stderr] help: consider importing one of these items
[INFO] [stderr]    |
[INFO] [stderr] 3  + use crate::Body;
[INFO] [stderr]    |
[INFO] [stderr] 3  + use crate::http_types::Body;
[INFO] [stderr]    |
[INFO] [stderr] 3  + use http_types::Body;
[INFO] [stderr]    |
[INFO] [stderr] 3  + use hyper::body::Body;
[INFO] [stderr]    |
[INFO] [stderr]    = and 1 other candidate
[INFO] [stderr] help: if you import `Body`, refer to it directly
[INFO] [stderr]    |
[INFO] [stderr] 23 -     fn dyn_request(&self, req: hyper::Request<hyper::Body>) -> hyper::client::ResponseFuture;
[INFO] [stderr] 23 +     fn dyn_request(&self, req: hyper::Request<Body>) -> hyper::client::ResponseFuture;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ResponseFuture` in module `hyper::client`
[INFO] [stderr]   --> src/hyper.rs:23:79
[INFO] [stderr]    |
[INFO] [stderr] 23 |     fn dyn_request(&self, req: hyper::Request<hyper::Body>) -> hyper::client::ResponseFuture;
[INFO] [stderr]    |                                                                               ^^^^^^^^^^^^^^ not found in `hyper::client`
[INFO] [stderr]    |
[INFO] [stderr] help: consider importing this struct
[INFO] [stderr]    |
[INFO] [stderr] 3  + use isahc::ResponseFuture;
[INFO] [stderr]    |
[INFO] [stderr] help: if you import `ResponseFuture`, refer to it directly
[INFO] [stderr]    |
[INFO] [stderr] 23 -     fn dyn_request(&self, req: hyper::Request<hyper::Body>) -> hyper::client::ResponseFuture;
[INFO] [stderr] 23 +     fn dyn_request(&self, req: hyper::Request<hyper::Body>) -> ResponseFuture;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Client` in crate `hyper`
[INFO] [stderr]   --> src/hyper.rs:26:87
[INFO] [stderr]    |
[INFO] [stderr] 26 | impl<C: Clone + Connect + Debug + Send + Sync + 'static> HyperClientObject for hyper::Client<C> {
[INFO] [stderr]    |                                                                                       ^^^^^^ not found in `hyper`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ResponseFuture` in module `hyper::client`
[INFO] [stderr]   --> src/hyper.rs:27:64
[INFO] [stderr]    |
[INFO] [stderr] 27 |     fn dyn_request(&self, req: HyperRequest) -> hyper::client::ResponseFuture {
[INFO] [stderr]    |                                                                ^^^^^^^^^^^^^^ not found in `hyper::client`
[INFO] [stderr]    |
[INFO] [stderr] help: consider importing this struct
[INFO] [stderr]    |
[INFO] [stderr] 3  + use isahc::ResponseFuture;
[INFO] [stderr]    |
[INFO] [stderr] help: if you import `ResponseFuture`, refer to it directly
[INFO] [stderr]    |
[INFO] [stderr] 27 -     fn dyn_request(&self, req: HyperRequest) -> hyper::client::ResponseFuture {
[INFO] [stderr] 27 +     fn dyn_request(&self, req: HyperRequest) -> ResponseFuture {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Client` in crate `hyper`
[INFO] [stderr]   --> src/hyper.rs:52:42
[INFO] [stderr]    |
[INFO] [stderr] 52 |     pub fn from_client<C>(client: hyper::Client<C>) -> Self
[INFO] [stderr]    |                                          ^^^^^^ not found in `hyper`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Body` in crate `hyper`
[INFO] [stderr]    --> src/hyper.rs:171:50
[INFO] [stderr]     |
[INFO] [stderr] 171 |     fn into_inner(self) -> hyper::Request<hyper::Body> {
[INFO] [stderr]     |                                                  ^^^^ not found in `hyper`
[INFO] [stderr]     |
[INFO] [stderr] help: consider importing one of these items
[INFO] [stderr]     |
[INFO] [stderr] 3   + use crate::Body;
[INFO] [stderr]     |
[INFO] [stderr] 3   + use crate::http_types::Body;
[INFO] [stderr]     |
[INFO] [stderr] 3   + use http_types::Body;
[INFO] [stderr]     |
[INFO] [stderr] 3   + use hyper::body::Body;
[INFO] [stderr]     |
[INFO] [stderr]     = and 1 other candidate
[INFO] [stderr] help: if you import `Body`, refer to it directly
[INFO] [stderr]     |
[INFO] [stderr] 171 -     fn into_inner(self) -> hyper::Request<hyper::Body> {
[INFO] [stderr] 171 +     fn into_inner(self) -> hyper::Request<Body> {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Body` in crate `hyper`
[INFO] [stderr]    --> src/hyper.rs:179:53
[INFO] [stderr]     |
[INFO] [stderr] 179 |     async fn try_from(value: hyper::Response<hyper::Body>) -> Result<Self, Error> {
[INFO] [stderr]     |                                                     ^^^^ not found in `hyper`
[INFO] [stderr]     |
[INFO] [stderr] help: consider importing one of these items
[INFO] [stderr]     |
[INFO] [stderr] 3   + use crate::Body;
[INFO] [stderr]     |
[INFO] [stderr] 3   + use crate::http_types::Body;
[INFO] [stderr]     |
[INFO] [stderr] 3   + use http_types::Body;
[INFO] [stderr]     |
[INFO] [stderr] 3   + use hyper::body::Body;
[INFO] [stderr]     |
[INFO] [stderr]     = and 1 other candidate
[INFO] [stderr] help: if you import `Body`, refer to it directly
[INFO] [stderr]     |
[INFO] [stderr] 179 -     async fn try_from(value: hyper::Response<hyper::Body>) -> Result<Self, Error> {
[INFO] [stderr] 179 +     async fn try_from(value: hyper::Response<Body>) -> Result<Self, Error> {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: lint `missing_doc_code_examples` has been renamed to `rustdoc::missing_doc_code_examples`
[INFO] [stderr]  --> src/lib.rs:9:23
[INFO] [stderr]   |
[INFO] [stderr] 9 | #![warn(missing_docs, missing_doc_code_examples, unreachable_pub)]
[INFO] [stderr]   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_doc_code_examples`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unknown lint: `rustdoc::missing_doc_code_examples`
[INFO] [stderr]  --> src/lib.rs:9:23
[INFO] [stderr]   |
[INFO] [stderr] 9 | #![warn(missing_docs, missing_doc_code_examples, unreachable_pub)]
[INFO] [stderr]   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: the `rustdoc::missing_doc_code_examples` lint is unstable
[INFO] [stderr]   = note: see issue #101730 <https://github.com/rust-lang/rust/issues/101730> for more information
[INFO] [stderr]   = help: add `#![feature(rustdoc_missing_doc_code_examples)]` to the crate attributes to enable
[INFO] [stderr]   = note: this compiler was built on 2025-07-21; consider upgrading it if it is out of date
[INFO] [stderr]   = note: `#[warn(unknown_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0432.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] warning: `http-client-2` (lib doc) generated 2 warnings
[INFO] [stderr] error: could not document `http-client-2`
[INFO] running `Command { std: "docker" "inspect" "fd42011fc50cb14e4bf4a667d50590805420c36aa718581f54232b0020dc6827", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd42011fc50cb14e4bf4a667d50590805420c36aa718581f54232b0020dc6827", kill_on_drop: false }`
[INFO] [stdout] fd42011fc50cb14e4bf4a667d50590805420c36aa718581f54232b0020dc6827