[INFO] cloning repository https://github.com/Stromberg90/trashy-xml [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Stromberg90/trashy-xml" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStromberg90%2Ftrashy-xml", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStromberg90%2Ftrashy-xml'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f51e6335ec1b008849b78bca2c4c05c87fd9e6ea [INFO] documenting Stromberg90/trashy-xml against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStromberg90%2Ftrashy-xml" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Stromberg90/trashy-xml 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 git repo https://github.com/Stromberg90/trashy-xml [INFO] finished tweaking git repo https://github.com/Stromberg90/trashy-xml [INFO] tweaked toml for git repo https://github.com/Stromberg90/trashy-xml written to /workspace/builds/worker-3/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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] caf8e80250db2ce9f9bc0d173e5cecdaa9846e1d54fa78e48b06c3b86be0b8ca [INFO] running `Command { std: "docker" "start" "-a" "caf8e80250db2ce9f9bc0d173e5cecdaa9846e1d54fa78e48b06c3b86be0b8ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "caf8e80250db2ce9f9bc0d173e5cecdaa9846e1d54fa78e48b06c3b86be0b8ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caf8e80250db2ce9f9bc0d173e5cecdaa9846e1d54fa78e48b06c3b86be0b8ca", kill_on_drop: false }` [INFO] [stdout] caf8e80250db2ce9f9bc0d173e5cecdaa9846e1d54fa78e48b06c3b86be0b8ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 86144ca9d8f10510d491164d7bfccc73e7357cba76993deaf4cd6cdffef8e921 [INFO] running `Command { std: "docker" "start" "-a" "86144ca9d8f10510d491164d7bfccc73e7357cba76993deaf4cd6cdffef8e921", kill_on_drop: false }` [INFO] [stderr] Compiling libmimalloc-sys v0.1.25 [INFO] [stderr] Checking mimalloc v0.1.29 [INFO] [stderr] Documenting trashy-xml v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `missing_doc_code_examples` has been renamed to `rustdoc::missing_doc_code_examples` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | missing_doc_code_examples [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_doc_code_examples` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.49s [INFO] running `Command { std: "docker" "inspect" "86144ca9d8f10510d491164d7bfccc73e7357cba76993deaf4cd6cdffef8e921", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86144ca9d8f10510d491164d7bfccc73e7357cba76993deaf4cd6cdffef8e921", kill_on_drop: false }` [INFO] [stdout] 86144ca9d8f10510d491164d7bfccc73e7357cba76993deaf4cd6cdffef8e921 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] d7bf3e623af8ac342b6130d07b945b526e1491058e62532c2d4a0bd23cbce381 [INFO] running `Command { std: "docker" "start" "-a" "d7bf3e623af8ac342b6130d07b945b526e1491058e62532c2d4a0bd23cbce381", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling libmimalloc-sys v0.1.25 [INFO] [stderr] Checking mimalloc v0.1.29 [INFO] [stderr] Documenting trashy-xml v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `missing_doc_code_examples` has been renamed to `rustdoc::missing_doc_code_examples` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | missing_doc_code_examples [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_doc_code_examples` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | /// The different types returned by the parser. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | missing_doc_code_examples [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/tokens.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | /// Trait for getting parent and sibling tokens. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/tokens.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | fn parent(&self) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/tokens.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | fn siblings(&self) -> Vec>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/tokens.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | /// Comment added only if ignore_comments is set to false. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/tokens.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / pub struct Attribute<'a> { [INFO] [stdout] 32 | | pub key: (String, FilePosition), [INFO] [stdout] 33 | | pub value: Option<(String, FilePosition)>, [INFO] [stdout] 34 | | pub parent: Option>, [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/tokens.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / pub struct InnerText<'a> { [INFO] [stdout] 99 | | pub string: String, [INFO] [stdout] 100 | | pub position: FilePosition, [INFO] [stdout] 101 | | pub parent: Option>, [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/tokens.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | / pub struct OpenElement<'a> { [INFO] [stdout] 114 | | pub name: String, [INFO] [stdout] 115 | | pub position: FilePosition, [INFO] [stdout] 116 | | pub(crate) id: usize, [INFO] [stdout] ... | [INFO] [stdout] 119 | | pub(crate) children: Vec>, [INFO] [stdout] 120 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/tokens.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | / impl<'a> OpenElement<'a> { [INFO] [stdout] 129 | | pub fn attributes_from_name(&self, name: &str) -> Vec> { [INFO] [stdout] 130 | | self.attributes [INFO] [stdout] 131 | | .get(name) [INFO] [stdout] ... | [INFO] [stdout] 152 | | } [INFO] [stdout] 153 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/tokens.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | / pub fn attributes_from_name(&self, name: &str) -> Vec> { [INFO] [stdout] 130 | | self.attributes [INFO] [stdout] 131 | | .get(name) [INFO] [stdout] 132 | | .unwrap_or(&Vec::new()) [INFO] [stdout] ... | [INFO] [stdout] 135 | | .collect::>() [INFO] [stdout] 136 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/tokens.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | / pub fn attributes(&self) -> Vec> { [INFO] [stdout] 139 | | self.attributes [INFO] [stdout] 140 | | .values() [INFO] [stdout] 141 | | .into_iter() [INFO] [stdout] ... | [INFO] [stdout] 144 | | .collect() [INFO] [stdout] 145 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/tokens.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | / pub fn children(&self) -> Vec> { [INFO] [stdout] 148 | | self.children [INFO] [stdout] 149 | | .iter() [INFO] [stdout] 150 | | .map(|e| e.borrow().clone()) [INFO] [stdout] 151 | | .collect::>() [INFO] [stdout] 152 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/tokens.rs:156:1 [INFO] [stdout] | [INFO] [stdout] 156 | / pub struct CloseElement<'a> { [INFO] [stdout] 157 | | pub name: Option, [INFO] [stdout] 158 | | pub position: FilePosition, [INFO] [stdout] 159 | | pub parent: Option>, [INFO] [stdout] 160 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/tokens.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | /// Enum with the different token types [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/tokens.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | / impl<'a> XmlToken<'a> { [INFO] [stdout] 237 | | pub(crate) fn comment(str: S, position: FilePosition) -> XmlToken<'a> [INFO] [stdout] 238 | | where [INFO] [stdout] 239 | | S: Into, [INFO] [stdout] ... | [INFO] [stdout] 417 | | } [INFO] [stdout] 418 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/tokens.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 347 | / pub fn is_comment(&self) -> bool { [INFO] [stdout] 348 | | matches!(self, XmlToken::Comment(..)) [INFO] [stdout] 349 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/tokens.rs:351:5 [INFO] [stdout] | [INFO] [stdout] 351 | / pub fn is_attribute(&self) -> bool { [INFO] [stdout] 352 | | matches!(self, XmlToken::Attribute(..)) [INFO] [stdout] 353 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/tokens.rs:355:5 [INFO] [stdout] | [INFO] [stdout] 355 | / pub fn is_inner_text(&self) -> bool { [INFO] [stdout] 356 | | matches!(self, XmlToken::InnerText(..)) [INFO] [stdout] 357 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/tokens.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | / pub fn is_open_element(&self) -> bool { [INFO] [stdout] 360 | | matches!(self, XmlToken::OpenElement(..)) [INFO] [stdout] 361 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/tokens.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | / pub fn is_close_element(&self) -> bool { [INFO] [stdout] 364 | | matches!(self, XmlToken::CloseElement(..)) [INFO] [stdout] 365 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/tokens.rs:367:5 [INFO] [stdout] | [INFO] [stdout] 367 | / pub fn as_comment(&self) -> &Comment { [INFO] [stdout] 368 | | match self { [INFO] [stdout] 369 | | XmlToken::Comment(v) => v, [INFO] [stdout] 370 | | _ => unreachable!(), [INFO] [stdout] 371 | | } [INFO] [stdout] 372 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/tokens.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 374 | / pub fn as_attribute(&self) -> &Attribute<'a> { [INFO] [stdout] 375 | | match self { [INFO] [stdout] 376 | | XmlToken::Attribute(v) => v, [INFO] [stdout] 377 | | _ => unreachable!(), [INFO] [stdout] 378 | | } [INFO] [stdout] 379 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/tokens.rs:381:5 [INFO] [stdout] | [INFO] [stdout] 381 | / pub fn as_inner_text(&self) -> &InnerText<'a> { [INFO] [stdout] 382 | | match self { [INFO] [stdout] 383 | | XmlToken::InnerText(v) => v, [INFO] [stdout] 384 | | _ => unreachable!(), [INFO] [stdout] 385 | | } [INFO] [stdout] 386 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/tokens.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 388 | / pub fn as_open_element(&self) -> &OpenElement<'a> { [INFO] [stdout] 389 | | match self { [INFO] [stdout] 390 | | XmlToken::OpenElement(v) => v, [INFO] [stdout] 391 | | _ => unreachable!(), [INFO] [stdout] 392 | | } [INFO] [stdout] 393 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/tokens.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 395 | / pub fn as_close_element(&self) -> &CloseElement<'a> { [INFO] [stdout] 396 | | match self { [INFO] [stdout] 397 | | XmlToken::CloseElement(v) => v, [INFO] [stdout] 398 | | _ => unreachable!(), [INFO] [stdout] 399 | | } [INFO] [stdout] 400 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/tokens.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 409 | / pub fn position(&self) -> FilePosition { [INFO] [stdout] 410 | | match self { [INFO] [stdout] 411 | | XmlToken::Comment(v) => v.position, [INFO] [stdout] 412 | | XmlToken::Attribute(v) => v.key.1, [INFO] [stdout] ... | [INFO] [stdout] 416 | | } [INFO] [stdout] 417 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/tokens.rs:421:1 [INFO] [stdout] | [INFO] [stdout] 421 | /// Position in the source file or string. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | /// Struct with settings that's used during parsing. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | /// The main parser struct. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | /// Formatted error message token. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / impl FmtXmlError { [INFO] [stdout] 78 | | pub(crate) fn new(str: S, position: FilePosition) -> Self [INFO] [stdout] 79 | | where [INFO] [stdout] 80 | | S: Into, [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] 87 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | /// Struct returned after calling [XmlParser::parse()]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | / impl<'a> ParsedXml<'a> { [INFO] [stdout] 102 | | /// Takes a name and returns all open elements matching that name. [INFO] [stdout] 103 | | pub fn elements_from_name(&self, name: &str) -> Vec> { [INFO] [stdout] 104 | | self.open_elements [INFO] [stdout] ... | [INFO] [stdout] 366 | | } [INFO] [stdout] 367 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | /// Takes a name and returns all open elements matching that name. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | /// Returns vector with all open elements. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | / pub fn token_from_position(&self, position: FilePosition) -> Option> { [INFO] [stdout] 357 | | assert!(self.create_position_map); [INFO] [stdout] 358 | | if let Some(line) = self.token_map.get(&position.line) { [INFO] [stdout] 359 | | for (range, token) in line { [INFO] [stdout] ... | [INFO] [stdout] 365 | | None [INFO] [stdout] 366 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | / impl<'a> XmlParser { [INFO] [stdout] 479 | | /// Initializes a [XmlParser] by reading the file into a buffer. [INFO] [stdout] 480 | | pub fn file>(filepath: P) -> Result> { [INFO] [stdout] 481 | | Ok(Self { [INFO] [stdout] ... | [INFO] [stdout] 1009 | | } [INFO] [stdout] 1010 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:479:5 [INFO] [stdout] | [INFO] [stdout] 479 | /// Initializes a [XmlParser] by reading the file into a buffer. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:489:5 [INFO] [stdout] | [INFO] [stdout] 489 | /// Same as above, but also takes another argument with [Settings]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:502:5 [INFO] [stdout] | [INFO] [stdout] 502 | /// Initializes a [XmlParser] by convering the string slice to a vector of bytes. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:512:5 [INFO] [stdout] | [INFO] [stdout] 512 | /// Same as above, but also takes another argument with [Settings]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:572:5 [INFO] [stdout] | [INFO] [stdout] 572 | /// Takes the settings and does the actual parsing and returning a [ParsedXml] struct. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.60s [INFO] running `Command { std: "docker" "inspect" "d7bf3e623af8ac342b6130d07b945b526e1491058e62532c2d4a0bd23cbce381", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7bf3e623af8ac342b6130d07b945b526e1491058e62532c2d4a0bd23cbce381", kill_on_drop: false }` [INFO] [stdout] d7bf3e623af8ac342b6130d07b945b526e1491058e62532c2d4a0bd23cbce381