clap 4.5.48

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

Build #2517472 2025-09-19 21:03:51

# rustc version rustc 1.92.0-nightly (7c275d09e 2025-09-18)

# docs.rs version docsrs 0.6.0 (f42173de 2025-09-12)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/clap-4.5.48/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/clap-4.5.48/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "unstable-doc" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docsrs\", \"--generate-link-to-definition\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250918-1.92.0-nightly-7c275d09e\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/i686-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-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] 1522b2182da51737f28486d3782baf2d854c2a05aba63a7a364bcaf7261bbb62 [INFO] running `Command { std: "docker" "start" "-a" "1522b2182da51737f28486d3782baf2d854c2a05aba63a7a364bcaf7261bbb62", kill_on_drop: false }` [INFO] [stderr] Scraping clap v4.5.48 (/opt/rustwide/workdir) [INFO] [stderr] Documenting clap v4.5.48 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `Arg::last(true)` [INFO] [stderr] --> src/_concepts.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | //! - [`Arg::last(true)`]: a positional that can only come after `--` [INFO] [stderr] | ^^^^^^^^^^^^^^^ the struct `Arg` has no field or associated item named `last(true)` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `Arg::trailing_var_arg(true)` [INFO] [stderr] --> src/_concepts.rs:71:9 [INFO] [stderr] | [INFO] [stderr] 71 | //! - [`Arg::trailing_var_arg(true)`]: all further arguments are captured as additional values [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the struct `Arg` has no field or associated item named `trailing_var_arg(true)` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `Arg::allow_hyphen_values(true)` [INFO] [stderr] --> src/_concepts.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | //! - [`Arg::allow_hyphen_values(true)`] and [`Arg::allow_negative_numbers`]: assumes arguments [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the struct `Arg` has no field or associated item named `allow_hyphen_values(true)` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `Arg::allow_hyphen_values(true)` [INFO] [stderr] --> src/_concepts.rs:83:28 [INFO] [stderr] | [INFO] [stderr] 83 | //! or you need to set [`Arg::allow_hyphen_values(true)`] or [`Arg::allow_negative_numbers`] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the struct `Arg` has no field or associated item named `allow_hyphen_values(true)` [INFO] [stderr] [INFO] [stderr] warning: `clap` (lib doc) generated 4 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.09s [INFO] [stderr] Generated /opt/rustwide/target/i686-unknown-linux-gnu/doc/clap/index.html [INFO] running `Command { std: "docker" "inspect" "1522b2182da51737f28486d3782baf2d854c2a05aba63a7a364bcaf7261bbb62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1522b2182da51737f28486d3782baf2d854c2a05aba63a7a364bcaf7261bbb62", kill_on_drop: false }` [INFO] [stdout] 1522b2182da51737f28486d3782baf2d854c2a05aba63a7a364bcaf7261bbb62