input-sys 1.19.0

Bindgen generated unsafe libinput wrapper
Documentation

Build #3101566 2026-04-05 16:48:59

# rustc version rustc 1.96.0-nightly (e0e95a718 2026-04-04)

# docs.rs version docsrs 0.0.0 (c1f9de8e135af80a92999a0f7ded8c3997b50c40 2026-04-02 )

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder4/builds/input-sys-1.19.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder4/builds/input-sys-1.19.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder4/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder4/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260404-1.96.0-nightly-e0e95a718\", \"--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] a5803d2367f690528d7a6699d85d36e8ed90d9b409a155f6d4d9a52758974f6f [INFO] running `Command { std: "docker" "start" "-a" "a5803d2367f690528d7a6699d85d36e8ed90d9b409a155f6d4d9a52758974f6f", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting input-sys v1.19.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `x` [INFO] [stderr] --> src/bindings/gen_1_21.rs:1467:250 [INFO] [stderr] | [INFO] [stderr] 1467 | ...e matrix is applied as\n @code\n [ a b c ] [ x ]\n [ d e f ] * [ y ]\n [ 0 0 1 ] [ 1 ]\n @endcode\n\n The translation... [INFO] [stderr] | ^ no item named `x` 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: unresolved link to `y` [INFO] [stderr] --> src/bindings/gen_1_21.rs:1467:272 [INFO] [stderr] | [INFO] [stderr] 1467 | ...\n @code\n [ a b c ] [ x ]\n [ d e f ] * [ y ]\n [ 0 0 1 ] [ 1 ]\n @endcode\n\n The translation component (c, f) is e... [INFO] [stderr] | ^ no item named `y` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `1` [INFO] [stderr] --> src/bindings/gen_1_21.rs:1467:13 [INFO] [stderr] | [INFO] [stderr] 1467 | ... = " @ingroup config\n\n Apply the 3x3 transfo...device_config_calibration_get_default_matrix"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] [ 0 0 1 ] [ 1 ] [INFO] [stderr] ^^^ [INFO] [stderr] = note: no item named `1` in scope [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/bindings/gen_1_21.rs:1124:517 [INFO] [stderr] | [INFO] [stderr] 1124 | ...elated to that context\n invalid. See https://bugs.freedesktop.org/show_bug.cgi?id=91872.\n\n Example code:\n @code\n li = libi... [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] 1124 | #[doc = " @ingroup base\n\n Dereference the libinput context. After this, the context may have been\n destroyed, if the last reference was dereferenced. If so, the context is\n invalid and may not be interacted with.\n\n @bug When the refcount reaches zero, libinput_unref() releases resources\n even if a caller still holds refcounted references to related resources\n (e.g. a libinput_device). When libinput_unref() returns\n NULL, the caller must consider any resources related to that context\n invalid. See <https://bugs.freedesktop.org/show_bug.cgi?id=91872.>\n\n Example code:\n @code\n li = libinput_path_create_context(&interface, NULL);\n device = libinput_path_add_device(li, \"/dev/input/event0\");\n // get extra reference to device\n libinput_device_ref(device);\n\n // refcount reaches 0, so *all* resources are cleaned up,\n // including device\n libinput_unref(li);\n\n // INCORRECT: device has been cleaned up and must not be used\n // li = libinput_device_get_context(device);\n @endcode\n\n @param libinput A previously initialized libinput context\n @return NULL if context was destroyed otherwise the passed context"] [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/bindings/gen_1_21.rs:1237:289 [INFO] [stderr] | [INFO] [stderr] 1237 | ...n See the [libudev documentation]\n (http://www.freedesktop.org/software/systemd/libudev/) for details.\n\n Some devices may no... [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] 1237 | #[doc = " @ingroup device\n\n Return a udev handle to the device that is this libinput device, if any.\n The returned handle has a refcount of at least 1, the caller must call\n <i>udev_device_unref()</i> once to release the associated resources.\n See the [libudev documentation]\n (<http://www.freedesktop.org/software/systemd/libudev/>) for details.\n\n Some devices may not have a udev device, or the udev device may be\n unobtainable. This function returns NULL if no udev device was available.\n\n Calling this function multiple times for the same device may not\n return the same udev handle each time.\n\n @param device A previously obtained device\n @return A udev handle to the device with a refcount of >= 1 or NULL.\n @retval NULL This device is not represented by a udev device"] [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: `input-sys` (lib doc) generated 5 warnings (run `cargo fix --lib -p input-sys` to apply 2 suggestions) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/input_sys/index.html [INFO] running `Command { std: "docker" "inspect" "a5803d2367f690528d7a6699d85d36e8ed90d9b409a155f6d4d9a52758974f6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5803d2367f690528d7a6699d85d36e8ed90d9b409a155f6d4d9a52758974f6f", kill_on_drop: false }` [INFO] [stdout] a5803d2367f690528d7a6699d85d36e8ed90d9b409a155f6d4d9a52758974f6f