[INFO] crate coast 0.0.0 is already in cache [INFO] documenting coast-0.0.0 against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] extracting crate coast 0.0.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate coast 0.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 coast 0.0.0 [INFO] finished tweaking crates.io crate coast 0.0.0 [INFO] tweaked toml for crates.io crate coast 0.0.0 written to /workspace/builds/worker-8/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] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] 1cc5a35879aec78d957474607ab61a84732060b5b087d59fea71d0b4fef5038e [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" "1cc5a35879aec78d957474607ab61a84732060b5b087d59fea71d0b4fef5038e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cc5a35879aec78d957474607ab61a84732060b5b087d59fea71d0b4fef5038e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cc5a35879aec78d957474607ab61a84732060b5b087d59fea71d0b4fef5038e", kill_on_drop: false }` [INFO] [stdout] 1cc5a35879aec78d957474607ab61a84732060b5b087d59fea71d0b4fef5038e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] 42ee7a738bf86c3c1ae6fbe7c9f3e3b48d950e4132924dbecb8733a3621b860f [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" "42ee7a738bf86c3c1ae6fbe7c9f3e3b48d950e4132924dbecb8733a3621b860f", kill_on_drop: false }` [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] Compiling wasm-bindgen v0.2.64 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.64 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.64 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.64 [INFO] [stderr] Checking js-sys v0.3.41 [INFO] [stderr] Checking web-sys v0.3.41 [INFO] [stderr] Documenting coast v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/events.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! Event listeners. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | #![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/events.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | /// A builder used to configure `EventListener`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/events.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | passive: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/events.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | phase: EventPhase, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/events.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | /// DOM event listener. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/events.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | target: EventTarget, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/events.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | event_type: Cow<'static, str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/events.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | callback: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/events.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | phase: EventPhase, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/events.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / /// Specifies the phase during which the event listener is run. [INFO] [stdout] 9 | | /// [INFO] [stdout] 10 | | /// See [W3C UI Events: event [INFO] [stdout] 11 | | /// flow](https://www.w3.org/TR/DOM-Level-3-Events/#event-flow) for more details. [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/events.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / /// The event object propagates through the target’s ancestors in reverse [INFO] [stdout] 15 | | /// order, starting with the target’s parent and ending with the Window. This [INFO] [stdout] 16 | | /// phase is also known as the bubbling phase. [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/events.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / /// The event object propagates through the target’s ancestors from the [INFO] [stdout] 19 | | /// Window to the target’s parent. This phase is also known as the capturing [INFO] [stdout] 20 | | /// phase. [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/events.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / impl EventPhase { [INFO] [stdout] 25 | | /// Returns `true` if the phase is `Capture`. [INFO] [stdout] 26 | | #[inline] [INFO] [stdout] 27 | | pub fn is_capture(&self) -> bool { [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/events.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | /// Returns `true` if the phase is `Capture`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/events.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | /// Returns `true` if the phase is `Bubble`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/events.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / impl Builder { [INFO] [stdout] 46 | | /// Create a new builder. [INFO] [stdout] 47 | | pub fn new() -> Self { [INFO] [stdout] 48 | | Self { [INFO] [stdout] ... | [INFO] [stdout] 127 | | } [INFO] [stdout] 128 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/events.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | /// Create a new builder. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/events.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / /// Set the `EventPhase` during which the event should be triggered. [INFO] [stdout] 55 | | /// [INFO] [stdout] 56 | | /// Defaults to `EventPhase::Bubble`. [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/events.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / /// Set whether the listener should be `passive`. [INFO] [stdout] 63 | | /// [INFO] [stdout] 64 | | /// Defaults to `true`. [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/events.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | /// Register an event listener. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/events.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | /// Register an event listener that will be called at most once. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/events.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | / impl EventListener { [INFO] [stdout] 141 | | /// Register an event listener. [INFO] [stdout] 142 | | #[inline] [INFO] [stdout] 143 | | pub fn listen(target: &EventTarget, event_type: S, callback: F) -> Self [INFO] [stdout] ... | [INFO] [stdout] 212 | | } [INFO] [stdout] 213 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/events.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | /// Register an event listener. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/events.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | /// Register an event listener that will be called at most once. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/events.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / /// Keeps the `EventListener` alive forever, so it will never be dropped. [INFO] [stdout] 182 | | /// [INFO] [stdout] 183 | | /// This should only be used when you want the `EventListener` to last [INFO] [stdout] 184 | | /// forever, otherwise it will leak memory. [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/events.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | /// Returns the `EventTarget`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/events.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | /// Returns the event type. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/events.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | / /// Returns whether the event listener is run during the capture or bubble phase. [INFO] [stdout] 205 | | /// [INFO] [stdout] 206 | | /// The official specification has [a good [INFO] [stdout] 207 | | /// explanation](https://www.w3.org/TR/DOM-Level-3-Events/#event-flow) of [INFO] [stdout] 208 | | /// capturing vs bubbling. [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/events.rs:215:1 [INFO] [stdout] | [INFO] [stdout] 215 | / impl Drop for EventListener { [INFO] [stdout] 216 | | #[inline] [INFO] [stdout] 217 | | fn drop(&mut self) { [INFO] [stdout] 218 | | // This will only be None if forget() was called [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/events.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | / fn drop(&mut self) { [INFO] [stdout] 218 | | // This will only be None if forget() was called [INFO] [stdout] 219 | | if let Some(callback) = &self.callback { [INFO] [stdout] 220 | | self.target [INFO] [stdout] ... | [INFO] [stdout] 227 | | } [INFO] [stdout] 228 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.86s [INFO] running `Command { std: "docker" "inspect" "42ee7a738bf86c3c1ae6fbe7c9f3e3b48d950e4132924dbecb8733a3621b860f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42ee7a738bf86c3c1ae6fbe7c9f3e3b48d950e4132924dbecb8733a3621b860f", kill_on_drop: false }` [INFO] [stdout] 42ee7a738bf86c3c1ae6fbe7c9f3e3b48d950e4132924dbecb8733a3621b860f