fake_clock 0.3.1

Fake clock for deterministic testing of code depending on time.
Documentation
Build #1528580 2024-11-13T03:02:39.244867+00:00
# rustc version
rustc 1.84.0-nightly (f7273e004 2024-11-12)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/fake_clock-0.3.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/fake_clock-0.3.1/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241112-1.84.0-nightly-f7273e004\", \"--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] [stdout] 9444d1ff63867a9569dfec39c1e8b9d73fdafa0d6899bead3f5c7cfa14ccf982
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "9444d1ff63867a9569dfec39c1e8b9d73fdafa0d6899bead3f5c7cfa14ccf982", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting fake_clock v0.3.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: lint `exceeding_bitshifts` has been renamed to `arithmetic_overflow`
[INFO] [stderr]   --> src/lib.rs:30:22
[INFO] [stderr]    |
[INFO] [stderr] 30 | #![forbid(bad_style, exceeding_bitshifts, mutable_transmutes, no_mangle_const_items,
[INFO] [stderr]    |                      ^^^^^^^^^^^^^^^^^^^ help: use the new name: `arithmetic_overflow`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: lint `plugin_as_library` has been removed: plugins have been deprecated and retired
[INFO] [stderr]   --> src/lib.rs:33:61
[INFO] [stderr]    |
[INFO] [stderr] 33 |         non_shorthand_field_patterns, overflowing_literals, plugin_as_library,
[INFO] [stderr]    |                                                             ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr]   --> src/lib.rs:31:32
[INFO] [stderr]    |
[INFO] [stderr] 31 |           unknown_crate_types, warnings)]
[INFO] [stderr]    |                                ^^^^^^^^
[INFO] [stderr]    = note: `#[warn(renamed_and_removed_lints)]` implied by `#[warn(warnings)]`
[INFO] [stderr] 
[INFO] [stderr] warning: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported
[INFO] [stderr]   --> src/lib.rs:34:9
[INFO] [stderr]    |
[INFO] [stderr] 34 |         private_no_mangle_fns, private_no_mangle_statics, stable_features, unconditional_recursion,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `private_no_mangle_statics` has been removed: no longer a warning, `#[no_mangle]` statics always exported
[INFO] [stderr]   --> src/lib.rs:34:32
[INFO] [stderr]    |
[INFO] [stderr] 34 |         private_no_mangle_fns, private_no_mangle_statics, stable_features, unconditional_recursion,
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/lib.rs:39:10
[INFO] [stderr]    |
[INFO] [stderr] 39 | #![allow(box_pointers, missing_copy_implementations, missing_debug_implementations,
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `fake_clock` (lib doc) generated 5 warnings (run `cargo fix --lib -p fake_clock` to apply 1 suggestion)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.27s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/fake_clock/index.html
[INFO] running `Command { std: "docker" "inspect" "9444d1ff63867a9569dfec39c1e8b9d73fdafa0d6899bead3f5c7cfa14ccf982", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9444d1ff63867a9569dfec39c1e8b9d73fdafa0d6899bead3f5c7cfa14ccf982", kill_on_drop: false }`
[INFO] [stdout] 9444d1ff63867a9569dfec39c1e8b9d73fdafa0d6899bead3f5c7cfa14ccf982