[INFO] crate http-client 3.0.0 is already in cache [INFO] documenting http-client-3.0.0 against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] extracting crate http-client 3.0.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate http-client 3.0.0 on toolchain 394e1b40d264aa6928811919c1124fa248e7d802 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate http-client 3.0.0 [INFO] finished tweaking crates.io crate http-client 3.0.0 [INFO] tweaked toml for crates.io crate http-client 3.0.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fdaba7145d779faeb01a916019dac9a734bd62d598fde70e88c92bee8d15b455 [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" "fdaba7145d779faeb01a916019dac9a734bd62d598fde70e88c92bee8d15b455", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fdaba7145d779faeb01a916019dac9a734bd62d598fde70e88c92bee8d15b455", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdaba7145d779faeb01a916019dac9a734bd62d598fde70e88c92bee8d15b455", kill_on_drop: false }` [INFO] [stdout] fdaba7145d779faeb01a916019dac9a734bd62d598fde70e88c92bee8d15b455 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab4dd552390a29619c92da59a722087ab3ef00c6d1383fbc3a1d20fd2ab02c86 [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" "ab4dd552390a29619c92da59a722087ab3ef00c6d1383fbc3a1d20fd2ab02c86", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.64 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.64 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Compiling cc v1.0.56 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking subtle v2.2.3 [INFO] [stderr] Checking waker-fn v1.0.0 [INFO] [stderr] Checking cache-padded v1.1.0 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking parking v1.0.3 [INFO] [stderr] Checking send_wrapper v0.4.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking async-task v3.0.0 [INFO] [stderr] Checking fastrand v1.3.2 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking data-encoding v2.2.1 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking infer v0.1.7 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking concurrent-queue v1.1.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Checking block-cipher-trait v0.6.2 [INFO] [stderr] Checking universal-hash v0.3.0 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking aead v0.2.0 [INFO] [stderr] Checking polyval v0.3.3 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking kv-log-macro v1.0.6 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking hkdf v0.8.0 [INFO] [stderr] Checking byte-pool v0.2.1 [INFO] [stderr] Checking ghash v0.2.3 [INFO] [stderr] Checking aes-soft v0.3.3 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking backtrace v0.3.49 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Checking aes v0.3.2 [INFO] [stderr] Checking aes-gcm v0.5.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.64 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.64 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.64 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking cookie v0.14.1 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking serde v1.0.114 [INFO] [stderr] Checking blocking v0.4.6 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking smol v0.1.18 [INFO] [stderr] Checking serde_json v1.0.56 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking serde_qs v0.6.1 [INFO] [stderr] Checking js-sys v0.3.41 [INFO] [stderr] Checking web-sys v0.3.41 [INFO] [stderr] Checking gloo-timers v0.2.1 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking async-std v1.6.2 [INFO] [stderr] Checking http-types v2.2.1 [INFO] [stderr] Checking async-native-tls v0.3.3 [INFO] [stderr] Checking async-h1 v2.0.2 [INFO] [stderr] Documenting http-client v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / //! Types and traits for http clients. [INFO] [stdout] 2 | | //! [INFO] [stdout] 3 | | //! This crate has been extracted from `surf`'s internals, but can be used by any http client impl. [INFO] [stdout] 4 | | //! The purpose of this crate is to provide a unified interface for multiple HTTP client backends, [INFO] [stdout] 5 | | //! so that they can be abstracted over without doing extra work. [INFO] [stdout] | |_________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | #![warn(missing_docs, missing_doc_code_examples, unreachable_pub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub use http_types; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/h1.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! http-client implementation for async-h1. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/h1.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | /// Async-h1 based HTTP Client. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/h1.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / impl H1Client { [INFO] [stdout] 20 | | /// Create a new instance. [INFO] [stdout] 21 | | pub fn new() -> Self { [INFO] [stdout] 22 | | Self {} [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/h1.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | /// Create a new instance. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | /// An HTTP Request type with a streaming body. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | /// An HTTP Response type with a streaming body. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | /// The raw body of an http request or response. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | /// Error type. [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / /// An abstract HTTP client. [INFO] [stdout] 44 | | /// [INFO] [stdout] 45 | | /// __note that this is only exposed for use in middleware. Building new backing clients is not [INFO] [stdout] 46 | | /// recommended yet. Once it is we'll likely publish a new `http_client` crate, and re-export this [INFO] [stdout] ... | [INFO] [stdout] 55 | | /// How `Clone` is implemented is up to the implementors, but in an ideal scenario combining this [INFO] [stdout] 56 | | /// with the `Client` builder will allow for high connection reuse, improving latency. [INFO] [stdout] | |______________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | /// The associated error type. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | /// Perform a request. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/h1.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / impl HttpClient for H1Client { [INFO] [stdout] 33 | | type Error = Error; [INFO] [stdout] 34 | | [INFO] [stdout] 35 | | fn send(&self, mut req: Request) -> BoxFuture<'static, Result> { [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] 85 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/h1.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | type Error = Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/h1.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | / fn send(&self, mut req: Request) -> BoxFuture<'static, Result> { [INFO] [stdout] 36 | | Box::pin(async move { [INFO] [stdout] 37 | | // Insert host [INFO] [stdout] 38 | | let host = req [INFO] [stdout] ... | [INFO] [stdout] 83 | | }) [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/h1.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / impl Clone for H1Client { [INFO] [stdout] 27 | | fn clone(&self) -> Self { [INFO] [stdout] 28 | | Self {} [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/h1.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | / fn clone(&self) -> Self { [INFO] [stdout] 28 | | Self {} [INFO] [stdout] 29 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/h1.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / impl Default for H1Client { [INFO] [stdout] 14 | | fn default() -> Self { [INFO] [stdout] 15 | | Self::new() [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/h1.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / fn default() -> Self { [INFO] [stdout] 15 | | Self::new() [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 12s [INFO] running `Command { std: "docker" "inspect" "ab4dd552390a29619c92da59a722087ab3ef00c6d1383fbc3a1d20fd2ab02c86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab4dd552390a29619c92da59a722087ab3ef00c6d1383fbc3a1d20fd2ab02c86", kill_on_drop: false }` [INFO] [stdout] ab4dd552390a29619c92da59a722087ab3ef00c6d1383fbc3a1d20fd2ab02c86