fake_clock 0.3.1

Fake clock for deterministic testing of code depending on time.
Documentation
Build #307960 2020-10-22T14:14:18.123904+00:00
# rustc version
rustc 1.49.0-nightly (1eaadebb3 2020-10-21)# docs.rs version
docsrs 0.6.0 (029be37 2020-10-22)# 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" "3221225472" "--cpus" "2" "--user" "1001:1001" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-j2" "--" "-Z" "unstable-options" "--resource-suffix" "-20201021-1.49.0-nightly-1eaadebb3" "--static-root-path" "/" "--cap-lints" "warn" "--disable-per-crate-search", kill_on_drop: false }`
[INFO] [stdout] 52afc0741811bab71453f309cde36031f2056fa93a1df9d243d6c4682e8f0bc1
[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" "52afc0741811bab71453f309cde36031f2056fa93a1df9d243d6c4682e8f0bc1", kill_on_drop: false }`
[INFO] [stderr] /opt/crates-build-env/entrypoint.sh: line 7: /etc/hosts: Permission denied
[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: 4 warnings emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.34s
[INFO] running `Command { std: "docker" "inspect" "52afc0741811bab71453f309cde36031f2056fa93a1df9d243d6c4682e8f0bc1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "52afc0741811bab71453f309cde36031f2056fa93a1df9d243d6c4682e8f0bc1", kill_on_drop: false }`
[INFO] [stdout] 52afc0741811bab71453f309cde36031f2056fa93a1df9d243d6c4682e8f0bc1