[INFO] fetching crate conventional 0.5.0... [INFO] documenting conventional-0.5.0 against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] extracting crate conventional 0.5.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate conventional 0.5.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 conventional 0.5.0 [INFO] finished tweaking crates.io crate conventional 0.5.0 [INFO] tweaked toml for crates.io crate conventional 0.5.0 written to /workspace/builds/worker-2/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] 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] d909a1be4d103733288e5651a6fb4d9b2fb91bf40fbc94ee0d27569ec78b5449 [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" "d909a1be4d103733288e5651a6fb4d9b2fb91bf40fbc94ee0d27569ec78b5449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d909a1be4d103733288e5651a6fb4d9b2fb91bf40fbc94ee0d27569ec78b5449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d909a1be4d103733288e5651a6fb4d9b2fb91bf40fbc94ee0d27569ec78b5449", kill_on_drop: false }` [INFO] [stdout] d909a1be4d103733288e5651a6fb4d9b2fb91bf40fbc94ee0d27569ec78b5449 [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] cf36a7bc0bb8b3506fedf5afc4921fe4fec9c184e4681eb36814a21875bd8fc9 [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" "cf36a7bc0bb8b3506fedf5afc4921fe4fec9c184e4681eb36814a21875bd8fc9", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Documenting conventional v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | /// A conventional commit. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | rustdoc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: `#[deny(missing_doc_code_examples)]` implied by `#[deny(rustdoc)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | ty: Type<'a>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | scope: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | description: Description<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | body: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | breaking: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | footers: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / /// The "simple footer" variant, for convenient access to the string slice [INFO] [stdout] 44 | | /// values of its components. [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub(crate) footer: &'a Footer<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | /// The error returned when parsing a commit fails. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | kind: ErrorKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | commit: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | /// All possible error kinds returned when parsing a conventional commit. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | /// The commit type is missing from the commit message. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | /// The scope has an invalid format. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | /// The description of the commit is missing. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | /// The body of the commit has an invalid format. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | / /// Any other part of the commit does not conform to the conventional commit [INFO] [stdout] 92 | | /// spec. [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! The conventional commit type and its simple, and typed implementations. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | /// A conventional commit. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/simple.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! Conventional Commit implementations. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/simple.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | /// The weakly-typed variant of a commit. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/simple.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | /// The type of the commit. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/simple.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | /// The optional scope of the commit. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/simple.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | /// The commit description. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/simple.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / /// The commit body, containing a more detailed explanation of the commit [INFO] [stdout] 18 | | /// changes. [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/simple.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / /// A flag to signal that the commit contains breaking changes. [INFO] [stdout] 22 | | /// [INFO] [stdout] 23 | | /// This flag is set either when the commit has an exclamation mark after [INFO] [stdout] 24 | | /// the message type and scope, e.g.: [INFO] [stdout] ... | [INFO] [stdout] 32 | | /// [INFO] [stdout] 33 | | /// BREAKING CHANGE: this is a breaking change [INFO] [stdout] | |____________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/simple.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / /// Any footer. [INFO] [stdout] 37 | | /// [INFO] [stdout] 38 | | /// A footer is similar to a Git trailer, with the exception of not [INFO] [stdout] 39 | | /// requiring whitespace before newlines. [INFO] [stdout] 40 | | /// [INFO] [stdout] 41 | | /// See: [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/typed.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / //! Conventional Commit implementations. [INFO] [stdout] 2 | | //! Conventional Commit implementations. [INFO] [stdout] 3 | | //! Conventional Commit implementations. [INFO] [stdout] | |________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/typed.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | /// The strongly-typed variant of a commit. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/typed.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | /// The type of the commit. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/typed.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | /// The optional scope of the commit. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/typed.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | /// The commit description. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/typed.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / /// The commit body, containing a more detailed explanation of the commit [INFO] [stdout] 20 | | /// changes. [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/typed.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / /// A flag to signal that the commit contains breaking changes. [INFO] [stdout] 24 | | /// [INFO] [stdout] 25 | | /// This flag is set either when the commit has an exclamation mark after [INFO] [stdout] 26 | | /// the message type and scope, e.g.: [INFO] [stdout] ... | [INFO] [stdout] 34 | | /// [INFO] [stdout] 35 | | /// BREAKING CHANGE: this is a breaking change [INFO] [stdout] | |____________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/typed.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / /// Any footer. [INFO] [stdout] 39 | | /// [INFO] [stdout] 40 | | /// A footer is similar to a Git trailer, with the exception of not [INFO] [stdout] 41 | | /// requiring whitespace before newlines. [INFO] [stdout] 42 | | /// [INFO] [stdout] 43 | | /// See: [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / impl<'a> Commit<'a> { [INFO] [stdout] 24 | | /// Create a new Conventional Commit based on the provided commit message [INFO] [stdout] 25 | | /// string. [INFO] [stdout] 26 | | /// [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / /// Create a new Conventional Commit based on the provided commit message [INFO] [stdout] 25 | | /// string. [INFO] [stdout] 26 | | /// [INFO] [stdout] 27 | | /// # Errors [INFO] [stdout] 28 | | /// [INFO] [stdout] 29 | | /// This function returns an error if the commit does not conform to the [INFO] [stdout] 30 | | /// Conventional Commit specification. [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! Conventional Commit components. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / /// A single footer. [INFO] [stdout] 9 | | /// [INFO] [stdout] 10 | | /// A footer is similar to a Git trailer, with the exception of not requiring [INFO] [stdout] 11 | | /// whitespace before newlines. [INFO] [stdout] 12 | | /// [INFO] [stdout] 13 | | /// See: [INFO] [stdout] | |__________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | token: FooterToken<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | sep: FooterSeparator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | value: FooterValue<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | /// A component of the conventional commit. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | components![Description, Body, FooterValue]; [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct $ty<'a>(&'a str); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | components![Description, Body, FooterValue]; [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | /// A component of the conventional commit. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | unicase_components![Type, Scope, FooterToken]; [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:152:32 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct $ty<'a>(unicase::UniCase<&'a str>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | unicase_components![Type, Scope, FooterToken]; [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | /// The type of separator between the footer token and value. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | /// ": " [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | /// " #" [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / impl<'a> Footer<'a> { [INFO] [stdout] 22 | | /// Piece together a footer. [INFO] [stdout] 23 | | pub const fn new(token: FooterToken<'a>, sep: FooterSeparator, value: FooterValue<'a>) -> Self { [INFO] [stdout] 24 | | Self { token, sep, value } [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | /// Piece together a footer. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | /// The token of the footer. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | /// The separator between the footer token and its value. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | /// The value of the footer. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / impl<'a> SimpleFooter<'a> { [INFO] [stdout] 51 | | /// The token of the footer. [INFO] [stdout] 52 | | pub fn token(&self) -> &str { [INFO] [stdout] 53 | | &*self.footer.token [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | /// The token of the footer. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | /// The separator between the footer token and its value. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | /// The value of the footer. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | / impl<'a> $ty<'a> { [INFO] [stdout] 118 | | /// Create a $ty [INFO] [stdout] 119 | | pub fn new(value: &'a str) -> Self { [INFO] [stdout] 120 | | $ty(value) [INFO] [stdout] 121 | | } [INFO] [stdout] 122 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 184 | components![Description, Body, FooterValue]; [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | /// Create a $ty [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | components![Description, Body, FooterValue]; [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | / impl<'a> $ty<'a> { [INFO] [stdout] 155 | | /// Create a $ty [INFO] [stdout] 156 | | pub fn new(value: &'a str) -> Self { [INFO] [stdout] 157 | | $ty(unicase::UniCase::new(value)) [INFO] [stdout] 158 | | } [INFO] [stdout] 159 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 186 | unicase_components![Type, Scope, FooterToken]; [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | /// Create a $ty [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | unicase_components![Type, Scope, FooterToken]; [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! All errors related to Conventional Commits. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / impl Error { [INFO] [stdout] 14 | | /// Create a new error from a `ErrorKind`. [INFO] [stdout] 15 | | pub(crate) fn new(kind: ErrorKind) -> Self { [INFO] [stdout] 16 | | Self { kind, commit: None } [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | /// Create a new error from a `ErrorKind`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / pub(crate) fn with_nom(commit: &str, err: nom::Err>) -> Self { [INFO] [stdout] 20 | | use nom::error::VerboseErrorKind::*; [INFO] [stdout] 21 | | use ErrorKind::*; [INFO] [stdout] 22 | | [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | /// The kind of error. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/parser.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use nom::branch::alt; [INFO] [stdout] 2 | | use nom::bytes::complete::{tag, take, take_till1, take_while, take_while1}; [INFO] [stdout] 3 | | use nom::character::complete::{char, line_ending}; [INFO] [stdout] 4 | | use nom::character::is_alphabetic; [INFO] [stdout] ... | [INFO] [stdout] 391 | | } [INFO] [stdout] 392 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/parser.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / pub(crate) fn parse<'a, E: ParseError<&'a str>>( [INFO] [stdout] 22 | | i: &'a str, [INFO] [stdout] 23 | | ) -> Result, nom::Err> { [INFO] [stdout] 24 | | let (i, header) = terminated(header, alt((line_ending, eof)))(i)?; [INFO] [stdout] ... | [INFO] [stdout] 29 | | Ok((type_, scope, breaking, description, body, footers)) [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/parser.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / const fn is_line_ending(chr: char) -> bool { [INFO] [stdout] 34 | | chr == '\n' [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/parser.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / /// Accepts any non-empty string slice which starts and ends with an alphabetic [INFO] [stdout] 38 | | /// character, and has any compound noun character in between. [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/parser.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | / fn is_compound_noun_char(c: char) -> bool { [INFO] [stdout] 53 | | is_alphabetic(c as u8) || c == ' ' || c == '-' [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/parser.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / fn eof<'a, E: ParseError<&'a str>>(i: &'a str) -> IResult<&'a str, &'a str, E> { [INFO] [stdout] 57 | | if i.is_empty() { [INFO] [stdout] 58 | | Ok(("", "")) [INFO] [stdout] 59 | | } else { [INFO] [stdout] 60 | | Err(nom::Err::Error(E::from_error_kind("", ErrorKind::Eof))) [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/parser.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / fn exclamation_mark<'a, E: ParseError<&'a str>>(i: &'a str) -> IResult<&'a str, &'a str, E> { [INFO] [stdout] 65 | | context("exclamation_mark", tag("!"))(i) [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/parser.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / fn colon<'a, E: ParseError<&'a str>>(i: &'a str) -> IResult<&'a str, &'a str, E> { [INFO] [stdout] 69 | | context("colon", tag(":"))(i) [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/parser.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | / fn space<'a, E: ParseError<&'a str>>(i: &'a str) -> IResult<&'a str, &'a str, E> { [INFO] [stdout] 73 | | context("space", tag(" "))(i) [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/parser.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / fn type_<'a, E: ParseError<&'a str>>(i: &'a str) -> IResult<&'a str, &'a str, E> { [INFO] [stdout] 77 | | context("type", take_while1(|c: char| is_alphabetic(c as u8)))(i) [INFO] [stdout] 78 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/parser.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / fn scope<'a, E: ParseError<&'a str>>(i: &'a str) -> IResult<&'a str, &'a str, E> { [INFO] [stdout] 81 | | context( [INFO] [stdout] 82 | | "scope", [INFO] [stdout] 83 | | map_parser( [INFO] [stdout] ... | [INFO] [stdout] 87 | | )(i) [INFO] [stdout] 88 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/parser.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | / fn description<'a, E: ParseError<&'a str>>(i: &'a str) -> IResult<&'a str, &'a str, E> { [INFO] [stdout] 91 | | context( [INFO] [stdout] 92 | | "description", [INFO] [stdout] 93 | | verify(take_till1(is_line_ending), |s: &str| { [INFO] [stdout] ... | [INFO] [stdout] 102 | | )(i) [INFO] [stdout] 103 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/parser.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / fn header<'a, E: ParseError<&'a str>>( [INFO] [stdout] 107 | | i: &'a str, [INFO] [stdout] 108 | | ) -> IResult<&'a str, (&'a str, Option<&'a str>, Option<&'a str>, &'a str), E> { [INFO] [stdout] 109 | | tuple(( [INFO] [stdout] ... | [INFO] [stdout] 114 | | ))(i) [INFO] [stdout] 115 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/parser.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / fn body<'a, E: ParseError<&'a str>>(i: &'a str) -> IResult<&'a str, &'a str, E> { [INFO] [stdout] 118 | | if i.is_empty() { [INFO] [stdout] 119 | | let err = E::from_error_kind(i, ErrorKind::Eof); [INFO] [stdout] 120 | | let err = E::add_context(i, "body", err); [INFO] [stdout] ... | [INFO] [stdout] 134 | | map(take(offset - 1), str::trim_end)(i) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/parser.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | / fn footer<'a, E: ParseError<&'a str>>( [INFO] [stdout] 138 | | i: &'a str, [INFO] [stdout] 139 | | ) -> IResult<&'a str, (&'a str, &'a str, &'a str), E> { [INFO] [stdout] 140 | | tuple((footer_token, footer_separator, footer_value))(i) [INFO] [stdout] 141 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/parser.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / fn footer_token<'a, E: ParseError<&'a str>>(i: &'a str) -> IResult<&'a str, &'a str, E> { [INFO] [stdout] 144 | | alt(( [INFO] [stdout] 145 | | tag("BREAKING CHANGE"), [INFO] [stdout] 146 | | take_while1(|c: char| is_alphabetic(c as u8) || c == '-'), [INFO] [stdout] 147 | | ))(i) [INFO] [stdout] 148 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/parser.rs:150:1 [INFO] [stdout] | [INFO] [stdout] 150 | / fn footer_separator<'a, E: ParseError<&'a str>>(i: &'a str) -> IResult<&'a str, &'a str, E> { [INFO] [stdout] 151 | | alt((tag(": "), tag(" #")))(i) [INFO] [stdout] 152 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/parser.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | / fn footer_value<'a, E: ParseError<&'a str>>(i: &'a str) -> IResult<&'a str, &'a str, E> { [INFO] [stdout] 155 | | if i.is_empty() { [INFO] [stdout] 156 | | let err = E::from_error_kind(i, ErrorKind::Eof); [INFO] [stdout] 157 | | let err = E::add_context(i, "footer_value", err); [INFO] [stdout] ... | [INFO] [stdout] 171 | | map(take(offset - 1), str::trim_end)(i) [INFO] [stdout] 172 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/parser.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / type CommitDetails<'a> = ( [INFO] [stdout] 13 | | &'a str, [INFO] [stdout] 14 | | Option<&'a str>, [INFO] [stdout] 15 | | Option<&'a str>, [INFO] [stdout] ... | [INFO] [stdout] 18 | | Vec<(&'a str, &'a str, &'a str)>, [INFO] [stdout] 19 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | /// Strictly-typed accessors for a `Commit`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/simple.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / impl Simple for Commit<'_> { [INFO] [stdout] 46 | | fn type_(&self) -> &str { [INFO] [stdout] 47 | | &self.ty [INFO] [stdout] 48 | | } [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/simple.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / fn type_(&self) -> &str { [INFO] [stdout] 47 | | &self.ty [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/simple.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / fn scope(&self) -> Option<&str> { [INFO] [stdout] 51 | | self.scope.as_ref().map(Deref::deref) [INFO] [stdout] 52 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/simple.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / fn description(&self) -> &str { [INFO] [stdout] 55 | | &self.description [INFO] [stdout] 56 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/simple.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / fn body(&self) -> Option<&str> { [INFO] [stdout] 59 | | self.body.as_ref().map(Deref::deref) [INFO] [stdout] 60 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/simple.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / fn breaking(&self) -> bool { [INFO] [stdout] 63 | | self.breaking [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/simple.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | / fn footers(&self) -> Vec> { [INFO] [stdout] 67 | | self.footers [INFO] [stdout] 68 | | .iter() [INFO] [stdout] 69 | | .map(|footer| SimpleFooter { footer }) [INFO] [stdout] 70 | | .collect::>() [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/typed.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / impl<'a> Typed<'a> for Commit<'a> { [INFO] [stdout] 48 | | fn type_(&self) -> Type<'a> { [INFO] [stdout] 49 | | self.ty [INFO] [stdout] 50 | | } [INFO] [stdout] ... | [INFO] [stdout] 70 | | } [INFO] [stdout] 71 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/typed.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / fn type_(&self) -> Type<'a> { [INFO] [stdout] 49 | | self.ty [INFO] [stdout] 50 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/typed.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / fn scope(&self) -> Option> { [INFO] [stdout] 53 | | self.scope [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/typed.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / fn description(&self) -> Description<'a> { [INFO] [stdout] 57 | | self.description [INFO] [stdout] 58 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/typed.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / fn body(&self) -> Option> { [INFO] [stdout] 61 | | self.body [INFO] [stdout] 62 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/typed.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / fn breaking(&self) -> bool { [INFO] [stdout] 65 | | self.breaking [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit/typed.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | / fn footers(&self) -> &[Footer<'_>] { [INFO] [stdout] 69 | | &self.footers [INFO] [stdout] 70 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | / impl<'a> From<&'a str> for $ty<'a> { [INFO] [stdout] 139 | | fn from(string: &'a str) -> Self { [INFO] [stdout] 140 | | Self(string) [INFO] [stdout] 141 | | } [INFO] [stdout] 142 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 184 | components![Description, Body, FooterValue]; [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | / fn from(string: &'a str) -> Self { [INFO] [stdout] 140 | | Self(string) [INFO] [stdout] 141 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 184 | components![Description, Body, FooterValue]; [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | / impl<'a> From<&'a str> for $ty<'a> { [INFO] [stdout] 176 | | fn from(string: &'a str) -> Self { [INFO] [stdout] 177 | | Self(unicase::UniCase::new(string)) [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 186 | unicase_components![Type, Scope, FooterToken]; [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | / fn from(string: &'a str) -> Self { [INFO] [stdout] 177 | | Self(unicase::UniCase::new(string)) [INFO] [stdout] 178 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 186 | unicase_components![Type, Scope, FooterToken]; [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / impl Deref for FooterSeparator { [INFO] [stdout] 81 | | type Target = str; [INFO] [stdout] 82 | | [INFO] [stdout] 83 | | fn deref(&self) -> &Self::Target { [INFO] [stdout] ... | [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | type Target = str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / fn deref(&self) -> &Self::Target { [INFO] [stdout] 84 | | match self { [INFO] [stdout] 85 | | FooterSeparator::ColonSpace => ": ", [INFO] [stdout] 86 | | FooterSeparator::SpacePound => " #", [INFO] [stdout] 87 | | FooterSeparator::__NonExhaustive => unreachable!(), [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | / impl Deref for $ty<'_> { [INFO] [stdout] 125 | | type Target = str; [INFO] [stdout] 126 | | [INFO] [stdout] 127 | | fn deref(&self) -> &Self::Target { [INFO] [stdout] 128 | | &self.0 [INFO] [stdout] 129 | | } [INFO] [stdout] 130 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 184 | components![Description, Body, FooterValue]; [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | type Target = str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | components![Description, Body, FooterValue]; [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | / fn deref(&self) -> &Self::Target { [INFO] [stdout] 128 | | &self.0 [INFO] [stdout] 129 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 184 | components![Description, Body, FooterValue]; [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | / impl Deref for $ty<'_> { [INFO] [stdout] 162 | | type Target = str; [INFO] [stdout] 163 | | [INFO] [stdout] 164 | | fn deref(&self) -> &Self::Target { [INFO] [stdout] 165 | | &self.0.into_inner() [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 186 | unicase_components![Type, Scope, FooterToken]; [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | type Target = str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | unicase_components![Type, Scope, FooterToken]; [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | / fn deref(&self) -> &Self::Target { [INFO] [stdout] 165 | | &self.0.into_inner() [INFO] [stdout] 166 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 186 | unicase_components![Type, Scope, FooterToken]; [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / impl fmt::Display for Commit<'_> { [INFO] [stdout] 57 | | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 58 | | use crate::Simple; [INFO] [stdout] 59 | | [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] 78 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/commit.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 58 | | use crate::Simple; [INFO] [stdout] 59 | | [INFO] [stdout] 60 | | f.write_str(self.type_())?; [INFO] [stdout] ... | [INFO] [stdout] 76 | | Ok(()) [INFO] [stdout] 77 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | / impl fmt::Display for FooterSeparator { [INFO] [stdout] 93 | | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 94 | | f.write_str(self) [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 94 | | f.write_str(self) [INFO] [stdout] 95 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | / impl fmt::Display for $ty<'_> { [INFO] [stdout] 133 | | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 134 | | self.0.fmt(f) [INFO] [stdout] 135 | | } [INFO] [stdout] 136 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 184 | components![Description, Body, FooterValue]; [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | / fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 134 | | self.0.fmt(f) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 184 | components![Description, Body, FooterValue]; [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | / impl fmt::Display for $ty<'_> { [INFO] [stdout] 170 | | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 171 | | self.0.fmt(f) [INFO] [stdout] 172 | | } [INFO] [stdout] 173 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 186 | unicase_components![Type, Scope, FooterToken]; [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | / fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 171 | | self.0.fmt(f) [INFO] [stdout] 172 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 186 | unicase_components![Type, Scope, FooterToken]; [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / impl fmt::Display for Error { [INFO] [stdout] 56 | | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 57 | | use ErrorKind::*; [INFO] [stdout] 58 | | [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 57 | | use ErrorKind::*; [INFO] [stdout] 58 | | [INFO] [stdout] 59 | | match self.kind { [INFO] [stdout] ... | [INFO] [stdout] 66 | | } [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / impl FromStr for FooterSeparator { [INFO] [stdout] 99 | | type Err = Error; [INFO] [stdout] 100 | | [INFO] [stdout] 101 | | fn from_str(sep: &str) -> Result { [INFO] [stdout] ... | [INFO] [stdout] 107 | | } [INFO] [stdout] 108 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | type Err = Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/component.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | / fn from_str(sep: &str) -> Result { [INFO] [stdout] 102 | | match sep { [INFO] [stdout] 103 | | ": " => Ok(FooterSeparator::ColonSpace), [INFO] [stdout] 104 | | " #" => Ok(FooterSeparator::SpacePound), [INFO] [stdout] 105 | | _ => Err(Error::new(ErrorKind::InvalidFormat)), [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / impl std::error::Error for Error { [INFO] [stdout] 71 | | fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { [INFO] [stdout] 72 | | None [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { [INFO] [stdout] 72 | | None [INFO] [stdout] 73 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 130 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: Could not document `conventional`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name conventional src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern nom=/opt/rustwide/target/debug/deps/libnom-277b461fd4662b95.rmeta --extern unicase=/opt/rustwide/target/debug/deps/libunicase-fec015df83084439.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "cf36a7bc0bb8b3506fedf5afc4921fe4fec9c184e4681eb36814a21875bd8fc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf36a7bc0bb8b3506fedf5afc4921fe4fec9c184e4681eb36814a21875bd8fc9", kill_on_drop: false }` [INFO] [stdout] cf36a7bc0bb8b3506fedf5afc4921fe4fec9c184e4681eb36814a21875bd8fc9