native-windows-gui 1.0.13

A rust library to develop native GUI applications on the desktop for Microsoft Windows. Native-windows-gui wraps the native win32 window controls in a rustic API
Documentation
Build #2242005 2025-06-19 15:31:47

# rustc version rustc 1.89.0-nightly (c68340350 2025-06-18)

# docs.rs version docsrs 0.6.0 (0a8149e8 2025-06-15)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/native-windows-gui-1.0.13/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/native-windows-gui-1.0.13/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "all" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250618-1.89.0-nightly-c68340350\", \"--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-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-pc-windows-msvc", 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] dd539bd9bb732768df9a9462153c814a1e6701627bd56a6285af0effb8b22bb7 [INFO] running `Command { std: "docker" "start" "-a" "dd539bd9bb732768df9a9462153c814a1e6701627bd56a6285af0effb8b22bb7", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `handle_from_control::*` [INFO] [stderr] --> src/controls/mod.rs:181:9 [INFO] [stderr] | [INFO] [stderr] 181 | pub use handle_from_control::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::<T>::from_raw` that must be used [INFO] [stderr] --> src/win32/window.rs:145:9 [INFO] [stderr] | [INFO] [stderr] 145 | Box::from_raw(params_ptr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 145 | let _ = Box::from_raw(params_ptr); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::<T>::from_raw` that must be used [INFO] [stderr] --> src/win32/window.rs:228:9 [INFO] [stderr] | [INFO] [stderr] 228 | Box::from_raw(callback_ptr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 228 | let _ = Box::from_raw(callback_ptr); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::<T, A>::into_raw` that must be used [INFO] [stderr] --> src/win32/window.rs:745:5 [INFO] [stderr] | [INFO] [stderr] 745 | Box::into_raw(callback); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: losing the pointer will leak memory [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 745 | let _ = Box::into_raw(callback); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/win32/plotters_d2d.rs:309:15 [INFO] [stderr] | [INFO] [stderr] 309 | fn target(&self) -> Ref<Target> { [INFO] [stderr] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 309 | fn target(&self) -> Ref<'_, Target> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/win32/plotters_d2d.rs:354:19 [INFO] [stderr] | [INFO] [stderr] 354 | fn target_mut(&self) -> RefMut<Target> { [INFO] [stderr] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 354 | fn target_mut(&self) -> RefMut<'_, Target> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/controls/combo_box.rs:375:23 [INFO] [stderr] | [INFO] [stderr] 375 | pub fn collection(&self) -> Ref<Vec<D>> { [INFO] [stderr] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 375 | pub fn collection(&self) -> Ref<'_, Vec<D>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/controls/combo_box.rs:382:27 [INFO] [stderr] | [INFO] [stderr] 382 | pub fn collection_mut(&self) -> RefMut<Vec<D>> { [INFO] [stderr] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 382 | pub fn collection_mut(&self) -> RefMut<'_, Vec<D>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/controls/list_box.rs:458:23 [INFO] [stderr] | [INFO] [stderr] 458 | pub fn collection(&self) -> Ref<Vec<D>> { [INFO] [stderr] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 458 | pub fn collection(&self) -> Ref<'_, Vec<D>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/controls/list_box.rs:465:27 [INFO] [stderr] | [INFO] [stderr] 465 | pub fn collection_mut(&self) -> RefMut<Vec<D>> { [INFO] [stderr] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 465 | pub fn collection_mut(&self) -> RefMut<'_, Vec<D>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/controls/treeview_iterator.rs:41:35 [INFO] [stderr] | [INFO] [stderr] 41 | pub(crate) fn new(tree_view: &'a TreeView, current_item: HTREEITEM) -> TreeViewIterator { [INFO] [stderr] | ^^ this lifetime flows to the output ---------------- the lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 41 | pub(crate) fn new(tree_view: &'a TreeView, current_item: HTREEITEM) -> TreeViewIterator<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/layouts/flexbox_layout.rs:176:21 [INFO] [stderr] | [INFO] [stderr] 176 | pub fn children(&self) -> FlexboxLayoutChildren { [INFO] [stderr] | ^^^^^ --------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 176 | pub fn children(&self) -> FlexboxLayoutChildren<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/layouts/flexbox_layout.rs:196:25 [INFO] [stderr] | [INFO] [stderr] 196 | pub fn children_mut(&self) -> FlexboxLayoutChildrenMut { [INFO] [stderr] | ^^^^^ ------------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 196 | pub fn children_mut(&self) -> FlexboxLayoutChildrenMut<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `native-windows-gui` (lib) generated 13 warnings (run `cargo fix --lib -p native-windows-gui` to apply 10 suggestions) [INFO] [stderr] Scraping native-windows-gui v1.0.13 (/opt/rustwide/workdir) [INFO] [stderr] warning: failed to scan example "basic_drawing_d" in package `native-windows-gui` 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: `native-windows-gui` (example "basic_drawing_d") generated 1 warning [INFO] [stderr] warning: failed to scan example "clipboard" in package `native-windows-gui` 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 "dialog_multithreading_d" in package `native-windows-gui` 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: `native-windows-gui` (example "clipboard") generated 1 warning [INFO] [stderr] warning: `native-windows-gui` (example "dialog_multithreading_d") generated 1 warning [INFO] [stderr] warning: failed to scan example "custom_font_d" in package `native-windows-gui` 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: `native-windows-gui` (example "custom_font_d") generated 1 warning [INFO] [stderr] warning: failed to scan example "treeview_d" in package `native-windows-gui` 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: `native-windows-gui` (example "treeview_d") generated 1 warning [INFO] [stderr] warning: failed to scan example "treeview_d2" in package `native-windows-gui` 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: `native-windows-gui` (example "treeview_d2") generated 1 warning [INFO] [stderr] warning: failed to scan example "month_name_d" in package `native-windows-gui` 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 "system_tray_d" in package `native-windows-gui` 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: `native-windows-gui` (example "system_tray_d") generated 1 warning [INFO] [stderr] warning: `native-windows-gui` (example "month_name_d") generated 1 warning [INFO] [stderr] warning: failed to scan example "plotting_d" in package `native-windows-gui` 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: `native-windows-gui` (example "plotting_d") generated 1 warning [INFO] [stderr] warning: failed to scan example "echo_d" in package `native-windows-gui` 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: `native-windows-gui` (example "echo_d") generated 1 warning [INFO] [stderr] warning: failed to scan example "dataview_d" in package `native-windows-gui` 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: `native-windows-gui` (example "dataview_d") generated 1 warning [INFO] [stderr] warning: failed to scan example "flexbox_dynamic_d" in package `native-windows-gui` 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: `native-windows-gui` (example "flexbox_dynamic_d") generated 1 warning [INFO] [stderr] warning: failed to scan example "partials_d" in package `native-windows-gui` 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: `native-windows-gui` (example "partials_d") generated 1 warning [INFO] [stderr] warning: failed to scan example "echo_richtext_d" in package `native-windows-gui` 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: `native-windows-gui` (example "echo_richtext_d") generated 1 warning [INFO] [stderr] warning: failed to scan example "basic_layout_d" in package `native-windows-gui` 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: `native-windows-gui` (example "basic_layout_d") generated 1 warning [INFO] [stderr] warning: failed to scan example "dyn_layout_d" in package `native-windows-gui` 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: `native-windows-gui` (example "dyn_layout_d") generated 1 warning [INFO] [stderr] warning: failed to scan example "calculator_d" in package `native-windows-gui` 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: `native-windows-gui` (example "calculator_d") generated 1 warning [INFO] [stderr] warning: failed to scan example "self_referencing" in package `native-windows-gui` 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: `native-windows-gui` (example "self_referencing") generated 1 warning [INFO] [stderr] warning: failed to scan example "message_bank_d" in package `native-windows-gui` 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: `native-windows-gui` (example "message_bank_d") generated 1 warning [INFO] [stderr] warning: failed to scan example "image_decoder_d" in package `native-windows-gui` 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: `native-windows-gui` (example "image_decoder_d") generated 1 warning [INFO] [stderr] warning: failed to scan example "rich_label_d" in package `native-windows-gui` 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: `native-windows-gui` (example "rich_label_d") generated 1 warning [INFO] [stderr] warning: failed to scan example "drop_files_d" in package `native-windows-gui` 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: `native-windows-gui` (example "drop_files_d") generated 1 warning [INFO] [stderr] warning: failed to scan example "richtextbox_d" in package `native-windows-gui` 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: `native-windows-gui` (example "richtextbox_d") generated 1 warning [INFO] [stderr] warning: failed to scan example "basic_d" in package `native-windows-gui` 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 "generic_d" in package `native-windows-gui` 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: `native-windows-gui` (example "basic_d") generated 1 warning [INFO] [stderr] warning: `native-windows-gui` (example "generic_d") generated 1 warning [INFO] [stderr] warning: failed to scan example "splash_screen_d" in package `native-windows-gui` 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: `native-windows-gui` (example "splash_screen_d") generated 1 warning [INFO] [stderr] warning: failed to scan example "min_max_size_d" in package `native-windows-gui` 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: `native-windows-gui` (example "min_max_size_d") generated 1 warning [INFO] [stderr] warning: failed to scan example "flexbox_d" in package `native-windows-gui` 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: `native-windows-gui` (example "flexbox_d") generated 1 warning [INFO] [stderr] warning: failed to scan example "notice_basic" in package `native-windows-gui` 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: `native-windows-gui` (example "notice_basic") generated 1 warning [INFO] [stderr] warning: failed to scan example "subclassing_d" in package `native-windows-gui` 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: `native-windows-gui` (example "subclassing_d") generated 1 warning [INFO] [stderr] warning: failed to scan example "partials_generic_d" in package `native-windows-gui` 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: `native-windows-gui` (example "partials_generic_d") generated 1 warning [INFO] [stderr] Documenting native-windows-gui v1.0.13 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `x,y` [INFO] [stderr] --> src/resources/image_decoder.rs:219:26 [INFO] [stderr] | [INFO] [stderr] 219 | offset: The [x,y] offset at which the region begins [INFO] [stderr] | ^^^ no item named `x,y` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/win32/clipboard.rs:65:149 [INFO] [stderr] | [INFO] [stderr] 65 | ...re robust API, then I recommend you look into https://github.com/DoumanAsh/clipboard-win [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 65 | Note that NWG clipboard is intentionally keeps things simple and close to the metal. If you want to more robust API, then I recommend you look into <https://github.com/DoumanAsh/clipboard-win> [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/resources/font.rs:23:45 [INFO] [stderr] | [INFO] [stderr] 23 | For more information on the parameters see: https://docs.microsoft.com/en-us/windows/win32/api/wingdi/ns-wingdi-logfonta [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 23 | For more information on the parameters see: <https://docs.microsoft.com/en-us/windows/win32/api/wingdi/ns-wingdi-logfonta> [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/resources/image_decoder.rs:52:60 [INFO] [stderr] | [INFO] [stderr] 52 | The file type can be any of the native WIC codecs (https://docs.microsoft.com/en-us/windows/win32/wic/native-wic-codecs) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 52 | The file type can be any of the native WIC codecs (<https://docs.microsoft.com/en-us/windows/win32/wic/native-wic-codecs>) [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/resources/image_decoder.rs:71:60 [INFO] [stderr] | [INFO] [stderr] 71 | The file type can be any of the native WIC codecs (https://docs.microsoft.com/en-us/windows/win32/wic/native-wic-codecs) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 71 | The file type can be any of the native WIC codecs (<https://docs.microsoft.com/en-us/windows/win32/wic/native-wic-codecs>) [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/controls/text_input.rs:44:23 [INFO] [stderr] | [INFO] [stderr] 44 | Winapi documentation: https://docs.microsoft.com/en-us/windows/win32/controls/about-edit-controls#text-and-input-styles [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 44 | Winapi documentation: <https://docs.microsoft.com/en-us/windows/win32/controls/about-edit-controls#text-and-input-styles> [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/controls/rich_text_box.rs:236:6 [INFO] [stderr] | [INFO] [stderr] 236 | See: https://docs.microsoft.com/en-us/windows/win32/controls/about-rich-edit-controls#rich-edit-version-41 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 236 | See: <https://docs.microsoft.com/en-us/windows/win32/controls/about-rich-edit-controls#rich-edit-version-41> [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/controls/tray_notification.rs:81:18 [INFO] [stderr] | [INFO] [stderr] 81 | Winapi docs: https://docs.microsoft.com/en-us/windows/win32/shell/notification-area [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 81 | Winapi docs: <https://docs.microsoft.com/en-us/windows/win32/shell/notification-area> [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/layouts/flexbox_layout.rs:49:51 [INFO] [stderr] | [INFO] [stderr] 49 | Flexbox uses the stretch library internally ( https://github.com/vislyhq/stretch ). [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 49 | Flexbox uses the stretch library internally ( <https://github.com/vislyhq/stretch> ). [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: `native-windows-gui` (lib doc) generated 9 warnings (run `cargo fix --lib -p native-windows-gui` to apply 8 suggestions) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.25s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-pc-windows-msvc/doc/native_windows_gui/index.html [INFO] running `Command { std: "docker" "inspect" "dd539bd9bb732768df9a9462153c814a1e6701627bd56a6285af0effb8b22bb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd539bd9bb732768df9a9462153c814a1e6701627bd56a6285af0effb8b22bb7", kill_on_drop: false }` [INFO] [stdout] dd539bd9bb732768df9a9462153c814a1e6701627bd56a6285af0effb8b22bb7