bpaf 0.4.5

A simple Command Line Argument Parser with parser combinators
Documentation
Build #582376 2022-06-25T22:34:21.637803+00:00
# rustc version
rustc 1.63.0-nightly (fdca237d5 2022-06-24)# docs.rs version
docsrs 0.6.0 (1ce3fd8 2022-06-22)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/bpaf-0.4.5/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/bpaf-0.4.5/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "bpaf_derive" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20220624-1.63.0-nightly-fdca237d5\", \"--static-root-path\", \"/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--extern-html-root-takes-precedence\"]" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-j3" "--target" "x86_64-unknown-linux-gnu", 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] 80d916faaa52725e9f515a9b644e2e0b3c2e049064fbd5cf21dccdc376183190
[INFO] running `Command { std: "docker" "start" "-a" "80d916faaa52725e9f515a9b644e2e0b3c2e049064fbd5cf21dccdc376183190", kill_on_drop: false }`
[INFO] [stderr]  Documenting bpaf v0.4.5 (/opt/rustwide/workdir)
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/params.rs:1:1
[INFO] [stderr]    |
[INFO] [stderr] 1  | / //! Primitives to define parsers
[INFO] [stderr] 2  | | //!
[INFO] [stderr] 3  | | //! # Terminology
[INFO] [stderr] 4  | | //!
[INFO] [stderr] ...  |
[INFO] [stderr] 53 | | //! ```
[INFO] [stderr] 54 | | //!
[INFO] [stderr]    | |___^
[INFO] [stderr]    |
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr]   --> src/lib.rs:2:9
[INFO] [stderr]    |
[INFO] [stderr] 2  | #![warn(rustdoc::missing_doc_code_examples)]
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/params.rs:63:1
[INFO] [stderr]    |
[INFO] [stderr] 63 | /// A named thing used to create Flag, Switch or Argument.
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/params.rs:119:1
[INFO] [stderr]     |
[INFO] [stderr] 119 | / impl Named {
[INFO] [stderr] 120 | |     /// Add a short name to a flag/switch/argument
[INFO] [stderr] 121 | |     ///
[INFO] [stderr] 122 | |     /// You can specify it multiple times, items past the first one represent
[INFO] [stderr] ...   |
[INFO] [stderr] 290 | |     }
[INFO] [stderr] 291 | | }
[INFO] [stderr]     | |_^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:134:1
[INFO] [stderr]     |
[INFO] [stderr] 134 | /// Simple or composed argument parser
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:145:1
[INFO] [stderr]     |
[INFO] [stderr] 145 | / impl<T> Parser<T> {
[INFO] [stderr] 146 | |     /// Wrap a value into a `Parser`
[INFO] [stderr] 147 | |     ///
[INFO] [stderr] 148 | |     /// Parser will produce `T` without consuming anything from the command line, can be useful
[INFO] [stderr] ...   |
[INFO] [stderr] 552 | |     }
[INFO] [stderr] 553 | | }
[INFO] [stderr]     | |_^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:555:1
[INFO] [stderr]     |
[INFO] [stderr] 555 | / impl Parser<String> {
[INFO] [stderr] 556 | |     /// Parse stored [`String`] using [`FromStr`] instance
[INFO] [stderr] 557 | |     ///
[INFO] [stderr] 558 | |     /// ```rust
[INFO] [stderr] ...   |
[INFO] [stderr] 572 | |     }
[INFO] [stderr] 573 | | }
[INFO] [stderr]     | |_^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:575:1
[INFO] [stderr]     |
[INFO] [stderr] 575 | / /// Unsuccessful command line parsing outcome
[INFO] [stderr] 576 | | ///
[INFO] [stderr] 577 | | /// Useful for unit testing for user parsers, intented to
[INFO] [stderr] 578 | | /// be consumed with [`ParseFailure::unwrap_stdout`] and [`ParseFailure::unwrap_stdout`]
[INFO] [stderr]     | |________________________________________________________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:587:1
[INFO] [stderr]     |
[INFO] [stderr] 587 | / impl ParseFailure {
[INFO] [stderr] 588 | |     /// Returns the contained `stderr` values
[INFO] [stderr] 589 | |     ///
[INFO] [stderr] 590 | |     /// Intended to be used with unit tests
[INFO] [stderr] ...   |
[INFO] [stderr] 620 | |     }
[INFO] [stderr] 621 | | }
[INFO] [stderr]     | |_^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:588:5
[INFO] [stderr]     |
[INFO] [stderr] 588 | /     /// Returns the contained `stderr` values
[INFO] [stderr] 589 | |     ///
[INFO] [stderr] 590 | |     /// Intended to be used with unit tests
[INFO] [stderr] 591 | |     ///
[INFO] [stderr] 592 | |     /// # Panics
[INFO] [stderr] 593 | |     ///
[INFO] [stderr] 594 | |     /// Will panic if failure contains `stdout`
[INFO] [stderr]     | |_______________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:605:5
[INFO] [stderr]     |
[INFO] [stderr] 605 | /     /// Returns the contained `stdout` values
[INFO] [stderr] 606 | |     ///
[INFO] [stderr] 607 | |     /// Intended to be used with unit tests
[INFO] [stderr] 608 | |     ///
[INFO] [stderr] 609 | |     /// # Panics
[INFO] [stderr] 610 | |     ///
[INFO] [stderr] 611 | |     /// Will panic if failure contains `stderr`
[INFO] [stderr]     | |_______________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/lib.rs:623:1
[INFO] [stderr]     |
[INFO] [stderr] 623 | / impl<T> OptionParser<T> {
[INFO] [stderr] 624 | |     /// Execute the [`OptionParser`], extract a parsed value or print some diagnostic and exit
[INFO] [stderr] 625 | |     ///
[INFO] [stderr] 626 | |     /// ```no_run
[INFO] [stderr] ...   |
[INFO] [stderr] 710 | |     }
[INFO] [stderr] 711 | | }
[INFO] [stderr]     | |_^
[INFO] [stderr] 
[INFO] [stderr] warning: `bpaf` (lib doc) generated 11 warnings
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.78s
[INFO] running `Command { std: "docker" "inspect" "80d916faaa52725e9f515a9b644e2e0b3c2e049064fbd5cf21dccdc376183190", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "80d916faaa52725e9f515a9b644e2e0b3c2e049064fbd5cf21dccdc376183190", kill_on_drop: false }`
[INFO] [stdout] 80d916faaa52725e9f515a9b644e2e0b3c2e049064fbd5cf21dccdc376183190