[INFO] updating cached repository https://github.com/rustyhorde/madmath [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df8f3a426e795f426af0e1b30b612c346d5751f6 [INFO] documenting rustyhorde/madmath against try#66dfc4e010913fbed0c4ea91fc2c010004b0f441 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustyhorde%2Fmadmath" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rustyhorde/madmath 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 git repo https://github.com/rustyhorde/madmath [INFO] finished tweaking git repo https://github.com/rustyhorde/madmath [INFO] tweaked toml for git repo https://github.com/rustyhorde/madmath written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/rustyhorde/madmath already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5ea833e53253759e6c3049353c17a483ac139c6b108293cf3f2ecea4e98e48ec [INFO] running `Command { std: "docker" "start" "-a" "5ea833e53253759e6c3049353c17a483ac139c6b108293cf3f2ecea4e98e48ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ea833e53253759e6c3049353c17a483ac139c6b108293cf3f2ecea4e98e48ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ea833e53253759e6c3049353c17a483ac139c6b108293cf3f2ecea4e98e48ec", kill_on_drop: false }` [INFO] [stdout] 5ea833e53253759e6c3049353c17a483ac139c6b108293cf3f2ecea4e98e48ec [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] 6abbc5d5943810371a9c360c71f11350bf4e49dfd353b0860f6a90a59f75d0b7 [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" "6abbc5d5943810371a9c360c71f11350bf4e49dfd353b0860f6a90a59f75d0b7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking rgb v0.8.14 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Checking lock_api v0.3.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking tracing-core v0.1.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Checking backtrace-sys v0.1.32 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking http v0.1.19 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking tokio-sync v0.2.0-alpha.6 [INFO] [stderr] Compiling vergen v3.0.4 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Checking http-body v0.2.0-alpha.3 [INFO] [stderr] Checking winconsole v0.10.0 [INFO] [stderr] Checking colored v1.8.0 [INFO] [stderr] Checking toml v0.5.3 [INFO] [stderr] Compiling synstructure v0.12.1 [INFO] [stderr] Compiling pin-project-internal v0.4.5 [INFO] [stderr] Compiling tracing-attributes v0.1.4 [INFO] [stderr] Compiling tokio-macros v0.2.0-alpha.6 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling getset v0.0.9 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Checking tracing v0.1.9 [INFO] [stderr] Checking tokio-executor v0.2.0-alpha.6 [INFO] [stderr] Compiling madmath v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking pin-project v0.4.5 [INFO] [stderr] Checking tokio-io v0.2.0-alpha.6 [INFO] [stderr] Checking tokio-timer v0.3.0-alpha.6 [INFO] [stderr] Checking tokio-codec v0.2.0-alpha.6 [INFO] [stderr] Checking tokio-fs v0.2.0-alpha.6 [INFO] [stderr] Checking tower-make v0.3.0-alpha.2a [INFO] [stderr] Checking tokio-net v0.2.0-alpha.6 [INFO] [stderr] Checking h2 v0.2.0-alpha.3 [INFO] [stderr] Checking tokio v0.2.0-alpha.6 [INFO] [stderr] Checking tomlenv v0.3.2 [INFO] [stderr] Checking hyper v0.13.0-alpha.4 [INFO] [stderr] Documenting madmath v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! Mad Math Server [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | missing_doc_code_examples, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/main.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | /// Mad Math entry point [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/main.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / fn print_and_exit(error: &dyn Error) { [INFO] [stdout] 74 | | eprintln!("{}", error); [INFO] [stdout] 75 | | process::exit(1); [INFO] [stdout] 76 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/config.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use std::{env, fmt}; [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | use getset::Getters; [INFO] [stdout] 4 | | use serde_derive::{Deserialize, Serialize}; [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/config.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / crate struct Config { [INFO] [stdout] 10 | | #[get = "crate"] [INFO] [stdout] 11 | | ip: String, [INFO] [stdout] 12 | | #[get = "crate"] [INFO] [stdout] 13 | | port: u16, [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/config.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | ip: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/config.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | port: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | //! madmath Error Handling [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | /// An error [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | /// the code [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | /// the reason [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | /// the description [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | /// the kind [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | /// Promises Error Codes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | /// An error caused by the client [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | /// An environmental error [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | /// A framework related error [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | /// An error caused by HTTP client [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | /// An I/O error [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | /// An error parsing [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | /// An error caused by the server [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | /// An unknown error [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | /// Promises Error Source [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | /// An error parsing the listen address [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | /// An error from clap [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | /// An error from tomlenv [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | /// An error from hyper [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | /// An I/O error [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | /// An error from log [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | crate type GenericError = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | /// A result that must include an `Err` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / impl Err { [INFO] [stdout] 30 | | fn new(code: ErrCode, reason: U, source: Option) -> Self [INFO] [stdout] 31 | | where [INFO] [stdout] 32 | | U: Into, [INFO] [stdout] ... | [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / fn new(code: ErrCode, reason: U, source: Option) -> Self [INFO] [stdout] 31 | | where [INFO] [stdout] 32 | | U: Into, [INFO] [stdout] 33 | | { [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/header.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use colored::{Color, Colorize}; [INFO] [stdout] 2 | | use log::info; [INFO] [stdout] 3 | | use rand::Rng; [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 52 | | info!(""); [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/header.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / fn random_color() -> Color { [INFO] [stdout] 6 | | let num = rand::thread_rng().gen_range(0, 7); [INFO] [stdout] 7 | | [INFO] [stdout] 8 | | match num { [INFO] [stdout] ... | [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/header.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / crate fn header() { [INFO] [stdout] 20 | | let color = random_color(); [INFO] [stdout] 21 | | info!("{}", "\u{2584}\u{2584}\u{2584}\u{2584}\u{2588}\u{2588}\u{2588}\u{2584}\u{2584}\u{2584}\u{2584} \u{2584}\u{2588}\u{2588}\u... [INFO] [stdout] 22 | | info!("{}", "\u{2584}\u{2588}\u{2588}\u{2580}\u{2580}\u{2580}\u{2588}\u{2588}\u{2588}\u{2580}\u{2580}\u{2580}\u{2588}\u{2588}\u{2584}... [INFO] [stdout] ... | [INFO] [stdout] 52 | | info!(""); [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/run.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use std::convert::TryFrom; [INFO] [stdout] 2 | | use std::env; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | use clap::{App, Arg}; [INFO] [stdout] ... | [INFO] [stdout] 105 | | } [INFO] [stdout] 106 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/run.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / crate fn run() -> Result<()> { [INFO] [stdout] 19 | | tk_main() [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/run.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / async fn response_examples( [INFO] [stdout] 90 | | req: Request, [INFO] [stdout] 91 | | _client: Client, [INFO] [stdout] 92 | | ) -> Result> { [INFO] [stdout] ... | [INFO] [stdout] 105 | | } [INFO] [stdout] 106 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/run.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | static INDEX: &[u8] = b"test.html"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/run.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | static NOTFOUND: &[u8] = b"Not Found"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/run.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | crate const MM_ENV: &str = "MM_ENV"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl From<&str> for Err { [INFO] [stdout] 72 | | fn from(text: &str) -> Self { [INFO] [stdout] 73 | | let split = text.split(':'); [INFO] [stdout] 74 | | let vec = split.collect::>(); [INFO] [stdout] ... | [INFO] [stdout] 78 | | } [INFO] [stdout] 79 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / fn from(text: &str) -> Self { [INFO] [stdout] 73 | | let split = text.split(':'); [INFO] [stdout] 74 | | let vec = split.collect::>(); [INFO] [stdout] 75 | | let code = vec.get(0).unwrap_or_else(|| &""); [INFO] [stdout] 76 | | let reason = vec.get(1).unwrap_or_else(|| &""); [INFO] [stdout] 77 | | Self::new((*code).into(), *reason, None) [INFO] [stdout] 78 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | / impl From<&str> for ErrCode { [INFO] [stdout] 125 | | fn from(text: &str) -> Self { [INFO] [stdout] 126 | | match text { [INFO] [stdout] 127 | | "client" => ErrCode::Client, [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | / fn from(text: &str) -> Self { [INFO] [stdout] 126 | | match text { [INFO] [stdout] 127 | | "client" => ErrCode::Client, [INFO] [stdout] 128 | | "env" => ErrCode::Env, [INFO] [stdout] ... | [INFO] [stdout] 135 | | } [INFO] [stdout] 136 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | / impl From<$error> for Err { [INFO] [stdout] 142 | | fn from(inner: $error) -> Self { [INFO] [stdout] 143 | | Self::new($code, $reason, Some($kind(inner))) [INFO] [stdout] 144 | | } [INFO] [stdout] 145 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 149 | / dep_error!( [INFO] [stdout] 150 | | clap::Error, [INFO] [stdout] 151 | | ErrSource::Clap, [INFO] [stdout] 152 | | ErrCode::Framework, [INFO] [stdout] 153 | | "There was an error parsing command line arguments" [INFO] [stdout] 154 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | / fn from(inner: $error) -> Self { [INFO] [stdout] 143 | | Self::new($code, $reason, Some($kind(inner))) [INFO] [stdout] 144 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 149 | / dep_error!( [INFO] [stdout] 150 | | clap::Error, [INFO] [stdout] 151 | | ErrSource::Clap, [INFO] [stdout] 152 | | ErrCode::Framework, [INFO] [stdout] 153 | | "There was an error parsing command line arguments" [INFO] [stdout] 154 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | / impl From<$error> for Err { [INFO] [stdout] 142 | | fn from(inner: $error) -> Self { [INFO] [stdout] 143 | | Self::new($code, $reason, Some($kind(inner))) [INFO] [stdout] 144 | | } [INFO] [stdout] 145 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 155 | / dep_error!( [INFO] [stdout] 156 | | failure::Error, [INFO] [stdout] 157 | | ErrSource::Failure, [INFO] [stdout] 158 | | ErrCode::Env, [INFO] [stdout] 159 | | "The was an error setting up the environment" [INFO] [stdout] 160 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | / fn from(inner: $error) -> Self { [INFO] [stdout] 143 | | Self::new($code, $reason, Some($kind(inner))) [INFO] [stdout] 144 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 155 | / dep_error!( [INFO] [stdout] 156 | | failure::Error, [INFO] [stdout] 157 | | ErrSource::Failure, [INFO] [stdout] 158 | | ErrCode::Env, [INFO] [stdout] 159 | | "The was an error setting up the environment" [INFO] [stdout] 160 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | / impl From<$error> for Err { [INFO] [stdout] 142 | | fn from(inner: $error) -> Self { [INFO] [stdout] 143 | | Self::new($code, $reason, Some($kind(inner))) [INFO] [stdout] 144 | | } [INFO] [stdout] 145 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 161 | / dep_error!( [INFO] [stdout] 162 | | hyper::Error, [INFO] [stdout] 163 | | ErrSource::Hyper, [INFO] [stdout] 164 | | ErrCode::Framework, [INFO] [stdout] 165 | | "There was an error with the hyper server" [INFO] [stdout] 166 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | / fn from(inner: $error) -> Self { [INFO] [stdout] 143 | | Self::new($code, $reason, Some($kind(inner))) [INFO] [stdout] 144 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 161 | / dep_error!( [INFO] [stdout] 162 | | hyper::Error, [INFO] [stdout] 163 | | ErrSource::Hyper, [INFO] [stdout] 164 | | ErrCode::Framework, [INFO] [stdout] 165 | | "There was an error with the hyper server" [INFO] [stdout] 166 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | / impl From<$error> for Err { [INFO] [stdout] 142 | | fn from(inner: $error) -> Self { [INFO] [stdout] 143 | | Self::new($code, $reason, Some($kind(inner))) [INFO] [stdout] 144 | | } [INFO] [stdout] 145 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 167 | / dep_error!( [INFO] [stdout] 168 | | log::SetLoggerError, [INFO] [stdout] 169 | | ErrSource::SetLogger, [INFO] [stdout] 170 | | ErrCode::Framework, [INFO] [stdout] 171 | | "There was an error setting up the logger" [INFO] [stdout] 172 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | / fn from(inner: $error) -> Self { [INFO] [stdout] 143 | | Self::new($code, $reason, Some($kind(inner))) [INFO] [stdout] 144 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 167 | / dep_error!( [INFO] [stdout] 168 | | log::SetLoggerError, [INFO] [stdout] 169 | | ErrSource::SetLogger, [INFO] [stdout] 170 | | ErrCode::Framework, [INFO] [stdout] 171 | | "There was an error setting up the logger" [INFO] [stdout] 172 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | / impl From<$error> for Err { [INFO] [stdout] 142 | | fn from(inner: $error) -> Self { [INFO] [stdout] 143 | | Self::new($code, $reason, Some($kind(inner))) [INFO] [stdout] 144 | | } [INFO] [stdout] 145 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 173 | / dep_error!( [INFO] [stdout] 174 | | std::io::Error, [INFO] [stdout] 175 | | ErrSource::Io, [INFO] [stdout] 176 | | ErrCode::Io, [INFO] [stdout] 177 | | "There was an error processing your request" [INFO] [stdout] 178 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | / fn from(inner: $error) -> Self { [INFO] [stdout] 143 | | Self::new($code, $reason, Some($kind(inner))) [INFO] [stdout] 144 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 173 | / dep_error!( [INFO] [stdout] 174 | | std::io::Error, [INFO] [stdout] 175 | | ErrSource::Io, [INFO] [stdout] 176 | | ErrCode::Io, [INFO] [stdout] 177 | | "There was an error processing your request" [INFO] [stdout] 178 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | / impl From<$error> for Err { [INFO] [stdout] 142 | | fn from(inner: $error) -> Self { [INFO] [stdout] 143 | | Self::new($code, $reason, Some($kind(inner))) [INFO] [stdout] 144 | | } [INFO] [stdout] 145 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 179 | / dep_error!( [INFO] [stdout] 180 | | std::net::AddrParseError, [INFO] [stdout] 181 | | ErrSource::AddrParse, [INFO] [stdout] 182 | | ErrCode::Parse, [INFO] [stdout] 183 | | "There was an error parsing the socket address" [INFO] [stdout] 184 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | / fn from(inner: $error) -> Self { [INFO] [stdout] 143 | | Self::new($code, $reason, Some($kind(inner))) [INFO] [stdout] 144 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 179 | / dep_error!( [INFO] [stdout] 180 | | std::net::AddrParseError, [INFO] [stdout] 181 | | ErrSource::AddrParse, [INFO] [stdout] 182 | | ErrCode::Parse, [INFO] [stdout] 183 | | "There was an error parsing the socket address" [INFO] [stdout] 184 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | / impl Into<&str> for ErrCode { [INFO] [stdout] 103 | | fn into(self) -> &'static str { [INFO] [stdout] 104 | | match self { [INFO] [stdout] 105 | | ErrCode::Client => "client", [INFO] [stdout] ... | [INFO] [stdout] 114 | | } [INFO] [stdout] 115 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | / fn into(self) -> &'static str { [INFO] [stdout] 104 | | match self { [INFO] [stdout] 105 | | ErrCode::Client => "client", [INFO] [stdout] 106 | | ErrCode::Env => "env", [INFO] [stdout] ... | [INFO] [stdout] 113 | | } [INFO] [stdout] 114 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / impl Into for ErrCode { [INFO] [stdout] 118 | | fn into(self) -> String { [INFO] [stdout] 119 | | let tmp: &str = self.into(); [INFO] [stdout] 120 | | tmp.to_string() [INFO] [stdout] 121 | | } [INFO] [stdout] 122 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | / fn into(self) -> String { [INFO] [stdout] 119 | | let tmp: &str = self.into(); [INFO] [stdout] 120 | | tmp.to_string() [INFO] [stdout] 121 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/config.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / impl fmt::Display for Config { [INFO] [stdout] 17 | | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 18 | | writeln!(f, "")?; [INFO] [stdout] 19 | | writeln!( [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/config.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 18 | | writeln!(f, "")?; [INFO] [stdout] 19 | | writeln!( [INFO] [stdout] 20 | | f, [INFO] [stdout] ... | [INFO] [stdout] 25 | | writeln!(f, " port: {}", self.port) [INFO] [stdout] 26 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / impl fmt::Display for Err { [INFO] [stdout] 62 | | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 63 | | let res = Error::iter_sources(self).fold(self.description().to_string(), |mut s, e| { [INFO] [stdout] 64 | | s.push_str(&format!(" => {}", e)); [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 63 | | let res = Error::iter_sources(self).fold(self.description().to_string(), |mut s, e| { [INFO] [stdout] 64 | | s.push_str(&format!(" => {}", e)); [INFO] [stdout] 65 | | s [INFO] [stdout] 66 | | }); [INFO] [stdout] 67 | | write!(f, "{}", res) [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | / impl fmt::Display for ErrSource { [INFO] [stdout] 218 | | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 219 | | match self { [INFO] [stdout] 220 | | ErrSource::AddrParse(source) => write!(f, "{:?}", source), [INFO] [stdout] ... | [INFO] [stdout] 227 | | } [INFO] [stdout] 228 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | / fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 219 | | match self { [INFO] [stdout] 220 | | ErrSource::AddrParse(source) => write!(f, "{:?}", source), [INFO] [stdout] 221 | | ErrSource::Clap(source) => write!(f, "{:?}", source), [INFO] [stdout] ... | [INFO] [stdout] 226 | | } [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / impl Error for Err { [INFO] [stdout] 48 | | fn description(&self) -> &str { [INFO] [stdout] 49 | | &self.description [INFO] [stdout] 50 | | } [INFO] [stdout] ... | [INFO] [stdout] 58 | | } [INFO] [stdout] 59 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / fn description(&self) -> &str { [INFO] [stdout] 49 | | &self.description [INFO] [stdout] 50 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / fn source(&self) -> Option<&(dyn Error + 'static)> { [INFO] [stdout] 53 | | if let Some(ref x) = self.source { [INFO] [stdout] 54 | | Some(x) [INFO] [stdout] 55 | | } else { [INFO] [stdout] 56 | | None [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | / impl Error for ErrSource { [INFO] [stdout] 205 | | fn description(&self) -> &str { [INFO] [stdout] 206 | | match self { [INFO] [stdout] 207 | | ErrSource::AddrParse(source) => source.description(), [INFO] [stdout] ... | [INFO] [stdout] 214 | | } [INFO] [stdout] 215 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/error.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | / fn description(&self) -> &str { [INFO] [stdout] 206 | | match self { [INFO] [stdout] 207 | | ErrSource::AddrParse(source) => source.description(), [INFO] [stdout] 208 | | ErrSource::Clap(source) => source.description(), [INFO] [stdout] ... | [INFO] [stdout] 213 | | } [INFO] [stdout] 214 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 73 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: Could not document `madmath`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name madmath src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern clap=/opt/rustwide/target/debug/deps/libclap-0d828e5d38235786.rmeta --extern colored=/opt/rustwide/target/debug/deps/libcolored-b6692fe550ffe26e.rmeta --extern dirs=/opt/rustwide/target/debug/deps/libdirs-8789e75191e83b11.rmeta --extern failure=/opt/rustwide/target/debug/deps/libfailure-6e202e8e41ca22d9.rmeta --extern getset=/opt/rustwide/target/debug/deps/libgetset-d8ce5d0a6d2abd3b.so --extern hyper=/opt/rustwide/target/debug/deps/libhyper-974c1d58101d6a14.rmeta --extern log=/opt/rustwide/target/debug/deps/liblog-0aada07bd69e847b.rmeta --extern pretty_env_logger=/opt/rustwide/target/debug/deps/libpretty_env_logger-81161e69c14c246b.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-a545aeb9e541afb5.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-b0c04c43a8e10ac1.rmeta --extern serde_derive=/opt/rustwide/target/debug/deps/libserde_derive-de5ffd800c753179.so --extern tokio=/opt/rustwide/target/debug/deps/libtokio-c04aae9724fc549c.rmeta --extern tomlenv=/opt/rustwide/target/debug/deps/libtomlenv-405d4b359edb0d06.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "6abbc5d5943810371a9c360c71f11350bf4e49dfd353b0860f6a90a59f75d0b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6abbc5d5943810371a9c360c71f11350bf4e49dfd353b0860f6a90a59f75d0b7", kill_on_drop: false }` [INFO] [stdout] 6abbc5d5943810371a9c360c71f11350bf4e49dfd353b0860f6a90a59f75d0b7