GoXLR-on-Linux / goxlr-utility

An unofficial GoXLR App replacement for Linux, Windows and MacOS
MIT License
635 stars 36 forks source link

AUR Installation Error future returned by `spawn_http_server` is not `Send` #149

Closed ReptoxX closed 5 months ago

ReptoxX commented 5 months ago

When trying to update the utility to the newest version, it fails with the error message in the title.

error: future cannot be sent between threads safely
   --> daemon/src/main.rs:283:22
    |
283 |           tokio::spawn(spawn_http_server(
    |  ______________________^
284 | |             usb_tx.clone(),
285 | |             httpd_tx,
286 | |             broadcast_tx.clone(),
287 | |             http_settings.clone(),
288 | |             file_paths.clone(),
289 | |         ));
    | |_________^ future returned by `spawn_http_server` is not `Send`

I'm using yay for updating all apps/packages.

FrostyCoolSlug commented 5 months ago

Make sure you're running the latest version of rust (rustup update) should fix it.

ReptoxX commented 5 months ago

Oh thanks for the fast answer. Apparently it's a different update mechanism.