minimum 0.1.0

A collection of utilites for games.
Documentation

Build #3633081 2026-06-20 02:59:49

# rustc version rustc 1.98.0-nightly (f428d123a 2026-06-19)

# docs.rs version docsrs 0.0.0 (886bc7a22b1adc4b387ce1343447fe3af98d9ce5 2026-06-14 )

# 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" "3a3d1732acbdd2a65a8726a75b294ff50c73ac1e733fb0f6078a572bf9a46cba" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260619-1.98.0-nightly-f428d123a\", \"--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: 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::Atomic::<usize>::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::Atomic::<usize>::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)]` (part of `#[warn(unused)]`) 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 1.17s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/minimum/index.html [INFO] running `Command { std: "docker" "inspect" "3a3d1732acbdd2a65a8726a75b294ff50c73ac1e733fb0f6078a572bf9a46cba", kill_on_drop: false }`