Coder Social home page Coder Social logo

apex-tux's People

Contributors

bigbigos avatar jehendeoff avatar kediboregi avatar lunareclipse363 avatar not-jan avatar salahaddin avatar socerest2 avatar syphernl avatar vardogor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

apex-tux's Issues

Issue building apex-music from source

When trying to build from source.

Following errors appears:

error[E0658]: `impl Trait` in associated types is unstable
--> apex-music/src/player.rs:74:31
|
74 |     type MetadataFuture<'a> = impl Future<Output = Result<Self::Metadata>> + 'a
|                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
= help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable

error[E0658]: `impl Trait` in associated types is unstable
--> apex-music/src/player.rs:77:27
|
77 |     type NameFuture<'a> = impl Future<Output = String>
|                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
= help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable

error[E0658]: `impl Trait` in associated types is unstable
--> apex-music/src/player.rs:80:37
|
80 |     type PlaybackStatusFuture<'a> = impl Future<Output = Result<PlaybackStatus>>
|                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
= help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable

error[E0658]: `impl Trait` in associated types is unstable
--> apex-music/src/player.rs:83:31
|
83 |     type PositionFuture<'a> = impl Future<Output = Result<i64>>
|                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
= help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable

error[E0658]: `impl Trait` in associated types is unstable
--> apex-music/src/player.rs:135:30
|
135 |     type ArtistsFuture<'a> = impl Future<Output = Result<String>> + 'a
|                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
= help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable

error[E0658]: `impl Trait` in associated types is unstable
--> apex-music/src/player.rs:138:29
|
138 |     type LengthFuture<'a> = impl Future<Output = Result<u64>> + 'a
|                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
= help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable

error[E0658]: `impl Trait` in associated types is unstable
--> apex-music/src/player.rs:141:28
|
141 |     type TitleFuture<'a> = impl Future<Output = Result<String>> + 'a
|                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
= help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable

Apologies I'm not knowledgeable in Rust so I'm not completely sure what else I can say. It happens from manually building the app or trying to use AUR package

  • rustup 1.26.0 (2023-04-25)
  • rustc nightly build

Compilation error on Rust 1.80 with rust-lld

Was originally trying to use the AUR package, but having the same issue, tried to build it manually as well from a git clone.
Trying to build with cargo build --release --features sysinfo,hotkeys,image I get the following error:

Compiling apex-tux v1.0.3 (/home/scott/Build/apex-tux)
warning: unused import: `anyhow::anyhow`
--> src/providers/music.rs:3:5
 |
3 | use anyhow::anyhow;
 |     ^^^^^^^^^^^^^^
 |
 = note: `#[warn(unused_imports)]` on by default

warning: field `spacing` is never read
  --> src/render/text.rs:195:9
   |
