fish-lib 0.2.3

A work-in-progress fishing game library containing the game/storage logic for a discord fishing game I'm working on.
Documentation

Build #1962832 2025-04-06 22:51:00

# rustc version rustc 1.88.0-nightly (5e17a2a91 2025-04-05)

# docs.rs version docsrs 0.6.0 (ee9a3fe6 2025-03-28)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/fish-lib-0.2.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/fish-lib-0.2.3/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250405-1.88.0-nightly-5e17a2a91\", \"--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] 3ddc41d764839c2109aeb183489a28ccdd2f7bd84870160f6c24728b80cd66b5 [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" "3ddc41d764839c2109aeb183489a28ccdd2f7bd84870160f6c24728b80cd66b5", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting fish-lib v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] warning: public documentation for `user_get_unlocked_locations` links to private item `UserLocationUnlock` [INFO] [stderr] --> src/game.rs:527:62 [INFO] [stderr] | [INFO] [stderr] 527 | /// * `user`: The [User] to get the unlocked locations ([UserLocationUnlock]) from. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] = note: `#[warn(rustdoc::private_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: public documentation for `user_get_unlocked_locations` links to private item `UserLocationUnlock` [INFO] [stderr] --> src/game.rs:530:21 [INFO] [stderr] | [INFO] [stderr] 530 | /// Result<Vec<[UserLocationUnlock], Global>, [errors::GameError]> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `user_inventory` links to private item `Inventory` [INFO] [stderr] --> src/game.rs:584:18 [INFO] [stderr] | [INFO] [stderr] 584 | /// Get the [Inventory] of a specified [User]. [INFO] [stderr] | ^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `user_inventory` links to private item `Inventory` [INFO] [stderr] --> src/game.rs:588:42 [INFO] [stderr] | [INFO] [stderr] 588 | /// * `user`: The [User] to get the [Inventory] from. [INFO] [stderr] | ^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `user_inventory` links to private item `Inventory` [INFO] [stderr] --> src/game.rs:592:17 [INFO] [stderr] | [INFO] [stderr] 592 | /// Result<[Inventory], [errors::GameError]> [INFO] [stderr] | ^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `user_unlock_location` links to private item `UserLocationUnlock` [INFO] [stderr] --> src/game.rs:825:17 [INFO] [stderr] | [INFO] [stderr] 825 | /// Result<[UserLocationUnlock], [errors::GameError]> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: `fish-lib` (lib doc) generated 6 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.01s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/fish_lib/index.html [INFO] running `Command { std: "docker" "inspect" "3ddc41d764839c2109aeb183489a28ccdd2f7bd84870160f6c24728b80cd66b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ddc41d764839c2109aeb183489a28ccdd2f7bd84870160f6c24728b80cd66b5", kill_on_drop: false }` [INFO] [stdout] 3ddc41d764839c2109aeb183489a28ccdd2f7bd84870160f6c24728b80cd66b5