Package Details: kdotool 0.2.2-1

Git Clone URL: https://aur.archlinux.org/kdotool.git (read-only, click to copy)
Package Base: kdotool
Description: A xdotool clone for KDE Wayland
Upstream URL: https://github.com/jinliu/kdotool/
Licenses: Apache-2.0
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 3
Popularity: 0.31
First Submitted: 2025-07-11 16:41 (UTC)
Last Updated: 2026-02-16 13:25 (UTC)

Latest Comments

dbermond commented on 2025-12-31 02:43 (UTC)

@VorpalWay fixed.

VorpalWay commented on 2025-12-30 22:19 (UTC) (edited on 2025-12-30 22:20 (UTC) by VorpalWay)

This fails to build with rustc/cargo 1.92.0:

error: this function depends on never type fallback being `()`
   --> src/main.rs:390:1
    |
390 | fn main() -> anyhow::Result<()> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/never-type-fallback.html>
    = help: specify the types explicitly
note: in edition 2024, the requirement `!: ReadAll` will fail
   --> src/main.rs:466:20
    |
466 |         kwin_proxy.method_call("org.kde.kwin.Scripting", "unloadScript", (context.name,))?;
    |                    ^^^^^^^^^^^
    = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
help: use `()` annotations to avoid fallback changes
    |
466 ~         kwin_proxy.method_call::<(), _, _, _>("org.kde.kwin.Scripting", "unloadScript", (context.name,))?;
467 |         return Ok(());
...
518 |     // setup message receiver
519 ~     let _receiver_thread = std::thread::spawn::<_, ()>(move || {
520 |         let _receiver = receiver_conn.start_receive(
...
539 |     let start_time = chrono::Local::now();
540 ~     script_proxy.method_call::<(), _, _, _>("org.kde.kwin.Script", "run", ())?;
541 |     if context.shortcut.is_empty() {
542 ~         script_proxy.method_call::<(), _, _, _>("org.kde.kwin.Script", "stop", ())?;

Most recent upstream git revision builds though, so maybe it would be relatively easy to backport. (While I do know rust very well, it is late here, and I'm not going to make a patch in the next couple of days.)