datetime-default 1.1.1

Provide NewType of Datetime that overrides the default value.
Documentation

Build #4035412 2026-08-04 04:51:49

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.99.0-nightly (d0babd8b6 2026-07-15)

# docs.rs version docsrs 0.0.0 (f1b150f0cd76f7cabcd39e1f4790ba771b28b5c4 2026-07-19 )

# 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" "b9418b4e5c3e17e45e8be51c1851621fe23508e927c612fd62b56cecbba741be" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2026-07-16" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=html-non-static-files\", \"--resource-suffix\", \"-20260715-1.99.0-nightly-d0babd8b6\", \"--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 datetime-default v1.1.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `duration_round_up` [INFO] [stderr] --> src/datetime_default_now.rs:267:1 [INFO] [stderr] | [INFO] [stderr] 267 | / impl<Tz, const OFFSET_HOURS: i32> chrono::DurationRound for DateTimeDefaultNow<Tz, OFFSET_HOURS> [INFO] [stderr] 268 | | where [INFO] [stderr] 269 | | Tz: TimeZone, [INFO] [stderr] 270 | | <Tz as TimeZone>::Offset: Copy, [INFO] [stderr] | |___________________________________^ missing `duration_round_up` in implementation [INFO] [stderr] | [INFO] [stderr] = help: implement the missing item: `fn duration_round_up(self, _: chrono::TimeDelta) -> std::result::Result<Self, <Self as chrono::DurationRound>::Err> { todo!() }` [INFO] [stderr] [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `duration_round_up` [INFO] [stderr] --> src/datetime_default_unix.rs:248:1 [INFO] [stderr] | [INFO] [stderr] 248 | / impl<Tz, const OFFSET_HOURS: i32> chrono::DurationRound for DateTimeDefaultUnix<Tz, OFFSET_HOURS> [INFO] [stderr] 249 | | where [INFO] [stderr] 250 | | Tz: TimeZone, [INFO] [stderr] 251 | | <Tz as TimeZone>::Offset: Copy, [INFO] [stderr] | |___________________________________^ missing `duration_round_up` in implementation [INFO] [stderr] | [INFO] [stderr] = help: implement the missing item: `fn duration_round_up(self, _: chrono::TimeDelta) -> std::result::Result<Self, <Self as chrono::DurationRound>::Err> { todo!() }` [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0046`. [INFO] [stderr] error: could not document `datetime-default` [INFO] running `Command { std: "docker" "inspect" "b9418b4e5c3e17e45e8be51c1851621fe23508e927c612fd62b56cecbba741be", kill_on_drop: false }`