yuvadm / somafm.rs

A Rust-based command line player for SomaFM radio
MIT License
0 stars 0 forks source link

Build fails on nightly #5

Open 6r1d opened 1 month ago

6r1d commented 1 month ago
> rustc --version
rustc 1.82.0-nightly (176e54520 2024-08-04)
> cargo --version
cargo 1.82.0-nightly (fa6465836 2024-08-02)
> uname -a
Linux tardigrade 6.9.7-artix1-1 #1 SMP PREEMPT_DYNAMIC Fri, 28 Jun 2024 18:11:28 +0000 x86_64 GNU/Linux
   Compiling stream-download v0.5.2
   Compiling rodio v0.18.1
   Compiling icy-metadata v0.1.2
   Compiling spinners v4.1.1
   Compiling somafm v0.5.1
error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled.
 --> ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/somafm-0.5.1/src/main.rs:9:1
  |
9 | #[tokio::main]
  | ^^^^^^^^^^^^^^
  |
  = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info)

error: could not compile `somafm` (bin "somafm") due to 1 previous error
error: failed to compile `somafm v0.5.1`, intermediate artifacts can be found at `/tmp/cargo-installkYlGmu`.
yuvadm commented 1 month ago

@6r1d thanks for testing this on nightly! Would you like to take a shot at a PR that resolves this?