[INFO] crate color-spantrace 0.1.3 is already in cache [INFO] documenting color-spantrace-0.1.3 against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] extracting crate color-spantrace 0.1.3 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate color-spantrace 0.1.3 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 color-spantrace 0.1.3 [INFO] finished tweaking crates.io crate color-spantrace 0.1.3 [INFO] tweaked toml for crates.io crate color-spantrace 0.1.3 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate color-spantrace 0.1.3 already has a lockfile, it will not be regenerated [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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] eaa30559418e4a9947ba07423a5fd69b0d65998c2e781cad90a4c46738bcfa24 [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" "eaa30559418e4a9947ba07423a5fd69b0d65998c2e781cad90a4c46738bcfa24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eaa30559418e4a9947ba07423a5fd69b0d65998c2e781cad90a4c46738bcfa24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eaa30559418e4a9947ba07423a5fd69b0d65998c2e781cad90a4c46738bcfa24", kill_on_drop: false }` [INFO] [stdout] eaa30559418e4a9947ba07423a5fd69b0d65998c2e781cad90a4c46738bcfa24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] e884b7147970f0671362ee97114dbb873169b0d55f33cef2caecce80de1473d8 [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" "e884b7147970f0671362ee97114dbb873169b0d55f33cef2caecce80de1473d8", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Checking tracing-core v0.1.10 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking sharded-slab v0.0.9 [INFO] [stderr] Checking tracing-log v0.1.1 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking tracing-serde v0.1.1 [INFO] [stderr] Checking tracing-subscriber v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.8 [INFO] [stderr] Checking tracing v0.1.14 [INFO] [stderr] Checking tracing-error v0.1.2 [INFO] [stderr] Documenting color-spantrace v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | / struct ColorSpanTrace<'a> { [INFO] [stdout] 102 | | span_trace: &'a SpanTrace, [INFO] [stdout] 103 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | missing_doc_code_examples, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | span_trace: &'a SpanTrace, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / struct Frame<'a> { [INFO] [stdout] 118 | | metadata: &'a tracing_core::Metadata<'static>, [INFO] [stdout] 119 | | fields: &'a str, [INFO] [stdout] 120 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | metadata: &'a tracing_core::Metadata<'static>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | fields: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | /// Defines how verbose the backtrace is supposed to be. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | /// Print a small message including the panic payload and the panic location. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | /// Everything in `Minimal` and additionally print a backtrace. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | /// Everything in `Medium` plus source snippets for all backtrace locations. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | / trait ColorExt { [INFO] [stdout] 257 | | fn make_intense(self) -> Self; [INFO] [stdout] 258 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | fn make_intense(self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | / impl Verbosity { [INFO] [stdout] 134 | | fn lib_from_env() -> Self { [INFO] [stdout] 135 | | Self::convert_env( [INFO] [stdout] 136 | | env::var("RUST_LIB_BACKTRACE") [INFO] [stdout] ... | [INFO] [stdout] 148 | | } [INFO] [stdout] 149 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | / fn lib_from_env() -> Self { [INFO] [stdout] 135 | | Self::convert_env( [INFO] [stdout] 136 | | env::var("RUST_LIB_BACKTRACE") [INFO] [stdout] 137 | | .or_else(|_| env::var("RUST_BACKTRACE")) [INFO] [stdout] 138 | | .ok(), [INFO] [stdout] 139 | | ) [INFO] [stdout] 140 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | / fn convert_env(env: Option) -> Self { [INFO] [stdout] 143 | | match env { [INFO] [stdout] 144 | | Some(ref x) if x == "full" => Verbosity::Full, [INFO] [stdout] 145 | | Some(_) => Verbosity::Medium, [INFO] [stdout] 146 | | None => Verbosity::Minimal, [INFO] [stdout] 147 | | } [INFO] [stdout] 148 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / impl Frame<'_> { [INFO] [stdout] 152 | | fn print(&self, i: u32, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 153 | | self.print_header(i, f)?; [INFO] [stdout] 154 | | self.print_fields(f)?; [INFO] [stdout] ... | [INFO] [stdout] 225 | | } [INFO] [stdout] 226 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | / fn print(&self, i: u32, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 153 | | self.print_header(i, f)?; [INFO] [stdout] 154 | | self.print_fields(f)?; [INFO] [stdout] 155 | | self.print_source_location(f)?; [INFO] [stdout] 156 | | Ok(()) [INFO] [stdout] 157 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | / fn print_header(&self, i: u32, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 160 | | write!( [INFO] [stdout] 161 | | f, [INFO] [stdout] 162 | | "{:>2}: {}{}{}", [INFO] [stdout] ... | [INFO] [stdout] 167 | | ) [INFO] [stdout] 168 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | / fn print_fields(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 171 | | if !self.fields.is_empty() { [INFO] [stdout] 172 | | write!(f, " with {}", Cyan.make_intense().paint(self.fields))?; [INFO] [stdout] 173 | | } [INFO] [stdout] 174 | | [INFO] [stdout] 175 | | Ok(()) [INFO] [stdout] 176 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | / fn print_source_location(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 179 | | if let Some(file) = self.metadata.file() { [INFO] [stdout] 180 | | let lineno = self [INFO] [stdout] 181 | | .metadata [INFO] [stdout] ... | [INFO] [stdout] 189 | | Ok(()) [INFO] [stdout] 190 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | / fn print_source_if_avail(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 193 | | let (lineno, filename) = match (self.metadata.line(), self.metadata.file()) { [INFO] [stdout] 194 | | (Some(a), Some(b)) => (a, b), [INFO] [stdout] 195 | | // Without a line number and file name, we can't sensibly proceed. [INFO] [stdout] ... | [INFO] [stdout] 224 | | Ok(()) [INFO] [stdout] 225 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:260:1 [INFO] [stdout] | [INFO] [stdout] 260 | / impl ColorExt for ansi_term::Color { [INFO] [stdout] 261 | | fn make_intense(self) -> Self { [INFO] [stdout] 262 | | use ansi_term::Color::*; [INFO] [stdout] 263 | | [INFO] [stdout] ... | [INFO] [stdout] 276 | | } [INFO] [stdout] 277 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | / fn make_intense(self) -> Self { [INFO] [stdout] 262 | | use ansi_term::Color::*; [INFO] [stdout] 263 | | [INFO] [stdout] 264 | | match self { [INFO] [stdout] ... | [INFO] [stdout] 275 | | } [INFO] [stdout] 276 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:278:1 [INFO] [stdout] | [INFO] [stdout] 278 | / impl ColorExt for ansi_term::Style { [INFO] [stdout] 279 | | fn make_intense(mut self) -> Self { [INFO] [stdout] 280 | | if let Some(color) = self.foreground { [INFO] [stdout] 281 | | self.foreground = Some(color.make_intense()); [INFO] [stdout] ... | [INFO] [stdout] 284 | | } [INFO] [stdout] 285 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 279 | / fn make_intense(mut self) -> Self { [INFO] [stdout] 280 | | if let Some(color) = self.foreground { [INFO] [stdout] 281 | | self.foreground = Some(color.make_intense()); [INFO] [stdout] 282 | | } [INFO] [stdout] 283 | | self [INFO] [stdout] 284 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:228:1 [INFO] [stdout] | [INFO] [stdout] 228 | / impl fmt::Display for ColorSpanTrace<'_> { [INFO] [stdout] 229 | | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 230 | | let mut err = Ok(()); [INFO] [stdout] 231 | | let mut span = 0; [INFO] [stdout] ... | [INFO] [stdout] 252 | | } [INFO] [stdout] 253 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | / fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 230 | | let mut err = Ok(()); [INFO] [stdout] 231 | | let mut span = 0; [INFO] [stdout] 232 | | [INFO] [stdout] ... | [INFO] [stdout] 251 | | err [INFO] [stdout] 252 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 43.52s [INFO] running `Command { std: "docker" "inspect" "e884b7147970f0671362ee97114dbb873169b0d55f33cef2caecce80de1473d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e884b7147970f0671362ee97114dbb873169b0d55f33cef2caecce80de1473d8", kill_on_drop: false }` [INFO] [stdout] e884b7147970f0671362ee97114dbb873169b0d55f33cef2caecce80de1473d8