[INFO] fetching crate dnd_dice_roller 0.5.1... [INFO] documenting dnd_dice_roller-0.5.1 against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] extracting crate dnd_dice_roller 0.5.1 into /workspace/builds/worker-32/source [INFO] validating manifest of crates.io crate dnd_dice_roller 0.5.1 on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dnd_dice_roller 0.5.1 [INFO] finished tweaking crates.io crate dnd_dice_roller 0.5.1 [INFO] tweaked toml for crates.io crate dnd_dice_roller 0.5.1 written to /workspace/builds/worker-32/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a64852ca7d6aa6080cb68364261a2d6e2d6406505756f34a7bd335bb5ca1bb6d [INFO] running `Command { std: "docker" "start" "-a" "a64852ca7d6aa6080cb68364261a2d6e2d6406505756f34a7bd335bb5ca1bb6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a64852ca7d6aa6080cb68364261a2d6e2d6406505756f34a7bd335bb5ca1bb6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a64852ca7d6aa6080cb68364261a2d6e2d6406505756f34a7bd335bb5ca1bb6d", kill_on_drop: false }` [INFO] [stdout] a64852ca7d6aa6080cb68364261a2d6e2d6406505756f34a7bd335bb5ca1bb6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 620b5d96283f8535dc0fceb0be155604e3585cae01905f12e6180cd3d8021ea2 [INFO] running `Command { std: "docker" "start" "-a" "620b5d96283f8535dc0fceb0be155604e3585cae01905f12e6180cd3d8021ea2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_pcg v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking dice-command-parser v0.7.3 [INFO] [stderr] Documenting dnd_dice_roller v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `missing_doc_code_examples` has been renamed to `rustdoc::missing_doc_code_examples` [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![warn(missing_doc_code_examples)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_doc_code_examples` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.74s [INFO] running `Command { std: "docker" "inspect" "620b5d96283f8535dc0fceb0be155604e3585cae01905f12e6180cd3d8021ea2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "620b5d96283f8535dc0fceb0be155604e3585cae01905f12e6180cd3d8021ea2", kill_on_drop: false }` [INFO] [stdout] 620b5d96283f8535dc0fceb0be155604e3585cae01905f12e6180cd3d8021ea2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTC_BOOTSTRAP=1" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "rustdoc" "--lib" "-Zrustdoc-map" "--frozen" "--message-format=json" "--" "-Z" "unstable-options" "--document-private-items", kill_on_drop: false }` [INFO] [stdout] 3c3326af93be7303f6fb08d0c24f7a61079ed13681626a6f190e8aa381348ad9 [INFO] running `Command { std: "docker" "start" "-a" "3c3326af93be7303f6fb08d0c24f7a61079ed13681626a6f190e8aa381348ad9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_pcg v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking dice-command-parser v0.7.3 [INFO] [stderr] Documenting dnd_dice_roller v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `missing_doc_code_examples` has been renamed to `rustdoc::missing_doc_code_examples` [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![warn(missing_doc_code_examples)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_doc_code_examples` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![warn(clippy::all, clippy::pedantic)] [INFO] [stdout] 2 | | #![allow(clippy::module_name_repetitions)] [INFO] [stdout] 3 | | #![warn(missing_doc_code_examples)] [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 8 | | pub mod error; [INFO] [stdout] 9 | | pub mod roll; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![warn(missing_doc_code_examples)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/dice.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::dice_result::RollResult; [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | use dice_command_parser::{ [INFO] [stdout] 4 | | dice_roll::Operation as CommandOperation, dice_roll::RollType as CommandRollType, [INFO] [stdout] ... | [INFO] [stdout] 269 | | } [INFO] [stdout] 270 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/dice.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | /// Represents a set of homogenous dice. E.G. Three d6 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/dice.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | /// Represents the advantage or disadvantage on a roll. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/dice.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | /// Represents whether the dice result should be added or taken away from the total. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/dice.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / impl Dice { [INFO] [stdout] 47 | | pub(crate) fn from_parsed_dice_roll(parsed_roll: &DiceRollWithOp) -> Self { [INFO] [stdout] 48 | | let roll_type = match parsed_roll.dice_roll.roll_type { [INFO] [stdout] 49 | | CommandRollType::Regular => RollType::Regular, [INFO] [stdout] ... | [INFO] [stdout] 167 | | } [INFO] [stdout] 168 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/dice_result.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use std::fmt; [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | /// Represents the result of rolling (a set of) `Dice`. [INFO] [stdout] 4 | | #[derive(PartialEq, Debug)] [INFO] [stdout] ... | [INFO] [stdout] 63 | | } [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/dice_result.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | /// Represents the result of rolling (a set of) `Dice`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/dice_result.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / impl DiceSetResults { [INFO] [stdout] 13 | | pub(crate) fn new(results: Vec, final_result: i32) -> Self { [INFO] [stdout] 14 | | DiceSetResults { [INFO] [stdout] 15 | | dice_results: results, [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/dice_result.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / pub struct RollResult { [INFO] [stdout] 23 | | /// Present on `RollType::Advantage`, `RollType::Disadvantage` and `RollType::Regular` rolls. [INFO] [stdout] 24 | | pub first_roll: Vec, [INFO] [stdout] 25 | | /// Only present on `RollType::Advantage`, `RollType::Disadvantage` rolls. [INFO] [stdout] 26 | | pub second_roll: Option>, [INFO] [stdout] 27 | | pub result: i32, [INFO] [stdout] 28 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/dice_result.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / impl RollResult { [INFO] [stdout] 31 | | pub(crate) fn new(first_roll: Vec, second_roll: Option>, result: i32) -> Self { [INFO] [stdout] 32 | | RollResult { [INFO] [stdout] 33 | | first_roll, [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/dice_set.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::{ [INFO] [stdout] 2 | | dice::{Dice, Operation}, [INFO] [stdout] 3 | | dice_result::{DiceSetResults, RollResult}, [INFO] [stdout] 4 | | }; [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/dice_set.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | /// Represents a set of non-homogenous dice e.g. d20+2 + d4. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/dice_set.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / impl DiceSet { [INFO] [stdout] 15 | | /// Create a new dice set [INFO] [stdout] 16 | | pub fn new(dice: Vec) -> Self { [INFO] [stdout] 17 | | DiceSet { dice } [INFO] [stdout] ... | [INFO] [stdout] 66 | | } [INFO] [stdout] 67 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/dice_set.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | /// Create a new dice set [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use dice_command_parser::error::ParserError; [INFO] [stdout] 2 | | use thiserror::Error; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | #[derive(Error, Debug)] [INFO] [stdout] ... | [INFO] [stdout] 9 | | Unknown, [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / pub enum DiceError { [INFO] [stdout] 6 | | #[error("Error parsing input: {0}")] [INFO] [stdout] 7 | | ParseError(#[from] ParserError), [INFO] [stdout] 8 | | #[error("An unknown error occurred")] [INFO] [stdout] 9 | | Unknown, [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/roll.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use std::str::FromStr; [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | use dice_command_parser::parse_line; [INFO] [stdout] 4 | | use rand::Rng; [INFO] [stdout] ... | [INFO] [stdout] 250 | | } [INFO] [stdout] 251 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/roll.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / /// Represents a set of non-homogenous dice, potentially grouped into multiple separate results - each grouping being a `DiceSet`. [INFO] [stdout] 8 | | /// e.g. Rolling a d6 + d4 would be a `Roll` of a single `DiceSet`. [INFO] [stdout] 9 | | /// e.g. Rolling a d100, d100, d100 for three separate results (e.g. three rolls on a loot table) would be a single `Roll` of three `DiceSet` each of one `Dice`. [INFO] [stdout] | |__________________________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/roll.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / impl Roll { [INFO] [stdout] 16 | | /// Creates a new `Roll` [INFO] [stdout] 17 | | pub fn new(dice_sets: Vec) -> Self { [INFO] [stdout] 18 | | Self { dice_sets } [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/roll.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | /// Creates a new `Roll` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.53s [INFO] running `Command { std: "docker" "inspect" "3c3326af93be7303f6fb08d0c24f7a61079ed13681626a6f190e8aa381348ad9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c3326af93be7303f6fb08d0c24f7a61079ed13681626a6f190e8aa381348ad9", kill_on_drop: false }` [INFO] [stdout] 3c3326af93be7303f6fb08d0c24f7a61079ed13681626a6f190e8aa381348ad9