clap 4.6.7

A simple to use, efficient, and full-featured Command Line Argument Parser
Documentation

Build #5213390 2026-11-08 12:32:14

# rustc version rustc 1.102.0-nightly (f5cedb83a 2026-11-07)

# docs.rs version docsrs 0.0.0 (b658295340a2631b346d661cc222ab88c9b09348 2026-11-06 )

# build log [INFO] adding target x86_64-unknown-linux-gnu for toolchain nightly [INFO] running `"rustup" "target" "add" "--toolchain" "nightly" "x86_64-unknown-linux-gnu"` [INFO] [stderr] info: component rust-std is up to date [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "6e2a48a6add3105f65649f661660353eaaedc079cd61860d59c00a805e384d55" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "unstable-doc" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--generate-link-to-definition\", \"-Z\", \"unstable-options\", \"--output-format\", \"json\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-j12" "--target" "x86_64-unknown-linux-gnu"` [INFO] [stderr] Documenting clap v4.6.7 (/opt/rustwide/workdir) [INFO] [stderr] warning: `--generate-link-to-definition` option can only be used with HTML output format [INFO] [stderr] | [INFO] [stderr] = note: `--generate-link-to-definition` option will be ignored [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/_derive/_tutorial.rs:52:122 [INFO] [stderr] | [INFO] [stderr] 52 | ...evel behavior of clap. Any [`Command`][crate::Command] builder function can be used as an attribute, like [`Command::next_line_h... [INFO] [stderr] | --------- ^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] = note: `#[warn(rustdoc::redundant_explicit_links)]` on by default [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 52 - //! You can use `#[command]` attributes on the struct to change the application level behavior of clap. Any [`Command`][crate::Command] builder function can be used as an attribute, like [`Command::next_line_help`]. [INFO] [stderr] 52 + //! You can use `#[command]` attributes on the struct to change the application level behavior of clap. Any [`Command`] builder function can be used as an attribute, like [`Command::next_line_help`]. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/_derive/_tutorial.rs:211:63 [INFO] [stderr] | [INFO] [stderr] 211 | //! You can declare dependencies or conflicts between [`Arg`][crate::Arg]s or even [INFO] [stderr] | ----- ^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 211 - //! You can declare dependencies or conflicts between [`Arg`][crate::Arg]s or even [INFO] [stderr] 211 + //! You can declare dependencies or conflicts between [`Arg`]s or even [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/_derive/_tutorial.rs:212:18 [INFO] [stderr] | [INFO] [stderr] 212 | //! [`ArgGroup`][crate::ArgGroup]s. [INFO] [stderr] | ---------- ^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 212 - //! [`ArgGroup`][crate::ArgGroup]s. [INFO] [stderr] 212 + //! [`ArgGroup`]s. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/_derive/_tutorial.rs:214:18 [INFO] [stderr] | [INFO] [stderr] 214 | //! [`ArgGroup`][crate::ArgGroup]s make it easier to declare relations instead of having to list [INFO] [stderr] | ---------- ^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 214 - //! [`ArgGroup`][crate::ArgGroup]s make it easier to declare relations instead of having to list [INFO] [stderr] 214 + //! [`ArgGroup`]s make it easier to declare relations instead of having to list [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/_derive/_tutorial.rs:217:49 [INFO] [stderr] | [INFO] [stderr] 217 | //! Perhaps the most common use of [`ArgGroup`][crate::ArgGroup]s is to require one and *only* one [INFO] [stderr] | ---------- ^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 217 - //! Perhaps the most common use of [`ArgGroup`][crate::ArgGroup]s is to require one and *only* one [INFO] [stderr] 217 + //! Perhaps the most common use of [`ArgGroup`]s is to require one and *only* one [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/_derive/_tutorial.rs:222:18 [INFO] [stderr] | [INFO] [stderr] 222 | //! [`ArgGroup`][crate::ArgGroup]s are automatically created for a `struct` with its [INFO] [stderr] | ---------- ^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 222 - //! [`ArgGroup`][crate::ArgGroup]s are automatically created for a `struct` with its [INFO] [stderr] 222 + //! [`ArgGroup`]s are automatically created for a `struct` with its [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/_tutorial.rs:36:25 [INFO] [stderr] | [INFO] [stderr] 36 | //! You use [`Command`][crate::Command] to start building a parser. [INFO] [stderr] | --------- ^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 36 - //! You use [`Command`][crate::Command] to start building a parser. [INFO] [stderr] 36 + //! You use [`Command`] to start building a parser. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/_tutorial.rs:52:29 [INFO] [stderr] | [INFO] [stderr] 52 | //! You can use [`Command`][crate::Command] methods to change the application level behavior of [INFO] [stderr] | --------- ^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 52 - //! You can use [`Command`][crate::Command] methods to change the application level behavior of [INFO] [stderr] 52 + //! You can use [`Command`] methods to change the application level behavior of [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/_tutorial.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / //! ## Tutorial for the Builder API [INFO] [stderr] 11 | | //! [INFO] [stderr] 12 | | //! *See the side bar for the Table of Contents* [INFO] [stderr] 13 | | //! [INFO] [stderr] ... | [INFO] [stderr] 243 | | //! [INFO] [stderr] 244 | | //! For support, see [Discussions](https://github.com/clap-rs/clap/discussions) [INFO] [stderr] | |_______________________________________________________________________________^ explicit target `crate::ArgAction` is redundant because label `ArgAction` resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/_tutorial.rs:142:44 [INFO] [stderr] | [INFO] [stderr] 142 | //! Subcommands are defined as [`Command`][crate::Command]s that get added via [INFO] [stderr] | --------- ^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 142 - //! Subcommands are defined as [`Command`][crate::Command]s that get added via [INFO] [stderr] 142 + //! Subcommands are defined as [`Command`]s that get added via [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/_tutorial.rs:205:63 [INFO] [stderr] | [INFO] [stderr] 205 | //! You can declare dependencies or conflicts between [`Arg`][crate::Arg]s or even [INFO] [stderr] | ----- ^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 205 - //! You can declare dependencies or conflicts between [`Arg`][crate::Arg]s or even [INFO] [stderr] 205 + //! You can declare dependencies or conflicts between [`Arg`]s or even [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/_tutorial.rs:206:18 [INFO] [stderr] | [INFO] [stderr] 206 | //! [`ArgGroup`][crate::ArgGroup]s. [INFO] [stderr] | ---------- ^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 206 - //! [`ArgGroup`][crate::ArgGroup]s. [INFO] [stderr] 206 + //! [`ArgGroup`]s. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/_tutorial.rs:208:18 [INFO] [stderr] | [INFO] [stderr] 208 | //! [`ArgGroup`][crate::ArgGroup]s make it easier to declare relations instead of having to list [INFO] [stderr] | ---------- ^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 208 - //! [`ArgGroup`][crate::ArgGroup]s make it easier to declare relations instead of having to list [INFO] [stderr] 208 + //! [`ArgGroup`]s make it easier to declare relations instead of having to list [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/_tutorial.rs:211:49 [INFO] [stderr] | [INFO] [stderr] 211 | //! Perhaps the most common use of [`ArgGroup`][crate::ArgGroup]s is to require one and *only* one [INFO] [stderr] | ---------- ^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 211 - //! Perhaps the most common use of [`ArgGroup`][crate::ArgGroup]s is to require one and *only* one [INFO] [stderr] 211 + //! Perhaps the most common use of [`ArgGroup`]s is to require one and *only* one [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `clap` (lib doc) generated 15 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `"docker" "inspect" "6e2a48a6add3105f65649f661660353eaaedc079cd61860d59c00a805e384d55"`