[INFO] crate indenter 0.3.0 is already in cache [INFO] documenting indenter-0.3.0 against try#66dfc4e010913fbed0c4ea91fc2c010004b0f441 for pr-73566 [INFO] extracting crate indenter 0.3.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate indenter 0.3.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 indenter 0.3.0 [INFO] finished tweaking crates.io crate indenter 0.3.0 [INFO] tweaked toml for crates.io crate indenter 0.3.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate indenter 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0e006bd6c7dd1c6be44c6d9f193aab978e7726850b016e29714947331b0e33cd [INFO] running `Command { std: "docker" "start" "-a" "0e006bd6c7dd1c6be44c6d9f193aab978e7726850b016e29714947331b0e33cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e006bd6c7dd1c6be44c6d9f193aab978e7726850b016e29714947331b0e33cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e006bd6c7dd1c6be44c6d9f193aab978e7726850b016e29714947331b0e33cd", kill_on_drop: false }` [INFO] [stdout] 0e006bd6c7dd1c6be44c6d9f193aab978e7726850b016e29714947331b0e33cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 561b237f2699125a15b96b3bfb70cc1fce34f364bde2be9667f9efd66521df82 [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" "561b237f2699125a15b96b3bfb70cc1fce34f364bde2be9667f9efd66521df82", kill_on_drop: false }` [INFO] [stderr] Documenting indenter v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | / /// Helper struct for efficiently indenting multi line display implementations [INFO] [stdout] 93 | | /// [INFO] [stdout] 94 | | /// # Explanation [INFO] [stdout] 95 | | /// [INFO] [stdout] ... | [INFO] [stdout] 99 | | /// splits on newlines giving slices into the original string. Finally we alternate writing these [INFO] [stdout] 100 | | /// lines and the specified indentation to the output buffer. [INFO] [stdout] | |_____________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | missing_doc_code_examples, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | inner: &'a mut D, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | started: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | format: Format<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | /// The set of supported formats for indentation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | / /// Insert uniform indentation before every line [INFO] [stdout] 69 | | /// [INFO] [stdout] 70 | | /// This format takes a static string as input and inserts it after every newline [INFO] [stdout] | |_____________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | /// The string to insert as indentation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | / /// Inserts a number before the first line [INFO] [stdout] 76 | | /// [INFO] [stdout] 77 | | /// This format hard codes the indentation level to match the indentation from [INFO] [stdout] 78 | | /// `core::backtrace::Backtrace` [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | /// The index to insert before the first line of output [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / /// A custom indenter which is executed after every newline [INFO] [stdout] 84 | | /// [INFO] [stdout] 85 | | /// Custom indenters are passed the current line number and the buffer to be written to as args [INFO] [stdout] | |___________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | /// The custom indenter [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:170:1 [INFO] [stdout] | [INFO] [stdout] 170 | /// Helper function for creating a default indenter [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / /// A callback for `Format::Custom` used to insert indenation after a new line [INFO] [stdout] 109 | | /// [INFO] [stdout] 110 | | /// The first argument is the line number within the output, starting from 0 [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | / impl Format<'_> { [INFO] [stdout] 114 | | fn insert_indentation(&mut self, line: usize, f: &mut dyn fmt::Write) -> fmt::Result { [INFO] [stdout] 115 | | match self { [INFO] [stdout] 116 | | Format::Uniform { indentation } => write!(f, "{}", indentation), [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | / fn insert_indentation(&mut self, line: usize, f: &mut dyn fmt::Write) -> fmt::Result { [INFO] [stdout] 115 | | match self { [INFO] [stdout] 116 | | Format::Uniform { indentation } => write!(f, "{}", indentation), [INFO] [stdout] 117 | | Format::Numbered { ind } => { [INFO] [stdout] ... | [INFO] [stdout] 125 | | } [INFO] [stdout] 126 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 129 | / impl<'a, D> Indented<'a, D> { [INFO] [stdout] 130 | | /// Sets the format to `Format::Numbered` with the provided index [INFO] [stdout] 131 | | pub fn ind(self, ind: usize) -> Self { [INFO] [stdout] 132 | | self.with_format(Format::Numbered { ind }) [INFO] [stdout] ... | [INFO] [stdout] 139 | | } [INFO] [stdout] 140 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | /// Sets the format to `Format::Numbered` with the provided index [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | /// Construct an indenter with a user defined format [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | / impl fmt::Write for Indented<'_, T> [INFO] [stdout] 143 | | where [INFO] [stdout] 144 | | T: fmt::Write, [INFO] [stdout] 145 | | { [INFO] [stdout] ... | [INFO] [stdout] 167 | | } [INFO] [stdout] 168 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | / fn write_str(&mut self, s: &str) -> fmt::Result { [INFO] [stdout] 147 | | for (ind, mut line) in s.split('\n').enumerate() { [INFO] [stdout] 148 | | if !self.started { [INFO] [stdout] 149 | | // trim first line to ensure it lines up with the number nicely [INFO] [stdout] ... | [INFO] [stdout] 166 | | Ok(()) [INFO] [stdout] 167 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "561b237f2699125a15b96b3bfb70cc1fce34f364bde2be9667f9efd66521df82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "561b237f2699125a15b96b3bfb70cc1fce34f364bde2be9667f9efd66521df82", kill_on_drop: false }` [INFO] [stdout] 561b237f2699125a15b96b3bfb70cc1fce34f364bde2be9667f9efd66521df82