core_extensions 0.1.20

This crate provides many extensions to core/std library types.
Documentation
Build #334681 2021-01-08T08:58:16.521120+00:00
# rustc version
rustc 1.51.0-nightly (c8915eebe 2021-01-07)# docs.rs version
docsrs 0.6.0 (05d2368 2021-01-03)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/core_extensions-0.1.20/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/core_extensions-0.1.20/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "serde colltraits const_generics docsrs" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs\"" "-j2" "--" "-Z" "unstable-options" "--resource-suffix" "-20210107-1.51.0-nightly-c8915eebe" "--static-root-path" "/" "--cap-lints" "warn" "--disable-per-crate-search", kill_on_drop: false }`
[INFO] [stdout] 0693ba954ec51f0897cc5b20a86a84e2ebbf7de5858ef2d85073c54f43b00b5a
[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" "0693ba954ec51f0897cc5b20a86a84e2ebbf7de5858ef2d85073c54f43b00b5a", kill_on_drop: false }`
[INFO] [stderr] /opt/crates-build-env/entrypoint.sh: line 7: /etc/hosts: Permission denied
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling serde v1.0.118
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling core_extensions v0.1.20 (/opt/rustwide/workdir)
[INFO] [stderr]  Documenting core_extensions v0.1.20 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `::std::time::Duration`
[INFO] [stderr]   --> src_core_extensions/lib.rs:77:16
[INFO] [stderr]    |
[INFO] [stderr] 77 | //! [Duration](::std::time::Duration)s of a certain unit.
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^ no item named `` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(broken_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `::std::iter::Once`
[INFO] [stderr]    --> src_core_extensions/lib.rs:119:22
[INFO] [stderr]     |
[INFO] [stderr] 119 | //! Lazy version of [::std::iter::Once],only evaluating the item when
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^ no item named `` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `::std::time::Duration`
[INFO] [stderr]    --> src_core_extensions/integer_extensions.rs:197:20
[INFO] [stderr]     |
[INFO] [stderr] 197 |     /// Creates a [::std::time::Duration] of `self` hours.
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^ no item named `` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `::std::time::Duration`
[INFO] [stderr]    --> src_core_extensions/integer_extensions.rs:209:20
[INFO] [stderr]     |
[INFO] [stderr] 209 |     /// Creates a [::std::time::Duration] of `self` minutes.
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^ no item named `` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `::std::time::Duration`
[INFO] [stderr]    --> src_core_extensions/integer_extensions.rs:221:20
[INFO] [stderr]     |
[INFO] [stderr] 221 |     /// Creates a [::std::time::Duration] of `self` seconds
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^ no item named `` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `::std::time::Duration`
[INFO] [stderr]    --> src_core_extensions/integer_extensions.rs:233:20
[INFO] [stderr]     |
[INFO] [stderr] 233 |     /// Creates a [::std::time::Duration] of `self` miliseconds
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^ no item named `` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `::std::time::Duration`
[INFO] [stderr]    --> src_core_extensions/integer_extensions.rs:246:20
[INFO] [stderr]     |
[INFO] [stderr] 246 |     /// Creates a [::std::time::Duration] of `self` microseconds
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^ no item named `` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `::std::time::Duration`
[INFO] [stderr]    --> src_core_extensions/integer_extensions.rs:258:20
[INFO] [stderr]     |
[INFO] [stderr] 258 |     /// Creates a [::std::time::Duration] of `self` nanoseconds
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^ no item named `` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `::std::iter::RepeatWith`
[INFO] [stderr]   --> src_core_extensions/iterators.rs:13:20
[INFO] [stderr]    |
[INFO] [stderr] 13 | /// Equivalent to [::std::iter::RepeatWith],which is stabilized in Rust 1.28.
[INFO] [stderr]    |                    ^^^^^^^^^^^^^^^^^^^^^^^ no item named `` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `::std::iter::Once`
[INFO] [stderr]   --> src_core_extensions/iterators.rs:42:31
[INFO] [stderr]    |
[INFO] [stderr] 42 | /// Iterator,lazy version of [::std::iter::Once],only evaluating the item when
[INFO] [stderr]    |                               ^^^^^^^^^^^^^^^^^ no item named `` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `::std::mem::transmute_copy`
[INFO] [stderr]  --> src_core_extensions/utils.rs:9:52
[INFO] [stderr]   |
[INFO] [stderr] 9 | /// This function has the same safety concerns as [::std::mem::transmute_copy].
[INFO] [stderr]   |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `::std::hint::unreachable_unchecked`
[INFO] [stderr]   --> src_core_extensions/utils.rs:35:29
[INFO] [stderr]    |
[INFO] [stderr] 35 | /// [unreachable_unchecked](::std::hint::unreachable_unchecked)
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: 12 warnings emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 6.85s
[INFO] running `Command { std: "docker" "inspect" "0693ba954ec51f0897cc5b20a86a84e2ebbf7de5858ef2d85073c54f43b00b5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0693ba954ec51f0897cc5b20a86a84e2ebbf7de5858ef2d85073c54f43b00b5a", kill_on_drop: false }`
[INFO] [stdout] 0693ba954ec51f0897cc5b20a86a84e2ebbf7de5858ef2d85073c54f43b00b5a