sdl2 0.35.2

SDL2 bindings for Rust
Documentation
Build #505306 2022-02-06T18:23:35.011938+00:00
# rustc version
rustc 1.60.0-nightly (88fb06a1f 2022-02-05)# docs.rs version
docsrs 0.6.0 (5c3b689 2022-02-01)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/sdl2-0.35.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/sdl2-0.35.2/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" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "default gfx mixer image ttf" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20220205-1.60.0-nightly-88fb06a1f\", \"--static-root-path\", \"/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\"]" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-j3" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] e902445e2961bcb4ca38b2dd88f9448143a3dcbb754b78d790a4a81aa527ca9a
[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" "e902445e2961bcb4ca38b2dd88f9448143a3dcbb754b78d790a4a81aa527ca9a", 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] * /opt/rustwide/workdir/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]  Documenting sdl2 v0.35.2 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `EventSubsystem::register_custom_event`
[INFO] [stderr]     --> src/sdl2/event.rs:3012:10
[INFO] [stderr]      |
[INFO] [stderr] 3012 |     /// [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:3067:28
[INFO] [stderr]      |
[INFO] [stderr] 3067 | /// 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:3074:36
[INFO] [stderr]      |
[INFO] [stderr] 3074 | /// 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: `#[warn(rustdoc::bare_urls)]` on by default
[INFO] [stderr]   = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: `sdl2` (lib doc) generated 7 warnings
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.72s
[INFO] running `Command { std: "docker" "inspect" "e902445e2961bcb4ca38b2dd88f9448143a3dcbb754b78d790a4a81aa527ca9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e902445e2961bcb4ca38b2dd88f9448143a3dcbb754b78d790a4a81aa527ca9a", kill_on_drop: false }`
[INFO] [stdout] e902445e2961bcb4ca38b2dd88f9448143a3dcbb754b78d790a4a81aa527ca9a