191 | pub struct Scrollable {
   |            ---------- field in this struct
...
195 |     pub spacing: u32,
   |         ^^^^^^^
   |
   = note: `Scrollable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
   = note: `#[warn(dead_code)]` on by default

error: linking with `cc` failed: exit status: 1
 |
 = note: LC_ALL="C" PATH="/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/home/scott/.cargo/bin:/home/scott/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin:/home/scott/.antigen/bundles/robbyrussell/oh-my-zsh/lib:/home/scott/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/git:/home/scott/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/heroku:/home/scott/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/pip:/home/scott/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/lein:/home/scott/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/command-not-found:/home/scott/.antigen/bundles/Aloxaf/fzf-tab:/home/scott/.antigen/bundles/zsh-users/zsh-syntax-highlighting" VSLANG="1033" "cc" "-m64" "/tmp/rustc1NX1jO/symbols.o" "/home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c.apex_tux.a06de10c9e3ed716-cgu.00.rcgu.o" "/home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c.apex_tux.a06de10c9e3ed716-cgu.01.rcgu.o" "/home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c.apex_tux.a06de10c9e3ed716-cgu.02.rcgu.o" "/home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c.apex_tux.a06de10c9e3ed716-cgu.03.rcgu.o" "/home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c.apex_tux.a06de10c9e3ed716-cgu.04.rcgu.o" "/home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c.apex_tux.a06de10c9e3ed716-cgu.05.rcgu.o" "/home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c.apex_tux.a06de10c9e3ed716-cgu.06.rcgu.o" "/home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c.apex_tux.a06de10c9e3ed716-cgu.07.rcgu.o" "/home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c.apex_tux.a06de10c9e3ed716-cgu.08.rcgu.o" "/home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c.apex_tux.a06de10c9e3ed716-cgu.09.rcgu.o" "/home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c.apex_tux.a06de10c9e3ed716-cgu.10.rcgu.o" "/home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c.apex_tux.a06de10c9e3ed716-cgu.11.rcgu.o" "/home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c.apex_tux.a06de10c9e3ed716-cgu.12.rcgu.o" "/home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c.apex_tux.a06de10c9e3ed716-cgu.13.rcgu.o" "/home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c.apex_tux.a06de10c9e3ed716-cgu.14.rcgu.o" "/home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c.apex_tux.a06de10c9e3ed716-cgu.15.rcgu.o" "/home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c.2kgrk223elkfrlon5w7sai4lg.rcgu.o" "-Wl,--as-needed" "-L" "/home/scott/Build/apex-tux/target/release/deps" "-L" "/usr/lib" "-L" "/home/scott/Build/apex-tux/target/release/build/hidapi-9a20002cd2424e9c/out" "-L" "/usr/lib" "-L" "/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/scott/Build/apex-tux/target/release/deps/libctrlc-10519e8eaba1eaec.rlib" "/home/scott/Build/apex-tux/target/release/deps/libnix-05f1e8cbd92afbd2.rlib" "/home/scott/Build/apex-tux/target/release/deps/libdirs-3c40b3ae5ab22ed1.rlib" "/home/scott/Build/apex-tux/target/release/deps/libdirs_sys-24af242ab5631445.rlib" "/home/scott/Build/apex-tux/target/release/deps/liboption_ext-37bbb005181beead.rlib" "/home/scott/Build/apex-tux/target/release/deps/libapex_mpris2-fc0116d33380e1cb.rlib" "/home/scott/Build/apex-tux/target/release/deps/libsimplelog-e2e442ccdfa7ae82.rlib" "/home/scott/Build/apex-tux/target/release/deps/libtermcolor-e8fbf45524fd8b2d.rlib" "/home/scott/Build/apex-tux/target/release/deps/libitertools-ebd95d9cbfa41be6.rlib" "/home/scott/Build/apex-tux/target/release/deps/libapex_input-864af4886c87b102.rlib" "/home/scott/Build/apex-tux/target/release/deps/libglobal_hotkey-d1b4d9d9d96d5a7b.rlib" "/home/scott/Build/apex-tux/target/release/deps/libx11_dl-f7b24aaf2c77df70.rlib" "/home/scott/Build/apex-tux/target/release/deps/libkeyboard_types-d11cfbf069d84b21.rlib" "/home/scott/Build/apex-tux/target/release/deps/libunicode_segmentation-49fd8f3fb76af7dc.rlib" "/home/scott/Build/apex-tux/target/release/deps/libthiserror-37ed408b62f88f7b.rlib" "/home/scott/Build/apex-tux/target/release/deps/libcrossbeam_channel-9c5596b34f48cbe3.rlib" "/home/scott/Build/apex-tux/target/release/deps/libimage-f7a25774139899ce.rlib" "/home/scott/Build/apex-tux/target/release/deps/libqoi-953089248bcc25b8.rlib" "/home/scott/Build/apex-tux/target/release/deps/libbytemuck-62c0dd77f697cbe9.rlib" "/home/scott/Build/apex-tux/target/release/deps/libpng-af9bfbad5a03e65b.rlib" "/home/scott/Build/apex-tux/target/release/deps/libfdeflate-48fcbcb675f8fd33.rlib" "/home/scott/Build/apex-tux/target/release/deps/libexr-ffbe44b70f3e0522.rlib" "/home/scott/Build/apex-tux/target/release/deps/libflume-8273e2ceab254fe4.rlib" "/home/scott/Build/apex-tux/target/release/deps/libzune_inflate-dd06645b4e3e4845.rlib" "/home/scott/Build/apex-tux/target/release/deps/libbit_field-78feb5e819b62735.rlib" "/home/scott/Build/apex-tux/target/release/deps/liblebe-3af0548477c8ae20.rlib" "/home/scott/Build/apex-tux/target/release/deps/libhalf-af3d677fcbe543d8.rlib" "/home/scott/Build/apex-tux/target/release/deps/libsmallvec-19d753aef482b982.rlib" "/home/scott/Build/apex-tux/target/release/deps/libgif-5dd7fc35bf3a3f3f.rlib" "/home/scott/Build/apex-tux/target/release/deps/libcolor_quant-ea6f29bf93f79454.rlib" "/home/scott/Build/apex-tux/target/release/deps/libtiff-a7030972c400face.rlib" "/home/scott/Build/apex-tux/target/release/deps/libweezl-b153bc3929104a81.rlib" "/home/scott/Build/apex-tux/target/release/deps/libjpeg_decoder-f2b078586b3bccda.rlib" "/home/scott/Build/apex-tux/target/release/deps/libsysinfo-48c27b40cf601cd9.rlib" "/home/scott/Build/apex-tux/target/release/deps/librayon-a979e0b3ae9a6422.rlib" "/home/scott/Build/apex-tux/target/release/deps/librayon_core-702848a32db861bb.rlib" "/home/scott/Build/apex-tux/target/release/deps/libcrossbeam_deque-f2c73cf999f703ff.rlib" "/home/scott/Build/apex-tux/target/release/deps/libcrossbeam_epoch-ef8048f2af92097a.rlib" "/home/scott/Build/apex-tux/target/release/deps/libcrossbeam_utils-e5ce1a8819e49c8e.rlib" "/home/scott/Build/apex-tux/target/release/deps/libeither-ad876172003ec10a.rlib" "/home/scott/Build/apex-tux/target/release/deps/libapex_music-4e2cb828c5b29135.rlib" "/home/scott/Build/apex-tux/target/release/deps/libreqwest-ebc8ae7edc9f4471.rlib" "/home/scott/Build/apex-tux/target/release/deps/librustls_pemfile-f9d41a3bdf2ac98a.rlib" "/home/scott/Build/apex-tux/target/release/deps/libhyper_tls-50e050d56f29f11b.rlib" "/home/scott/Build/apex-tux/target/release/deps/libserde_urlencoded-c208ddfd7169de64.rlib" "/home/scott/Build/apex-tux/target/release/deps/libbase64-bed3832b4ea762bf.rlib" "/home/scott/Build/apex-tux/target/release/deps/libipnet-86ea84f9be226c24.rlib" "/home/scott/Build/apex-tux/target/release/deps/libtokio_native_tls-b47a653e56e0ab26.rlib" "/home/scott/Build/apex-tux/target/release/deps/libmime-1d8c19b154c86676.rlib" "/home/scott/Build/apex-tux/target/release/deps/libencoding_rs-5a59f135e86e37e3.rlib" "/home/scott/Build/apex-tux/target/release/deps/libasync_compression-f9f8c64eb5ae502e.rlib" "/home/scott/Build/apex-tux/target/release/deps/libflate2-ecd00ba3d884b4da.rlib" "/home/scott/Build/apex-tux/target/release/deps/libminiz_oxide-dc3f65c36bc3d8cb.rlib" "/home/scott/Build/apex-tux/target/release/deps/libsimd_adler32-de85678ecc8b5d9b.rlib" "/home/scott/Build/apex-tux/target/release/deps/libcrc32fast-b55d4ddacd11cd3a.rlib" "/home/scott/Build/apex-tux/target/release/deps/libbrotli-d80d91bd05693b81.rlib" "/home/scott/Build/apex-tux/target/release/deps/libbrotli_decompressor-efab409f8aeff43b.rlib" "/home/scott/Build/apex-tux/target/release/deps/liballoc_stdlib-ac7630e1052a2fd1.rlib" "/home/scott/Build/apex-tux/target/release/deps/liballoc_no_stdlib-a1c8b2b6a22c2c32.rlib" "/home/scott/Build/apex-tux/target/release/deps/libnative_tls-011f93394c06260c.rlib" "/home/scott/Build/apex-tux/target/release/deps/libopenssl_probe-6cb1d7a01186040b.rlib" "/home/scott/Build/apex-tux/target/release/deps/libopenssl-7ecd7f40289f463e.rlib" "/home/scott/Build/apex-tux/target/release/deps/libbitflags-eef59ab2c181064e.rlib" "/home/scott/Build/apex-tux/target/release/deps/libforeign_types-e43e2c0dbf5f5eaf.rlib" "/home/scott/Build/apex-tux/target/release/deps/libforeign_types_shared-8cdc27902e441865.rlib" "/home/scott/Build/apex-tux/target/release/deps/libopenssl_sys-162e95e2d8531bd7.rlib" "/home/scott/Build/apex-tux/target/release/deps/libhyper-d97f625293143178.rlib" "/home/scott/Build/apex-tux/target/release/deps/libwant-3f34c6a27efc2108.rlib" "/home/scott/Build/apex-tux/target/release/deps/libtry_lock-2561b0487478381e.rlib" "/home/scott/Build/apex-tux/target/release/deps/libhttparse-f3b0a4fe841a550c.rlib" "/home/scott/Build/apex-tux/target/release/deps/libh2-2d75df0cef825a04.rlib" "/home/scott/Build/apex-tux/target/release/deps/libindexmap-ec4d5c51a6569cf6.rlib" "/home/scott/Build/apex-tux/target/release/deps/libequivalent-ec054357584dda9d.rlib" "/home/scott/Build/apex-tux/target/release/deps/libhashbrown-ba330ea1ba1dae1a.rlib" "/home/scott/Build/apex-tux/target/release/deps/libtower_service-bf94bd4cff0bdbb9.rlib" "/home/scott/Build/apex-tux/target/release/deps/libtracing-109c9b328f9fb36c.rlib" "/home/scott/Build/apex-tux/target/release/deps/libtracing_core-37f8f867a370f21c.rlib" "/home/scott/Build/apex-tux/target/release/deps/libonce_cell-5e26bf523331b8e0.rlib" "/home/scott/Build/apex-tux/target/release/deps/libtokio_util-9692dae16c6ae8eb.rlib" "/home/scott/Build/apex-tux/target/release/deps/libsync_wrapper-33f1b3028f0801e2.rlib" "/home/scott/Build/apex-tux/target/release/deps/libhttp_body-21cb61e1429e28f0.rlib" "/home/scott/Build/apex-tux/target/release/deps/liburl-16e4f52512c04745.rlib" "/home/scott/Build/apex-tux/target/release/deps/libidna-b6f00e51523a8061.rlib" "/home/scott/Build/apex-tux/target/release/deps/libunicode_normalization-e00b50dd9d9f9e50.rlib" "/home/scott/Build/apex-tux/target/release/deps/libtinyvec-4197147df1778369.rlib" "/home/scott/Build/apex-tux/target/release/deps/libtinyvec_macros-3018ee127284fcc5.rlib" "/home/scott/Build/apex-tux/target/release/deps/libunicode_bidi-f6d5e0c2bba4f214.rlib" "/home/scott/Build/apex-tux/target/release/deps/libform_urlencoded-a1bb071c7144f399.rlib" "/home/scott/Build/apex-tux/target/release/deps/libpercent_encoding-70ec8881d22b685d.rlib" "/home/scott/Build/apex-tux/target/release/deps/libhttp-dd0a2173d8a988db.rlib" "/home/scott/Build/apex-tux/target/release/deps/libfnv-82d0a40bbfed6e3d.rlib" "/home/scott/Build/apex-tux/target/release/deps/libasync_rwlock-d270bf00255daff1.rlib" "/home/scott/Build/apex-tux/target/release/deps/libasync_mutex-ed28a9090a071024.rlib" "/home/scott/Build/apex-tux/target/release/deps/libevent_listener-20a86dd27e8adb43.rlib" "/home/scott/Build/apex-tux/target/release/deps/libconfig-6909fc4c5fc9f588.rlib" "/home/scott/Build/apex-tux/target/release/deps/libini-e80a356ef4550c10.rlib" "/home/scott/Build/apex-tux/target/release/deps/libserde_hjson-a8d3d16df3d69c9d.rlib" "/home/scott/Build/apex-tux/target/release/deps/libserde-d3fc4eb1ff76f14a.rlib" "/home/scott/Build/apex-tux/target/release/deps/libregex-5ef8e7b2c151d2ba.rlib" "/home/scott/Build/apex-tux/target/release/deps/libregex_syntax-4bf13010fbaea48e.rlib" "/home/scott/Build/apex-tux/target/release/deps/libaho_corasick-bfffbe2464707e38.rlib" "/home/scott/Build/apex-tux/target/release/deps/libnum_traits-94c443e875710969.rlib" "/home/scott/Build/apex-tux/target/release/deps/libyaml_rust-7225b4b064e9d320.rlib" "/home/scott/Build/apex-tux/target/release/deps/liblinked_hash_map-9ef95b732aaf84d8.rlib" "/home/scott/Build/apex-tux/target/release/deps/libserde_json-8244c01d2874bcf5.rlib" "/home/scott/Build/apex-tux/target/release/deps/libitoa-adc7b66b20d84975.rlib" "/home/scott/Build/apex-tux/target/release/deps/libtoml-a0571f8d980b6d73.rlib" "/home/scott/Build/apex-tux/target/release/deps/libnom-aecc63a917b1cd33.rlib" "/home/scott/Build/apex-tux/target/release/deps/liblexical_core-cfe67b721cc3bf27.rlib" "/home/scott/Build/apex-tux/target/release/deps/libbitflags-d639971962f57f6c.rlib" "/home/scott/Build/apex-tux/target/release/deps/libryu-f684291f6278b276.rlib" "/home/scott/Build/apex-tux/target/release/deps/libstatic_assertions-45ea0b18dfc8d746.rlib" "/home/scott/Build/apex-tux/target/release/deps/libarrayvec-7d6f1f16db4dee3a.rlib" "/home/scott/Build/apex-tux/target/release/deps/libcfg_if-fad8d17a588f1088.rlib" "/home/scott/Build/apex-tux/target/release/deps/libserde-3cf1fc53767518c1.rlib" "/home/scott/Build/apex-tux/target/release/deps/libchrono-42c95bfa0e1d7e9a.rlib" "/home/scott/Build/apex-tux/target/release/deps/libiana_time_zone-0248a8dcc6632da0.rlib" "/home/scott/Build/apex-tux/target/release/deps/libapex_hardware-f4b1a60e1da5d37b.rlib" "/home/scott/Build/apex-tux/target/release/deps/libnum_enum-f3ddcccfbd6de021.rlib" "/home/scott/Build/apex-tux/target/release/deps/libhidapi-05cbf6e22c2e6313.rlib" "/home/scott/Build/apex-tux/target/release/deps/libbitvec-dc975984ce84e102.rlib" "/home/scott/Build/apex-tux/target/release/deps/libwyz-1d732956c279e686.rlib" "/home/scott/Build/apex-tux/target/release/deps/libtap-0aa4967c011bd9c8.rlib" "/home/scott/Build/apex-tux/target/release/deps/libradium-aad37cdc32bbdd94.rlib" "/home/scott/Build/apex-tux/target/release/deps/libfunty-a68e75b4ca1611bd.rlib" "/home/scott/Build/apex-tux/target/release/deps/libtinybmp-788b4ba6d9a3dd48.rlib" "/home/scott/Build/apex-tux/target/release/deps/libnom-1cdf5a28427f82cd.rlib" "/home/scott/Build/apex-tux/target/release/deps/liblinkme-a19e6c1fc2317e3a.rlib" "/home/scott/Build/apex-tux/target/release/deps/liblazy_static-dec50945cd3841f1.rlib" "/home/scott/Build/apex-tux/target/release/deps/libfutures-0616a1d0bbcc449a.rlib" "/home/scott/Build/apex-tux/target/release/deps/libfutures_executor-69ec7a02cf4b71d4.rlib" "/home/scott/Build/apex-tux/target/release/deps/libdbus_tokio-e4b329e176174468.rlib" "/home/scott/Build/apex-tux/target/release/deps/libtokio-32642a34fe0e041f.rlib" "/home/scott/Build/apex-tux/target/release/deps/libnum_cpus-13c1c9f8b2702817.rlib" "/home/scott/Build/apex-tux/target/release/deps/libsocket2-cf76d4e6f8aeef8e.rlib" "/home/scott/Build/apex-tux/target/release/deps/libbytes-30f15b55bd2982bb.rlib" "/home/scott/Build/apex-tux/target/release/deps/libmio-43e9b79b4c70dc9e.rlib" "/home/scott/Build/apex-tux/target/release/deps/libdbus-6fc88cf33b0af7dd.rlib" "/home/scott/Build/apex-tux/target/release/deps/libfutures_util-ade6c186fadae7a6.rlib" "/home/scott/Build/apex-tux/target/release/deps/libmemchr-b880da62b83caa91.rlib" "/home/scott/Build/apex-tux/target/release/deps/libfutures_io-a7be83963ad718fd.rlib" "/home/scott/Build/apex-tux/target/release/deps/libslab-1e9b190da2484318.rlib" "/home/scott/Build/apex-tux/target/release/deps/libfutures_channel-6ee70988f65823fb.rlib" "/home/scott/Build/apex-tux/target/release/deps/libfutures_sink-70385d4b6024fbb4.rlib" "/home/scott/Build/apex-tux/target/release/deps/libfutures_task-23cfef7b748d2bb4.rlib" "/home/scott/Build/apex-tux/target/release/deps/libpin_utils-202af3b165b3d697.rlib" "/home/scott/Build/apex-tux/target/release/deps/liblibdbus_sys-8b325af2a3651997.rlib" "/home/scott/Build/apex-tux/target/release/deps/liblibc-a22b86c4f3c1dbc6.rlib" "/home/scott/Build/apex-tux/target/release/deps/libasync_stream-2fd5bbda22fbc99d.rlib" "/home/scott/Build/apex-tux/target/release/deps/libpin_project_lite-919c6a70ea62ed97.rlib" "/home/scott/Build/apex-tux/target/release/deps/libfutures_core-76758638f70d7fce.rlib" "/home/scott/Build/apex-tux/target/release/deps/liblog-7f11cc535da32c95.rlib" "/home/scott/Build/apex-tux/target/release/deps/libanyhow-acc78a9896dcc406.rlib" "/home/scott/Build/apex-tux/target/release/deps/libembedded_graphics-fceea59ad5e26c57.rlib" "/home/scott/Build/apex-tux/target/release/deps/libbyteorder-8486069d67b1ae8f.rlib" "/home/scott/Build/apex-tux/target/release/deps/libfloat_cmp-69ee042af503a44b.rlib" "/home/scott/Build/apex-tux/target/release/deps/libnum_traits-ab2b6d56cdb4c1f8.rlib" "/home/scott/Build/apex-tux/target/release/deps/libmicromath-b0a4787cd54c8331.rlib" "/home/scott/Build/apex-tux/target/release/deps/libembedded_graphics_core-e6b572a6b950c822.rlib" "/home/scott/Build/apex-tux/target/release/deps/libaz-defacb77a93df661.rlib" "/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-6701759d8343e913.rlib" "/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-9ff13545d1688b3c.rlib" "/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-210d920812faea91.rlib" "/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-f3d3451767410a17.rlib" "/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-1a79dd36d08251de.rlib" "/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-886230e7120831b2.rlib" "/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-2caea079085a58a2.rlib" "/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-314a4689716cb02e.rlib" "/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-5727477b0a78105a.rlib" "/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-7e555563aa211118.rlib" "/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-d9ed943652059c0d.rlib" "/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-ee5b5774583426df.rlib" "/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-c3e1f40644ffc9b8.rlib" "/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-e8bfe52be756260a.rlib" "/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-7b90a2705bcf265b.rlib" "/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-b6892f3c52c68f01.rlib" "/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-f72b956e24d1de70.rlib" "/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-632ae0f28c5e55ff.rlib" "/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-e8b7e96e438f08f6.rlib" "-Wl,-Bdynamic" "-ldl" "-lssl" "-lcrypto" "-lusb-1.0" "-ldbus-1" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-B/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-B/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/home/scott/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/self-contained" "-o" "/home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-debug" "-nodefaultlibs"
 = note: rust-lld: error: undefined symbol: __start_linkme_CONTENT_PROVIDERS
         >>> referenced by apex_tux.a06de10c9e3ed716-cgu.07
         >>>               /home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c.apex_tux.a06de10c9e3ed716-cgu.07.rcgu.o:(apex_tux::main::_$u7b$$u7b$closure$u7d$$u7d$::h06c2f2d9224c4452 (.llvm.7694328141977491023))
         >>> referenced by apex_tux.a06de10c9e3ed716-cgu.04
         >>>               /home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c.apex_tux.a06de10c9e3ed716-cgu.04.rcgu.o:(tokio::runtime::context::runtime::enter_runtime::h08ee94cc4203b6c8)
         >>> referenced by apex_tux.a06de10c9e3ed716-cgu.11
         >>>               /home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c.apex_tux.a06de10c9e3ed716-cgu.11.rcgu.o:(apex_tux::main::_$u7b$$u7b$closure$u7d$$u7d$::h06c2f2d9224c4452 (.llvm.3772826250739152029))
         >>> the encapsulation symbol needs to be retained under --gc-sections properly; consider -z nostart-stop-gc (see https://lld.llvm.org/ELF/start-stop-gc)

         rust-lld: error: undefined symbol: __stop_linkme_CONTENT_PROVIDERS
         >>> referenced by apex_tux.a06de10c9e3ed716-cgu.07
         >>>               /home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c.apex_tux.a06de10c9e3ed716-cgu.07.rcgu.o:(apex_tux::main::_$u7b$$u7b$closure$u7d$$u7d$::h06c2f2d9224c4452 (.llvm.7694328141977491023))
         >>> referenced by apex_tux.a06de10c9e3ed716-cgu.04
         >>>               /home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c.apex_tux.a06de10c9e3ed716-cgu.04.rcgu.o:(tokio::runtime::context::runtime::enter_runtime::h08ee94cc4203b6c8)
         >>> referenced by apex_tux.a06de10c9e3ed716-cgu.11
         >>>               /home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c.apex_tux.a06de10c9e3ed716-cgu.11.rcgu.o:(apex_tux::main::_$u7b$$u7b$closure$u7d$$u7d$::h06c2f2d9224c4452 (.llvm.3772826250739152029))

         rust-lld: error: undefined symbol: __start_linkme_NOTIFICATION_PROVIDERS
         >>> referenced by apex_tux.a06de10c9e3ed716-cgu.07
         >>>               /home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c.apex_tux.a06de10c9e3ed716-cgu.07.rcgu.o:(apex_tux::main::_$u7b$$u7b$closure$u7d$$u7d$::h06c2f2d9224c4452 (.llvm.7694328141977491023))
         >>> referenced by apex_tux.a06de10c9e3ed716-cgu.04
         >>>               /home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c.apex_tux.a06de10c9e3ed716-cgu.04.rcgu.o:(tokio::runtime::context::runtime::enter_runtime::h08ee94cc4203b6c8)
         >>> referenced by apex_tux.a06de10c9e3ed716-cgu.11
         >>>               /home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c.apex_tux.a06de10c9e3ed716-cgu.11.rcgu.o:(apex_tux::main::_$u7b$$u7b$closure$u7d$$u7d$::h06c2f2d9224c4452 (.llvm.3772826250739152029))
         >>> the encapsulation symbol needs to be retained under --gc-sections properly; consider -z nostart-stop-gc (see https://lld.llvm.org/ELF/start-stop-gc)

         rust-lld: error: undefined symbol: __stop_linkme_NOTIFICATION_PROVIDERS
         >>> referenced by apex_tux.a06de10c9e3ed716-cgu.07
         >>>               /home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c.apex_tux.a06de10c9e3ed716-cgu.07.rcgu.o:(apex_tux::main::_$u7b$$u7b$closure$u7d$$u7d$::h06c2f2d9224c4452 (.llvm.7694328141977491023))
         >>> referenced by apex_tux.a06de10c9e3ed716-cgu.04
         >>>               /home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c.apex_tux.a06de10c9e3ed716-cgu.04.rcgu.o:(tokio::runtime::context::runtime::enter_runtime::h08ee94cc4203b6c8)
         >>> referenced by apex_tux.a06de10c9e3ed716-cgu.11
         >>>               /home/scott/Build/apex-tux/target/release/deps/apex_tux-7943fb7b8044f65c.apex_tux.a06de10c9e3ed716-cgu.11.rcgu.o:(apex_tux::main::_$u7b$$u7b$closure$u7d$$u7d$::h06c2f2d9224c4452 (.llvm.3772826250739152029))
         collect2: error: ld returned 1 exit status


warning: `apex-tux` (bin "apex-tux") generated 2 warnings
error: could not compile `apex-tux` (bin "apex-tux") due to 1 previous error; 2 warnings emitted

using rust nightly:

rustup show
Default host: x86_64-unknown-linux-gnu
rustup home:  /home/scott/.rustup

nightly-x86_64-unknown-linux-gnu (overridden by '/home/scott/Build/apex-tux/rust-toolchain.toml')
rustc 1.80.0-nightly (84b40fc90 2024-05-27)

Apex Pro Tkl Wireless

i tried to use your software on
TK Pro Wireless
with
Zorin ( Ubuntu fork )
kadir@kadir-GE76-Raider-11UH:~/repo/apex-tux$ sudo target/release/apex-tux
Error: No supported SteelSeries device found!

kadir@kadir-GE76-Raider-11UH:~/repo/apex-tux$ cat /etc/udev/rules.d/97-steelseries.rules
SUBSYSTEM=="input", GROUP="input", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1630", MODE="0666", GROUP="plugdev"
KERNEL=="hidraw*", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1630", MODE="0666", GROUP="plugdev"

kadir@kadir-GE76-Raider-11UH:~/repo/apex-tux$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 005: ID 1038:1122 SteelSeries ApS SteelSeries KLC
Bus 003 Device 004: ID 1038:1630 SteelSeries ApS Apex Pro TKL Wireless
Bus 003 Device 011: ID 1e0e:9001 Qualcomm / Option
Bus 003 Device 013: ID 1038:172b SteelSeries ApS SteelSeries Rival 650 Wireless
Bus 003 Device 008: ID 8087:0032 Intel Corp.
Bus 003 Device 007: ID 5986:1160 Acer, Inc Integrated Camera
Bus 003 Device 006: ID 1038:1134 SteelSeries ApS SteelSeries ALC
Bus 003 Device 002: ID 1038:1726 SteelSeries ApS SteelSeries Rival 650 Wireless
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Whats wrong ?

Delete the github release

The title says it all, moreover I think that the AUR is based on the release page, so I think you should either: update the release, or delete it entirely .

EDIT : after taking a look, no the AUR isn't based on that

Build fails: cannot find value `device` in this scope

Running

RUSTFLAGS="-C link-dead-code" cargo build --release --no-default-features --features dbus-support

results in it ending with an error "error[E0425]: cannot find value device in this scope":

Full log output

    Updating crates.io index
    Updating git repository `https://github.com/not-jan/gamesense`
     Locking 319 packages to latest compatible versions
      Adding addr2line v0.15.2 (latest: v0.24.0)
      Adding aho-corasick v0.7.15 (latest: v1.1.3)
      Adding arrayvec v0.5.2 (latest: v0.7.4)
      Adding autocfg v0.1.8 (latest: v1.3.0)
      Adding backtrace v0.3.59 (latest: v0.3.73)
      Adding base64 v0.13.1 (latest: v0.22.1)
      Adding base64 v0.21.7 (latest: v0.22.1)
      Adding bitflags v1.3.2 (latest: v2.6.0)
      Adding cfg-if v0.1.10 (latest: v1.0.0)
      Adding cfg_aliases v0.1.1 (latest: v0.2.1)
      Adding cloudabi v0.0.3 (latest: v0.1.0)
      Adding config v0.11.0 (latest: v0.14.0)
      Adding darling v0.13.4 (latest: v0.20.10)
      Adding darling_core v0.13.4 (latest: v0.20.10)
      Adding darling_macro v0.13.4 (latest: v0.20.10)
      Adding deflate v0.8.6 (latest: v1.0.0)
      Adding embedded-graphics v0.7.1 (latest: v0.8.1)
      Adding embedded-graphics-core v0.3.3 (latest: v0.4.0)
      Adding embedded-graphics-simulator v0.3.0 (latest: v0.6.0)
      Adding event-listener v2.5.3 (latest: v5.3.1)
      Adding float-cmp v0.8.0 (latest: v0.9.0)
      Adding foreign-types v0.3.2 (latest: v0.5.0)
      Adding foreign-types-shared v0.1.1 (latest: v0.3.1)
      Adding gif v0.11.4 (latest: v0.13.1)
      Adding gimli v0.24.0 (latest: v0.31.0)
      Adding global-hotkey v0.2.4 (latest: v0.5.4)
      Adding h2 v0.3.26 (latest: v0.4.5)
      Adding hermit-abi v0.3.9 (latest: v0.4.0)
      Adding hidapi v1.5.0 (latest: v2.6.1)
      Adding http v0.2.12 (latest: v1.1.0)
      Adding http-body v0.4.6 (latest: v1.0.1)
      Adding hyper v0.14.30 (latest: v1.4.1)
      Adding hyper-tls v0.5.0 (latest: v0.6.0)
      Adding idna v0.5.0 (latest: v1.0.2)
      Adding image v0.23.14 (latest: v0.25.1)
      Adding image v0.24.9 (latest: v0.25.1)
      Adding itertools v0.10.5 (latest: v0.13.0)
      Adding jpeg-decoder v0.1.22 (latest: v0.3.1)
      Adding keyboard-types v0.6.2 (latest: v0.7.0)
      Adding lexical-core v0.7.6 (latest: v0.8.5)
      Adding linkme v0.2.10 (latest: v0.3.27)
      Adding linkme-impl v0.2.10 (latest: v0.3.27)
      Adding linux-raw-sys v0.4.14 (latest: v0.6.4)
      Adding memchr v2.3.4 (latest: v2.7.4)
      Adding micromath v1.1.1 (latest: v2.1.0)
      Adding miniz_oxide v0.3.7 (latest: v0.7.4)
      Adding miniz_oxide v0.4.4 (latest: v0.7.4)
      Adding mio v0.8.11 (latest: v1.0.0)
      Adding nix v0.28.0 (latest: v0.29.0)
      Adding nom v5.1.3 (latest: v7.1.3)
      Adding nom v6.2.2 (latest: v7.1.3)
      Adding num v0.1.42 (latest: v0.4.3)
      Adding num-rational v0.3.2 (latest: v0.4.2)
      Adding num-traits v0.1.43 (latest: v0.2.19)
      Adding num_enum v0.5.11 (latest: v0.7.2)
      Adding num_enum_derive v0.5.11 (latest: v0.7.2)
      Adding object v0.24.0 (latest: v0.36.1)
      Adding png v0.16.8 (latest: v0.17.13)
      Adding proc-macro-crate v1.3.1 (latest: v3.1.0)
      Adding radium v0.7.0 (latest: v1.1.0)
      Adding rand v0.6.5 (latest: v0.8.5)
      Adding rand_chacha v0.1.1 (latest: v0.3.1)
      Adding rand_core v0.3.1 (latest: v0.6.4)
      Adding rand_core v0.4.2 (latest: v0.6.4)
      Adding rand_hc v0.1.0 (latest: v0.3.2)
      Adding rand_isaac v0.1.1 (latest: v0.3.0)
      Adding rand_jitter v0.1.4 (latest: v0.4.0)
      Adding rand_os v0.1.3 (latest: v0.2.2)
      Adding rand_pcg v0.1.2 (latest: v0.3.1)
      Adding rand_xorshift v0.1.1 (latest: v0.3.0)
      Adding rdrand v0.4.0 (latest: v0.8.3)
      Adding regex v1.4.6 (latest: v1.10.5)
      Adding regex-syntax v0.6.29 (latest: v0.8.4)
      Adding reqwest v0.11.27 (latest: v0.12.5)
      Adding rust-ini v0.13.0 (latest: v0.21.0)
      Adding rustls-pemfile v1.0.4 (latest: v2.1.2)
      Adding sdl2 v0.32.2 (latest: v0.37.0)
      Adding sdl2-sys v0.32.6 (latest: v0.37.0)
      Adding serde v0.8.23 (latest: v1.0.204)
      Adding serde_with v1.14.0 (latest: v3.9.0)
      Adding serde_with_macros v1.5.2 (latest: v3.9.0)
      Adding simplelog v0.10.2 (latest: v0.12.2)
      Adding strsim v0.10.0 (latest: v0.11.1)
      Adding syn v1.0.109 (latest: v2.0.71)
      Adding sync_wrapper v0.1.2 (latest: v1.0.1)
      Adding sysinfo v0.27.8 (latest: v0.30.13)
      Adding system-configuration v0.5.1 (latest: v0.6.0)
      Adding system-configuration-sys v0.5.0 (latest: v0.6.0)
      Adding termcolor v1.1.3 (latest: v1.4.1)
      Adding tiff v0.6.1 (latest: v0.9.1)
      Adding tinybmp v0.3.3 (latest: v0.6.0)
      Adding toml v0.5.11 (latest: v0.8.14)
      Adding toml_edit v0.19.12 (latest: v0.22.15)
      Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
      Adding windows v0.43.0 (latest: v0.58.0)
      Adding windows-core v0.52.0 (latest: v0.58.0)
      Adding windows-sys v0.48.0 (latest: v0.52.0)
      Adding windows-targets v0.48.5 (latest: v0.52.6)
      Adding windows_aarch64_gnullvm v0.42.2 (latest: v0.52.6)
      Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6)
      Adding windows_aarch64_msvc v0.42.2 (latest: v0.52.6)
      Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6)
      Adding windows_i686_gnu v0.42.2 (latest: v0.52.6)
      Adding windows_i686_gnu v0.48.5 (latest: v0.52.6)
      Adding windows_i686_msvc v0.42.2 (latest: v0.52.6)
      Adding windows_i686_msvc v0.48.5 (latest: v0.52.6)
      Adding windows_x86_64_gnu v0.42.2 (latest: v0.52.6)
      Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6)
      Adding windows_x86_64_gnullvm v0.42.2 (latest: v0.52.6)
      Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6)
      Adding windows_x86_64_msvc v0.42.2 (latest: v0.52.6)
      Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6)
      Adding winnow v0.4.7 (latest: v0.6.13)
      Adding winreg v0.50.0 (latest: v0.52.0)
      Adding wyz v0.5.1 (latest: v0.6.1)
   Compiling proc-macro2 v1.0.86
   Compiling autocfg v1.3.0
   Compiling unicode-ident v1.0.12
   Compiling memchr v2.3.4
   Compiling libc v0.2.155
   Compiling version_check v0.9.4
   Compiling pin-project-lite v0.2.14
   Compiling futures-core v0.3.30
   Compiling futures-sink v0.3.30
   Compiling syn v1.0.109
   Compiling az v1.2.1
   Compiling equivalent v1.0.1
   Compiling pkg-config v0.3.30
   Compiling futures-task v0.3.30
   Compiling hashbrown v0.14.5
   Compiling futures-io v0.3.30
   Compiling pin-utils v0.1.0
   Compiling serde v1.0.204
   Compiling toml_datetime v0.6.6
   Compiling cfg-if v1.0.0
   Compiling anyhow v1.0.86
   Compiling futures-channel v0.3.30
   Compiling winnow v0.4.7
   Compiling cfg_aliases v0.1.1
   Compiling once_cell v1.19.0
   Compiling ryu v1.0.18
   Compiling radium v0.7.0
   Compiling byteorder v1.5.0
   Compiling lexical-core v0.7.6
   Compiling nix v0.28.0
   Compiling arrayvec v0.5.2
   Compiling tap v1.0.1
   Compiling regex-syntax v0.6.29
   Compiling micromath v1.1.1
   Compiling static_assertions v1.1.0
   Compiling bitflags v1.3.2
   Compiling serde_json v1.0.120
   Compiling nom v6.2.2
   Compiling nom v5.1.3
   Compiling wyz v0.5.1
   Compiling num-traits v0.2.19
   Compiling slab v0.4.9
   Compiling aho-corasick v0.7.15
   Compiling option-ext v0.2.0
   Compiling event-listener v2.5.3
   Compiling linked-hash-map v0.5.6
   Compiling funty v2.0.0
   Compiling iana-time-zone v0.1.60
   Compiling serde v0.8.23
   Compiling bitflags v2.6.0
   Compiling libdbus-sys v0.2.5
   Compiling itoa v1.0.11
   Compiling lazy_static v1.5.0
   Compiling quote v1.0.36
   Compiling indexmap v2.2.6
   Compiling yaml-rust v0.4.5
   Compiling async-mutex v1.4.0
   Compiling apex-music v0.1.0 (/tmp/apex-tux/apex-music)
   Compiling syn v2.0.71
   Compiling bitvec v1.0.1
   Compiling rust-ini v0.13.0
   Compiling termcolor v1.1.3
   Compiling embedded-graphics-core v0.3.3
   Compiling log v0.4.22
   Compiling float-cmp v0.8.0
   Compiling num-traits v0.1.43
   Compiling chrono v0.4.38
   Compiling either v1.13.0
   Compiling socket2 v0.5.7
   Compiling toml_edit v0.19.12
   Compiling mio v0.8.11
   Compiling num_cpus v1.16.0
   Compiling regex v1.4.6
   Compiling embedded-graphics v0.7.1
   Compiling dirs-sys v0.4.1
   Compiling dirs v5.0.1
   Compiling toml v0.5.11
   Compiling simplelog v0.10.2
   Compiling serde-hjson v0.9.1
   Compiling itertools v0.10.5
   Compiling async-rwlock v1.3.0
   Compiling apex-input v0.1.0 (/tmp/apex-tux/apex-input)
   Compiling proc-macro-crate v1.3.1
   Compiling linkme-impl v0.2.10
   Compiling config v0.11.0
   Compiling ctrlc v3.4.4
   Compiling tinybmp v0.3.3
   Compiling linkme v0.2.10
   Compiling futures-macro v0.3.30
   Compiling tokio-macros v2.3.0
   Compiling num_enum_derive v0.5.11
   Compiling async-stream-impl v0.3.5
   Compiling futures-util v0.3.30
   Compiling tokio v1.38.0
   Compiling async-stream v0.3.5
   Compiling num_enum v0.5.11
   Compiling apex-hardware v0.1.0 (/tmp/apex-tux/apex-hardware)
   Compiling dbus v0.9.7
   Compiling futures-executor v0.3.30
   Compiling futures v0.3.30
   Compiling dbus-tokio v0.7.6
   Compiling apex-mpris2 v0.1.0 (/tmp/apex-tux/apex-mpris2)
