[INFO] crate tweep 0.3.0 is already in cache [INFO] documenting tweep-0.3.0 against try#66dfc4e010913fbed0c4ea91fc2c010004b0f441 for pr-73566 [INFO] extracting crate tweep 0.3.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate tweep 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 tweep 0.3.0 [INFO] finished tweaking crates.io crate tweep 0.3.0 [INFO] tweaked toml for crates.io crate tweep 0.3.0 written to /workspace/builds/worker-8/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] 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" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 016628e6fa5b96adfad3b485da7d3f7a923027f5accf73d3a85120ffd2ca81ec [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" "016628e6fa5b96adfad3b485da7d3f7a923027f5accf73d3a85120ffd2ca81ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "016628e6fa5b96adfad3b485da7d3f7a923027f5accf73d3a85120ffd2ca81ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "016628e6fa5b96adfad3b485da7d3f7a923027f5accf73d3a85120ffd2ca81ec", kill_on_drop: false }` [INFO] [stdout] 016628e6fa5b96adfad3b485da7d3f7a923027f5accf73d3a85120ffd2ca81ec [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" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c37361913dc2fb3472e42d60198eed7895f75239d282797e512cd25b14b4169 [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" "3c37361913dc2fb3472e42d60198eed7895f75239d282797e512cd25b14b4169", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Checking serde_json v1.0.56 [INFO] [stderr] Documenting tweep v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/position.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | /// The one-indexed line number [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | #![warn(missing_doc_code_examples)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/position.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | /// The one-indexed column number [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/position.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | /// Kind of position [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/full_context.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / /// A context that represents a span of twee code with a beginning, end, and [INFO] [stdout] 7 | | /// contents, along with a file name and some helper functions [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/full_context.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | file_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/full_context.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | start_position: Position, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/full_context.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | end_position: Position, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/full_context.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | contents: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/full_context.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | line_starts: Rc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/partial_context.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / /// A Context that holds only an optional file name and 1-indexed start position [INFO] [stdout] 4 | | /// [INFO] [stdout] 5 | | /// Intended to be constructed only from a [`FullContext`] as a way of [INFO] [stdout] 6 | | /// discarding additional, unwanted information. [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// [`FullContext`]: struct.FullContext.html [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/partial_context.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | file_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/partial_context.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | start_position: Position, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / /// An error with an owned [`ErrorKind`] and [`Position`] [INFO] [stdout] 5 | | /// [INFO] [stdout] 6 | | /// [`ErrorKind`]: enum.ErrorKind.html [INFO] [stdout] 7 | | /// [`Position`]: enum.Position.html [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | /// The type of error [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | /// The context of the error [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error_list.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / /// A wrapper type for a list of [`Error`]s [INFO] [stdout] 4 | | /// [INFO] [stdout] 5 | | /// [`Error`]: struct.Error.html [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error_list.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | /// The list of `Error`s [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/warning.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | /// The warning type [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/warning.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | /// The context of this Warning [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/warning.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | /// The location referenced by this warning [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/output.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / /// Represents the output of an operation along with a [`Vec`] of any [INFO] [stdout] 4 | | /// [`Warning`]s generated by the operation. [INFO] [stdout] 5 | | /// [INFO] [stdout] 6 | | /// If the contained type `T` implements the [`Positional`] trait, then [INFO] [stdout] ... | [INFO] [stdout] 11 | | /// [`Warning`]: struct.Warning.html [INFO] [stdout] 12 | | /// [`Positional`]: trait.Positional.html [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[std::Vec]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/output.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | /// [`Vec`]: std::Vec [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: missing code example in this documentation [INFO] [stdout] --> src/output.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | /// The output of the operation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/output.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | /// The associated [`Warning`]s [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/passage.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / /// A complete Twee passage, including header and content [INFO] [stdout] 15 | | /// [INFO] [stdout] 16 | | /// # Parse Errors [INFO] [stdout] 17 | | /// See [`PassageHeader`] and possible [`PassageContent`] variants [INFO] [stdout] ... | [INFO] [stdout] 22 | | /// [`PassageHeader`]: struct.PassageHeader.html [INFO] [stdout] 23 | | /// [`PassageContent`]: enum.PassageContent.html [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/passage.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | /// The header [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/passage.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | /// The content [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/passage.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | /// The context [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/header.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | /// The name of the header. This can be a Twine passage name or a special name [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/header.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | /// The list of comma separated tags [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/header.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | /// A json object containing metadata for the passage [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/script_content.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / /// The content of a [`Passage`] tagged with `script`, containing script data. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// No validation is done when parsing this content. [INFO] [stdout] 8 | | /// [INFO] [stdout] ... | [INFO] [stdout] 14 | | /// [INFO] [stdout] 15 | | /// [`Passage`]: struct.Passage.html [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/script_content.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | /// The full content of the passage [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/story_data.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / /// The content of a special passage with the name StoryData that contains a [INFO] [stdout] 12 | | /// JSON blob with various information about the story. [INFO] [stdout] 13 | | /// [INFO] [stdout] 14 | | /// # JSON fields [INFO] [stdout] ... | [INFO] [stdout] 26 | | /// # Parse Warnings [INFO] [stdout] 27 | | /// * [`JsonError`] - Error encountered while parsing the JSON content [INFO] [stdout] | |______________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[JsonError]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/passages/story_data.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | /// * [`JsonError`] - Error encountered while parsing the JSON content [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/passages/story_data.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | /// Interactive Fiction IDentifier v4 UUID [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/story_data.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | /// The story format [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/story_data.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | /// The version of the story format [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/story_data.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | /// The starting passage [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/story_data.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | /// Map of tag name to color name for coloring tags [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/story_data.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | /// Zoom level for editing in Twine [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/story_title.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | /// The title content [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/stylesheet_content.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / /// The contents of a [`Passage`] tagged with `stylesheet`, containing CSS data. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// No validation is done when parsing this content. [INFO] [stdout] 8 | | /// [INFO] [stdout] ... | [INFO] [stdout] 14 | | /// [INFO] [stdout] 15 | | /// [`Passage`]: struct.Passage.html [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/stylesheet_content.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | /// The stylesheet content [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/twine_content.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | /// The content of the passage [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/twine_content.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | /// The pid (Passage ID) of the passage [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/twine_content.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | /// A list of parsed links in this content [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/twine_link.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | /// A link to a twee passage contained within a twee passage [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/twine_link.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | /// The name of the passage this link points to [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/twine_link.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | /// The context of the link [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/twine_passage.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / /// A special Twine passage to be used in [`Story`]s without the need to go [INFO] [stdout] 7 | | /// through an enum to get the passage content [INFO] [stdout] 8 | | /// [INFO] [stdout] 9 | | /// [`Story`]: struct.Story.html [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/twine_passage.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | /// The header [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/twine_passage.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | /// The content [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[Warning]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/stories/story.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | /// [`Warning`]s generated during parsing. The fields in this struct provide [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/stories/story.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | /// The story title [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | /// The story data as defined by the specification [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | /// Map from passage name to `TwinePassage` for any non-special passages [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | /// A list of the contents of any passages tagged with `script` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | /// A list of the contents of any passages tagged with `stylesheet` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story_passages.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / /// A parsed Twee story, that stores the full [`Passage`] object of each field [INFO] [stdout] 30 | | /// [INFO] [stdout] 31 | | /// For more information, see the [`Story`] struct. [INFO] [stdout] 32 | | /// [INFO] [stdout] 33 | | /// [`Passage`]: struct.Passage.html [INFO] [stdout] 34 | | /// [`Story`]: struct.Story.html [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story_passages.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | /// `StoryTitle` passage [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story_passages.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | /// `StoryData` passage [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story_passages.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | /// Map from passage name to `Passage` for any non-special passages [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story_passages.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | /// List of passages tagged with `script` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story_passages.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | /// List of passages tagged with `stylesheet` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/position.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | /// Indicates absolute/relative position [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/position.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | /// Absolute position [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/position.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | /// Relative position [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error_type.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | /// An enum of the types of errors that can be generated by `tweep` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error_type.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | /// Passage header has no name specified [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error_type.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | /// Passage header has whitespace before sigil `::` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error_type.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | /// Passage header has metadata and tags in wrong order [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error_type.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | /// Passage header is missing sigil `::` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error_type.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | /// Passage name has an unescaped `[` character [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error_type.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | /// Passage name has an unescaped `{` character [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error_type.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | /// Passage name has an unescaped `]` character [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error_type.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | /// Passage name has an unescaped `}` character [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error_type.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | /// Passage header has an unclosed tag block [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error_type.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / /// An error was encountered when attempting to parse from the given [`Path`](std::path::Path). [INFO] [stdout] 32 | | /// Contains the path string and the error string [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/warning_type.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | /// An enum of the types of warnings that can be produced by `tweep` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/warning_type.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | /// `\[` in a passage title [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/warning_type.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | /// `\]` in a passage title [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/warning_type.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | /// `\{` in a passage title [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/warning_type.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | /// `\}` in a passage title [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/warning_type.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | /// Error encountered while parsing JSON. Contains the text of the error [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/warning_type.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | /// `StoryTitle` passage encountered after parsing a `StoryTitle` passage [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/warning_type.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | /// `StoryData` passage encountered after parsing a `StoryData` passage [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/warning_type.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | /// No `StoryTitle` passage parsed while parsing a [`Story`](struct.Story.html) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/warning_type.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | /// No `StoryData` passage parsed while parsing a [`Story`](struct.Story.html) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/warning_type.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | /// Encountered a link in a [`TwineContent`](struct.TwineContent.html) passage that was unterminated [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/warning_type.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | /// Encountered errant whitespace in a Twine link (e.g., `[[Text | Link]]`) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/warning_type.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / /// Encountered a link to a passage name that does not match any parsed [INFO] [stdout] 38 | | /// passage. Contains the passage name content of the dead link. [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/warning_type.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | /// No passage called `Start` found and no start passage set in `StoryData` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/warning_type.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | /// Start passage set in `StoryData` that cannot be found [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/warning_type.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | /// Encountered a duplicated passage name [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/passage_content.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / /// An enum of the types of content that can be inside a [`Passage`] [INFO] [stdout] 8 | | /// [INFO] [stdout] 9 | | /// [`Passage`]: struct.Passage.html [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/passage_content.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | /// A non-special passage that contains Twine content [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/passage_content.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | /// A passage that contains the title of the story [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/passage_content.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | /// A passage that contains the story data defined by the specification [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/passage_content.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | /// A passage that is tagged with `script` and contains a script [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/passage_content.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | /// A passage that is tagged with `stylesheet` and contains CSS [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / mod position; [INFO] [stdout] 2 | | pub use position::Position; [INFO] [stdout] 3 | | pub use position::PositionKind; [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 8 | | mod partial_context; [INFO] [stdout] 9 | | pub use partial_context::PartialContext; [INFO] [stdout] | |________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub use position::Position; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub use position::PositionKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub use full_context::FullContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub use partial_context::PartialContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/position.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / /// Indicates absolute/relative position [INFO] [stdout] 2 | | #[derive(Clone, Copy, Debug, Eq, PartialEq)] [INFO] [stdout] 3 | | pub enum PositionKind { [INFO] [stdout] 4 | | /// Absolute position [INFO] [stdout] ... | [INFO] [stdout] 121 | | } [INFO] [stdout] 122 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/position.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | /// The one-indexed line number [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/position.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / impl Position { [INFO] [stdout] 34 | | /// Create a new absolute `Position` [INFO] [stdout] 35 | | /// [INFO] [stdout] 36 | | /// # Examples [INFO] [stdout] ... | [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/full_context.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::context::Position; [INFO] [stdout] 2 | | use crate::context::PositionKind; [INFO] [stdout] 3 | | use std::borrow::Borrow; [INFO] [stdout] 4 | | use std::rc::Rc; [INFO] [stdout] ... | [INFO] [stdout] 284 | | } [INFO] [stdout] 285 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/full_context.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | / fn bound_to_position(ctx: &FullContext, pos: Bound<&Position>, start: bool) -> Position { [INFO] [stdout] 208 | | let ret = match pos { [INFO] [stdout] 209 | | Bound::Included(p) => match p.kind { [INFO] [stdout] 210 | | PositionKind::Absolute => *p, [INFO] [stdout] ... | [INFO] [stdout] 241 | | ret [INFO] [stdout] 242 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/full_context.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / mod util { [INFO] [stdout] 18 | | use super::Position; [INFO] [stdout] 19 | | [INFO] [stdout] 20 | | pub(crate) fn line_starts<'a>(s: &'a str) -> impl 'a + Iterator { [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/full_context.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / pub(crate) fn line_starts<'a>(s: &'a str) -> impl 'a + Iterator { [INFO] [stdout] 21 | | std::iter::once(0).chain(s.match_indices('\n').map(|(i, _)| i + 1)) [INFO] [stdout] 22 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/full_context.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / pub(crate) fn to_byte_index(p: &Position, line_starts: &[usize], inclusive: bool) -> usize { [INFO] [stdout] 25 | | let mut x = line_starts[p.line - 1] + p.column; [INFO] [stdout] 26 | | if !inclusive { [INFO] [stdout] 27 | | x -= 1; [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | x [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/full_context.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / pub(crate) fn end_of_line(line: usize, line_starts: &[usize], contents: &str) -> Position { [INFO] [stdout] 33 | | let start = line_starts[line - 1]; [INFO] [stdout] 34 | | let len = if line >= line_starts.len() { [INFO] [stdout] 35 | | contents[start..].len() [INFO] [stdout] ... | [INFO] [stdout] 40 | | Position::abs(line, len) [INFO] [stdout] 41 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/full_context.rs:203:1 [INFO] [stdout] | [INFO] [stdout] 203 | / pub trait SubContextRange { [INFO] [stdout] 204 | | fn into(self, context: &FullContext) -> RangeInclusive; [INFO] [stdout] 205 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/full_context.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | fn into(self, context: &FullContext) -> RangeInclusive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/full_context.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / impl FullContext { [INFO] [stdout] 45 | | pub(crate) fn new_with_line_starts( [INFO] [stdout] 46 | | file_name: Option, [INFO] [stdout] 47 | | start_position: Position, [INFO] [stdout] ... | [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/full_context.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / pub(crate) fn new_with_line_starts( [INFO] [stdout] 46 | | file_name: Option, [INFO] [stdout] 47 | | start_position: Position, [INFO] [stdout] 48 | | end_position: Position, [INFO] [stdout] ... | [INFO] [stdout] 58 | | } [INFO] [stdout] 59 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/full_context.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | /// Given a 1-indexed line number, returns a position at the end of the line [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/full_context.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | /// Creates a new context from the given file name and string [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/full_context.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | /// Gets a reference to the optional file name [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/full_context.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | /// Gets a reference to the 1-indexed start position of this context [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/full_context.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | /// Gets a reference to the inclusive 1-indexed end position of this context [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/full_context.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | /// Gets the span of this context as line bytes within the contents [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/full_context.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | /// Gets a reference to the contents of this context [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/full_context.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | / pub(crate) fn get_line_starts(&self) -> &Vec { [INFO] [stdout] 157 | | self.line_starts.borrow() [INFO] [stdout] 158 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/full_context.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | / /// Creates a subcontext out of the current context from the inclusive, [INFO] [stdout] 161 | | /// 1-indexed start and end positions [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/full_context.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | / pub(crate) fn inner_subcontext( [INFO] [stdout] 171 | | &self, [INFO] [stdout] 172 | | start_position: Position, [INFO] [stdout] 173 | | end_position: Position, [INFO] [stdout] ... | [INFO] [stdout] 195 | | ) [INFO] [stdout] 196 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/partial_context.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::context::{Position, FullContext}; [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | /// A Context that holds only an optional file name and 1-indexed start position [INFO] [stdout] 4 | | /// [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/partial_context.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / impl PartialContext { [INFO] [stdout] 16 | | /// Returns a reference to the optional file name [INFO] [stdout] 17 | | pub fn get_file_name(&self) -> &Option { [INFO] [stdout] 18 | | &self.file_name [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/partial_context.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | /// Returns a reference to the optional file name [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/partial_context.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | /// Returns a reference to the 1-indexed start position [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / mod error; [INFO] [stdout] 2 | | pub use error::Error; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | mod error_type; [INFO] [stdout] ... | [INFO] [stdout] 13 | | mod warning_type; [INFO] [stdout] 14 | | pub use warning_type::WarningKind; [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub use error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub use error_type::ErrorKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub use error_list::ErrorList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub use warning::Warning; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub use warning_type::WarningKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::ErrorKind; [INFO] [stdout] 2 | | use crate::Context; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | /// An error with an owned [`ErrorKind`] and [`Position`] [INFO] [stdout] ... | [INFO] [stdout] 59 | | } [INFO] [stdout] 60 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / impl Error { [INFO] [stdout] 18 | | /// Creates a new `Error` with the given [`ErrorKind`] and a default [INFO] [stdout] 19 | | /// [`Position`] [INFO] [stdout] 20 | | /// [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error_type.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / /// An enum of the types of errors that can be generated by `tweep` [INFO] [stdout] 2 | | #[derive(Clone, Debug, Eq, PartialEq)] [INFO] [stdout] 3 | | pub enum ErrorKind { [INFO] [stdout] 4 | | /// Passage header has no name specified [INFO] [stdout] ... | [INFO] [stdout] 82 | | } [INFO] [stdout] 83 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error_list.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::Error; [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | /// A wrapper type for a list of [`Error`]s [INFO] [stdout] 4 | | /// [INFO] [stdout] ... | [INFO] [stdout] 216 | | } [INFO] [stdout] 217 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error_list.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / impl ErrorList { [INFO] [stdout] 13 | | /// Creates a new `ErrorList` [INFO] [stdout] 14 | | /// [INFO] [stdout] 15 | | /// # Examples [INFO] [stdout] ... | [INFO] [stdout] 115 | | } [INFO] [stdout] 116 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/warning.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::Context; [INFO] [stdout] 2 | | use crate::WarningKind; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | /// A warning with a [`WarningKind`], [`Position`], and optionally a reference [INFO] [stdout] ... | [INFO] [stdout] 169 | | } [INFO] [stdout] 170 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/warning.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / impl Warning { [INFO] [stdout] 32 | | /// Creates a new `Warning` with a default `Position` and no referent [INFO] [stdout] 33 | | /// [INFO] [stdout] 34 | | /// # Examples [INFO] [stdout] ... | [INFO] [stdout] 110 | | } [INFO] [stdout] 111 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/warning_type.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / /// An enum of the types of warnings that can be produced by `tweep` [INFO] [stdout] 2 | | #[derive(Clone, Debug, Eq, PartialEq)] [INFO] [stdout] 3 | | pub enum WarningKind { [INFO] [stdout] 4 | | /// `\[` in a passage title [INFO] [stdout] ... | [INFO] [stdout] 135 | | } [INFO] [stdout] 136 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/output.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::Warning; [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | /// Represents the output of an operation along with a [`Vec`] of any [INFO] [stdout] 4 | | /// [`Warning`]s generated by the operation. [INFO] [stdout] ... | [INFO] [stdout] 304 | | } [INFO] [stdout] 305 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[std::Vec]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/output.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | /// [`Vec`]: std::Vec [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/output.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / impl Output { [INFO] [stdout] 22 | | /// Creates a new `Output` with the given value and no [`Warning`]s [INFO] [stdout] 23 | | /// [INFO] [stdout] 24 | | /// # Arguments [INFO] [stdout] ... | [INFO] [stdout] 129 | | } [INFO] [stdout] 130 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/output.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 132 | / /// This provides a handful of utility methods for an `Output` that contains a [INFO] [stdout] 133 | | /// [`Result`] as its contained output [INFO] [stdout] 134 | | /// [INFO] [stdout] 135 | | /// [`Result`]: std::result::Result [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / mod header; [INFO] [stdout] 2 | | pub use header::PassageHeader; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | mod passage; [INFO] [stdout] ... | [INFO] [stdout] 28 | | mod twine_passage; [INFO] [stdout] 29 | | pub use twine_passage::TwinePassage; [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub use header::PassageHeader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub use passage::Passage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub use passage_content::PassageContent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub use script_content::ScriptContent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub use story_data::StoryData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/mod.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub use stylesheet_content::StylesheetContent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub use story_title::StoryTitle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/mod.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub use twine_content::TwineContent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/mod.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub use twine_link::TwineLink; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/mod.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub use twine_passage::TwinePassage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/header.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::issues::*; [INFO] [stdout] 2 | | use crate::FullContext; [INFO] [stdout] 3 | | use crate::Output; [INFO] [stdout] 4 | | use crate::Position; [INFO] [stdout] ... | [INFO] [stdout] 665 | | } [INFO] [stdout] 666 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/header.rs:219:1 [INFO] [stdout] | [INFO] [stdout] 219 | / /// Given metadata in `meta_str`, parses out the metadata object, or returns a [INFO] [stdout] 220 | | /// warning if the metadata can't be parsed [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/header.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | /// Finds the last unescaped string `s` in the input string `input` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/header.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | /// Finds all unescaped occurrences of the string `s` in input string `input` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/header.rs:274:1 [INFO] [stdout] | [INFO] [stdout] 274 | / /// Given a header string, tries to guess what the best range is representing [INFO] [stdout] 275 | | /// the metadata within the header, if present. Returns `None` if no metadata is [INFO] [stdout] 276 | | /// found. If it's found, it returns the range [INFO] [stdout] 277 | | /// [INFO] [stdout] 278 | | /// Code-chan... ganbarre [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/header.rs:295:1 [INFO] [stdout] | [INFO] [stdout] 295 | / /// Checks the name of a passage (`input`) for validity. If the name contains [INFO] [stdout] 296 | | /// any of the unescaped special character (`str`), return the error `error`. If [INFO] [stdout] 297 | | /// the name contains any instances of that character but escaped, return a list [INFO] [stdout] 298 | | /// of locations in the name where the escaped character is found so that [INFO] [stdout] 299 | | /// warnings can be generated [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/header.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | / impl PassageHeader { [INFO] [stdout] 70 | | /// Returns `true` if this header is tagged with `str` [INFO] [stdout] 71 | | /// [INFO] [stdout] 72 | | /// # Examples [INFO] [stdout] ... | [INFO] [stdout] 216 | | } [INFO] [stdout] 217 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/header.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | /// Parses a `PassageHeader` out of the given context [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/passage.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::ErrorList; [INFO] [stdout] 2 | | use crate::FullContext; [INFO] [stdout] 3 | | use crate::Output; [INFO] [stdout] 4 | | use crate::PassageContent; [INFO] [stdout] ... | [INFO] [stdout] 243 | | } [INFO] [stdout] 244 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/passage.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / impl Passage { [INFO] [stdout] 37 | | /// Creates a new `Output>` from the parse output [INFO] [stdout] 38 | | /// of a `PassageHeader` and a `PassageContent`, along with a composed list [INFO] [stdout] 39 | | /// of `Warning`s from both [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/passages/passage.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | /// Returns a reference to the metadata contained by the `header` field [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/passage.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | /// Returns a reference to the list of tags contained by the `header` field [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/passage.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | / pub(crate) fn parse(context: FullContext) -> Output> { [INFO] [stdout] 99 | | let header_context = context.subcontext(..=context.end_of_line(1, PositionKind::Relative)); [INFO] [stdout] 100 | | // Parse the first line as the header [INFO] [stdout] 101 | | let header = PassageHeader::parse(header_context); [INFO] [stdout] ... | [INFO] [stdout] 138 | | Self::new(header, content, trimmed_context) [INFO] [stdout] 139 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/passage_content.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::ScriptContent; [INFO] [stdout] 2 | | use crate::StoryData; [INFO] [stdout] 3 | | use crate::StoryTitle; [INFO] [stdout] 4 | | use crate::StylesheetContent; [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/script_content.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::ErrorList; [INFO] [stdout] 2 | | use crate::FullContext; [INFO] [stdout] 3 | | use crate::Output; [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/script_content.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / impl ScriptContent { [INFO] [stdout] 23 | | /// Parses a `ScriptContent` out of the given context [INFO] [stdout] 24 | | pub fn parse(context: FullContext) -> Output> { [INFO] [stdout] 25 | | Output::new(Ok(ScriptContent { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/script_content.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | /// Parses a `ScriptContent` out of the given context [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/story_data.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::ErrorList; [INFO] [stdout] 2 | | use crate::FullContext; [INFO] [stdout] 3 | | use crate::Output; [INFO] [stdout] 4 | | use crate::Position; [INFO] [stdout] ... | [INFO] [stdout] 150 | | } [INFO] [stdout] 151 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/story_data.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / impl StoryData { [INFO] [stdout] 52 | | /// Parses a `StoryData` out of the given context [INFO] [stdout] 53 | | pub fn parse(context: FullContext) -> Output, ErrorList>> { [INFO] [stdout] 54 | | let mut warnings = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/story_data.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | /// Parses a `StoryData` out of the given context [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/stylesheet_content.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::ErrorList; [INFO] [stdout] 2 | | use crate::FullContext; [INFO] [stdout] 3 | | use crate::Output; [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/stylesheet_content.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / impl StylesheetContent { [INFO] [stdout] 23 | | /// Parses a `StylesheetContent` out of the given context [INFO] [stdout] 24 | | pub fn parse(context: FullContext) -> Output> { [INFO] [stdout] 25 | | Output::new(Ok(StylesheetContent { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/stylesheet_content.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | /// Parses a `StylesheetContent` out of the given context [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/story_title.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::ErrorList; [INFO] [stdout] 2 | | use crate::FullContext; [INFO] [stdout] 3 | | use crate::Output; [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/story_title.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / impl StoryTitle { [INFO] [stdout] 28 | | /// Parses a `StoryTitle` out of the given context [INFO] [stdout] 29 | | pub fn parse(context: FullContext) -> Output> { [INFO] [stdout] 30 | | Output::new(Ok(StoryTitle { [INFO] [stdout] ... | [INFO] [stdout] 33 | | } [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/story_title.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | /// Parses a `StoryTitle` out of the given context [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/twine_content.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::ErrorList; [INFO] [stdout] 2 | | use crate::FullContext; [INFO] [stdout] 3 | | use crate::Output; [INFO] [stdout] 4 | | use crate::Position; [INFO] [stdout] ... | [INFO] [stdout] 236 | | } [INFO] [stdout] 237 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/twine_content.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / impl TwineContent { [INFO] [stdout] 57 | | /// Gets a [`Vec`] of all the links contained within this content [INFO] [stdout] 58 | | /// [INFO] [stdout] 59 | | /// [`Vec`]: std::Vec [INFO] [stdout] ... | [INFO] [stdout] 137 | | } [INFO] [stdout] 138 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/twine_content.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / /// Gets a [`Vec`] of all the links contained within this content [INFO] [stdout] 58 | | /// [INFO] [stdout] 59 | | /// [`Vec`]: std::Vec [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[std::Vec]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/passages/twine_content.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | /// [`Vec`]: std::Vec [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/passages/twine_content.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | /// Parses a `TwineContent` out of the given context [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/twine_link.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::FullContext; [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | /// A link to a twee passage contained within a twee passage [INFO] [stdout] 4 | | #[derive(Debug, Eq, PartialEq)] [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/twine_link.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / impl TwineLink { [INFO] [stdout] 14 | | /// Creates a new link with a default [`Position`] [INFO] [stdout] 15 | | /// [INFO] [stdout] 16 | | /// [`Position`]: enum.Position.html [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/twine_link.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / /// Creates a new link with a default [`Position`] [INFO] [stdout] 15 | | /// [INFO] [stdout] 16 | | /// [`Position`]: enum.Position.html [INFO] [stdout] | |________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/twine_passage.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::PassageContent; [INFO] [stdout] 2 | | use crate::Passage; [INFO] [stdout] 3 | | use crate::PassageHeader; [INFO] [stdout] 4 | | use crate::TwineContent; [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/twine_passage.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / impl TwinePassage { [INFO] [stdout] 19 | | /// Returns a reference to the metadata contained by the `header` field [INFO] [stdout] 20 | | pub fn metadata(&self) -> &serde_json::Map { [INFO] [stdout] 21 | | &self.header.metadata [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/twine_passage.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | /// Returns a reference to the metadata contained by the `header` field [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/twine_passage.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | /// Returns a reference to the list of tags contained by the `header` field [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[cfg(feature = "full-context")] [INFO] [stdout] 2 | | mod code_map; [INFO] [stdout] 3 | | #[cfg(feature = "full-context")] [INFO] [stdout] 4 | | pub use code_map::CodeMap; [INFO] [stdout] ... | [INFO] [stdout] 14 | | mod story_passages; [INFO] [stdout] 15 | | pub use story_passages::StoryPassages; [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub use story::Story; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/mod.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub use story_passages::StoryPassages; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[cfg(feature = "full-context")] [INFO] [stdout] 2 | | use crate::CodeMap; [INFO] [stdout] 3 | | #[cfg(feature = "full-context")] [INFO] [stdout] 4 | | use crate::ContextErrorList; [INFO] [stdout] ... | [INFO] [stdout] 425 | | } [INFO] [stdout] 426 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | type ParseOutput = Output>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | / impl Story { [INFO] [stdout] 138 | | /// Parses an input `String` and returns the result or a list of errors, [INFO] [stdout] 139 | | /// along with a list of any [`Warning`]s [INFO] [stdout] 140 | | /// [INFO] [stdout] ... | [INFO] [stdout] 181 | | } [INFO] [stdout] 182 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | / /// Parses an input `String` and returns the result or a list of errors, [INFO] [stdout] 139 | | /// along with a list of any [`Warning`]s [INFO] [stdout] 140 | | /// [INFO] [stdout] 141 | | /// [`Warning`]: struct.Warning.html [INFO] [stdout] | |________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | / /// Parses a `Story` from the given [`Path`]. If the given path is a file, [INFO] [stdout] 147 | | /// parses that file and returns the `Story`. If it is a directory, it looks [INFO] [stdout] 148 | | /// for any files with `.tw` or `.twee` extensions and parses them. Returns [INFO] [stdout] 149 | | /// the parsed output or a list of errors, along with a list of any [INFO] [stdout] ... | [INFO] [stdout] 152 | | /// [`Path`]: std::path::Path [INFO] [stdout] 153 | | /// [`Warning`]: struct.Warning.html [INFO] [stdout] | |________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | / /// Parses a `Story` from the given [`Path`]s. See `from_path` for [INFO] [stdout] 159 | | /// additional information on how directories are handled. [INFO] [stdout] 160 | | /// [INFO] [stdout] 161 | | /// [`Path`]: std::path::Path [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | / /// If a start passage is configured in the StoryData, return the name of [INFO] [stdout] 167 | | /// that passage. If no start passage is configured, check for the presence [INFO] [stdout] 168 | | /// of a passage called "Start". If that passage exists, return that name, [INFO] [stdout] 169 | | /// otherwise return None [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story_passages.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[cfg(feature = "full-context")] [INFO] [stdout] 2 | | use crate::CodeMap; [INFO] [stdout] 3 | | use crate::Context; [INFO] [stdout] 4 | | #[cfg(feature = "full-context")] [INFO] [stdout] ... | [INFO] [stdout] 1160 | | } [INFO] [stdout] 1161 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story_passages.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | type ParseOutput = Output>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story_passages.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / impl StoryPassages { [INFO] [stdout] 58 | | /// Renumber pids, starting at the given number and counting up [INFO] [stdout] 59 | | fn renumber_pids(&mut self, start: usize) { [INFO] [stdout] 60 | | let mut pid = start; [INFO] [stdout] ... | [INFO] [stdout] 546 | | } [INFO] [stdout] 547 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story_passages.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | /// Renumber pids, starting at the given number and counting up [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story_passages.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / /// Parses an input `String` and returns the result or a list of errors, [INFO] [stdout] 84 | | /// along with a list of any [`Warning`]s [INFO] [stdout] 85 | | /// [INFO] [stdout] 86 | | /// [`Warning`]: struct.Warning.html [INFO] [stdout] | |________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story_passages.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / pub(crate) fn from_context(context: FullContext) -> ParseOutput { [INFO] [stdout] 93 | | let mut out = StoryPassages::parse(context); [INFO] [stdout] 94 | | if out.is_ok() { [INFO] [stdout] 95 | | out.mut_output().as_mut().ok().unwrap().renumber_pids(1); [INFO] [stdout] 96 | | } [INFO] [stdout] 97 | | out [INFO] [stdout] 98 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story_passages.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | / /// Parses a `StoryPassages` from the given [`Path`]. If the given path is [INFO] [stdout] 101 | | /// a file, parses that file and returns the `StoryPassages`. If it is a [INFO] [stdout] 102 | | /// directory, it looks for any files with `.tw` or `.twee` extensions and [INFO] [stdout] 103 | | /// parses them. Returns the parsed output or a list of errors, along with a [INFO] [stdout] ... | [INFO] [stdout] 106 | | /// [`Path`]: std::path::Path [INFO] [stdout] 107 | | /// [`Warning`]: struct.Warning.html [INFO] [stdout] | |________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story_passages.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / /// Parses a `StoryPassages` from the given [`Path`]s. See `from_path` for [INFO] [stdout] 121 | | /// additional information on how directories are handled. [INFO] [stdout] 122 | | /// [INFO] [stdout] 123 | | /// [`Path`]: std::path::Path [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story_passages.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | / /// Does the heavy lifting for `from_path`. If given a file, reads its [INFO] [stdout] 155 | | /// contents into a `String` and uses `from_context` to parse it. If given a [INFO] [stdout] 156 | | /// directory, finds the twee files, recurses with each file, then assembles [INFO] [stdout] 157 | | /// the outputs into a single output [INFO] [stdout] | |________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story_passages.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | / /// Merges the given `StoryPassages` into this one, producing a possible [INFO] [stdout] 255 | | /// list of [`Warning`]s in the process. [INFO] [stdout] 256 | | /// [INFO] [stdout] 257 | | /// # Warnings [INFO] [stdout] 258 | | /// Produces a warning if a duplicate `StoryTitle` or `StoryData` is found. [INFO] [stdout] 259 | | /// The duplicate is ignored and the existing one is kept. [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story_passages.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | / /// Performs a set of post-parse checks and returns a list of any warnings [INFO] [stdout] 315 | | /// [INFO] [stdout] 316 | | /// # Warnings [INFO] [stdout] 317 | | /// * [`MissingStoryTitle`] - No `StoryTitle` passage found [INFO] [stdout] ... | [INFO] [stdout] 328 | | /// [`MissingStartPassage`]: enum.WarningKind.html#variant.MissingStartPassage [INFO] [stdout] 329 | | /// [`DeadStartPassage`]: enum.WarningKind.html#variant.DeadStartPassage [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story_passages.rs:406:5 [INFO] [stdout] | [INFO] [stdout] 406 | / /// If a start passage is configured in the StoryData, return the name of [INFO] [stdout] 407 | | /// that passage. If no start passage is configured, check for the presence [INFO] [stdout] 408 | | /// of a passage called "Start". If that passage exists, return that name, [INFO] [stdout] 409 | | /// otherwise return None [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story_passages.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | / pub(crate) fn parse(context: FullContext) -> ParseOutput { [INFO] [stdout] 428 | | let contents = context.get_contents(); [INFO] [stdout] 429 | | [INFO] [stdout] 430 | | #[cfg(feature = "full-context")] [INFO] [stdout] ... | [INFO] [stdout] 545 | | .with_warnings(warnings) [INFO] [stdout] 546 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | / /// The output context type for [`Error`]s and [`Warning`]s. If the feature [INFO] [stdout] 121 | | /// `full-context` is enabled, this will be a [`FullContext`] which will include [INFO] [stdout] 122 | | /// the ability to retrieve the associated source Twee v3 code. Otherwise, it [INFO] [stdout] 123 | | /// will be a [`PartialContext`] which will only include the file name and a [INFO] [stdout] ... | [INFO] [stdout] 128 | | /// [`FullContext`]: struct.FullContext.html [INFO] [stdout] 129 | | /// [`PartialContext`]: struct.PartialContext.html [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/full_context.rs:244:1 [INFO] [stdout] | [INFO] [stdout] 244 | / impl SubContextRange for T [INFO] [stdout] 245 | | where [INFO] [stdout] 246 | | T: RangeBounds, [INFO] [stdout] 247 | | { [INFO] [stdout] ... | [INFO] [stdout] 252 | | } [INFO] [stdout] 253 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/full_context.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | / fn into(self, ctx: &FullContext) -> RangeInclusive { [INFO] [stdout] 249 | | let start = bound_to_position(ctx, self.start_bound(), true); [INFO] [stdout] 250 | | let end = bound_to_position(ctx, self.end_bound(), false); [INFO] [stdout] 251 | | start..=end [INFO] [stdout] 252 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/partial_context.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / impl std::convert::From for PartialContext { [INFO] [stdout] 28 | | fn from(full: FullContext) -> PartialContext { [INFO] [stdout] 29 | | PartialContext { [INFO] [stdout] 30 | | file_name: full.get_file_name().clone(), [INFO] [stdout] ... | [INFO] [stdout] 33 | | } [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/partial_context.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / fn from(full: FullContext) -> PartialContext { [INFO] [stdout] 29 | | PartialContext { [INFO] [stdout] 30 | | file_name: full.get_file_name().clone(), [INFO] [stdout] 31 | | start_position: *full.get_start_position(), [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error_list.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | / impl std::convert::From for ErrorList { [INFO] [stdout] 138 | | fn from(e: Error) -> ErrorList { [INFO] [stdout] 139 | | let mut error_list = ErrorList::default(); [INFO] [stdout] 140 | | error_list.push(e); [INFO] [stdout] 141 | | error_list [INFO] [stdout] 142 | | } [INFO] [stdout] 143 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error_list.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | / fn from(e: Error) -> ErrorList { [INFO] [stdout] 139 | | let mut error_list = ErrorList::default(); [INFO] [stdout] 140 | | error_list.push(e); [INFO] [stdout] 141 | | error_list [INFO] [stdout] 142 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/passage_content.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / impl std::convert::From for PassageContent { [INFO] [stdout] 29 | | fn from(p: TwineContent) -> PassageContent { [INFO] [stdout] 30 | | PassageContent::Normal(p) [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/passage_content.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / fn from(p: TwineContent) -> PassageContent { [INFO] [stdout] 30 | | PassageContent::Normal(p) [INFO] [stdout] 31 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/passage_content.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / impl std::convert::From for PassageContent { [INFO] [stdout] 35 | | fn from(t: StoryTitle) -> PassageContent { [INFO] [stdout] 36 | | PassageContent::StoryTitle(t) [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/passage_content.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | / fn from(t: StoryTitle) -> PassageContent { [INFO] [stdout] 36 | | PassageContent::StoryTitle(t) [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/passage_content.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / impl std::convert::From> for PassageContent { [INFO] [stdout] 41 | | fn from(d: Option) -> PassageContent { [INFO] [stdout] 42 | | PassageContent::StoryData(d) [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/passage_content.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / fn from(d: Option) -> PassageContent { [INFO] [stdout] 42 | | PassageContent::StoryData(d) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/passage_content.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / impl std::convert::From for PassageContent { [INFO] [stdout] 47 | | fn from(d: StoryData) -> PassageContent { [INFO] [stdout] 48 | | PassageContent::StoryData(Some(d)) [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/passage_content.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / fn from(d: StoryData) -> PassageContent { [INFO] [stdout] 48 | | PassageContent::StoryData(Some(d)) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/passage_content.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | / impl std::convert::From for PassageContent { [INFO] [stdout] 53 | | fn from(s: ScriptContent) -> PassageContent { [INFO] [stdout] 54 | | PassageContent::Script(s) [INFO] [stdout] 55 | | } [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/passage_content.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | / fn from(s: ScriptContent) -> PassageContent { [INFO] [stdout] 54 | | PassageContent::Script(s) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/passage_content.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / impl std::convert::From for PassageContent { [INFO] [stdout] 59 | | fn from(s: StylesheetContent) -> PassageContent { [INFO] [stdout] 60 | | PassageContent::Stylesheet(s) [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/passage_content.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / fn from(s: StylesheetContent) -> PassageContent { [INFO] [stdout] 60 | | PassageContent::Stylesheet(s) [INFO] [stdout] 61 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/twine_passage.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / impl std::convert::From for TwinePassage { [INFO] [stdout] 31 | | fn from(passage: Passage) -> Self { [INFO] [stdout] 32 | | let header = passage.header; [INFO] [stdout] 33 | | let content = if let PassageContent::Normal(content) = passage.content { [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/passages/twine_passage.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / fn from(passage: Passage) -> Self { [INFO] [stdout] 32 | | let header = passage.header; [INFO] [stdout] 33 | | let content = if let PassageContent::Normal(content) = passage.content { [INFO] [stdout] 34 | | content [INFO] [stdout] ... | [INFO] [stdout] 38 | | TwinePassage { header, content } [INFO] [stdout] 39 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / impl std::convert::From for Story { [INFO] [stdout] 185 | | fn from(mut s: StoryPassages) -> Story { [INFO] [stdout] 186 | | let title = match s.title { [INFO] [stdout] 187 | | Some(c) => match c.content { [INFO] [stdout] ... | [INFO] [stdout] 235 | | } [INFO] [stdout] 236 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/stories/story.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | / fn from(mut s: StoryPassages) -> Story { [INFO] [stdout] 186 | | let title = match s.title { [INFO] [stdout] 187 | | Some(c) => match c.content { [INFO] [stdout] 188 | | PassageContent::StoryTitle(t) => Some(t.title), [INFO] [stdout] ... | [INFO] [stdout] 234 | | } [INFO] [stdout] 235 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/position.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / impl std::fmt::Display for Position { [INFO] [stdout] 99 | | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] 100 | | write!(f, "line: {} column: {}", self.line, self.column) [INFO] [stdout] 101 | | } [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/position.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] 100 | | write!(f, "line: {} column: {}", self.line, self.column) [INFO] [stdout] 101 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/partial_context.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / impl std::fmt::Display for PartialContext { [INFO] [stdout] 37 | | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] 38 | | write!(f, "{:?}: {}", self.file_name, self.start_position) [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/context/partial_context.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] 38 | | write!(f, "{:?}: {}", self.file_name, self.start_position) [INFO] [stdout] 39 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / impl std::fmt::Display for Error { [INFO] [stdout] 57 | | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] 58 | | write!(f, "{} at {:?}", self.kind, self.context) [INFO] [stdout] 59 | | } [INFO] [stdout] 60 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] 58 | | write!(f, "{} at {:?}", self.kind, self.context) [INFO] [stdout] 59 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error_type.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / impl std::fmt::Display for ErrorKind { [INFO] [stdout] 58 | | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] 59 | | write!( [INFO] [stdout] 60 | | f, [INFO] [stdout] ... | [INFO] [stdout] 82 | | } [INFO] [stdout] 83 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error_type.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] 59 | | write!( [INFO] [stdout] 60 | | f, [INFO] [stdout] 61 | | "{}", [INFO] [stdout] ... | [INFO] [stdout] 81 | | ) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error_list.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | / impl std::fmt::Display for ErrorList { [INFO] [stdout] 125 | | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] 126 | | let mut res = Ok(()); [INFO] [stdout] 127 | | for error in &self.errors { [INFO] [stdout] ... | [INFO] [stdout] 134 | | } [INFO] [stdout] 135 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error_list.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | / fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] 126 | | let mut res = Ok(()); [INFO] [stdout] 127 | | for error in &self.errors { [INFO] [stdout] 128 | | res = writeln!(f, "{}", error); [INFO] [stdout] ... | [INFO] [stdout] 133 | | res [INFO] [stdout] 134 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/warning.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 123 | / impl std::fmt::Display for Warning { [INFO] [stdout] 124 | | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] 125 | | let cause = if self.has_referent() { [INFO] [stdout] 126 | | let p: crate::PartialContext = self.get_referent().unwrap().clone().into(); [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/warning.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | / fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] 125 | | let cause = if self.has_referent() { [INFO] [stdout] 126 | | let p: crate::PartialContext = self.get_referent().unwrap().clone().into(); [INFO] [stdout] 127 | | format!(", caused by: {}", p) [INFO] [stdout] ... | [INFO] [stdout] 131 | | write!(f, "{} at {:?}{}", self.kind, self.context, cause) [INFO] [stdout] 132 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/warning_type.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / impl std::fmt::Display for WarningKind { [INFO] [stdout] 78 | | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] 79 | | write!( [INFO] [stdout] 80 | | f, [INFO] [stdout] ... | [INFO] [stdout] 110 | | } [INFO] [stdout] 111 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/warning_type.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] 79 | | write!( [INFO] [stdout] 80 | | f, [INFO] [stdout] 81 | | "{}", [INFO] [stdout] ... | [INFO] [stdout] 109 | | ) [INFO] [stdout] 110 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / impl std::error::Error for Error { [INFO] [stdout] 51 | | fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { [INFO] [stdout] 52 | | None [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { [INFO] [stdout] 52 | | None [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error_list.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / impl std::error::Error for ErrorList { [INFO] [stdout] 119 | | fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { [INFO] [stdout] 120 | | None [INFO] [stdout] 121 | | } [INFO] [stdout] 122 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/issues/error_list.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | / fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { [INFO] [stdout] 120 | | None [INFO] [stdout] 121 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 264 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.60s [INFO] running `Command { std: "docker" "inspect" "3c37361913dc2fb3472e42d60198eed7895f75239d282797e512cd25b14b4169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c37361913dc2fb3472e42d60198eed7895f75239d282797e512cd25b14b4169", kill_on_drop: false }` [INFO] [stdout] 3c37361913dc2fb3472e42d60198eed7895f75239d282797e512cd25b14b4169