minimum 0.1.0

A collection of utilites for games.
Documentation
Build #2404363 2025-08-11 03:04:04
# rustc version
rustc 1.91.0-nightly (c8ca44c98 2025-08-10)# docs.rs version
docsrs 0.6.0 (e18d034e 2025-07-29)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/minimum-0.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/minimum-0.1.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250810-1.91.0-nightly-c8ca44c98\", \"--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: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 1cc3d2f28dca533a3bc0162dfc362d2371052d0d30295f6b7bcbd9027128413a
[INFO] running `Command { std: "docker" "start" "-a" "1cc3d2f28dca533a3bc0162dfc362d2371052d0d30295f6b7bcbd9027128413a", kill_on_drop: false }`
[INFO] [stderr] warning: unexpected `cfg` condition value: `nightly`
[INFO] [stderr]   --> src/systems/trust_cell.rs:22:7
[INFO] [stderr]    |
[INFO] [stderr] 22 | #[cfg(feature = "nightly")]
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = help: consider adding `nightly` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `nightly`
[INFO] [stderr]   --> src/systems/trust_cell.rs:33:11
[INFO] [stderr]    |
[INFO] [stderr] 33 | #[cfg(not(feature = "nightly"))]
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = help: consider adding `nightly` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stderr]    --> src/systems/trust_cell.rs:366:26
[INFO] [stderr]     |
[INFO] [stderr] 366 |             if self.flag.compare_and_swap(val, val + 1, Ordering::AcqRel) == val {
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stderr]    --> src/systems/trust_cell.rs:377:25
[INFO] [stderr]     |
[INFO] [stderr] 377 |         match self.flag.compare_and_swap(0, usize::MAX, Ordering::AcqRel) {
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `Option::<T>::is_some` that must be used
[INFO] [stderr]   --> src/component/mod.rs:38:9
[INFO] [stderr]    |
[INFO] [stderr] 38 |         self.get(entity).is_some();
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: if you intended to assert that this has a value, consider `.unwrap()` instead
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 38 |         let _ = self.get(entity).is_some();
[INFO] [stderr]    |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/entity/mod.rs:93:27
[INFO] [stderr]    |
[INFO] [stderr] 93 |     pub fn get_entity_ref(&self, entity_handle: &EntityHandle) -> Option<EntityRef> {
[INFO] [stderr]    |                           ^^^^^ the lifetime is elided here              --------- the same lifetime is hidden here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 93 |     pub fn get_entity_ref(&self, entity_handle: &EntityHandle) -> Option<EntityRef<'_>> {
[INFO] [stderr]    |                                                                                   ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/systems/mod.rs:140:31
[INFO] [stderr]     |
[INFO] [stderr] 140 |     pub fn fetch<R: Resource>(&self) -> ReadBorrow<R> {
[INFO] [stderr]     |                               ^^^^^     ------------- the same lifetime is hidden here
[INFO] [stderr]     |                               |
[INFO] [stderr]     |                               the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 140 |     pub fn fetch<R: Resource>(&self) -> ReadBorrow<'_, R> {
[INFO] [stderr]     |                                                    +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/systems/mod.rs:144:35
[INFO] [stderr]     |
[INFO] [stderr] 144 |     pub fn try_fetch<R: Resource>(&self) -> Option<ReadBorrow<R>> {
[INFO] [stderr]     |                                   ^^^^^            ------------- the same lifetime is hidden here
[INFO] [stderr]     |                                   |
[INFO] [stderr]     |                                   the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 144 |     pub fn try_fetch<R: Resource>(&self) -> Option<ReadBorrow<'_, R>> {
[INFO] [stderr]     |                                                               +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/systems/mod.rs:153:35
[INFO] [stderr]     |
[INFO] [stderr] 153 |     pub fn fetch_mut<R: Resource>(&self) -> WriteBorrow<R> {
[INFO] [stderr]     |                                   ^^^^^     -------------- the same lifetime is hidden here
[INFO] [stderr]     |                                   |
[INFO] [stderr]     |                                   the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 153 |     pub fn fetch_mut<R: Resource>(&self) -> WriteBorrow<'_, R> {
[INFO] [stderr]     |                                                         +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/systems/mod.rs:157:39
[INFO] [stderr]     |
[INFO] [stderr] 157 |     pub fn try_fetch_mut<R: Resource>(&self) -> Option<WriteBorrow<R>> {
[INFO] [stderr]     |                                       ^^^^^            -------------- the same lifetime is hidden here
[INFO] [stderr]     |                                       |
[INFO] [stderr]     |                                       the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 157 |     pub fn try_fetch_mut<R: Resource>(&self) -> Option<WriteBorrow<'_, R>> {
[INFO] [stderr]     |                                                                    +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/systems/trust_cell.rs:289:19
[INFO] [stderr]     |
[INFO] [stderr] 289 |     pub fn borrow(&self) -> Ref<T> {
[INFO] [stderr]     |                   ^^^^^     ------ the same lifetime is hidden here
[INFO] [stderr]     |                   |
[INFO] [stderr]     |                   the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 289 |     pub fn borrow(&self) -> Ref<'_, T> {
[INFO] [stderr]     |                                 +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/systems/trust_cell.rs:304:23
[INFO] [stderr]     |
[INFO] [stderr] 304 |     pub fn try_borrow(&self) -> Result<Ref<T>, InvalidBorrow> {
[INFO] [stderr]     |                       ^^^^^            ------ the same lifetime is hidden here
[INFO] [stderr]     |                       |
[INFO] [stderr]     |                       the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 304 |     pub fn try_borrow(&self) -> Result<Ref<'_, T>, InvalidBorrow> {
[INFO] [stderr]     |                                            +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/systems/trust_cell.rs:321:23
[INFO] [stderr]     |
[INFO] [stderr] 321 |     pub fn borrow_mut(&self) -> RefMut<T> {
[INFO] [stderr]     |                       ^^^^^     --------- the same lifetime is hidden here
[INFO] [stderr]     |                       |
[INFO] [stderr]     |                       the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 321 |     pub fn borrow_mut(&self) -> RefMut<'_, T> {
[INFO] [stderr]     |                                        +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/systems/trust_cell.rs:336:27
[INFO] [stderr]     |
[INFO] [stderr] 336 |     pub fn try_borrow_mut(&self) -> Result<RefMut<T>, InvalidBorrow> {
[INFO] [stderr]     |                           ^^^^^            --------- the same lifetime is hidden here
[INFO] [stderr]     |                           |
[INFO] [stderr]     |                           the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 336 |     pub fn try_borrow_mut(&self) -> Result<RefMut<'_, T>, InvalidBorrow> {
[INFO] [stderr]     |                                                   +++
[INFO] [stderr] 
[INFO] [stderr] warning: `minimum` (lib) generated 14 warnings (run `cargo fix --lib -p minimum` to apply 9 suggestions)
[INFO] [stderr]     Scraping minimum v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]  Documenting minimum v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: `minimum` (lib doc) generated 2 warnings (2 duplicates)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.95s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/minimum/index.html
[INFO] running `Command { std: "docker" "inspect" "1cc3d2f28dca533a3bc0162dfc362d2371052d0d30295f6b7bcbd9027128413a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1cc3d2f28dca533a3bc0162dfc362d2371052d0d30295f6b7bcbd9027128413a", kill_on_drop: false }`
[INFO] [stdout] 1cc3d2f28dca533a3bc0162dfc362d2371052d0d30295f6b7bcbd9027128413a