warning: multiple methods are never used
  --> apex-mpris2/src/generated.rs:10:8
   |
9  | pub trait MediaPlayer2Player {
   |           ------------------ methods in this trait
10 |     fn next(&self) -> nonblock::MethodReply<()>;
   |        ^^^^
11 |     fn previous(&self) -> nonblock::MethodReply<()>;
   |        ^^^^^^^^
12 |     fn pause(&self) -> nonblock::MethodReply<()>;
   |        ^^^^^
13 |     fn play_pause(&self) -> nonblock::MethodReply<()>;
   |        ^^^^^^^^^^
14 |     fn stop(&self) -> nonblock::MethodReply<()>;
   |        ^^^^
15 |     fn play(&self) -> nonblock::MethodReply<()>;
   |        ^^^^
16 |     fn seek(&self, offset: i64) -> nonblock::MethodReply<()>;
   |        ^^^^
17 |     fn set_position(&self, track_id: dbus::Path, position: i64) -> nonblock::MethodReply<()>;
   |        ^^^^^^^^^^^^
18 |     fn open_uri(&self, uri: &str) -> nonblock::MethodReply<()>;
   |        ^^^^^^^^
19 |     fn playback_status(&self) -> nonblock::MethodReply<String>;
20 |     fn loop_status(&self) -> nonblock::MethodReply<String>;
   |        ^^^^^^^^^^^
21 |     fn set_loop_status(&self, value: String) -> nonblock::MethodReply<()>;
   |        ^^^^^^^^^^^^^^^
22 |     fn rate(&self) -> nonblock::MethodReply<f64>;
   |        ^^^^
23 |     fn set_rate(&self, value: f64) -> nonblock::MethodReply<()>;
   |        ^^^^^^^^
24 |     fn shuffle(&self) -> nonblock::MethodReply<bool>;
   |        ^^^^^^^
25 |     fn set_shuffle(&self, value: bool) -> nonblock::MethodReply<()>;
   |        ^^^^^^^^^^^
26 |     fn metadata(&self) -> nonblock::MethodReply<arg::PropMap>;
27 |     fn volume(&self) -> nonblock::MethodReply<f64>;
   |        ^^^^^^
28 |     fn set_volume(&self, value: f64) -> nonblock::MethodReply<()>;
   |        ^^^^^^^^^^
29 |     fn position(&self) -> nonblock::MethodReply<i64>;
30 |     fn minimum_rate(&self) -> nonblock::MethodReply<f64>;
   |        ^^^^^^^^^^^^
31 |     fn maximum_rate(&self) -> nonblock::MethodReply<f64>;
   |        ^^^^^^^^^^^^
32 |     fn can_go_next(&self) -> nonblock::MethodReply<bool>;
   |        ^^^^^^^^^^^
33 |     fn can_go_previous(&self) -> nonblock::MethodReply<bool>;
   |        ^^^^^^^^^^^^^^^
34 |     fn can_play(&self) -> nonblock::MethodReply<bool>;
   |        ^^^^^^^^
35 |     fn can_pause(&self) -> nonblock::MethodReply<bool>;
   |        ^^^^^^^^^
36 |     fn can_seek(&self) -> nonblock::MethodReply<bool>;
   |        ^^^^^^^^
37 |     fn can_control(&self) -> nonblock::MethodReply<bool>;
   |        ^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

warning: `apex-mpris2` (lib) generated 1 warning
   Compiling apex-tux v1.0.3 (/tmp/apex-tux)
error[E0425]: cannot find value `device` in this scope
  --> src/main.rs:95:5
   |
95 |     device.clear().await?;
   |     ^^^^^^ not found in this scope

error[E0425]: cannot find value `device` in this scope
  --> src/main.rs:97:40
   |
97 |     let mut scheduler = Scheduler::new(device);
   |                                        ^^^^^^ not found in this scope

warning: unused import: `anyhow::anyhow`
 --> src/providers/music.rs:3:5
  |
3 | use anyhow::anyhow;
  |     ^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

warning: this function depends on never type fallback being `()`
   --> src/dbus/notifications.rs:110:5
    |
110 |     fn stream<'this>(&'this mut self) -> Result<Self::NotificationStream<'this>> {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
    = note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
    = help: specify the types explicitly
