simple-game-engine 0.8.3

A minimal game engine inspired by the OLC Pixel Game Engine
Documentation
Build #1978440 2025-04-10 06:38:59

# rustc version rustc 1.88.0-nightly (934880f58 2025-04-09)

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

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/simple-game-engine-0.8.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/simple-game-engine-0.8.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\", \"-20250409-1.88.0-nightly-934880f58\", \"--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] dc920890ef0a7602c1b760364b659616f585c904c61c54a7e4f53b769e8eb237 [INFO] running `Command { std: "docker" "start" "-a" "dc920890ef0a7602c1b760364b659616f585c904c61c54a7e4f53b769e8eb237", kill_on_drop: false }` [INFO] [stderr] Scraping simple-game-engine v0.8.3 (/opt/rustwide/workdir) [INFO] [stderr] Documenting simple-game-engine v0.8.3 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `canvas::Canvas::draw_text` [INFO] [stderr] --> src/lib.rs:10:140 [INFO] [stderr] | [INFO] [stderr] 10 | ...anvas::draw_text`][canvas::Canvas::draw_text] method. ([see below](#caveats-with-text-rendering)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the struct `Canvas` has no field or associated item named `draw_text` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `TextRenderer` [INFO] [stderr] --> src/canvas.rs:26:43 [INFO] [stderr] | [INFO] [stderr] 26 | /// * An [sdl2-unifont `SurfaceRenderer`][TextRenderer] for rendering text to a surface. [INFO] [stderr] | ^^^^^^^^^^^^ no item named `TextRenderer` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/canvas.rs:17:59 [INFO] [stderr] | [INFO] [stderr] 17 | /// A [`Canvas`] that internally renders to a [`Surface`][sdl2::surface::Surface]. [INFO] [stderr] | --------- ^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] = note: `#[warn(rustdoc::redundant_explicit_links)]` on by default [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 17 - /// A [`Canvas`] that internally renders to a [`Surface`][sdl2::surface::Surface]. [INFO] [stderr] 17 + /// A [`Canvas`] that internally renders to a [`Surface`]. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/canvas.rs:19:47 [INFO] [stderr] | [INFO] [stderr] 19 | /// A [`Canvas`] that renders to a [`Window`][Window] on the screen. [INFO] [stderr] | -------- ^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 19 - /// A [`Canvas`] that renders to a [`Window`][Window] on the screen. [INFO] [stderr] 19 + /// A [`Canvas`] that renders to a [`Window`] on the screen. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/canvas.rs:27:38 [INFO] [stderr] | [INFO] [stderr] 27 | /// This struct implements [`Deref`][std::ops::Deref] and [`DerefMut`][std::ops::DerefMut] for the sdl2 `Canvas`, so you can call any of the [INFO] [stderr] | ------- ^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 27 - /// This struct implements [`Deref`][std::ops::Deref] and [`DerefMut`][std::ops::DerefMut] for the sdl2 `Canvas`, so you can call any of the [INFO] [stderr] 27 + /// This struct implements [`Deref`] and [`DerefMut`][std::ops::DerefMut] for the sdl2 `Canvas`, so you can call any of the [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/canvas.rs:27:72 [INFO] [stderr] | [INFO] [stderr] 27 | /// This struct implements [`Deref`][std::ops::Deref] and [`DerefMut`][std::ops::DerefMut] for the sdl2 `Canvas`, so you can call any of the [INFO] [stderr] | ---------- ^^^^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 27 - /// This struct implements [`Deref`][std::ops::Deref] and [`DerefMut`][std::ops::DerefMut] for the sdl2 `Canvas`, so you can call any of the [INFO] [stderr] 27 + /// This struct implements [`Deref`][std::ops::Deref] and [`DerefMut`] for the sdl2 `Canvas`, so you can call any of the [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/canvas.rs:96:66 [INFO] [stderr] | [INFO] [stderr] 96 | /// Returns an immutable reference to the [`TextureCreator`][TextureCreator] associated with this canvas. [INFO] [stderr] | ---------------- ^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 96 - /// Returns an immutable reference to the [`TextureCreator`][TextureCreator] associated with this canvas. [INFO] [stderr] 96 + /// Returns an immutable reference to the [`TextureCreator`] associated with this canvas. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/canvas.rs:101:63 [INFO] [stderr] | [INFO] [stderr] 101 | /// Returns a mutable reference to the [`TextureCreator`][TextureCreator] associated with this canvas. [INFO] [stderr] | ---------------- ^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 101 - /// Returns a mutable reference to the [`TextureCreator`][TextureCreator] associated with this canvas. [INFO] [stderr] 101 + /// Returns a mutable reference to the [`TextureCreator`] associated with this canvas. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `simple-game-engine` (lib doc) generated 8 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.67s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/simple_game_engine/index.html [INFO] running `Command { std: "docker" "inspect" "dc920890ef0a7602c1b760364b659616f585c904c61c54a7e4f53b769e8eb237", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc920890ef0a7602c1b760364b659616f585c904c61c54a7e4f53b769e8eb237", kill_on_drop: false }` [INFO] [stdout] dc920890ef0a7602c1b760364b659616f585c904c61c54a7e4f53b769e8eb237