[INFO] crate chainerror 0.5.0 is already in cache [INFO] documenting chainerror-0.5.0 against try#66dfc4e010913fbed0c4ea91fc2c010004b0f441 for pr-73566 [INFO] extracting crate chainerror 0.5.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate chainerror 0.5.0 on toolchain 66dfc4e010913fbed0c4ea91fc2c010004b0f441 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate chainerror 0.5.0 [INFO] finished tweaking crates.io crate chainerror 0.5.0 [INFO] tweaked toml for crates.io crate chainerror 0.5.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate crates.io crate chainerror 0.5.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25519f9e35dfae1e8f0f5eb376afe839a77b1d42b988e0edb7f4776e80d41847 [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" "25519f9e35dfae1e8f0f5eb376afe839a77b1d42b988e0edb7f4776e80d41847", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25519f9e35dfae1e8f0f5eb376afe839a77b1d42b988e0edb7f4776e80d41847", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25519f9e35dfae1e8f0f5eb376afe839a77b1d42b988e0edb7f4776e80d41847", kill_on_drop: false }` [INFO] [stdout] 25519f9e35dfae1e8f0f5eb376afe839a77b1d42b988e0edb7f4776e80d41847 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7848018007dc6a3662026b62403f41d3a7287e8134c58b5159c7ffd1ed4caa1 [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" "d7848018007dc6a3662026b62403f41d3a7287e8134c58b5159c7ffd1ed4caa1", kill_on_drop: false }` [INFO] [stderr] Documenting chainerror v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | /// chains an inner error kind `T` with a causing error [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | missing_doc_code_examples, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | occurrence: Option<&'static str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | kind: T, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | error_cause: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:419:1 [INFO] [stdout] | [INFO] [stdout] 419 | / struct ErrorIter<'a> { [INFO] [stdout] 420 | | current: Option<&'a (dyn Error + 'static)>, [INFO] [stdout] 421 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | current: Option<&'a (dyn Error + 'static)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 205 | /// convenience type alias [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:443:1 [INFO] [stdout] | [INFO] [stdout] 443 | /// Convenience trait to hide the `ChainError` implementation internals [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:445:5 [INFO] [stdout] | [INFO] [stdout] 445 | /// Test if of type `ChainError` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 447 | /// Downcast to a reference of `ChainError` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:449:5 [INFO] [stdout] | [INFO] [stdout] 449 | /// Downcast to a mutable reference of `ChainError` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:451:5 [INFO] [stdout] | [INFO] [stdout] 451 | /// Downcast to T of `ChainError` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:453:5 [INFO] [stdout] | [INFO] [stdout] 453 | /// Downcast to T mutable reference of `ChainError` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:684:1 [INFO] [stdout] | [INFO] [stdout] 684 | /// `ChainErrorFrom` is similar to `From` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:686:5 [INFO] [stdout] | [INFO] [stdout] 686 | /// similar to From::from() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:690:1 [INFO] [stdout] | [INFO] [stdout] 690 | /// `IntoChainError` is similar to `Into` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:692:5 [INFO] [stdout] | [INFO] [stdout] 692 | /// similar to Into::into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | / impl ChainError { [INFO] [stdout] 209 | | #[cfg(not(feature = "no-fileline"))] [INFO] [stdout] 210 | | /// Use the `cherr!()` or `mstrerr!()` macro instead of calling this directly [INFO] [stdout] 211 | | #[inline] [INFO] [stdout] ... | [INFO] [stdout] 416 | | } [INFO] [stdout] 417 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | /// Use the `cherr!()` or `mstrerr!()` macro instead of calling this directly [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | /// return the root cause of the error chain, if any exists [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:406:5 [INFO] [stdout] | [INFO] [stdout] 406 | / /// Returns an Iterator over all error causes/sources [INFO] [stdout] 407 | | /// [INFO] [stdout] 408 | | /// # Example [INFO] [stdout] 409 | | /// [INFO] [stdout] 410 | | /// [INFO] [stdout] | |_______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:731:1 [INFO] [stdout] | [INFO] [stdout] 731 | / /// map into `ChainError` with `T::from(err)` [INFO] [stdout] 732 | | /// [INFO] [stdout] 733 | | /// adds `line!()` and `file!()` information [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:712:5 [INFO] [stdout] | [INFO] [stdout] 712 | / fn chain_error_from(t: T, line_filename: Option<&'static str>) -> ChainError { [INFO] [stdout] 713 | | let e: U = t.into(); [INFO] [stdout] 714 | | ChainError::new(e, None, line_filename) [INFO] [stdout] 715 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:701:5 [INFO] [stdout] | [INFO] [stdout] 701 | / fn into_chain_error(self, line_filename: Option<&'static str>) -> ChainError { [INFO] [stdout] 702 | | U::chain_error_from(self, line_filename) [INFO] [stdout] 703 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:457:1 [INFO] [stdout] | [INFO] [stdout] 457 | / impl ChainErrorDown for ChainError { [INFO] [stdout] 458 | | #[inline] [INFO] [stdout] 459 | | fn is_chain(&self) -> bool { [INFO] [stdout] 460 | | TypeId::of::() == TypeId::of::() [INFO] [stdout] ... | [INFO] [stdout] 512 | | } [INFO] [stdout] 513 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:459:5 [INFO] [stdout] | [INFO] [stdout] 459 | / fn is_chain(&self) -> bool { [INFO] [stdout] 460 | | TypeId::of::() == TypeId::of::() [INFO] [stdout] 461 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:464:5 [INFO] [stdout] | [INFO] [stdout] 464 | / fn downcast_chain_ref(&self) -> Option<&ChainError> { [INFO] [stdout] 465 | | if self.is_chain::() { [INFO] [stdout] 466 | | #[allow(clippy::cast_ptr_alignment)] [INFO] [stdout] 467 | | unsafe { [INFO] [stdout] ... | [INFO] [stdout] 473 | | } [INFO] [stdout] 474 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 477 | / fn downcast_chain_mut(&mut self) -> Option<&mut ChainError> { [INFO] [stdout] 478 | | if self.is_chain::() { [INFO] [stdout] 479 | | #[allow(clippy::cast_ptr_alignment)] [INFO] [stdout] 480 | | unsafe { [INFO] [stdout] ... | [INFO] [stdout] 486 | | } [INFO] [stdout] 487 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:489:5 [INFO] [stdout] | [INFO] [stdout] 489 | / fn downcast_inner_ref(&self) -> Option<&T> { [INFO] [stdout] 490 | | if self.is_chain::() { [INFO] [stdout] 491 | | #[allow(clippy::cast_ptr_alignment)] [INFO] [stdout] 492 | | unsafe { [INFO] [stdout] ... | [INFO] [stdout] 498 | | } [INFO] [stdout] 499 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:502:5 [INFO] [stdout] | [INFO] [stdout] 502 | / fn downcast_inner_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] 503 | | if self.is_chain::() { [INFO] [stdout] 504 | | #[allow(clippy::cast_ptr_alignment)] [INFO] [stdout] 505 | | unsafe { [INFO] [stdout] ... | [INFO] [stdout] 511 | | } [INFO] [stdout] 512 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:515:1 [INFO] [stdout] | [INFO] [stdout] 515 | / impl ChainErrorDown for dyn Error + 'static { [INFO] [stdout] 516 | | #[inline] [INFO] [stdout] 517 | | fn is_chain(&self) -> bool { [INFO] [stdout] 518 | | self.is::>() [INFO] [stdout] ... | [INFO] [stdout] 545 | | } [INFO] [stdout] 546 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:517:5 [INFO] [stdout] | [INFO] [stdout] 517 | / fn is_chain(&self) -> bool { [INFO] [stdout] 518 | | self.is::>() [INFO] [stdout] 519 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:522:5 [INFO] [stdout] | [INFO] [stdout] 522 | / fn downcast_chain_ref(&self) -> Option<&ChainError> { [INFO] [stdout] 523 | | self.downcast_ref::>() [INFO] [stdout] 524 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:527:5 [INFO] [stdout] | [INFO] [stdout] 527 | / fn downcast_chain_mut(&mut self) -> Option<&mut ChainError> { [INFO] [stdout] 528 | | self.downcast_mut::>() [INFO] [stdout] 529 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:532:5 [INFO] [stdout] | [INFO] [stdout] 532 | / fn downcast_inner_ref(&self) -> Option<&T> { [INFO] [stdout] 533 | | self.downcast_ref::() [INFO] [stdout] 534 | | .or_else(|| self.downcast_ref::>().map(|e| e.kind())) [INFO] [stdout] 535 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:538:5 [INFO] [stdout] | [INFO] [stdout] 538 | / fn downcast_inner_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] 539 | | if self.is::() { [INFO] [stdout] 540 | | return self.downcast_mut::(); [INFO] [stdout] 541 | | } [INFO] [stdout] ... | [INFO] [stdout] 544 | | .and_then(|e| e.downcast_inner_mut::()) [INFO] [stdout] 545 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:548:1 [INFO] [stdout] | [INFO] [stdout] 548 | / impl ChainErrorDown for dyn Error + 'static + Send { [INFO] [stdout] 549 | | #[inline] [INFO] [stdout] 550 | | fn is_chain(&self) -> bool { [INFO] [stdout] 551 | | self.is::>() [INFO] [stdout] ... | [INFO] [stdout] 578 | | } [INFO] [stdout] 579 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:550:5 [INFO] [stdout] | [INFO] [stdout] 550 | / fn is_chain(&self) -> bool { [INFO] [stdout] 551 | | self.is::>() [INFO] [stdout] 552 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:555:5 [INFO] [stdout] | [INFO] [stdout] 555 | / fn downcast_chain_ref(&self) -> Option<&ChainError> { [INFO] [stdout] 556 | | self.downcast_ref::>() [INFO] [stdout] 557 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:560:5 [INFO] [stdout] | [INFO] [stdout] 560 | / fn downcast_chain_mut(&mut self) -> Option<&mut ChainError> { [INFO] [stdout] 561 | | self.downcast_mut::>() [INFO] [stdout] 562 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:565:5 [INFO] [stdout] | [INFO] [stdout] 565 | / fn downcast_inner_ref(&self) -> Option<&T> { [INFO] [stdout] 566 | | self.downcast_ref::() [INFO] [stdout] 567 | | .or_else(|| self.downcast_ref::>().map(|e| e.kind())) [INFO] [stdout] 568 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:571:5 [INFO] [stdout] | [INFO] [stdout] 571 | / fn downcast_inner_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] 572 | | if self.is::() { [INFO] [stdout] 573 | | return self.downcast_mut::(); [INFO] [stdout] 574 | | } [INFO] [stdout] ... | [INFO] [stdout] 577 | | .and_then(|e| e.downcast_inner_mut::()) [INFO] [stdout] 578 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:581:1 [INFO] [stdout] | [INFO] [stdout] 581 | / impl ChainErrorDown for dyn Error + 'static + Send + Sync { [INFO] [stdout] 582 | | #[inline] [INFO] [stdout] 583 | | fn is_chain(&self) -> bool { [INFO] [stdout] 584 | | self.is::>() [INFO] [stdout] ... | [INFO] [stdout] 611 | | } [INFO] [stdout] 612 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:583:5 [INFO] [stdout] | [INFO] [stdout] 583 | / fn is_chain(&self) -> bool { [INFO] [stdout] 584 | | self.is::>() [INFO] [stdout] 585 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:588:5 [INFO] [stdout] | [INFO] [stdout] 588 | / fn downcast_chain_ref(&self) -> Option<&ChainError> { [INFO] [stdout] 589 | | self.downcast_ref::>() [INFO] [stdout] 590 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:593:5 [INFO] [stdout] | [INFO] [stdout] 593 | / fn downcast_chain_mut(&mut self) -> Option<&mut ChainError> { [INFO] [stdout] 594 | | self.downcast_mut::>() [INFO] [stdout] 595 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:598:5 [INFO] [stdout] | [INFO] [stdout] 598 | / fn downcast_inner_ref(&self) -> Option<&T> { [INFO] [stdout] 599 | | self.downcast_ref::() [INFO] [stdout] 600 | | .or_else(|| self.downcast_ref::>().map(|e| e.kind())) [INFO] [stdout] 601 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:604:5 [INFO] [stdout] | [INFO] [stdout] 604 | / fn downcast_inner_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] 605 | | if self.is::() { [INFO] [stdout] 606 | | return self.downcast_mut::(); [INFO] [stdout] 607 | | } [INFO] [stdout] ... | [INFO] [stdout] 610 | | .and_then(|e| e.downcast_inner_mut::()) [INFO] [stdout] 611 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:706:1 [INFO] [stdout] | [INFO] [stdout] 706 | / impl ChainErrorFrom for U [INFO] [stdout] 707 | | where [INFO] [stdout] 708 | | T: Into, [INFO] [stdout] 709 | | U: 'static + Display + Debug, [INFO] [stdout] ... | [INFO] [stdout] 715 | | } [INFO] [stdout] 716 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:696:1 [INFO] [stdout] | [INFO] [stdout] 696 | / impl IntoChainError for T [INFO] [stdout] 697 | | where [INFO] [stdout] 698 | | U: ChainErrorFrom, [INFO] [stdout] 699 | | { [INFO] [stdout] ... | [INFO] [stdout] 703 | | } [INFO] [stdout] 704 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:423:1 [INFO] [stdout] | [INFO] [stdout] 423 | / impl<'a> Iterator for ErrorIter<'a> { [INFO] [stdout] 424 | | type Item = &'a (dyn Error + 'static); [INFO] [stdout] 425 | | [INFO] [stdout] 426 | | #[inline] [INFO] [stdout] ... | [INFO] [stdout] 431 | | } [INFO] [stdout] 432 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:424:5 [INFO] [stdout] | [INFO] [stdout] 424 | type Item = &'a (dyn Error + 'static); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | / fn next(&mut self) -> Option { [INFO] [stdout] 428 | | let current = self.current; [INFO] [stdout] 429 | | self.current = self.current.and_then(Error::source); [INFO] [stdout] 430 | | current [INFO] [stdout] 431 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:434:1 [INFO] [stdout] | [INFO] [stdout] 434 | / impl std::ops::Deref for ChainError { [INFO] [stdout] 435 | | type Target = T; [INFO] [stdout] 436 | | [INFO] [stdout] 437 | | #[inline] [INFO] [stdout] ... | [INFO] [stdout] 440 | | } [INFO] [stdout] 441 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:435:5 [INFO] [stdout] | [INFO] [stdout] 435 | type Target = T; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:438:5 [INFO] [stdout] | [INFO] [stdout] 438 | / fn deref(&self) -> &Self::Target { [INFO] [stdout] 439 | | &self.kind [INFO] [stdout] 440 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:657:1 [INFO] [stdout] | [INFO] [stdout] 657 | / impl Debug for ChainError { [INFO] [stdout] 658 | | #[inline] [INFO] [stdout] 659 | | fn fmt(&self, f: &mut Formatter<'_>) -> Result { [INFO] [stdout] 660 | | #[cfg(not(feature = "no-fileline"))] [INFO] [stdout] ... | [INFO] [stdout] 681 | | } [INFO] [stdout] 682 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:659:5 [INFO] [stdout] | [INFO] [stdout] 659 | / fn fmt(&self, f: &mut Formatter<'_>) -> Result { [INFO] [stdout] 660 | | #[cfg(not(feature = "no-fileline"))] [INFO] [stdout] 661 | | { [INFO] [stdout] 662 | | if let Some(ref o) = self.occurrence { [INFO] [stdout] ... | [INFO] [stdout] 680 | | Ok(()) [INFO] [stdout] 681 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:641:1 [INFO] [stdout] | [INFO] [stdout] 641 | / impl Display for ChainError { [INFO] [stdout] 642 | | #[inline] [INFO] [stdout] 643 | | fn fmt(&self, f: &mut Formatter<'_>) -> Result { [INFO] [stdout] 644 | | write!(f, "{}", self.kind)?; [INFO] [stdout] ... | [INFO] [stdout] 654 | | } [INFO] [stdout] 655 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:643:5 [INFO] [stdout] | [INFO] [stdout] 643 | / fn fmt(&self, f: &mut Formatter<'_>) -> Result { [INFO] [stdout] 644 | | write!(f, "{}", self.kind)?; [INFO] [stdout] 645 | | [INFO] [stdout] 646 | | #[cfg(feature = "display-cause")] [INFO] [stdout] ... | [INFO] [stdout] 653 | | Ok(()) [INFO] [stdout] 654 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:614:1 [INFO] [stdout] | [INFO] [stdout] 614 | / impl Error for ChainError { [INFO] [stdout] 615 | | #[inline] [INFO] [stdout] 616 | | fn source(&self) -> Option<&(dyn Error + 'static)> { [INFO] [stdout] 617 | | self.error_cause [INFO] [stdout] ... | [INFO] [stdout] 620 | | } [INFO] [stdout] 621 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:616:5 [INFO] [stdout] | [INFO] [stdout] 616 | / fn source(&self) -> Option<&(dyn Error + 'static)> { [INFO] [stdout] 617 | | self.error_cause [INFO] [stdout] 618 | | .as_ref() [INFO] [stdout] 619 | | .map(|e| e.as_ref() as &(dyn Error + 'static)) [INFO] [stdout] 620 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:623:1 [INFO] [stdout] | [INFO] [stdout] 623 | / impl Error for &ChainError { [INFO] [stdout] 624 | | #[inline] [INFO] [stdout] 625 | | fn source(&self) -> Option<&(dyn Error + 'static)> { [INFO] [stdout] 626 | | self.error_cause [INFO] [stdout] ... | [INFO] [stdout] 629 | | } [INFO] [stdout] 630 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:625:5 [INFO] [stdout] | [INFO] [stdout] 625 | / fn source(&self) -> Option<&(dyn Error + 'static)> { [INFO] [stdout] 626 | | self.error_cause [INFO] [stdout] 627 | | .as_ref() [INFO] [stdout] 628 | | .map(|e| e.as_ref() as &(dyn Error + 'static)) [INFO] [stdout] 629 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:632:1 [INFO] [stdout] | [INFO] [stdout] 632 | / impl Error for &mut ChainError { [INFO] [stdout] 633 | | #[inline] [INFO] [stdout] 634 | | fn source(&self) -> Option<&(dyn Error + 'static)> { [INFO] [stdout] 635 | | self.error_cause [INFO] [stdout] ... | [INFO] [stdout] 638 | | } [INFO] [stdout] 639 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:634:5 [INFO] [stdout] | [INFO] [stdout] 634 | / fn source(&self) -> Option<&(dyn Error + 'static)> { [INFO] [stdout] 635 | | self.error_cause [INFO] [stdout] 636 | | .as_ref() [INFO] [stdout] 637 | | .map(|e| e.as_ref() as &(dyn Error + 'static)) [INFO] [stdout] 638 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 66 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: Could not document `chainerror`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name chainerror src/lib.rs -o /opt/rustwide/target/doc --cfg 'feature="default"' --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "d7848018007dc6a3662026b62403f41d3a7287e8134c58b5159c7ffd1ed4caa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7848018007dc6a3662026b62403f41d3a7287e8134c58b5159c7ffd1ed4caa1", kill_on_drop: false }` [INFO] [stdout] d7848018007dc6a3662026b62403f41d3a7287e8134c58b5159c7ffd1ed4caa1