note: in edition 2024, the requirement `!: ReadAll` will fail
   --> src/dbus/notifications.rs:139:18
    |
139 |                 .method_call(
    |                  ^^^^^^^^^^^
    = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default

warning: unused import: `apex_hardware::AsyncDevice`
  --> src/main.rs:52:5
   |
52 | use apex_hardware::AsyncDevice;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0425`.
warning: `apex-tux` (bin "apex-tux") generated 3 warnings
error: could not compile `apex-tux` (bin "apex-tux") due to 2 previous errors; 3 warnings emitted

Rustc version: rustc 1.81.0-nightly (24d2ac0b5 2024-07-15)

Running software as a service fails by core dumping

Hello,

Finally, with your help guys, I could make this run for my device (Apex PRO).

Now, I want this to run in the background as soon as I log in to my session(nice to close itself when there is no compatible device:?) ).

So, following the AUR package, which service file also does not work, I created the service file, moved binaries and settings to proper folders, and ran the service as follows:

sudo mkdir /etc/apex-tux && sudo cp settings.toml /etc/apex-tux/
sudo cp target/release/apex-tux /usr/bin
sudo nano /etc/systemd/system/apex-tux.service

The service is the following:

[Unit]
Description=Steelseries Apex OLED Support

[Service]
Type=simple
WorkingDirectory=/etc/apex-tux
ExecStart=/usr/bin/apex-tux

[Install]
WantedBy=default.target

Now, at starting it and checking the status, we will get the issue:

sudo systemctl start apex-tux
sudo systemctl status apex-tux                         ξ‚² βœ” ξ‚² 4s ο‰’ 
Γ— apex-tux.service - Steelseries Apex OLED Support
     Loaded: loaded (/etc/systemd/system/apex-tux.service; disabled; preset: disabled)
     Active: failed (Result: core-dump) since Tue 2023-06-13 20:09:40 +03; 2s ago
   Duration: 1.564s
    Process: 228275 ExecStart=/usr/bin/apex-tux (code=dumped, signal=SEGV)
   Main PID: 228275 (code=dumped, signal=SEGV)
        CPU: 128ms

Jun 13 20:09:38 luis-rogstrixg713qrg713qr systemd[1]: Started Steelseries Apex OLED Support.
Jun 13 20:09:40 luis-rogstrixg713qrg713qr systemd[1]: apex-tux.service: Main process exited, code=dumped, s>
Jun 13 20:09:40 luis-rogstrixg713qrg713qr systemd[1]: apex-tux.service: Failed with result 'core-dump'.
lines 1-11/11 (END)

When we execute this software stand-alone, it works fine, but executing it as a service fails.

Why? What can we do here?

Thank you

Error: hidapi error: hid_error is not implemented yet as non-root, root doesn't find spotify

When running the app as non-root, i get this error:
Error: hidapi error: hid_error is not implemented yet

So i tried running it with sudo which seems to work at least, but it doesn't find any media-players.
it just gets stuck at [INFO] Trying to connect to DBUS with player preference: Some("spotify")

I checked if it's running using d-feet, and it kind of is. but sadly not under the name mpris.spotify:

  • System-Bus:
    image

In the Session-Bus, it can be found under the correct name apparently, but still can't find the player. i suppose this is because apex-tux is ran as root, but what is the fix for the above error then?
image

Edit: I'm running Arch Linux with KDE Plasma if it matters.

Anyway to add gif/png?

Hey,
Love the project. Just comparing it to the steelseries engine, will there be support for gifs or images?

error[E0658]: `impl Trait` in associated types is unstable

I'm not sure if this issue is related to the tool itself, but I would like to report it:

   Compiling apex-music v0.1.0 (/home/luisalaguna/.cache/yay/apex-tux-git/src/apex-tux/apex-music)
error[E0658]: `impl Trait` in associated types is unstable
  --> apex-music/src/player.rs:74:31
   |
74 |     type MetadataFuture<'a> = impl Future<Output = Result<Self::Metadata>> + 'a
   |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
   = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable

error[E0658]: `impl Trait` in associated types is unstable
  --> apex-music/src/player.rs:77:27
   |
77 |     type NameFuture<'a> = impl Future<Output = String>
   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
   = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable

error[E0658]: `impl Trait` in associated types is unstable
  --> apex-music/src/player.rs:80:37
   |
80 |     type PlaybackStatusFuture<'a> = impl Future<Output = Result<PlaybackStatus>>
   |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
   = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable

error[E0658]: `impl Trait` in associated types is unstable
  --> apex-music/src/player.rs:83:31
   |
83 |     type PositionFuture<'a> = impl Future<Output = Result<i64>>
   |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
   = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable

error[E0658]: `impl Trait` in associated types is unstable
   --> apex-music/src/player.rs:135:30
    |
135 |     type ArtistsFuture<'a> = impl Future<Output = Result<String>> + 'a
    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
    = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable

error[E0658]: `impl Trait` in associated types is unstable
   --> apex-music/src/player.rs:138:29
    |
138 |     type LengthFuture<'a> = impl Future<Output = Result<u64>> + 'a
    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
    = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable

error[E0658]: `impl Trait` in associated types is unstable
   --> apex-music/src/player.rs:141:28
    |
141 |     type TitleFuture<'a> = impl Future<Output = Result<String>> + 'a
    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
    = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable

For more information about this error, try `rustc --explain E0658`.
error: could not compile `apex-music` (lib) due to 7 previous errors
warning: build failed, waiting for other jobs to finish...
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: apex-tux-git-exit status 4
checking dependencies...
:: kate optionally requires rust: Rust LSP support

Packages (1) rustup-1.26.0-3

Total Removed Size:  6.98 MiB

I'm installing this software on Manjaro Linux using yay which uses this repository.

β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   luisalaguna@luis-rogstrixg713qrg713qr 
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   ------------------------------------- 
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   OS: Manjaro Linux x86_64 
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Host: ROG Strix G713QR_G713QR 1.0 
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ            β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Kernel: 6.1.31-1-MANJARO 
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Uptime: 14 hours, 12 mins 
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Packages: 1451 (pacman) 
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Shell: bash 5.1.16 
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Resolution: 2560x1440, 3440x1440 
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   DE: Plasma 5.27.5 
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   WM: KWin 
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Theme: [Plasma], Colloid-Light [GTK2/3] 
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Icons: Qogir-manjaro [Plasma], Qogir-manjaro [GTK2/3] 
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Terminal: java 
                               CPU: AMD Ryzen 9 5900HX with Radeon Graphics (16) @ 3.300GHz 
                               GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series 
                               GPU: NVIDIA GeForce RTX 3070 Mobile / Max-Q 
                               Memory: 24842MiB / 31515MiB 

No player Found

As i try several music players, the LCD shows "No player found"

18:07:24 [INFO] register hotkey ALT+SHIFT+A
18:07:24 [INFO] register hotkey ALT+SHIFT+D
18:07:24 [INFO] Registering MPRIS2 display source.
18:07:24 [INFO] Registering Coindesk display source.
18:07:24 [INFO] Registering Clock display source.
18:07:24 [INFO] Registering DBUS notification source.
18:07:24 [INFO] Found 3 registered providers
18:07:24 [INFO] Trying to connect to DBUS with player preference: Some("Telegram")
18:07:24 [INFO] Trying to connect to DBUS with player preference: Some("Telegram")
^C18:11:26 [INFO] Ctrl + C received, shutting down!
thread 'tokio-runtime-worker' panicked at 'Lost connection to D-Bus: Read/write failed', src/dbus/notifications.rs:119:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'tokio-runtime-worker' panicked at 'Lost connection to D-Bus: Read/write failed', /home/nice/git/apex-tux/apex-mpris2/src/player.rs:56:13
18:11:26 [INFO] unregister hotkey ALT+SHIFT+A
18:11:26 [INFO] unregister hotkey ALT+SHIFT+D

Some tips to get this up and running with Ubuntu 20.04.4 LTS?

apex-tux was started as root and Telegram was the source defined in my settings.toml

thanks for your support, other functions works great

no `SyncLazy` in `lazy`

With cargo build --release i got this error

error[E0432]: unresolved import `std::lazy::SyncLazy`
  --> src/providers/coindesk.rs:23:29
   |
23 | use std::{convert::TryFrom, lazy::SyncLazy, time::Duration};
   |                             ^^^^^^^^^^^^^^ no `SyncLazy` in `lazy`

Un-conflict with OpenRGB?

While I have apex-tux enabled I can't control the RGB lighting on my keyboard via OpenRGB. Would there be some way to controll the OLED without blocking other software from interacting with it? Thanks.
(Also, on an unrelated note, is there any way to get the macro key working on linux? The only built in keyboard macros can only be assigned to a singular button which is kinda dumb)

Fails to build due to missing std feature on the windows crate

    Now there is another problem:

cargo build --release

" Updating crates.io index
Updating git repository https://github.com/not-jan/gamesense
error: failed to select a version for windows.
... required by package apex-windows v0.1.0 (/home/name/apex-tux/apex-windows)
versions that meet the requirements ^0.43 are: 0.43.0

the package apex-windows depends on windows, with features: std but windows does not have these features.

failed to select a version for windows which could resolve this conflict"

Originally posted by @lraty in #16 (comment)

Apex Pro TKL (2023) not working

Hiya,

I got a new Apex Pro TKL (2023), and apex-tux doesn't seem to work with it. I have added the correct id to the apex-hardware/src/usb.rs, and compiled it. I can see that it's being recognized since whenever I disconnect the keyboard the script exits with an error.

Here are some diagnostics to help debugging, I am on Ubuntu 23.10:

lsusb | grep "SteelSeries Apex"
Bus 005 Device 008: ID 1038:1628 SteelSeries ApS SteelSeries Apex Pro TKL 2023
cat /etc/udev/rules.d/97-steelseries.rules               

SUBSYSTEM=="input", GROUP="input", MODE="0666"

SUBSYSTEM=="usb", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1628", MODE="0666", GROUP="plugdev"
KERNEL=="hidraw*", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1628", MODE="0666", GROUP="plugdev

Hopefully this helps. If you need more info please reach out to me.

Doesn't compile!

"error: failed to select a version for the requirement funty = "~1.2"
candidate versions found which didn't match: 2.0.0, 1.1.0, 1.0.1, ...
location searched: crates.io index
required by package bitvec v0.22.3
... which satisfies dependency bitvec = "^0.22.3" of package apex-hardware v0.1.0 (/home/name/apex-tux/apex-hardware)
... which satisfies path dependency apex-hardware of package `apex-ctl v0.1.0 (/home/name/apex-tux/apex-ctl)"

I tried to compile by older nightly toolchain with same results. Can someone help?

Support for other currencies

Hello, thank you for this package, I will test it soon!

I am not fond of Bitcoin, I would like to use this for different currencies, like EUR or USD, how could we do it?

Thank you!

hid_error is not implemented yet

After successful build apex-tux current release 1.0.1 with rustc 1.64.0-nightly, i got the following error on execute binary

Error: hidapi error: hid_error is not implemented yet

Iam running Ubuntu 20.04.4 LTS

Change default option?

I'd like make the 24 hour clock be selected when started, is there any way to do this?

Unable to build

Hi,

I am trying to build this using nightly, but running into this issue- I am wondering if I have missed something, but I have run through all the steps multiple times and can't see what went wrong:

Compiling apex-mpris2 v0.1.0 (/home/andy/Downloads/apex-tux/apex-mpris2)
error[E0635]: unknown feature async_stream
--> apex-mpris2/src/lib.rs:1:61
|
1 | #![feature(generic_associated_types, type_alias_impl_trait, async_stream)]
| ^^^^^^^^^^^^

For more information about this error, try rustc --explain E0635.
error: could not compile apex-mpris2 due to previous error
warning: build failed, waiting for other jobs to finish...
error: build failed

Non-ASCII chars on oled screen

Non ASCII chars are displayed as ? on the oled screen.
Is it possible to show utf8 chars ? If not maybe map accentuated chars to ASCII (as is commonly done with url slugiffy functions) ?
Can you work on it ?

Unable to compile

Hello, thank you so much for your work.
I'm trying to compile but it fails.

error[E0658]: `impl Trait` in associated types is unstable
  --> apex-music/src/player.rs:74:31
   |
74 |     type MetadataFuture<'a> = impl Future<Output = Result<Self::Metadata>> + 'a
   |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
   = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable

error[E0658]: `impl Trait` in associated types is unstable
  --> apex-music/src/player.rs:77:27
   |
77 |     type NameFuture<'a> = impl Future<Output = String>
   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
   = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable

error[E0658]: `impl Trait` in associated types is unstable
  --> apex-music/src/player.rs:80:37
   |
80 |     type PlaybackStatusFuture<'a> = impl Future<Output = Result<PlaybackStatus>>
   |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
   = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable

error[E0658]: `impl Trait` in associated types is unstable
  --> apex-music/src/player.rs:83:31
   |
83 |     type PositionFuture<'a> = impl Future<Output = Result<i64>>
   |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
   = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable

error[E0658]: `impl Trait` in associated types is unstable
   --> apex-music/src/player.rs:135:30
    |
135 |     type ArtistsFuture<'a> = impl Future<Output = Result<String>> + 'a
    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
    = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable

error[E0658]: `impl Trait` in associated types is unstable
   --> apex-music/src/player.rs:138:29
    |
138 |     type LengthFuture<'a> = impl Future<Output = Result<u64>> + 'a
    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
    = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable

error[E0658]: `impl Trait` in associated types is unstable
   --> apex-music/src/player.rs:141:28
    |
141 |     type TitleFuture<'a> = impl Future<Output = Result<String>> + 'a
    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
    = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable

For more information about this error, try `rustc --explain E0658`.
error: could not compile `apex-music` (lib) due to 7 previous errors
warning: build failed, waiting for other jobs to finish...

Permission denied

The code from ToadKing to allow user usage don't works.
However this one from Frank Grimm works:

SUBSYSTEM=="input", GROUP="input", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1618", MODE="0666", GROUP="plugdev"
KERNEL=="hidraw*", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1618", MODE="0666", GROUP="plugdev"

SUBSYSTEM=="usb", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1612", MODE="0666", GROUP="plugdev"
KERNEL=="hidraw*", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1612", MODE="0666", GROUP="plugdev"

sudo cp 51-apex.rules /etc/udev/rules.d/51-apex.rules && sudo udevadm control --reload && sudo udevadm trigger

Gracefully handle "losing" keyboard

My Apex Pro is connected to a USB switcher which - once in a while - gets disrupted for a few seconds. After that the apex-tux tool stops and keeps the last info on the screen. If I restart it manually it works fine.

Would it be possible to have this tool handle this more gracefully, e.g. by retrying to reconnect until the keyboard is found again?

This can be reproduced by unplugging the keyboard while this tool is running.

Further burn-in prevention

It'd be pretty convenient to have a setting for automatically switching sources, and/or a setting to dim or even turn off the display if there is no keypress activity for a set amount of time.

Software get stuff trying to connect to DBUS when player preference is none

I'm testing this software with my Apex 7 and running it I get this issue:

 οŒ’ ξ‚°  ~/Projects/BuilderAI/b21ksharedservicesinr-294805-react-native ξ‚° οŠ–  bb_certifica…etManagement ?1   ξ‚° cd /etc/apex-tux                                                                                                          ξ‚² βœ” 
 οŒ’ ξ‚° ο€£ /etc/apex-tux ξ‚° sudo apex-tux                                                                                                                                                                                                   ξ‚² βœ” 
15:58:50 [INFO] Registering MPRIS2 display source.
15:58:50 [INFO] Registering Clock display source.
15:58:50 [INFO] Registering Coindesk display source.
15:58:50 [INFO] Registering Sysinfo display source.
15:58:50 [WARN] Couldn't find network interface `eth0`
15:58:50 [INFO] Instead, found those interfaces:
15:58:50 [INFO]         enp2s0
15:58:50 [INFO]         docker0
15:58:50 [INFO]         lo
15:58:50 [INFO]         wlp3s0
15:58:50 [WARN] Couldn't find sensor `hwmon0 CPU Temperature`
15:58:50 [INFO] Instead, found those sensors:
15:58:50 [INFO]         acpitz temp1: 49Β°C (max: 49Β°C / critical: 120Β°C)
15:58:50 [INFO]         amdgpu edge: 46Β°C (max: 46Β°C)
15:58:50 [INFO]         iwlwifi_1 temp1: 40Β°C (max: 40Β°C)
15:58:50 [INFO]         k10temp Tctl: 49Β°C (max: 49Β°C)
15:58:50 [INFO]         nvme Composite HFM001TD3JX013N temp1: 37.85Β°C (max: 37.85Β°C / critical: 84.85Β°C)
15:58:50 [INFO]         nvme Composite Samsung SSD 980 PRO 1TB temp1: 33.85Β°C (max: 33.85Β°C / critical: 84.85Β°C)
15:58:50 [INFO]         nvme Sensor 1 HFM001TD3JX013N temp2: 37.85Β°C (max: 37.85Β°C)
15:58:50 [INFO]         nvme Sensor 1 Samsung SSD 980 PRO 1TB temp2: 33.85Β°C (max: 33.85Β°C)
15:58:50 [INFO]         nvme Sensor 2 HFM001TD3JX013N temp3: 45.85Β°C (max: 45.85Β°C)
15:58:50 [INFO]         nvme Sensor 2 Samsung SSD 980 PRO 1TB temp3: 39.85Β°C (max: 39.85Β°C)
15:58:50 [INFO] Registering DBUS notification source.
15:58:50 [ERROR] Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
15:58:50 [INFO] Found 4 registered providers
15:58:50 [INFO] Trying to connect to DBUS with player preference: None
^C16:18:50 [INFO] Ctrl + C received, shutting down!

Is it the expected behavior?

I will test this with Firefox as the preferred player meanwhile.

Thank you

Issue with music display

Hi I'm having an issue with the music length, I'm using Spotpris2 and it seems to send the length of the music in a type that isn't in u64.

Because if I change every u64 in that commit back to i64, it works fine.

So maybe one fix could be to try to get the length in u64 and if that fails, then also try in i64?

Please note I have no experience in rust so my fix could be impossible to do.

Authorization required, but no authorization protocol specified - wayland using kde-authentication-agent

I have an Apex 5 board. I had the issue with rust-lld, added the RUSTFLAGS="-C link-dead-code" fix and it compiled.

I also ran into the Error: hidapi error: hid_error is not implemented yet error which is solved using sudo. Now I am getting this error: Authorization required, but no authorization protocol specified, I am using Arch and hyprland. I have polkit-kde-authentication-agent-1 running and it works for other programs requesting auth.

❯ sudo target/release/apex-tux
Authorization required, but no authorization protocol specified

zsh: segmentation fault  sudo target/release/apex-tux

Any ideas on how I can fix this?

Testing the Apex 7: No OLED Output, No Hotkeys

I didn't see this mentioned in other issues. I built the software from git on my Manjaro machine.

   Compiling apex-tux v1.0.3 (/home/thwright/Dev/apex-tux)
warning: unused import: `anyhow::anyhow`
 --> src/providers/music.rs:3:5
  |
3 | use anyhow::anyhow;
  |     ^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

warning: `apex-tux` (bin "apex-tux") generated 1 warning (run `cargo fix --bin "apex-tux"` to apply 1 suggestion)
    Finished release [optimized] target(s) in 47.25s

When attempting to run it, I get the following error:

./target/release/apex-tux 
Error: hidapi error: hid_error is not implemented yet

rustc version: rustc 1.71.0-nightly (18bfe5d8a 2023-05-14)

Is there further information I can supply? Is this a known issue, or are there suggestions for fixing this?

New keyboards, new product id ?

I went to take a look on steelseries' website and I saw that they released the apex 9 mini and apex 9 tkl.

I do not own them, therefore, if anyone has them, I'd like to ask what those keyboard's products ID are.

in case you do not know how to get a product ID, just open a terminal and run: lsusb | grep "SteelSeries Apex", this should return every SteelSeries Apex identified usb products.

For example, my apex 5 lists as :

Bus 005 Device 003: ID 1038:161c SteelSeries ApS SteelSeries Apex 5

(here 1038 is steelseries' hardware ID, we don't care about it, except if it is not 1038, what we care about is 161c, which is the apex 5 product ID)

How do you even go about configuring this?

Hi im on arch and have an apex pro 5 keyboard with the id of 1038:161c. I tried to follow your instructions for installing apex-tux through Udev and also tried the apex-tux-git aur package, im stuck on step 2 when it comes to "Enter the following data from here". What do you mean by here? this just links me to a python script where there is seemingly no spot to enter my keyboard's ID. I also looked at the issues section and have the same error about the settings file missing upon running apex-tux or sudo apex-tux. This whole thing feels poorly written and rather cryptic trying to understand even the converstations going on in the issues section. You guys keep reffering to a settings.toml file needing to be copied to the target /release folder or asking if they are in the current directory. What is the current directory? where is the target/release folder and why is this all so poorly explained and cryptic? this almost works just I need to get past the whole your settings.toml is missing.

Issue with the hotkey

Hi, I'm having an issue with hotkeys, if I have numlock is enabled, hotkeys doesn't works. I think this is linked to the issue described here, one fix would be to upgrade the library used to global-hotkey and rewrite the code a bit.

Error Installation

apex-music v0.1.0 (/var/tmp/pamac-build-alex/apex-tux-git/src/apex-tux/apex-music)
error[E0658]: impl Trait in associated types is unstable
--> apex-music/src/player.rs:74:31
|
74 | type MetadataFuture<'a> = impl Future<Output = ResultSelf::Metadata> + 'a
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #63063 rust-lang/rust#63063 for more information
= help: add #![feature(impl_trait_in_assoc_type)] to the crate attributes to enable

error[E0658]: impl Trait in associated types is unstable
--> apex-music/src/player.rs:77:27
|
77 | type NameFuture<'a> = impl Future<Output = String>
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #63063 rust-lang/rust#63063 for more information
= help: add #![feature(impl_trait_in_assoc_type)] to the crate attributes to enable

error[E0658]: impl Trait in associated types is unstable
--> apex-music/src/player.rs:80:37
|
80 | type PlaybackStatusFuture<'a> = impl Future<Output = Result>
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #63063 rust-lang/rust#63063 for more information
= help: add #![feature(impl_trait_in_assoc_type)] to the crate attributes to enable

error[E0658]: impl Trait in associated types is unstable
--> apex-music/src/player.rs:83:31
|
83 | type PositionFuture<'a> = impl Future<Output = Result>
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #63063 rust-lang/rust#63063 for more information
= help: add #![feature(impl_trait_in_assoc_type)] to the crate attributes to enable

error[E0658]: impl Trait in associated types is unstable
--> apex-music/src/player.rs:135:30
|
135 | type ArtistsFuture<'a> = impl Future<Output = Result> + 'a
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #63063 rust-lang/rust#63063 for more information
= help: add #![feature(impl_trait_in_assoc_type)] to the crate attributes to enable

error[E0658]: impl Trait in associated types is unstable
--> apex-music/src/player.rs:138:29
|
138 | type LengthFuture<'a> = impl Future<Output = Result> + 'a
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #63063 rust-lang/rust#63063 for more information
= help: add #![feature(impl_trait_in_assoc_type)] to the crate attributes to enable

error[E0658]: impl Trait in associated types is unstable
--> apex-music/src/player.rs:141:28
|
141 | type TitleFuture<'a> = impl Future<Output = Result> + 'a
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #63063 rust-lang/rust#63063 for more information
= help: add #![feature(impl_trait_in_assoc_type)] to the crate attributes to enable

For more information about this error, try rustc --explain E0658.
error: could not compile apex-music (lib) due to 7 previous errors
warning: build failed, waiting for other jobs to finish...
==> FEHLER: Ein Fehler geschah in build().
Breche ab...

[BUG] Last update on Linux breaks the binary

I implemented the script for getting this software working at login; last week it was working times, and failing another time; every time it was not working I ran it manually.

Today it is not working, so I tried to run it manually and I get this issue:

Error: hidapi error: hid_error is not implemented yet

What does this happen?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.