[INFO] fetching crate conventional-commit 0.1.0... [INFO] documenting conventional-commit-0.1.0 against try#66dfc4e010913fbed0c4ea91fc2c010004b0f441 for pr-73566 [INFO] extracting crate conventional-commit 0.1.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate conventional-commit 0.1.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 conventional-commit 0.1.0 [INFO] finished tweaking crates.io crate conventional-commit 0.1.0 [INFO] tweaked toml for crates.io crate conventional-commit 0.1.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "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" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15cad2d1315833989cc32c8b03a6ebf549dcdb72a4a037d7d18504fb79bf3b40 [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" "15cad2d1315833989cc32c8b03a6ebf549dcdb72a4a037d7d18504fb79bf3b40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15cad2d1315833989cc32c8b03a6ebf549dcdb72a4a037d7d18504fb79bf3b40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15cad2d1315833989cc32c8b03a6ebf549dcdb72a4a037d7d18504fb79bf3b40", kill_on_drop: false }` [INFO] [stdout] 15cad2d1315833989cc32c8b03a6ebf549dcdb72a4a037d7d18504fb79bf3b40 [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" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51e475045e53b013dbbaec8e05193f9ef45200840a4979c432839fbaff71b831 [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" "51e475045e53b013dbbaec8e05193f9ef45200840a4979c432839fbaff71b831", kill_on_drop: false }` [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Documenting conventional-commit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | /// A conventional commit. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | 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/lib.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | ty: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | scope: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | description: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | body: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | breaking_change: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:203:1 [INFO] [stdout] | [INFO] [stdout] 203 | /// All possible errors returned when parsing a conventional commit. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | /// 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/lib.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | /// The scope has an invalid format. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | /// 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/lib.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | /// 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/lib.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | / /// Any other part of the commit does not conform to the conventional commit [INFO] [stdout] 219 | | /// spec. [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / impl ConventionalCommit { [INFO] [stdout] 88 | | /// The type of the commit. [INFO] [stdout] 89 | | pub fn type_(&self) -> &str { [INFO] [stdout] 90 | | self.ty.trim() [INFO] [stdout] ... | [INFO] [stdout] 115 | | } [INFO] [stdout] 116 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | /// The type of the commit. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | /// The optional scope of the commit. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | /// The commit description. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | / /// The commit body, containing a more detailed explanation of the commit [INFO] [stdout] 104 | | /// changes. [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | /// The text discussing any breaking changes. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl fmt::Display for ConventionalCommit { [INFO] [stdout] 119 | | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 120 | | f.write_str(self.type_())?; [INFO] [stdout] 121 | | [INFO] [stdout] ... | [INFO] [stdout] 137 | | } [INFO] [stdout] 138 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | / fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 120 | | f.write_str(self.type_())?; [INFO] [stdout] 121 | | [INFO] [stdout] 122 | | if let Some(scope) = &self.scope() { [INFO] [stdout] ... | [INFO] [stdout] 136 | | Ok(()) [INFO] [stdout] 137 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 223 | / impl fmt::Display for Error { [INFO] [stdout] 224 | | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 225 | | use Error::*; [INFO] [stdout] 226 | | [INFO] [stdout] ... | [INFO] [stdout] 234 | | } [INFO] [stdout] 235 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | / fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 225 | | use Error::*; [INFO] [stdout] 226 | | [INFO] [stdout] 227 | | match self { [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] 234 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | / impl FromStr for ConventionalCommit { [INFO] [stdout] 141 | | type Err = Error; [INFO] [stdout] 142 | | [INFO] [stdout] 143 | | fn from_str(s: &str) -> Result { [INFO] [stdout] ... | [INFO] [stdout] 200 | | } [INFO] [stdout] 201 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | type Err = Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | / fn from_str(s: &str) -> Result { [INFO] [stdout] 144 | | use Error::*; [INFO] [stdout] 145 | | [INFO] [stdout] 146 | | // Example: [INFO] [stdout] ... | [INFO] [stdout] 199 | | }) [INFO] [stdout] 200 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:237:1 [INFO] [stdout] | [INFO] [stdout] 237 | / impl std::error::Error for Error { [INFO] [stdout] 238 | | fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { [INFO] [stdout] 239 | | None [INFO] [stdout] 240 | | } [INFO] [stdout] 241 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | / fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { [INFO] [stdout] 239 | | None [INFO] [stdout] 240 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: Could not document `conventional-commit`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name conventional_commit 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 itertools=/opt/rustwide/target/debug/deps/libitertools-bd81d9a2ae972d98.rmeta --extern unicode_segmentation=/opt/rustwide/target/debug/deps/libunicode_segmentation-53e8f4439d91309a.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "51e475045e53b013dbbaec8e05193f9ef45200840a4979c432839fbaff71b831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51e475045e53b013dbbaec8e05193f9ef45200840a4979c432839fbaff71b831", kill_on_drop: false }` [INFO] [stdout] 51e475045e53b013dbbaec8e05193f9ef45200840a4979c432839fbaff71b831