[INFO] fetching crate tinyid 1.0.1... [INFO] documenting tinyid-1.0.1 against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] extracting crate tinyid 1.0.1 into /workspace/builds/worker-21/source [INFO] validating manifest of crates.io crate tinyid 1.0.1 on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tinyid 1.0.1 [INFO] finished tweaking crates.io crate tinyid 1.0.1 [INFO] tweaked toml for crates.io crate tinyid 1.0.1 written to /workspace/builds/worker-21/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15ca076a417c81994aa30015d2cd5179ba853ad768bcd0bba7125b4f083522af [INFO] running `Command { std: "docker" "start" "-a" "15ca076a417c81994aa30015d2cd5179ba853ad768bcd0bba7125b4f083522af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15ca076a417c81994aa30015d2cd5179ba853ad768bcd0bba7125b4f083522af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15ca076a417c81994aa30015d2cd5179ba853ad768bcd0bba7125b4f083522af", kill_on_drop: false }` [INFO] [stdout] 15ca076a417c81994aa30015d2cd5179ba853ad768bcd0bba7125b4f083522af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c8cc57020985e5705f038c64336b13dffcc01b22ac2515a073b34128e23bd62 [INFO] running `Command { std: "docker" "start" "-a" "0c8cc57020985e5705f038c64336b13dffcc01b22ac2515a073b34128e23bd62", kill_on_drop: false }` [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Documenting tinyid v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "0c8cc57020985e5705f038c64336b13dffcc01b22ac2515a073b34128e23bd62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c8cc57020985e5705f038c64336b13dffcc01b22ac2515a073b34128e23bd62", kill_on_drop: false }` [INFO] [stdout] 0c8cc57020985e5705f038c64336b13dffcc01b22ac2515a073b34128e23bd62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "DOCS_RS=1" "-e" "RUSTC_BOOTSTRAP=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "rustdoc" "--lib" "-Zrustdoc-map" "--frozen" "--message-format=json" "--" "-Z" "unstable-options" "--document-private-items", kill_on_drop: false }` [INFO] [stdout] fa2ab66351d54c49c1f5ffa41929ea851ba10281fee8993e40cb72e35ea07935 [INFO] running `Command { std: "docker" "start" "-a" "fa2ab66351d54c49c1f5ffa41929ea851ba10281fee8993e40cb72e35ea07935", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Documenting tinyid v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | /// Error type used by [`TinyId`] operations that are fallible. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | rustdoc::all, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(rustdoc::missing_doc_code_examples)]` implied by `#[deny(rustdoc::all)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | / /// A tiny 8-byte ID type that is **NOT** cryptographically secure, but is easy and convenient [INFO] [stdout] 75 | | /// for tasks that don't require the utmost security or uniqueness. During lightweight testing, [INFO] [stdout] 76 | | /// between 1 and 10 million IDs can be generated without any collisions, and performance has [INFO] [stdout] 77 | | /// been pretty good. [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / impl TinyId { [INFO] [stdout] 85 | | /// The number of letters that make up the potential pool of characters for a [`TinyId`]. [INFO] [stdout] 86 | | pub const LETTER_COUNT: usize = 64; [INFO] [stdout] 87 | | /// The letter pool used during generation of a [`TinyId`]. [INFO] [stdout] ... | [INFO] [stdout] 281 | | } [INFO] [stdout] 282 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | / /// Test whether the given byte is valid for use as one of the 8 bytes in a [`TinyId`]. [INFO] [stdout] 101 | | /// [INFO] [stdout] 102 | | /// This function exists because I'm tired of writing `if LETTERS.contains(&byte)` everywhere. [INFO] [stdout] 103 | | /// Hopefully it is also more efficient to do it this way. [INFO] [stdout] ... | [INFO] [stdout] 112 | | /// aka [INFO] [stdout] 113 | | /// [45, 48..=57, 65..=90, 95, 97..=122] [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 | /// Create an instance of the `null` [`TinyId`]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | /// Create a new random [`TinyId`]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | /// Checks whether this [`TinyId`] is null or has any invalid bytes. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | /// Checks whether this [`TinyId`] is null. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | /// Makes this [`TinyId`] null. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | / /// Convert from [`&str`] to [`TinyId`], without checking the length or [INFO] [stdout] 194 | | /// individual characters of the input. [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | /// Convert this [`TinyId`] to an array of 8 bytes. [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 | / /// Attempt to create a new [`TinyId`] from a u64. [INFO] [stdout] 211 | | /// [INFO] [stdout] 212 | | /// ## Errors [INFO] [stdout] 213 | | /// - [`TinyIdError::InvalidLength`] if the input is not 8 bytes long. [INFO] [stdout] 214 | | /// - [`TinyIdError::InvalidCharacters`] if the input contains invalid chars/bytes. [INFO] [stdout] | |_______________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | / /// Creates a new [`TinyId`] from the given `u64`, without validating [INFO] [stdout] 221 | | /// that the bytes are valid. [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | /// Convert this [`TinyId`] to a u64 representation. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | / /// Attempt to create a new [`TinyId`] from the given byte array. [INFO] [stdout] 235 | | /// [INFO] [stdout] 236 | | /// ## Errors [INFO] [stdout] 237 | | /// - [`TinyIdError::InvalidCharacters`] if the input contains invalid chars/bytes. [INFO] [stdout] | |_______________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | / /// Creates a new [`TinyId`] from the given `[u8; 8]`, without validating [INFO] [stdout] 248 | | /// that the bytes are valid. [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not document `tinyid` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2021 --crate-type lib --crate-name tinyid src/lib.rs -o /opt/rustwide/target/doc --cfg 'feature="default"' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat -Z unstable-options --document-private-items -C metadata=9186ec2b51b2fc89 -L dependency=/opt/rustwide/target/debug/deps --extern fastrand=/opt/rustwide/target/debug/deps/libfastrand-28b5cac7648d5793.rmeta --extern-html-root-url 'fastrand=https://docs.rs/fastrand/1.7.0/' -Zunstable-options --crate-version 1.0.1` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "fa2ab66351d54c49c1f5ffa41929ea851ba10281fee8993e40cb72e35ea07935", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa2ab66351d54c49c1f5ffa41929ea851ba10281fee8993e40cb72e35ea07935", kill_on_drop: false }` [INFO] [stdout] fa2ab66351d54c49c1f5ffa41929ea851ba10281fee8993e40cb72e35ea07935