[INFO] fetching crate intfic 0.3.6... [INFO] documenting intfic-0.3.6 against try#66dfc4e010913fbed0c4ea91fc2c010004b0f441 for pr-73566 [INFO] extracting crate intfic 0.3.6 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate intfic 0.3.6 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 intfic 0.3.6 [INFO] finished tweaking crates.io crate intfic 0.3.6 [INFO] tweaked toml for crates.io crate intfic 0.3.6 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate crates.io crate intfic 0.3.6 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6a2f102864c000da893030c95085332d667612d806460a3f06c87e8cfed8fa1 [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" "e6a2f102864c000da893030c95085332d667612d806460a3f06c87e8cfed8fa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6a2f102864c000da893030c95085332d667612d806460a3f06c87e8cfed8fa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6a2f102864c000da893030c95085332d667612d806460a3f06c87e8cfed8fa1", kill_on_drop: false }` [INFO] [stdout] e6a2f102864c000da893030c95085332d667612d806460a3f06c87e8cfed8fa1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 442dbc26632be941e6340e3d2f6f84b6b9c1f66f07c608a410872383188872a4 [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" "442dbc26632be941e6340e3d2f6f84b6b9c1f66f07c608a410872383188872a4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Checking base64 v0.12.1 [INFO] [stderr] Checking text_io v0.1.8 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Checking ron v0.6.0 [INFO] [stderr] Documenting intfic v0.3.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / //! intfic is a framework that allows you to write a branching story with minimal code. [INFO] [stdout] 5 | | //! [INFO] [stdout] 6 | | //! It uses story files with a custom markup syntax that allows for the following: [INFO] [stdout] 7 | | //! [INFO] [stdout] ... | [INFO] [stdout] 22 | | //! [INFO] [stdout] 23 | | //! This project is licensed under the MIT License - see the [LICENSE.md](https://github.com/tjhaskel/rust_intfic/blob/master/LICENSE.md) file for details [INFO] [stdout] | |___________________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(missing_doc_code_examples)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | /// Prints a string if DEBUG is enabled. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | /// Stores, saves, and loads an environment that can be changed and referenced by your story. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/game_state.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | /// GameState holds information about the name of the game, story progress, boolean flags, and integer counters. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/game_state.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | /// The name of your game, also used as the name for its save file. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/game_state.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | /// A tuple representing the filename of the story file and the name of the story block curently presented. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/game_state.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | /// A HashMap environment of named booleans that can be modified and checked against at runtime. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/game_state.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | /// A HashMap environment of named integers that can be modified and checked against at runtime. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/game_state.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / impl GameState { [INFO] [stdout] 33 | | /// Creates a new Gamestate with the given name and "score" == 0 in counters. [INFO] [stdout] 34 | | /// [INFO] [stdout] 35 | | /// ``` [INFO] [stdout] ... | [INFO] [stdout] 325 | | } [INFO] [stdout] 326 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / /// Parses story files and constructs a list of StoryBlock's. [INFO] [stdout] 31 | | pub mod parse_file; [INFO] [stdout] 32 | | [INFO] [stdout] 33 | | /// Sanitizes and parses input, checking for system keywords. [INFO] [stdout] ... | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_file.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | / fn get_file(filename: &str) -> io::Result>> { [INFO] [stdout] 166 | | let resources: &Path = Path::new("resources"); [INFO] [stdout] 167 | | let file = File::open(resources.join(filename))?; [INFO] [stdout] 168 | | Ok(io::BufReader::new(file).lines()) [INFO] [stdout] 169 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_file.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | / fn parse_line( [INFO] [stdout] 175 | | text: String, [INFO] [stdout] 176 | | blocks: &mut Vec, [INFO] [stdout] 177 | | current_block: &mut StoryBlock, [INFO] [stdout] ... | [INFO] [stdout] 230 | | } [INFO] [stdout] 231 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | /// Sanitizes and parses input, checking for system keywords. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_input.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | /// Yes, No, or Unsure. Corresponds with a dictionary of responses that indicate one of these three answers. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_input.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | /// Yes, y, yeah, sure, etc. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_input.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | /// No, n, nah, nope, etc. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_input.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | /// Not sure, idk, maybe, etc. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_input.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | /// Cardinal directions, as well as Up, Down, and Return. Corresponds with a dictionary of responses. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_input.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | /// North, n, forward, etc. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_input.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | /// East, e, right, etc. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_input.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | /// South, s, backward, etc. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_input.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | /// West, w, left, etc. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_input.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | /// Up, u, ascend, etc. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_input.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | /// Down, d, descend, etc. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_input.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | /// Return, r, go back, etc. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_input.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | / fn parse_answer(input: &str) -> Option { [INFO] [stdout] 337 | | if AFFIRMATIVES.contains(&input) { [INFO] [stdout] 338 | | print_parse_result(input, "Answer->Yes"); [INFO] [stdout] 339 | | Some(Answer::Yes) [INFO] [stdout] ... | [INFO] [stdout] 349 | | } [INFO] [stdout] 350 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_input.rs:385:1 [INFO] [stdout] | [INFO] [stdout] 385 | / fn parse_direction(input: &str) -> Option { [INFO] [stdout] 386 | | if NORTHS.contains(&input) { [INFO] [stdout] 387 | | print_parse_result(input, "Direction->North"); [INFO] [stdout] 388 | | Some(Direction::North) [INFO] [stdout] ... | [INFO] [stdout] 410 | | } [INFO] [stdout] 411 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_input.rs:414:1 [INFO] [stdout] | [INFO] [stdout] 414 | / fn print_parse_result(input: &str, parsed: &str) { [INFO] [stdout] 415 | | print_debug(format!("Input: {}, Parsed: {}", input, parsed)); [INFO] [stdout] 416 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_input.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / const AFFIRMATIVES: &[&str] = &[ [INFO] [stdout] 39 | | "10-4", [INFO] [stdout] 40 | | "affirmative", [INFO] [stdout] 41 | | "alright", [INFO] [stdout] ... | [INFO] [stdout] 61 | | "yup", [INFO] [stdout] 62 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_input.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / const NEGATIVES: &[&str] = &[ [INFO] [stdout] 66 | | "fuck nah", [INFO] [stdout] 67 | | "fuck no", [INFO] [stdout] 68 | | "hell nah", [INFO] [stdout] ... | [INFO] [stdout] 80 | | "no way", [INFO] [stdout] 81 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_input.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / const UNSURATIVES: &[&str] = &[ [INFO] [stdout] 85 | | "dunno", [INFO] [stdout] 86 | | "huh", [INFO] [stdout] 87 | | "idk", [INFO] [stdout] ... | [INFO] [stdout] 98 | | "what", [INFO] [stdout] 99 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_input.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | / const NORTHS: &[&str] = &[ [INFO] [stdout] 103 | | "forward", [INFO] [stdout] 104 | | "go forward", [INFO] [stdout] 105 | | "go north", [INFO] [stdout] ... | [INFO] [stdout] 109 | | "northward", [INFO] [stdout] 110 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_input.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | / const EASTS: &[&str] = &[ [INFO] [stdout] 114 | | "e", [INFO] [stdout] 115 | | "east", [INFO] [stdout] 116 | | "eastbound", [INFO] [stdout] ... | [INFO] [stdout] 120 | | "right", [INFO] [stdout] 121 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_input.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | / const SOUTHS: &[&str] = &[ [INFO] [stdout] 125 | | "backward", [INFO] [stdout] 126 | | "go backward", [INFO] [stdout] 127 | | "go south", [INFO] [stdout] ... | [INFO] [stdout] 131 | | "southward", [INFO] [stdout] 132 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_input.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | / const WESTS: &[&str] = &[ [INFO] [stdout] 136 | | "go left", [INFO] [stdout] 137 | | "go west", [INFO] [stdout] 138 | | "left", [INFO] [stdout] ... | [INFO] [stdout] 142 | | "westward", [INFO] [stdout] 143 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_input.rs:146:1 [INFO] [stdout] | [INFO] [stdout] 146 | / const UPS: &[&str] = &[ [INFO] [stdout] 147 | | "ascend", [INFO] [stdout] 148 | | "climb", [INFO] [stdout] 149 | | "climb up", [INFO] [stdout] ... | [INFO] [stdout] 155 | | "up", [INFO] [stdout] 156 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_input.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | / const DOWNS: &[&str] = &[ [INFO] [stdout] 160 | | "climb down", [INFO] [stdout] 161 | | "d", [INFO] [stdout] 162 | | "descend", [INFO] [stdout] ... | [INFO] [stdout] 166 | | "go down", [INFO] [stdout] 167 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_input.rs:170:1 [INFO] [stdout] | [INFO] [stdout] 170 | / const RETURNS: &[&str] = &[ [INFO] [stdout] 171 | | "b", [INFO] [stdout] 172 | | "back", [INFO] [stdout] 173 | | "fall back", [INFO] [stdout] ... | [INFO] [stdout] 179 | | "run away", [INFO] [stdout] 180 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_input.rs:183:1 [INFO] [stdout] | [INFO] [stdout] 183 | / const EXITS: &[&str] = &[ [INFO] [stdout] 184 | | "exit", [INFO] [stdout] 185 | | "exit game", [INFO] [stdout] 186 | | "quit", [INFO] [stdout] 187 | | "quit game", [INFO] [stdout] 188 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_input.rs:191:1 [INFO] [stdout] | [INFO] [stdout] 191 | / const SAVES: &[&str] = &[ [INFO] [stdout] 192 | | "save", [INFO] [stdout] 193 | | "save game", [INFO] [stdout] 194 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/parse_input.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | / const LOADS: &[&str] = &[ [INFO] [stdout] 198 | | "load", [INFO] [stdout] 199 | | "load game", [INFO] [stdout] 200 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | /// Represents an atomic chunk of story with text, effects, and options. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/story_block.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / /// StoryBlocks are atomic chunks of interactive narrative. [INFO] [stdout] 10 | | /// [INFO] [stdout] 11 | | /// They have a name, a list of text that will be presented to the player, [INFO] [stdout] 12 | | /// a list of options that will be presented to the player, and a series of effects that will be applied to the GameState (flag or counter alteration... [INFO] [stdout] 13 | | /// [INFO] [stdout] 14 | | /// Text and options may be filtered based on conditionals that check flags and counters in the current GameState. [INFO] [stdout] 15 | | /// However, such conditions must pass at the **start** of the block. e.g. you cannot set a flag and get the result you just set in the same block. [INFO] [stdout] | |___________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/story_block.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | /// The name of the storyblock, may be referenced as the "result" of options. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/story_block.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | /// The text that will be typed out line by line, your story! [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/story_block.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | /// The options available to choose from by the player. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/story_block.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | /// The flags that will be applied to our GameState by this block. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/story_block.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | /// The counters that will be applied to our GameState by this block. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/story_block.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / /// A choice has some text that the player will see, a list of words to match input against, and a result. [INFO] [stdout] 31 | | /// [INFO] [stdout] 32 | | /// The result can be the name of a story block in the same file, or the filename of a story file. [INFO] [stdout] 33 | | /// If pointing to a new story file, the game will start at the first block in that file. [INFO] [stdout] | |_________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/story_block.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | /// The string that will be typed out and presented to the player for this option. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/story_block.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | /// If the user types a substring of this string, the option will be selected. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/story_block.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | /// Corresponds to the name of a story block or story file [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/story_block.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | / fn check_counter(cond: &str, game: &GameState) -> bool { [INFO] [stdout] 174 | | let mut cond_split = cond.split(' '); [INFO] [stdout] 175 | | let count_name: &str = cond_split.nth(1).unwrap(); [INFO] [stdout] 176 | | let count_amount = game.get_counter(count_name); [INFO] [stdout] ... | [INFO] [stdout] 185 | | } [INFO] [stdout] 186 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/story_block.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | / fn read_line(line: &str, game: &GameState) { [INFO] [stdout] 194 | | if line.starts_with("?-") { [INFO] [stdout] 195 | | let mut cond_split = line.split(" => "); [INFO] [stdout] 196 | | [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/story_block.rs:232:1 [INFO] [stdout] | [INFO] [stdout] 232 | / fn filter_options(options: &[Choice], game: &GameState) -> Vec { [INFO] [stdout] 233 | | let mut filtered: Vec = Vec::new(); [INFO] [stdout] 234 | | [INFO] [stdout] 235 | | for choice in options.iter() { [INFO] [stdout] ... | [INFO] [stdout] 261 | | filtered [INFO] [stdout] 262 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/story_block.rs:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | / fn find_block<'a>(name: &str, blocks: &'a [StoryBlock]) -> Option<&'a StoryBlock> { [INFO] [stdout] 304 | | for block in blocks { [INFO] [stdout] 305 | | if block.name == *name { [INFO] [stdout] 306 | | return Some(block); [INFO] [stdout] ... | [INFO] [stdout] 309 | | None [INFO] [stdout] 310 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/story_block.rs:313:1 [INFO] [stdout] | [INFO] [stdout] 313 | / fn play_next(name: &str, game: &mut GameState, blocks: &[StoryBlock]) { [INFO] [stdout] 314 | | if name.ends_with(".txt") { [INFO] [stdout] 315 | | if let Some(next_blocks) = load_file(name, game) { [INFO] [stdout] 316 | | start_blocks(&next_blocks, game); [INFO] [stdout] ... | [INFO] [stdout] 323 | | } [INFO] [stdout] 324 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/story_block.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / impl Choice { [INFO] [stdout] 45 | | // Print out the text of a Choice with a number before it to produce an ordered list. [INFO] [stdout] 46 | | fn present(&self, num: i32, _game: &mut GameState) { [INFO] [stdout] 47 | | let numbered_option: &str = &format!("{}) {}", num, &self.text)[..]; [INFO] [stdout] ... | [INFO] [stdout] 60 | | } [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/story_block.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / fn present(&self, num: i32, _game: &mut GameState) { [INFO] [stdout] 47 | | let numbered_option: &str = &format!("{}) {}", num, &self.text)[..]; [INFO] [stdout] 48 | | type_text(numbered_option, Color::White, true); [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/story_block.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / fn match_option(&self, input: &str, num: i32) -> bool { [INFO] [stdout] 55 | | sanitize(self.text.clone()) == *input [INFO] [stdout] 56 | | || self.result == *input [INFO] [stdout] 57 | | || num.to_string() == *input [INFO] [stdout] 58 | | || self.typed.contains(input) [INFO] [stdout] 59 | | || self.typed.starts_with('@') && query(&(self.typed[..]), input) [INFO] [stdout] 60 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/story_block.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / impl StoryBlock { [INFO] [stdout] 64 | | /// Returns an empty story block with the given name. [INFO] [stdout] 65 | | /// [INFO] [stdout] 66 | | /// ``` [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/story_block.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | / fn read(&self, game: &mut GameState, blocks: &[StoryBlock]) { [INFO] [stdout] 96 | | game.progress.1 = self.name.clone(); [INFO] [stdout] 97 | | self.read_text(game); [INFO] [stdout] 98 | | self.apply_effects(game); [INFO] [stdout] 99 | | self.present_options(game, blocks); [INFO] [stdout] 100 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/story_block.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | / fn read_text(&self, game: &GameState) { [INFO] [stdout] 104 | | for line in self.text.iter() { [INFO] [stdout] 105 | | read_line(line, game); [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | [INFO] [stdout] 108 | | println!(); [INFO] [stdout] 109 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/story_block.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | / fn apply_effects(&self, game: &mut GameState) { [INFO] [stdout] 113 | | for (k, v) in self.flags.iter() { [INFO] [stdout] 114 | | game.set_flag(k, *v); [INFO] [stdout] 115 | | } [INFO] [stdout] ... | [INFO] [stdout] 119 | | } [INFO] [stdout] 120 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/story_block.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | / fn present_options(&self, game: &mut GameState, blocks: &[StoryBlock]) { [INFO] [stdout] 128 | | let options: &Vec = &filter_options(&self.options, game); [INFO] [stdout] 129 | | let num_options = options.len(); [INFO] [stdout] 130 | | [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | /// Writes text with a typewriter effect and a variety of possible colors. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/write_out.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | /// Represents the available text colors we can output. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/write_out.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | /// ![Blue](https://via.placeholder.com/16/0000ff/000000?text=+) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/write_out.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | /// ![Cyan](https://via.placeholder.com/16/00ffff/000000?text=+) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/write_out.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | /// ![Green](https://via.placeholder.com/16/008000/000000?text=+) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/write_out.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | /// ![Purple](https://via.placeholder.com/16/800080/000000?text=+) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/write_out.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | /// ![Red](https://via.placeholder.com/16/ff0000/000000?text=+) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/write_out.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | /// ![White](https://via.placeholder.com/16/ffffff/000000?text=+) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/write_out.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | /// ![Yellow](https://via.placeholder.com/16/ffff00/000000?text=+) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/write_out.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | / fn type_normal(line: &str, color: Color, fast: bool) { [INFO] [stdout] 63 | | if line.is_empty() { [INFO] [stdout] 64 | | return; [INFO] [stdout] 65 | | } [INFO] [stdout] ... | [INFO] [stdout] 74 | | println!(); [INFO] [stdout] 75 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/write_out.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | / fn type_quote(line: &str, color: Color, fast: bool) { [INFO] [stdout] 82 | | if line.is_empty() { [INFO] [stdout] 83 | | return; [INFO] [stdout] 84 | | } [INFO] [stdout] ... | [INFO] [stdout] 103 | | println!(); [INFO] [stdout] 104 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/write_out.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | / fn contains_quote(line: &str) -> bool { [INFO] [stdout] 108 | | let mut seen_quote: bool = false; [INFO] [stdout] 109 | | [INFO] [stdout] 110 | | for c in line.chars() { [INFO] [stdout] ... | [INFO] [stdout] 118 | | false [INFO] [stdout] 119 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/write_out.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | / fn write_char(c: char, color: &Color) { [INFO] [stdout] 123 | | let mut s = String::default(); [INFO] [stdout] 124 | | s.push(c); [INFO] [stdout] 125 | | [INFO] [stdout] ... | [INFO] [stdout] 136 | | io::stdout().flush().unwrap(); [INFO] [stdout] 137 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/write_out.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | / fn naptime(time: Duration) { [INFO] [stdout] 141 | | if !FASTMODE { [INFO] [stdout] 142 | | thread::sleep(time); [INFO] [stdout] 143 | | } [INFO] [stdout] 144 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | /// If enabled, various debug info will be printed during gameplay [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | /// If enabled, the typewriter effect of write_out is made instantaneous. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | /// The base amount of time before the next line of a block is started, if FASTMODE is disabled. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | /// The base amount of time before the next charater of a line is typed, if FASTMODE is disabled. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/game_state.rs:328:1 [INFO] [stdout] | [INFO] [stdout] 328 | / impl fmt::Display for GameState { [INFO] [stdout] 329 | | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] 330 | | write!( [INFO] [stdout] 331 | | f, [INFO] [stdout] ... | [INFO] [stdout] 335 | | } [INFO] [stdout] 336 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/game_state.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | / fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] 330 | | write!( [INFO] [stdout] 331 | | f, [INFO] [stdout] 332 | | " Name: {}\n Progress: [Story: {}, Block: {}]\n Flags: {:?}\n Counters: {:?}\n", [INFO] [stdout] 333 | | self.name, self.progress.0, self.progress.1, self.flags, self.counters, [INFO] [stdout] 334 | | ) [INFO] [stdout] 335 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 85 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 40.41s [INFO] running `Command { std: "docker" "inspect" "442dbc26632be941e6340e3d2f6f84b6b9c1f66f07c608a410872383188872a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "442dbc26632be941e6340e3d2f6f84b6b9c1f66f07c608a410872383188872a4", kill_on_drop: false }` [INFO] [stdout] 442dbc26632be941e6340e3d2f6f84b6b9c1f66f07c608a410872383188872a4