datetime-default 1.1.1

Provide NewType of Datetime that overrides the default value.
Documentation

Build #3420247 2026-05-29 10:47:29

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 (cced03bfd 2026-05-28)

# docs.rs version docsrs 0.0.0 (f16e33f3e6ac9fc9e4413728c5dd1b2ba1c6b799 2026-05-23 )

# 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" "2e94912bb38f11730a9c0f40f74ee6ef6ac398bffbaec831221007de3f78cd68" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260528-1.98.0-nightly-cced03bfd\", \"--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" "2e94912bb38f11730a9c0f40f74ee6ef6ac398bffbaec831221007de3f78cd68", kill_on_drop: false }`