rustraight 0.5.2

A simple 2D game library for Rust, inspired by DXLib

Build #3789134 2026-07-07 18:59:54

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# error kind ExecutionFailed

# pre-build errors command failed: exit status: 101

# rustc version rustc 1.99.0-nightly (c4af71034 2026-07-06)

# docs.rs version docsrs 0.0.0 (964c90a45859fd8f9076e3cbe58470a5a4f4d4f7 2026-07-01 )

# 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" "6838cd667b64725d292d1e6ab8346906f222b0bdc50b41aad31ab626366401fe" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260706-1.99.0-nightly-c4af71034\", \"--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] Checking rustraight v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] warning: failed to check lib in package `rustraight` as a prerequisite for scraping examples from: example "01_window", example "02_shapes", example "03_sprites", example "04_blend_mask", example "05_subscreen", example "06_keyboard", example "07_mouse", example "08_gamepad", example "09_text", example "10_sound", example "11_overlay", example "12_rng", example "verify_all" [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `rustraight` (lib) generated 1 warning [INFO] [stderr] Scraping rustraight v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] warning: failed to scan example "06_keyboard" in package `rustraight` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `rustraight` (example "06_keyboard") generated 1 warning [INFO] [stderr] warning: failed to scan example "01_window" in package `rustraight` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: failed to scan example "11_overlay" in package `rustraight` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `rustraight` (example "11_overlay") generated 1 warning [INFO] [stderr] warning: `rustraight` (example "01_window") generated 1 warning [INFO] [stderr] warning: failed to scan example "10_sound" in package `rustraight` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `rustraight` (example "10_sound") generated 1 warning [INFO] [stderr] warning: failed to scan example "07_mouse" in package `rustraight` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `rustraight` (example "07_mouse") generated 1 warning [INFO] [stderr] warning: failed to scan example "05_subscreen" in package `rustraight` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: failed to scan example "12_rng" in package `rustraight` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `rustraight` (example "12_rng") generated 1 warning [INFO] [stderr] warning: `rustraight` (example "05_subscreen") generated 1 warning [INFO] [stderr] warning: failed to scan example "09_text" in package `rustraight` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `rustraight` (example "09_text") generated 1 warning [INFO] [stderr] warning: failed to scan example "08_gamepad" in package `rustraight` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `rustraight` (example "08_gamepad") generated 1 warning [INFO] [stderr] warning: failed to scan example "02_shapes" in package `rustraight` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `rustraight` (example "02_shapes") generated 1 warning [INFO] [stderr] warning: failed to scan example "04_blend_mask" in package `rustraight` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `rustraight` (example "04_blend_mask") generated 1 warning [INFO] [stderr] warning: failed to scan example "03_sprites" in package `rustraight` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `rustraight` (example "03_sprites") generated 1 warning [INFO] [stderr] warning: failed to scan example "verify_all" in package `rustraight` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `rustraight` (example "verify_all") generated 1 warning [INFO] [stderr] Documenting rustraight v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: cannot find module or crate `windows_sys` in this scope [INFO] [stderr] --> src/window/mod.rs:2266:13 [INFO] [stderr] | [INFO] [stderr] 2266 | use windows_sys::Win32::UI::WindowsAndMessaging::{SetWindowPos, SWP_NOSIZE, SWP_NOZORDER}; [INFO] [stderr] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: cannot find module or crate `windows_sys` in this scope [INFO] [stderr] --> src/window/mod.rs:2276:13 [INFO] [stderr] | [INFO] [stderr] 2276 | use windows_sys::Win32::Foundation::RECT; [INFO] [stderr] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: cannot find module or crate `windows_sys` in this scope [INFO] [stderr] --> src/window/mod.rs:2277:13 [INFO] [stderr] | [INFO] [stderr] 2277 | use windows_sys::Win32::UI::WindowsAndMessaging::{ [INFO] [stderr] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: cannot find module or crate `windows_sys` in this scope [INFO] [stderr] --> src/window/mod.rs:2295:13 [INFO] [stderr] | [INFO] [stderr] 2295 | use windows_sys::Win32::UI::WindowsAndMessaging::ShowCursor; [INFO] [stderr] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: cannot find module or crate `windows_sys` in this scope [INFO] [stderr] --> src/window/mod.rs:2301:13 [INFO] [stderr] | [INFO] [stderr] 2301 | use windows_sys::Win32::Foundation::RECT; [INFO] [stderr] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: cannot find module or crate `windows_sys` in this scope [INFO] [stderr] --> src/window/mod.rs:2302:13 [INFO] [stderr] | [INFO] [stderr] 2302 | use windows_sys::Win32::UI::WindowsAndMessaging::GetWindowRect; [INFO] [stderr] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_sys` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `windows_sys`, use `cargo add windows_sys` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] error: could not document `rustraight` [INFO] running `Command { std: "docker" "inspect" "6838cd667b64725d292d1e6ab8346906f222b0bdc50b41aad31ab626366401fe", kill_on_drop: false }`