[INFO] crate omnom 3.0.0 is already in cache [INFO] documenting omnom-3.0.0 against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] extracting crate omnom 3.0.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate omnom 3.0.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 omnom 3.0.0 [INFO] finished tweaking crates.io crate omnom 3.0.0 [INFO] tweaked toml for crates.io crate omnom 3.0.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate crates.io crate omnom 3.0.0 already has a lockfile, it will not be regenerated [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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] f58c8a2f7bae125a3be277aefdc4493e0314c8ccbe3bf5c31f7efbc0840ca7ed [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" "f58c8a2f7bae125a3be277aefdc4493e0314c8ccbe3bf5c31f7efbc0840ca7ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f58c8a2f7bae125a3be277aefdc4493e0314c8ccbe3bf5c31f7efbc0840ca7ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f58c8a2f7bae125a3be277aefdc4493e0314c8ccbe3bf5c31f7efbc0840ca7ed", kill_on_drop: false }` [INFO] [stdout] f58c8a2f7bae125a3be277aefdc4493e0314c8ccbe3bf5c31f7efbc0840ca7ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] 166b892882654992dab1e26b6b75605afaca8811a1b2df4735ba24554be4e408 [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" "166b892882654992dab1e26b6b75605afaca8811a1b2df4735ba24554be4e408", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Documenting omnom v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/buf_read_ext.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use std::io::{self, BufRead, ErrorKind, Read}; [INFO] [stdout] 2 | | use std::slice; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | /// Extend `BufRead` with methods for streaming parsing. [INFO] [stdout] ... | [INFO] [stdout] 207 | | [INFO] [stdout] 208 | | impl BufReadExt for T {} [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | #![warn(missing_docs, missing_doc_code_examples, unreachable_pub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/buf_read_ext.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | /// Extend `BufRead` with methods for streaming parsing. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[Cursor]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/buf_read_ext.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | /// [`std::io::Cursor`][`Cursor`] is a type that implements `BufRead`. In [INFO] [stdout] | ^^^^^^^^ cannot be resolved, ignoring [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(intra_doc_link_resolution_failure)]` on by default [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[Cursor]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/buf_read_ext.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | /// [`std::io::Cursor`][`Cursor`] is a type that implements `BufRead`. In [INFO] [stdout] | ^^^^^^^^ cannot be resolved, ignoring [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[Cursor]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/buf_read_ext.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | /// this example, we use [`Cursor`] to read bytes in a byte slice until [INFO] [stdout] | ^^^^^^^^ cannot be resolved, ignoring [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/buf_read_ext.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | /// Skip the first `n` bytes. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/buf_read_ext.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | /// Skip bytes while the predicate is true. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/read_bytes.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use std::io::{self, Read}; [INFO] [stdout] 2 | | use std::mem; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | /// Trait to enable writing bytes to a reader. [INFO] [stdout] ... | [INFO] [stdout] 116 | | read_bytes_impl!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] 117 | | read_bytes_impl!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/read_bytes.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | /// Trait to enable writing bytes to a reader. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/read_bytes.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / /// Read bytes from a reader as big endian. [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// Returns the amount of bytes read. [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/read_bytes.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / /// Read bytes from a reader as little endian. [INFO] [stdout] 12 | | /// [INFO] [stdout] 13 | | /// Returns the amount of bytes read. [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/read_bytes.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / /// Read bytes from a reader using native endianness. [INFO] [stdout] 17 | | /// [INFO] [stdout] 18 | | /// Returns the amount of bytes read. [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/read_ext.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use std::io::{self, Read}; [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | use crate::ReadBytes; [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 22 | | [INFO] [stdout] 23 | | impl ReadExt for T {} [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/read_ext.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | /// Extension trait to `Read` to read bytes using endianness. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/read_ext.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | /// Read bytes as big endian. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/read_ext.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | /// Read bytes as little endian. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/read_ext.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | /// Read bytes using native endianness. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/write_bytes.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use std::io::{self, Write}; [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | /// Trait to enable writing bytes to a writer. [INFO] [stdout] 4 | | pub trait WriteBytes { [INFO] [stdout] ... | [INFO] [stdout] 106 | | write_bytes_impl!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] 107 | | write_bytes_impl!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/write_bytes.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | /// Trait to enable writing bytes to a writer. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/write_bytes.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | / /// Write bytes to a writer as big endian. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// Returns the amount of bytes written. [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/write_bytes.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / /// Write bytes to a writer as little endian. [INFO] [stdout] 11 | | /// [INFO] [stdout] 12 | | /// Returns the amount of bytes written. [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/write_bytes.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / /// Write bytes to a writer using native endianness. [INFO] [stdout] 16 | | /// [INFO] [stdout] 17 | | /// Returns the amount of bytes written. [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/write_ext.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::WriteBytes; [INFO] [stdout] 2 | | use std::io::{self, Write}; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | /// Extension trait to `Write` to write bytes using endianness. [INFO] [stdout] ... | [INFO] [stdout] 27 | | [INFO] [stdout] 28 | | impl WriteExt for T {} [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/write_ext.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | /// Extension trait to `Write` to write bytes using endianness. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/write_ext.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / /// Write bytes as big endian. [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// Returns the amount of bytes written. [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/write_ext.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / /// Write bytes as little endian. [INFO] [stdout] 14 | | /// [INFO] [stdout] 15 | | /// Returns the amount of bytes written. [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/write_ext.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / /// Write bytes using native endianness. [INFO] [stdout] 21 | | /// [INFO] [stdout] 22 | | /// Returns the amount of bytes written. [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | /// The `omnom` prelude. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/buf_read_ext.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | impl BufReadExt for T {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/read_bytes.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | / impl ReadBytes for $SelfT { [INFO] [stdout] 32 | | doc_comment! { [INFO] [stdout] 33 | | concat!("Read bytes from a reader as big endian. [INFO] [stdout] 34 | | [INFO] [stdout] ... | [INFO] [stdout] 112 | | } [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] ... [INFO] [stdout] 116 | read_bytes_impl!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/read_bytes.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | / impl ReadBytes for $SelfT { [INFO] [stdout] 32 | | doc_comment! { [INFO] [stdout] 33 | | concat!("Read bytes from a reader as big endian. [INFO] [stdout] 34 | | [INFO] [stdout] ... | [INFO] [stdout] 112 | | } [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] ... [INFO] [stdout] 117 | read_bytes_impl!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/read_ext.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | impl ReadExt for T {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/write_bytes.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / impl WriteBytes for $SelfT { [INFO] [stdout] 31 | | doc_comment! { [INFO] [stdout] 32 | | concat!("Write bytes to a writer as big endian. [INFO] [stdout] 33 | | [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] 103 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] ... [INFO] [stdout] 106 | write_bytes_impl!(u8, u16, u32, u64, u128, usize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/write_bytes.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / impl WriteBytes for $SelfT { [INFO] [stdout] 31 | | doc_comment! { [INFO] [stdout] 32 | | concat!("Write bytes to a writer as big endian. [INFO] [stdout] 33 | | [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] 103 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] ... [INFO] [stdout] 107 | write_bytes_impl!(i8, i16, i32, i64, i128, isize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/write_ext.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | impl WriteExt for T {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.74s [INFO] running `Command { std: "docker" "inspect" "166b892882654992dab1e26b6b75605afaca8811a1b2df4735ba24554be4e408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "166b892882654992dab1e26b6b75605afaca8811a1b2df4735ba24554be4e408", kill_on_drop: false }` [INFO] [stdout] 166b892882654992dab1e26b6b75605afaca8811a1b2df4735ba24554be4e408