validatus 0.0.6

Validator types, returns multiple tolerable errors at once
Documentation

Build #3474269 2026-06-04 01:03:19

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# error kind ExecutionFailed

# pre-build errors command failed: exit status: 101

# rustc version rustc 1.98.0-nightly (d595fce01 2026-06-02)

# docs.rs version docsrs 0.0.0 (39849b9c22c419f6b690c8d2213455bc7426a6b8 2026-06-03 )

# build log [INFO] running `Command { std: "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" "f1cadbf3734ce225baf213a5317b39c527531aa8f587b4cfc6974cfba17851dd" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260602-1.98.0-nightly-d595fce01\", \"--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}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting validatus v0.0.6 (/opt/rustwide/workdir) [INFO] [stderr] warning: unexpected `cfg` condition value: `nightly` [INFO] [stderr] --> src/lib.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | #![cfg_attr(feature = "nightly", feature(try_trait_v2))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default` and `serde` [INFO] [stderr] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `nightly` [INFO] [stderr] --> src/validates/mod.rs:7:7 [INFO] [stderr] | [INFO] [stderr] 7 | #[cfg(feature = "nightly")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default` and `serde` [INFO] [stderr] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `validates::Validation<T, F>: std::ops::Residual<T>` is not satisfied [INFO] [stderr] --> src/validates/try_from.rs:30:21 [INFO] [stderr] | [INFO] [stderr] 30 | type Residual = Validation<T, F>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stderr] | [INFO] [stderr] help: the nightly-only, unstable trait `std::ops::Residual<T>` is not implemented for `validates::Validation<T, F>` [INFO] [stderr] --> src/validates/mod.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub enum Validation<T, E> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: the following other types implement trait `std::ops::Residual<O>` [INFO] [stderr] --> /rustc/d595fce01043347bf7f80e85b76dcc41b59a3e6e/library/core/src/result.rs:2210:0 [INFO] [stderr] | [INFO] [stderr] = note: `std::result::Result<std::convert::Infallible, E>` [INFO] [stderr] --> /rustc/d595fce01043347bf7f80e85b76dcc41b59a3e6e/library/core/src/option.rs:2812:0 [INFO] [stderr] | [INFO] [stderr] = note: `std::option::Option<std::convert::Infallible>` [INFO] [stderr] note: required by a bound in `std::ops::Try::Residual` [INFO] [stderr] --> /rustc/d595fce01043347bf7f80e85b76dcc41b59a3e6e/library/core/src/ops/try_trait.rs:160:4 [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] warning: `validatus` (lib doc) generated 2 warnings [INFO] [stderr] error: could not document `validatus` [INFO] running `Command { std: "docker" "inspect" "f1cadbf3734ce225baf213a5317b39c527531aa8f587b4cfc6974cfba17851dd", kill_on_drop: false }`