[INFO] fetching crate arc-bytes 0.3.5... [INFO] documenting arc-bytes-0.3.5 against 1.61.0 for beta-1.62-rustdoc-1 [INFO] extracting crate arc-bytes 0.3.5 into /workspace/builds/worker-71/source [INFO] validating manifest of crates.io crate arc-bytes 0.3.5 on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-71/source/.cargo/config [INFO] started tweaking crates.io crate arc-bytes 0.3.5 [INFO] finished tweaking crates.io crate arc-bytes 0.3.5 [INFO] tweaked toml for crates.io crate arc-bytes 0.3.5 written to /workspace/builds/worker-71/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "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" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded derive-where v1.0.0-rc.2 [INFO] [stderr] Downloaded pot v1.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38d68d79570962bed144f9c6b46acac7bfaaab2f3533b479a4e97362d40e882f [INFO] running `Command { std: "docker" "start" "-a" "38d68d79570962bed144f9c6b46acac7bfaaab2f3533b479a4e97362d40e882f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38d68d79570962bed144f9c6b46acac7bfaaab2f3533b479a4e97362d40e882f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38d68d79570962bed144f9c6b46acac7bfaaab2f3533b479a4e97362d40e882f", kill_on_drop: false }` [INFO] [stdout] 38d68d79570962bed144f9c6b46acac7bfaaab2f3533b479a4e97362d40e882f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a677daf61e46738df3fd6c0f5d32363e41fd2a73f2d6884ae06241715f08ea30 [INFO] running `Command { std: "docker" "start" "-a" "a677daf61e46738df3fd6c0f5d32363e41fd2a73f2d6884ae06241715f08ea30", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Documenting arc-bytes v0.3.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.57s [INFO] running `Command { std: "docker" "inspect" "a677daf61e46738df3fd6c0f5d32363e41fd2a73f2d6884ae06241715f08ea30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a677daf61e46738df3fd6c0f5d32363e41fd2a73f2d6884ae06241715f08ea30", kill_on_drop: false }` [INFO] [stdout] a677daf61e46738df3fd6c0f5d32363e41fd2a73f2d6884ae06241715f08ea30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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" "RUSTC_BOOTSTRAP=1" "-e" "DOCS_RS=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" "+1.61.0" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--frozen" "--message-format=json" "--" "-Z" "unstable-options" "--document-private-items", kill_on_drop: false }` [INFO] [stdout] 5decad0f5b2c383269b78fe9fc8ae8c587149b3b331e608a84911faaccc37f1e [INFO] running `Command { std: "docker" "start" "-a" "5decad0f5b2c383269b78fe9fc8ae8c587149b3b331e608a84911faaccc37f1e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Documenting arc-bytes v0.3.5 (/opt/rustwide/workdir) [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![doc = include_str!("../README.md")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | #![cfg_attr(doc, deny(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:704:1 [INFO] [stdout] | [INFO] [stdout] 704 | / /// Efficient serialization implementation, ensuring bytes are written as a [INFO] [stdout] 705 | | /// buffer of bytes not as a sequence. [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/serde.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | /// A `Vec` wrapper that supports serializing efficiently in Serde. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/serde.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / impl Bytes { [INFO] [stdout] 62 | | /// Returns the underlying Vec. [INFO] [stdout] 63 | | #[allow(clippy::missing_const_for_fn)] // false positive [INFO] [stdout] 64 | | #[must_use] [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/serde.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | /// Returns the underlying Vec. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/serde.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | /// A `Cow<'a, [u8]>` wrapper that supports serializing efficiently in Serde. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/serde.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | / impl<'a> CowBytes<'a> { [INFO] [stdout] 155 | | /// Returns the underlying Cow. [INFO] [stdout] 156 | | #[allow(clippy::missing_const_for_fn)] // false positive [INFO] [stdout] 157 | | #[must_use] [INFO] [stdout] ... | [INFO] [stdout] 176 | | } [INFO] [stdout] 177 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/serde.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | /// Returns the underlying Cow. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/serde.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | /// Returns the underlying Vec inside of the Cow, or clones the borrowed bytes into a new Vec.. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/serde.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | /// Returns a slice of the contained data. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / /// An immutable buffer of bytes that can be cloned, sliced, and read into [INFO] [stdout] 58 | | /// multiple parts using a single refernce to the underlying buffer. [INFO] [stdout] 59 | | /// [INFO] [stdout] 60 | | /// The read operations do not mutate the buffer when shortening the `self` [INFO] [stdout] 61 | | /// instance. Instead, the position is tracked within the original source buffer. [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / impl<'a> ArcBytes<'a> { [INFO] [stdout] 221 | | /// Returns an empty instance. [INFO] [stdout] 222 | | /// [INFO] [stdout] 223 | | /// ```rust [INFO] [stdout] ... | [INFO] [stdout] 429 | | } [INFO] [stdout] 430 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | /// Converts a clone of this instance into a static lifetime. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | / /// Converts this instance into a `Vec`, attempting to do so without [INFO] [stdout] 287 | | /// extra copying if possible. [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:414:5 [INFO] [stdout] | [INFO] [stdout] 414 | /// Returns an iterator for the contained bytes. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:579:1 [INFO] [stdout] | [INFO] [stdout] 579 | /// An iterator for an [`ArcBytes`]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:620:1 [INFO] [stdout] | [INFO] [stdout] 620 | /// An instance of [`ArcBytes`] that is not borrowing its underlying data. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not document `arc-bytes` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2021 --crate-type lib --crate-name arc_bytes src/lib.rs -o /opt/rustwide/target/doc --cfg 'feature="default"' --cfg 'feature="serde"' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat -Z unstable-options --document-private-items -C metadata=02622f6a3c17a1cc -L dependency=/opt/rustwide/target/debug/deps --extern serde=/opt/rustwide/target/debug/deps/libserde-495ec9fdc6b7531e.rmeta --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-0201a942757f7262.rmeta --extern-html-root-url 'serde=https://docs.rs/serde/1.0.137/' --extern-html-root-url 'thiserror=https://docs.rs/thiserror/1.0.31/' -Zunstable-options --crate-version 0.3.5` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "5decad0f5b2c383269b78fe9fc8ae8c587149b3b331e608a84911faaccc37f1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5decad0f5b2c383269b78fe9fc8ae8c587149b3b331e608a84911faaccc37f1e", kill_on_drop: false }` [INFO] [stdout] 5decad0f5b2c383269b78fe9fc8ae8c587149b3b331e608a84911faaccc37f1e