libawm 0.1.0

the library that powers awm - forked from penrose
Documentation
Build #2233036 2025-06-16 13:21:42
# rustc version
rustc 1.89.0-nightly (586ad391f 2025-06-15)# docs.rs version
docsrs 0.6.0 (0a8149e8 2025-06-15)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/libawm-0.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/libawm-0.1.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" "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" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250615-1.89.0-nightly-586ad391f\", \"--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] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 1cdd1dd6de99470206c7d989c908ec17c9e01d807d6a46d4357cbc50a8e8582b
[INFO] running `Command { std: "docker" "start" "-a" "1cdd1dd6de99470206c7d989c908ec17c9e01d807d6a46d4357cbc50a8e8582b", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting libawm v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:36:67
[INFO] [stderr]     |
[INFO] [stderr] 36  | //!   - keybindings (typically set up using the [gen_keybindings][7] macro)
[INFO] [stderr]     |                                                  ---------------  ^ explicit target is redundant
[INFO] [stderr]     |                                                  |
[INFO] [stderr]     |                                                  because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr] note: referenced explicit link target defined here
[INFO] [stderr]    --> src/lib.rs:112:10
[INFO] [stderr]     |
[INFO] [stderr] 112 | //! [7]: crate::gen_keybindings
[INFO] [stderr]     |          ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr]     = note: `#[warn(rustdoc::redundant_explicit_links)]` on by default
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 36  - //!   - keybindings (typically set up using the [gen_keybindings][7] macro)
[INFO] [stderr] 36  + //!   - keybindings (typically set up using the [gen_keybindings] macro)
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:38:20
[INFO] [stderr]     |
[INFO] [stderr] 38  | //!   - A [Config][9] instance which contains the rest of your top level configuration for Penrose.
[INFO] [stderr]     |            ------  ^ explicit target is redundant
[INFO] [stderr]     |            |
[INFO] [stderr]     |            because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr] note: referenced explicit link target defined here
[INFO] [stderr]    --> src/lib.rs:114:10
[INFO] [stderr]     |
[INFO] [stderr] 114 | //! [9]: crate::core::config::Config
[INFO] [stderr]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 38  - //!   - A [Config][9] instance which contains the rest of your top level configuration for Penrose.
[INFO] [stderr] 38  + //!   - A [Config] instance which contains the rest of your top level configuration for Penrose.
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:41:61
[INFO] [stderr]     |
[INFO] [stderr] 41  | //! With that, you will be able to create a [WindowManager][10] and start running Penrose after
[INFO] [stderr]     |                                              -------------  ^^ explicit target is redundant
[INFO] [stderr]     |                                              |
[INFO] [stderr]     |                                              because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr] note: referenced explicit link target defined here
[INFO] [stderr]    --> src/lib.rs:115:11
[INFO] [stderr]     |
[INFO] [stderr] 115 | //! [10]: crate::core::manager::WindowManager
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 41  - //! With that, you will be able to create a [WindowManager][10] and start running Penrose after
[INFO] [stderr] 41  + //! With that, you will be able to create a [WindowManager] and start running Penrose after
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/core/mod.rs:7:50
[INFO] [stderr]    |
[INFO] [stderr] 7  | //! implementation detail of the [WindowManager][2] struct, but there are multiple places that you
[INFO] [stderr]    |                                   -------------  ^ explicit target is redundant
[INFO] [stderr]    |                                   |
[INFO] [stderr]    |                                   because label contains path that resolves to same destination
[INFO] [stderr]    |
[INFO] [stderr] note: referenced explicit link target defined here
[INFO] [stderr]   --> src/core/mod.rs:26:10
[INFO] [stderr]    |
[INFO] [stderr] 26 | //! [2]: crate::core::manager::WindowManager
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: when a link's destination is not specified,
[INFO] [stderr]            the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]    |
[INFO] [stderr] 7  - //! implementation detail of the [WindowManager][2] struct, but there are multiple places that you
[INFO] [stderr] 7  + //! implementation detail of the [WindowManager] struct, but there are multiple places that you
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/core/mod.rs:12:25
[INFO] [stderr]    |
[INFO] [stderr] 12 | //! - A [WindowManager][2] struct. This is the main event handling logic and top level data structure
[INFO] [stderr]    |          -------------  ^ explicit target is redundant
[INFO] [stderr]    |          |
[INFO] [stderr]    |          because label contains path that resolves to same destination
[INFO] [stderr]    |
[INFO] [stderr] note: referenced explicit link target defined here
[INFO] [stderr]   --> src/core/mod.rs:26:10
[INFO] [stderr]    |
[INFO] [stderr] 26 | //! [2]: crate::core::manager::WindowManager
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: when a link's destination is not specified,
[INFO] [stderr]            the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]    |
[INFO] [stderr] 12 - //! - A [WindowManager][2] struct. This is the main event handling logic and top level data structure
[INFO] [stderr] 12 + //! - A [WindowManager] struct. This is the main event handling logic and top level data structure
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/core/mod.rs:21:40
[INFO] [stderr]    |
[INFO] [stderr] 21 | //! It is also possible to add [hooks][9], and things such as a [status bar][10] which itself uses
[INFO] [stderr]    |                                 -----  ^ explicit target is redundant
[INFO] [stderr]    |                                 |
[INFO] [stderr]    |                                 because label contains path that resolves to same destination
[INFO] [stderr]    |
[INFO] [stderr] note: referenced explicit link target defined here
[INFO] [stderr]   --> src/core/mod.rs:33:10
[INFO] [stderr]    |
[INFO] [stderr] 33 | //! [9]: crate::core::hooks
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: when a link's destination is not specified,
[INFO] [stderr]            the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]    |
[INFO] [stderr] 21 - //! It is also possible to add [hooks][9], and things such as a [status bar][10] which itself uses
[INFO] [stderr] 21 + //! It is also possible to add [hooks], and things such as a [status bar][10] which itself uses
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `method`
[INFO] [stderr]   --> src/core/hooks.rs:99:91
[INFO] [stderr]    |
[INFO] [stderr] 99 | //! logging in your logging config as part of your **main.rs** and lookk for the "Running <method>
[INFO] [stderr]    |                                                                                           ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(rustdoc::invalid_html_tags)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/core/layout.rs:50:18
[INFO] [stderr]    |
[INFO] [stderr] 50 | //! [side_stack][5] layout (in effect, clamping `max_main` at 0).
[INFO] [stderr]    |      ----------  ^ explicit target is redundant
[INFO] [stderr]    |      |
[INFO] [stderr]    |      because label contains path that resolves to same destination
[INFO] [stderr]    |
[INFO] [stderr] note: referenced explicit link target defined here
[INFO] [stderr]   --> src/core/layout.rs:56:10
[INFO] [stderr]    |
[INFO] [stderr] 56 | //! [5]: crate::core::layout::side_stack
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: when a link's destination is not specified,
[INFO] [stderr]            the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]    |
[INFO] [stderr] 50 - //! [side_stack][5] layout (in effect, clamping `max_main` at 0).
[INFO] [stderr] 50 + //! [side_stack] layout (in effect, clamping `max_main` at 0).
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/core/xconnection/mod.rs:63:27
[INFO] [stderr]    |
[INFO] [stderr] 63 |     /// Parsing an [Atom][crate::core::xconnection::Atom] from a str failed.
[INFO] [stderr]    |                     ----  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     because label contains path that resolves to same destination
[INFO] [stderr]    |
[INFO] [stderr]    = note: when a link's destination is not specified,
[INFO] [stderr]            the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]    |
[INFO] [stderr] 63 -     /// Parsing an [Atom][crate::core::xconnection::Atom] from a str failed.
[INFO] [stderr] 63 +     /// Parsing an [Atom] from a str failed.
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/xcb/mod.rs:4:21
[INFO] [stderr]    |
[INFO] [stderr] 4  | //! [WindowManager][1] when talking to the X server. The code in this module is build on top of the
[INFO] [stderr]    |      -------------  ^ explicit target is redundant
[INFO] [stderr]    |      |
[INFO] [stderr]    |      because label contains path that resolves to same destination
[INFO] [stderr]    |
[INFO] [stderr] note: referenced explicit link target defined here
[INFO] [stderr]   --> src/xcb/mod.rs:17:10
[INFO] [stderr]    |
[INFO] [stderr] 17 | //! [1]: crate::core::manager::WindowManager
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: when a link's destination is not specified,
[INFO] [stderr]            the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]    |
[INFO] [stderr] 4  - //! [WindowManager][1] when talking to the X server. The code in this module is build on top of the
[INFO] [stderr] 4  + //! [WindowManager] when talking to the X server. The code in this module is build on top of the
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/xcb/mod.rs:11:71
[INFO] [stderr]    |
[INFO] [stderr] 11 | //! - `keysyms`: enable [KeyPressDraw][8] functionality for [XcbDraw][9]
[INFO] [stderr]    |                                                              -------  ^ explicit target is redundant
[INFO] [stderr]    |                                                              |
[INFO] [stderr]    |                                                              because label contains path that resolves to same destination
[INFO] [stderr]    |
[INFO] [stderr] note: referenced explicit link target defined here
[INFO] [stderr]   --> src/xcb/mod.rs:25:10
[INFO] [stderr]    |
[INFO] [stderr] 25 | //! [9]: crate::xcb::XcbDraw
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: when a link's destination is not specified,
[INFO] [stderr]            the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]    |
[INFO] [stderr] 11 - //! - `keysyms`: enable [KeyPressDraw][8] functionality for [XcbDraw][9]
[INFO] [stderr] 11 + //! - `keysyms`: enable [KeyPressDraw][8] functionality for [XcbDraw]
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]  --> src/xcb/draw.rs:2:34
[INFO] [stderr]   |
[INFO] [stderr] 2 |  * API layer implementing [Draw][crate::draw::Draw] and [DrawContext][crate::draw::DrawContext]
[INFO] [stderr]   |                            ----  ^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]   |                            |
[INFO] [stderr]   |                            because label contains path that resolves to same destination
[INFO] [stderr]   |
[INFO] [stderr]   = note: when a link's destination is not specified,
[INFO] [stderr]           the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]   |
[INFO] [stderr] 2 -  * API layer implementing [Draw][crate::draw::Draw] and [DrawContext][crate::draw::DrawContext]
[INFO] [stderr] 2 +  * API layer implementing [Draw] and [DrawContext][crate::draw::DrawContext]
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]  --> src/xcb/draw.rs:2:71
[INFO] [stderr]   |
[INFO] [stderr] 2 |  * API layer implementing [Draw][crate::draw::Draw] and [DrawContext][crate::draw::DrawContext]
[INFO] [stderr]   |                                                          -----------  ^^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]   |                                                          |
[INFO] [stderr]   |                                                          because label contains path that resolves to same destination
[INFO] [stderr]   |
[INFO] [stderr]   = note: when a link's destination is not specified,
[INFO] [stderr]           the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]   |
[INFO] [stderr] 2 -  * API layer implementing [Draw][crate::draw::Draw] and [DrawContext][crate::draw::DrawContext]
[INFO] [stderr] 2 +  * API layer implementing [Draw][crate::draw::Draw] and [DrawContext]
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `MOD`
[INFO] [stderr]  --> src/xcb/helpers.rs:8:59
[INFO] [stderr]   |
[INFO] [stderr] 8 |  * which calls through to this. Bindings are of the form '<MOD>-<key name>'
[INFO] [stderr]   |                                                           ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `key`
[INFO] [stderr]  --> src/xcb/helpers.rs:8:65
[INFO] [stderr]   |
[INFO] [stderr] 8 |  * which calls through to this. Bindings are of the form '<MOD>-<key name>'
[INFO] [stderr]   |                                                                 ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `libawm` (lib doc) generated 15 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.34s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/libawm/index.html
[INFO] running `Command { std: "docker" "inspect" "1cdd1dd6de99470206c7d989c908ec17c9e01d807d6a46d4357cbc50a8e8582b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1cdd1dd6de99470206c7d989c908ec17c9e01d807d6a46d4357cbc50a8e8582b", kill_on_drop: false }`
[INFO] [stdout] 1cdd1dd6de99470206c7d989c908ec17c9e01d807d6a46d4357cbc50a8e8582b