crossterm_winapi 0.7.0

WinAPI wrapper that provides some basic simple abstractions around common WinAPI calls
Documentation
Build #329717 2020-12-28T09:12:37.656310+00:00
# rustc version
rustc 1.51.0-nightly (257becbfe 2020-12-27)# docs.rs version
docsrs 0.6.0 (743bbf6 2020-12-25)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/crossterm_winapi-0.7.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/crossterm_winapi-0.7.0/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" "2" "--user" "1001:1001" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs\"" "-j2" "--target" "x86_64-pc-windows-msvc" "--" "-Z" "unstable-options" "--resource-suffix" "-20201227-1.51.0-nightly-257becbfe" "--static-root-path" "/" "--cap-lints" "warn" "--disable-per-crate-search", kill_on_drop: false }`
[INFO] [stdout] 713ac0c286e5f5d496a4d3ea513c2335de0b234765ab7c0b9935107da5cc2291
[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" "713ac0c286e5f5d496a4d3ea513c2335de0b234765ab7c0b9935107da5cc2291", kill_on_drop: false }`
[INFO] [stderr] /opt/crates-build-env/entrypoint.sh: line 7: /etc/hosts: Permission denied
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]  Documenting crossterm_winapi v0.7.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unnecessary parentheses around block return value
[INFO] [stderr]   --> src/csbi.rs:49:9
[INFO] [stderr]    |
[INFO] [stderr] 49 | /         (Size::new(
[INFO] [stderr] 50 | |             self.0.srWindow.Right - self.0.srWindow.Left,
[INFO] [stderr] 51 | |             self.0.srWindow.Bottom - self.0.srWindow.Top,
[INFO] [stderr] 52 | |         ))
[INFO] [stderr]    | |__________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 49 |         Size::new(
[INFO] [stderr] 50 |             self.0.srWindow.Right - self.0.srWindow.Left,
[INFO] [stderr] 51 |             self.0.srWindow.Bottom - self.0.srWindow.Top,
[INFO] [stderr] 52 |         )
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `wAttributes`
[INFO] [stderr]   --> src/console.rs:36:21
[INFO] [stderr]    |
[INFO] [stderr] 36 |     /// parameter: [wAttributes]
[INFO] [stderr]    |                     ^^^^^^^^^^^ no item named `wAttributes` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(broken_intra_doc_links)]` on by default
[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/console.rs:38:16
[INFO] [stderr]    |
[INFO] [stderr] 38 |     /// link: [https://docs.microsoft.com/en-us/windows/console/setconsoletextattribute]
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://docs.microsoft.com/en-us/windows/console/setconsoletextattribute>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_autolinks)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/console.rs:51:16
[INFO] [stderr]    |
[INFO] [stderr] 51 |     /// link: [https://docs.microsoft.com/en-us/windows/console/setconsoletextattribute]
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://docs.microsoft.com/en-us/windows/console/setconsoletextattribute>`
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/console.rs:71:16
[INFO] [stderr]    |
[INFO] [stderr] 71 |     /// link: [https://docs.microsoft.com/en-us/windows/console/fillconsoleoutputcharacter]
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://docs.microsoft.com/en-us/windows/console/fillconsoleoutputcharacter>`
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/console.rs:98:16
[INFO] [stderr]    |
[INFO] [stderr] 98 |     /// link: [https://docs.microsoft.com/en-us/windows/console/fillconsoleoutputattribute]
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://docs.microsoft.com/en-us/windows/console/fillconsoleoutputattribute>`
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/console.rs:125:16
[INFO] [stderr]     |
[INFO] [stderr] 125 |     /// link: [https://docs.microsoft.com/en-us/windows/console/getlargestconsolewindowsize]
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://docs.microsoft.com/en-us/windows/console/getlargestconsolewindowsize>`
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/console.rs:133:16
[INFO] [stderr]     |
[INFO] [stderr] 133 |     /// link: [https://docs.microsoft.com/en-us/windows/console/writeconsole]
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://docs.microsoft.com/en-us/windows/console/writeconsole>`
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/console_mode.rs:10:12
[INFO] [stderr]    |
[INFO] [stderr] 10 | /// link: [https://docs.microsoft.com/en-us/windows/console/setconsolemode]
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://docs.microsoft.com/en-us/windows/console/setconsolemode>`
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/console_mode.rs:13:12
[INFO] [stderr]    |
[INFO] [stderr] 13 | /// link: [https://docs.microsoft.com/en-us/windows/console/getconsolemode]
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://docs.microsoft.com/en-us/windows/console/getconsolemode>`
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/console_mode.rs:36:16
[INFO] [stderr]    |
[INFO] [stderr] 36 |     /// link: [https://docs.microsoft.com/en-us/windows/console/setconsolemode]
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://docs.microsoft.com/en-us/windows/console/setconsolemode>`
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/console_mode.rs:51:16
[INFO] [stderr]    |
[INFO] [stderr] 51 |     /// link: [https://docs.microsoft.com/en-us/windows/console/getconsolemode]
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://docs.microsoft.com/en-us/windows/console/getconsolemode>`
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/csbi.rs:11:12
[INFO] [stderr]    |
[INFO] [stderr] 11 | /// link: [https://docs.microsoft.com/en-us/windows/console/console-screen-buffer-info-str]
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://docs.microsoft.com/en-us/windows/console/console-screen-buffer-info-str>`
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/handle.rs:115:16
[INFO] [stderr]     |
[INFO] [stderr] 115 |     /// link: [https://docs.microsoft.com/en-us/windows/desktop/api/fileapi/nf-fileapi-createfilew]
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://docs.microsoft.com/en-us/windows/desktop/api/fileapi/nf-fileapi-createfilew>`
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/handle.rs:149:16
[INFO] [stderr]     |
[INFO] [stderr] 149 |     /// link: [https://docs.microsoft.com/en-us/windows/desktop/api/fileapi/nf-fileapi-createfilew]
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://docs.microsoft.com/en-us/windows/desktop/api/fileapi/nf-fileapi-createfilew>`
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/handle.rs:180:16
[INFO] [stderr]     |
[INFO] [stderr] 180 |     /// link: [https://docs.microsoft.com/en-us/windows/console/getstdhandle]
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://docs.microsoft.com/en-us/windows/console/getstdhandle>`
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/handle.rs:190:16
[INFO] [stderr]     |
[INFO] [stderr] 190 |     /// link: [https://docs.microsoft.com/en-us/windows/console/getstdhandle]
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://docs.microsoft.com/en-us/windows/console/getstdhandle>`
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/screen_buffer.rs:41:16
[INFO] [stderr]    |
[INFO] [stderr] 41 |     /// link: [https://docs.microsoft.com/en-us/windows/console/createconsolescreenbuffer]
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://docs.microsoft.com/en-us/windows/console/createconsolescreenbuffer>`
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/screen_buffer.rs:67:16
[INFO] [stderr]    |
[INFO] [stderr] 67 |     /// link: [https://docs.microsoft.com/en-us/windows/console/setconsoleactivescreenbuffer]
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://docs.microsoft.com/en-us/windows/console/setconsoleactivescreenbuffer>`
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/screen_buffer.rs:80:16
[INFO] [stderr]    |
[INFO] [stderr] 80 |     /// link: [https://docs.microsoft.com/en-us/windows/console/getconsolescreenbufferinfo]
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://docs.microsoft.com/en-us/windows/console/getconsolescreenbufferinfo>`
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/screen_buffer.rs:96:16
[INFO] [stderr]    |
[INFO] [stderr] 96 |     /// link: [https://docs.microsoft.com/en-us/windows/console/setconsolescreenbuffersize]
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://docs.microsoft.com/en-us/windows/console/setconsolescreenbuffersize>`
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/structs/input.rs:24:12
[INFO] [stderr]    |
[INFO] [stderr] 24 | /// link: [https://docs.microsoft.com/en-us/windows/console/key-event-record-str]
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://docs.microsoft.com/en-us/windows/console/key-event-record-str>`
[INFO] [stderr] 
[INFO] [stderr] warning: 22 warnings emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 5.96s
[INFO] running `Command { std: "docker" "inspect" "713ac0c286e5f5d496a4d3ea513c2335de0b234765ab7c0b9935107da5cc2291", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "713ac0c286e5f5d496a4d3ea513c2335de0b234765ab7c0b9935107da5cc2291", kill_on_drop: false }`
[INFO] [stdout] 713ac0c286e5f5d496a4d3ea513c2335de0b234765ab7c0b9935107da5cc2291