sdl2 0.37.0

SDL2 bindings for Rust
Documentation
Build #1248428 2024-06-13T16:36:59.059256+00:00
# rustc version
rustc 1.81.0-nightly (8337ba918 2024-06-12)# docs.rs version
docsrs 0.6.0 (2d4f32bd 2024-05-19)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/sdl2-0.37.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/sdl2-0.37.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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "default gfx mixer image ttf" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240612-1.81.0-nightly-8337ba918\", \"--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}/i686-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-pc-windows-msvc", kill_on_drop: false }`
[INFO] [stdout] a4fed4d84900faff1a9a6b159f3782b7c8eac52da299513a9c48df4da7bc7b2e
[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" "a4fed4d84900faff1a9a6b159f3782b7c8eac52da299513a9c48df4da7bc7b2e", kill_on_drop: false }`
[INFO] [stderr] warning: An explicit [[example]] section is specified in Cargo.toml which currently
[INFO] [stderr] disables Cargo from automatically inferring other example targets.
[INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following
[INFO] [stderr] files will be included as a example target:
[INFO] [stderr] 
[INFO] [stderr] * examples/raw-window-handle-with-wgpu/main.rs
[INFO] [stderr] 
[INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be
[INFO] [stderr] ready to be compiled as a example target today. You can future-proof yourself
[INFO] [stderr] and disable this warning by adding `autoexamples = false` to your [package]
[INFO] [stderr] section. You may also move the files to a location where Cargo would not
[INFO] [stderr] automatically infer them to be a target, such as in subfolders.
[INFO] [stderr] 
[INFO] [stderr] For more information on this warning you can consult
[INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: animation, audio-capture-and-replay, audio-queue-squarewave, audio-squarewave, audio-wav, audio-whitenoise, cursor, demo, events, game-controller, game-of-life, game-of-life-unsafe-textures, gfx-demo, haptic, image-demo, joystick, keyboard-state, message-box, mixer-demo, mouse-state, no-renderer, relative-mouse-state, renderer-target, renderer-texture, renderer-yuv, resource-manager, sensors, ttf-demo, window-properties
[INFO] [stderr]     If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr]     to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting sdl2 v0.37.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `EventSubsystem::register_custom_event`
[INFO] [stderr]     --> src/sdl2/event.rs:2837:10
[INFO] [stderr]      |
[INFO] [stderr] 2837 |     /// [EventSubsystem::register_custom_event]
[INFO] [stderr]      |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `EventSubsystem` in scope
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `EventSubsystem::add_event_watch`
[INFO] [stderr]     --> src/sdl2/event.rs:2892:28
[INFO] [stderr]      |
[INFO] [stderr] 2892 | /// A callback trait for [`EventSubsystem::add_event_watch`].
[INFO] [stderr]      |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `EventSubsystem` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `EventSubsystem::add_event_watch`
[INFO] [stderr]     --> src/sdl2/event.rs:2899:36
[INFO] [stderr]      |
[INFO] [stderr] 2899 | /// For further information, see [`EventSubsystem::add_event_watch`].
[INFO] [stderr]      |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `EventSubsystem` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `i`
[INFO] [stderr]    --> src/sdl2/gfx/imagefilter.rs:289:50
[INFO] [stderr]     |
[INFO] [stderr] 289 | /// Filter using `AddUint`: D = saturation255((S[i] + Cs[i % 4]), Cs=Swap32((uint)C).
[INFO] [stderr]     |                                                  ^ no item named `i` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `i`
[INFO] [stderr]    --> src/sdl2/gfx/imagefilter.rs:346:47
[INFO] [stderr]     |
[INFO] [stderr] 346 | /// Filter using `SubUint`: D = saturation0(S[i] - Cs[i % 4]), Cs=Swap32((uint)C).
[INFO] [stderr]     |                                               ^ no item named `i` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `i`
[INFO] [stderr]    --> src/sdl2/gfx/imagefilter.rs:384:60
[INFO] [stderr]     |
[INFO] [stderr] 384 | /// Filter using `ShiftRightUint`: D = saturation0((uint)S[i] >> N).
[INFO] [stderr]     |                                                            ^ no item named `i` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]  --> src/sdl2/render.rs:3:31
[INFO] [stderr]   |
[INFO] [stderr] 3 | //! Official C documentation: https://wiki.libsdl.org/CategoryRender
[INFO] [stderr]   |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://wiki.libsdl.org/CategoryRender>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr]   = note: `#[warn(rustdoc::bare_urls)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `sdl2` (lib doc) generated 7 warnings (run `cargo fix --lib -p sdl2` to apply 1 suggestion)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.93s
[INFO] [stderr]    Generated /opt/rustwide/target/i686-pc-windows-msvc/doc/sdl2/index.html
[INFO] running `Command { std: "docker" "inspect" "a4fed4d84900faff1a9a6b159f3782b7c8eac52da299513a9c48df4da7bc7b2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a4fed4d84900faff1a9a6b159f3782b7c8eac52da299513a9c48df4da7bc7b2e", kill_on_drop: false }`
[INFO] [stdout] a4fed4d84900faff1a9a6b159f3782b7c8eac52da299513a9c48df4da7bc7b2e