[INFO] crate redshirt 0.1.3 is already in cache [INFO] documenting redshirt-0.1.3 against try#66dfc4e010913fbed0c4ea91fc2c010004b0f441 for pr-73566 [INFO] extracting crate redshirt 0.1.3 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate redshirt 0.1.3 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 redshirt 0.1.3 [INFO] finished tweaking crates.io crate redshirt 0.1.3 [INFO] tweaked toml for crates.io crate redshirt 0.1.3 written to /workspace/builds/worker-9/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] 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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df02a2364aad8af74ef373f1fc54c1489a12d0a04cd4afbd51ea8d2f09029c3b [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" "df02a2364aad8af74ef373f1fc54c1489a12d0a04cd4afbd51ea8d2f09029c3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df02a2364aad8af74ef373f1fc54c1489a12d0a04cd4afbd51ea8d2f09029c3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df02a2364aad8af74ef373f1fc54c1489a12d0a04cd4afbd51ea8d2f09029c3b", kill_on_drop: false }` [INFO] [stdout] df02a2364aad8af74ef373f1fc54c1489a12d0a04cd4afbd51ea8d2f09029c3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc97108fa362d7119e4e20e8ee43361863b864b4e484fde40e3873fc7c3c59a9 [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" "bc97108fa362d7119e4e20e8ee43361863b864b4e484fde40e3873fc7c3c59a9", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.56 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Documenting redshirt v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | /// Represents errors that may occur when working with Redshirt-encoded data. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | 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/error.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | /// An I/O error occurred. [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 | /// The Redshirt 1/Redshirt 2 header contains invalid data. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / /// The checksum specified in the Redshirt 2 header does not match the checksum of the encoded [INFO] [stdout] 22 | | /// data. [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | / pub(crate) fn xor_bytes(bytes: &mut [u8]) { [INFO] [stdout] 113 | | for n in bytes { [INFO] [stdout] 114 | | *n ^= 0b1000_0000; [INFO] [stdout] 115 | | } [INFO] [stdout] 116 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/cursor.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / use crate::xor_bytes; [INFO] [stdout] 9 | | use std::{ [INFO] [stdout] 10 | | convert::TryFrom, [INFO] [stdout] 11 | | io::{self, Read, Seek, SeekFrom, Write}, [INFO] [stdout] ... | [INFO] [stdout] 171 | | } [INFO] [stdout] 172 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/cursor.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / pub(crate) struct Cursor { [INFO] [stdout] 19 | | inner: T, [INFO] [stdout] 20 | | base: Option, [INFO] [stdout] 21 | | offset: u64, [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/cursor.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | inner: T, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/cursor.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | base: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/cursor.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | offset: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/cursor.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / pub(crate) struct Chunk { [INFO] [stdout] 25 | | bytes: [u8; BUFFER_LEN], [INFO] [stdout] 26 | | len: usize, [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/cursor.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | bytes: [u8; BUFFER_LEN], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/cursor.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | len: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/cursor.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const BUFFER_LEN: usize = 16384; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/cursor.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / impl Cursor { [INFO] [stdout] 30 | | #[inline] [INFO] [stdout] 31 | | pub(crate) const fn new(inner: T) -> Self { [INFO] [stdout] 32 | | Self { [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/cursor.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / pub(crate) const fn new(inner: T) -> Self { [INFO] [stdout] 32 | | Self { [INFO] [stdout] 33 | | inner, [INFO] [stdout] 34 | | base: None, [INFO] [stdout] 35 | | offset: 0, [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/cursor.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / pub(crate) const fn offset(&self) -> u64 { [INFO] [stdout] 42 | | self.offset [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/cursor.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / pub(crate) fn inner_mut(&mut self) -> &mut T { [INFO] [stdout] 48 | | &mut self.inner [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/cursor.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / pub(crate) fn into_inner(self) -> T { [INFO] [stdout] 53 | | self.inner [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/cursor.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / impl Cursor { [INFO] [stdout] 58 | | #[inline] [INFO] [stdout] 59 | | pub(crate) fn write_chunk(&mut self, buf: &[u8]) -> io::Result { [INFO] [stdout] 60 | | let mut temp = array!(BUFFER_LEN); [INFO] [stdout] ... | [INFO] [stdout] 72 | | } [INFO] [stdout] 73 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/cursor.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / pub(crate) fn write_chunk(&mut self, buf: &[u8]) -> io::Result { [INFO] [stdout] 60 | | let mut temp = array!(BUFFER_LEN); [INFO] [stdout] 61 | | if let Some(chunk) = buf.chunks(temp.len()).next() { [INFO] [stdout] 62 | | let used = &mut temp[..chunk.len()]; [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/cursor.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / impl Chunk { [INFO] [stdout] 152 | | #[inline] [INFO] [stdout] 153 | | pub(self) const fn new(bytes: [u8; BUFFER_LEN], len: usize) -> Self { [INFO] [stdout] 154 | | Self { bytes, len } [INFO] [stdout] 155 | | } [INFO] [stdout] 156 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/cursor.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | / pub(self) const fn new(bytes: [u8; BUFFER_LEN], len: usize) -> Self { [INFO] [stdout] 154 | | Self { bytes, len } [INFO] [stdout] 155 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / use std::{ [INFO] [stdout] 9 | | error, [INFO] [stdout] 10 | | fmt::{self, Display, Formatter}, [INFO] [stdout] 11 | | io, [INFO] [stdout] ... | [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | /// Represents errors that may occur when working with Redshirt-encoded data. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v1.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / //! Redshirt 1 utilities. [INFO] [stdout] 9 | | //! [INFO] [stdout] 10 | | //! This module provides `Reader` and `Writer` types for reading and writing Redshirt 1-encoded [INFO] [stdout] 11 | | //! data, respectively. [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v1.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | /// Reads Redshirt 1-protected data from an input stream. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v1.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Reader(Cursor); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v1.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | /// Writes Redshirt 1-protected data to an output stream. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v1.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Writer(Cursor); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v1.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | const MARKER: [u8; MARKER_LEN] = *b"REDSHIRT\x00"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v1.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | const MARKER_LEN: usize = 9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v1.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / impl Reader { [INFO] [stdout] 28 | | #[inline] [INFO] [stdout] 29 | | /// Creates a new reader from an existing input stream. [INFO] [stdout] 30 | | /// [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v1.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | / impl Writer { [INFO] [stdout] 91 | | #[inline] [INFO] [stdout] 92 | | /// Wraps an existing output stream and writes a valid Redshirt 1 header. [INFO] [stdout] 93 | | /// [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / //! Redshirt 2 utilities. [INFO] [stdout] 9 | | //! [INFO] [stdout] 10 | | //! This module provides `Reader` and `Writer` types for reading and writing Redshirt 2-encoded [INFO] [stdout] 11 | | //! data, respectively. [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | /// Reads Redshirt 2-protected data from an input stream. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Reader(Cursor); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | /// Writes Redshirt 2-protected data to an output stream. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | dst: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | checksum: ChecksumBuilder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | struct ChecksumBuilder(Context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | struct ChecksumBuilder(Context); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | const MARKER: [u8; MARKER_LEN] = *b"REDSHRT2\x00"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | const MARKER_LEN: usize = 9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | const HEADER_LEN: usize = MARKER_LEN + SHA1_OUTPUT_LEN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / impl Reader { [INFO] [stdout] 39 | | #[inline] [INFO] [stdout] 40 | | /// Creates a new reader from an input stream. [INFO] [stdout] 41 | | /// [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/v2.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 132 | / impl Writer { [INFO] [stdout] 133 | | #[inline] [INFO] [stdout] 134 | | /// Wraps an existing output stream and writes a Redshirt 2 header that is valid, but contains [INFO] [stdout] 135 | | /// an invalid SHA-1 hash. [INFO] [stdout] ... | [INFO] [stdout] 203 | | } [INFO] [stdout] 204 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | / fn write_digest(&mut self) -> Result, Error> { [INFO] [stdout] 188 | | if let Some(mut dst) = self.dst.take() { [INFO] [stdout] 189 | | let offset = dst.offset(); [INFO] [stdout] 190 | | dst.inner_mut() [INFO] [stdout] ... | [INFO] [stdout] 202 | | } [INFO] [stdout] 203 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:248:1 [INFO] [stdout] | [INFO] [stdout] 248 | / impl ChecksumBuilder { [INFO] [stdout] 249 | | pub(self) fn new() -> Self { [INFO] [stdout] 250 | | Self(Context::new(&SHA1)) [INFO] [stdout] 251 | | } [INFO] [stdout] ... | [INFO] [stdout] 265 | | } [INFO] [stdout] 266 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | / pub(self) fn new() -> Self { [INFO] [stdout] 250 | | Self(Context::new(&SHA1)) [INFO] [stdout] 251 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | / pub(self) fn update(&mut self, data: &[u8]) { [INFO] [stdout] 254 | | self.0.update(data); [INFO] [stdout] 255 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | / pub(self) fn finish(self) -> [u8; SHA1_OUTPUT_LEN] { [INFO] [stdout] 258 | | let digest = self.0.finish(); [INFO] [stdout] 259 | | let mut out = array!(SHA1_OUTPUT_LEN); [INFO] [stdout] 260 | | out.copy_from_slice(digest.as_ref()); [INFO] [stdout] ... | [INFO] [stdout] 264 | | out [INFO] [stdout] 265 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:232:1 [INFO] [stdout] | [INFO] [stdout] 232 | / impl Drop for Writer { [INFO] [stdout] 233 | | #[inline] [INFO] [stdout] 234 | | /// When a `Writer` is dropped, this causes the SHA-1 hash of all previously encoded data to be [INFO] [stdout] 235 | | /// written into the header. [INFO] [stdout] ... | [INFO] [stdout] 245 | | } [INFO] [stdout] 246 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | / /// When a `Writer` is dropped, this causes the SHA-1 hash of all previously encoded data to be [INFO] [stdout] 235 | | /// written into the header. [INFO] [stdout] 236 | | /// [INFO] [stdout] 237 | | /// In general, you should use `Writer::into_inner` instead of relying on implict `drop` calls. [INFO] [stdout] ... | [INFO] [stdout] 241 | | /// Panics if writing the SHA-1 hash fails for any reason. To catch these errors, use [INFO] [stdout] 242 | | /// `Writer::into_inner` instead of relying on implicit `drop` calls. [INFO] [stdout] | |_________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/cursor.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl AsRef<[u8]> for Chunk { [INFO] [stdout] 159 | | #[inline] [INFO] [stdout] 160 | | fn as_ref(&self) -> &[u8] { [INFO] [stdout] 161 | | &self.bytes[..self.len] [INFO] [stdout] 162 | | } [INFO] [stdout] 163 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/cursor.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | / fn as_ref(&self) -> &[u8] { [INFO] [stdout] 161 | | &self.bytes[..self.len] [INFO] [stdout] 162 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:275:1 [INFO] [stdout] | [INFO] [stdout] 275 | / impl Default for ChecksumBuilder { [INFO] [stdout] 276 | | fn default() -> Self { [INFO] [stdout] 277 | | Self::new() [INFO] [stdout] 278 | | } [INFO] [stdout] 279 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | / fn default() -> Self { [INFO] [stdout] 277 | | Self::new() [INFO] [stdout] 278 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/cursor.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | / impl Deref for Chunk { [INFO] [stdout] 166 | | type Target = [u8]; [INFO] [stdout] 167 | | [INFO] [stdout] 168 | | #[inline] [INFO] [stdout] ... | [INFO] [stdout] 171 | | } [INFO] [stdout] 172 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/cursor.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | type Target = [u8]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/cursor.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | / fn deref(&self) -> &Self::Target { [INFO] [stdout] 170 | | self.as_ref() [INFO] [stdout] 171 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | / impl Debug for Writer { [INFO] [stdout] 207 | | #[inline] [INFO] [stdout] 208 | | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { [INFO] [stdout] 209 | | let digest = self.checksum.clone().finish(); [INFO] [stdout] ... | [INFO] [stdout] 214 | | } [INFO] [stdout] 215 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | / fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { [INFO] [stdout] 209 | | let digest = self.checksum.clone().finish(); [INFO] [stdout] 210 | | f.debug_struct("Writer") [INFO] [stdout] 211 | | .field("dst", &self.dst) [INFO] [stdout] 212 | | .field("digest", &digest) [INFO] [stdout] 213 | | .finish() [INFO] [stdout] 214 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:268:1 [INFO] [stdout] | [INFO] [stdout] 268 | / impl Debug for ChecksumBuilder { [INFO] [stdout] 269 | | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { [INFO] [stdout] 270 | | let digest = self.0.clone().finish(); [INFO] [stdout] 271 | | f.debug_tuple("Checksum").field(&digest).finish() [INFO] [stdout] 272 | | } [INFO] [stdout] 273 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | / fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { [INFO] [stdout] 270 | | let digest = self.0.clone().finish(); [INFO] [stdout] 271 | | f.debug_tuple("Checksum").field(&digest).finish() [INFO] [stdout] 272 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / impl Display for Error { [INFO] [stdout] 27 | | #[inline] [INFO] [stdout] 28 | | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { [INFO] [stdout] 29 | | match self { [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { [INFO] [stdout] 29 | | match self { [INFO] [stdout] 30 | | Error::Io(inner) => Display::fmt(inner, f), [INFO] [stdout] 31 | | Error::BadHeader => f.write_str("bad header"), [INFO] [stdout] 32 | | Error::BadChecksum => f.write_str("bad checksum"), [INFO] [stdout] 33 | | } [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / impl error::Error for Error { [INFO] [stdout] 38 | | #[inline] [INFO] [stdout] 39 | | fn source(&self) -> Option<&(dyn error::Error + 'static)> { [INFO] [stdout] 40 | | match self { [INFO] [stdout] ... | [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / fn source(&self) -> Option<&(dyn error::Error + 'static)> { [INFO] [stdout] 40 | | match self { [INFO] [stdout] 41 | | Error::Io(inner) => Some(inner), [INFO] [stdout] 42 | | _ => None, [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/cursor.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | / impl Read for Cursor { [INFO] [stdout] 76 | | #[inline] [INFO] [stdout] 77 | | fn read(&mut self, buf: &mut [u8]) -> io::Result { [INFO] [stdout] 78 | | match self.inner.read(buf) { [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] 87 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/cursor.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | / fn read(&mut self, buf: &mut [u8]) -> io::Result { [INFO] [stdout] 78 | | match self.inner.read(buf) { [INFO] [stdout] 79 | | Ok(len) => { [INFO] [stdout] 80 | | xor_bytes(&mut buf[..len]); [INFO] [stdout] ... | [INFO] [stdout] 85 | | } [INFO] [stdout] 86 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v1.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / impl Read for Reader { [INFO] [stdout] 77 | | #[inline] [INFO] [stdout] 78 | | fn read(&mut self, buf: &mut [u8]) -> io::Result { [INFO] [stdout] 79 | | self.0.read(buf) [INFO] [stdout] 80 | | } [INFO] [stdout] 81 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v1.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / fn read(&mut self, buf: &mut [u8]) -> io::Result { [INFO] [stdout] 79 | | self.0.read(buf) [INFO] [stdout] 80 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl Read for Reader { [INFO] [stdout] 119 | | #[inline] [INFO] [stdout] 120 | | fn read(&mut self, buf: &mut [u8]) -> io::Result { [INFO] [stdout] 121 | | self.0.read(buf) [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / fn read(&mut self, buf: &mut [u8]) -> io::Result { [INFO] [stdout] 121 | | self.0.read(buf) [INFO] [stdout] 122 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/cursor.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl Seek for Cursor { [INFO] [stdout] 90 | | #[inline] [INFO] [stdout] 91 | | fn seek(&mut self, pos: SeekFrom) -> io::Result { [INFO] [stdout] 92 | | #[inline] [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/cursor.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | / fn seek(&mut self, pos: SeekFrom) -> io::Result { [INFO] [stdout] 92 | | #[inline] [INFO] [stdout] 93 | | fn overflow_error() -> io::Error { [INFO] [stdout] 94 | | io::Error::new( [INFO] [stdout] ... | [INFO] [stdout] 135 | | }) [INFO] [stdout] 136 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v1.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / impl Seek for Reader { [INFO] [stdout] 84 | | #[inline] [INFO] [stdout] 85 | | fn seek(&mut self, pos: SeekFrom) -> io::Result { [INFO] [stdout] 86 | | self.0.seek(pos) [INFO] [stdout] 87 | | } [INFO] [stdout] 88 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v1.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | / fn seek(&mut self, pos: SeekFrom) -> io::Result { [INFO] [stdout] 86 | | self.0.seek(pos) [INFO] [stdout] 87 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v1.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl Seek for Writer { [INFO] [stdout] 142 | | #[inline] [INFO] [stdout] 143 | | fn seek(&mut self, pos: SeekFrom) -> io::Result { [INFO] [stdout] 144 | | self.0.seek(pos) [INFO] [stdout] 145 | | } [INFO] [stdout] 146 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v1.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | / fn seek(&mut self, pos: SeekFrom) -> io::Result { [INFO] [stdout] 144 | | self.0.seek(pos) [INFO] [stdout] 145 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / impl Seek for Reader { [INFO] [stdout] 126 | | #[inline] [INFO] [stdout] 127 | | fn seek(&mut self, pos: SeekFrom) -> io::Result { [INFO] [stdout] 128 | | self.0.seek(pos) [INFO] [stdout] 129 | | } [INFO] [stdout] 130 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | / fn seek(&mut self, pos: SeekFrom) -> io::Result { [INFO] [stdout] 128 | | self.0.seek(pos) [INFO] [stdout] 129 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/cursor.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | / impl Write for Cursor { [INFO] [stdout] 140 | | #[inline] [INFO] [stdout] 141 | | fn write(&mut self, buf: &[u8]) -> io::Result { [INFO] [stdout] 142 | | self.write_chunk(buf).map(|chunk| chunk.len()) [INFO] [stdout] ... | [INFO] [stdout] 148 | | } [INFO] [stdout] 149 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/cursor.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | / fn write(&mut self, buf: &[u8]) -> io::Result { [INFO] [stdout] 142 | | self.write_chunk(buf).map(|chunk| chunk.len()) [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/cursor.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | / fn flush(&mut self) -> io::Result<()> { [INFO] [stdout] 147 | | self.inner.flush() [INFO] [stdout] 148 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v1.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 129 | / impl Write for Writer { [INFO] [stdout] 130 | | #[inline] [INFO] [stdout] 131 | | fn write(&mut self, buf: &[u8]) -> io::Result { [INFO] [stdout] 132 | | self.0.write(buf) [INFO] [stdout] ... | [INFO] [stdout] 138 | | } [INFO] [stdout] 139 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v1.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | / fn write(&mut self, buf: &[u8]) -> io::Result { [INFO] [stdout] 132 | | self.0.write(buf) [INFO] [stdout] 133 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v1.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | / fn flush(&mut self) -> io::Result<()> { [INFO] [stdout] 137 | | self.0.flush() [INFO] [stdout] 138 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | / impl Write for Writer { [INFO] [stdout] 218 | | #[inline] [INFO] [stdout] 219 | | fn write(&mut self, buf: &[u8]) -> io::Result { [INFO] [stdout] 220 | | self.dst.as_mut().unwrap().write_chunk(buf).map(|chunk| { [INFO] [stdout] ... | [INFO] [stdout] 229 | | } [INFO] [stdout] 230 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | / fn write(&mut self, buf: &[u8]) -> io::Result { [INFO] [stdout] 220 | | self.dst.as_mut().unwrap().write_chunk(buf).map(|chunk| { [INFO] [stdout] 221 | | self.checksum.update(&chunk); [INFO] [stdout] 222 | | chunk.len() [INFO] [stdout] 223 | | }) [INFO] [stdout] 224 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/v2.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | / fn flush(&mut self) -> io::Result<()> { [INFO] [stdout] 228 | | self.dst.as_mut().unwrap().flush() [INFO] [stdout] 229 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 92 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: Could not document `redshirt`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name redshirt src/lib.rs -o /opt/rustwide/target/doc --cfg 'feature="default"' --cfg 'feature="redshirt1"' --cfg 'feature="redshirt2"' --cfg 'feature="ring"' --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern ring=/opt/rustwide/target/debug/deps/libring-3c698d55384de624.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "bc97108fa362d7119e4e20e8ee43361863b864b4e484fde40e3873fc7c3c59a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc97108fa362d7119e4e20e8ee43361863b864b4e484fde40e3873fc7c3c59a9", kill_on_drop: false }` [INFO] [stdout] bc97108fa362d7119e4e20e8ee43361863b864b4e484fde40e3873fc7c3c59a9