Spotifyd / spotifyd

A spotify daemon
https://spotifyd.rs
GNU General Public License v3.0
9.91k stars 452 forks source link

rust 1.80.0 build issue #1295

Closed chenrui333 closed 3 months ago

chenrui333 commented 4 months ago

seeing some build failure as

error[E0282]: type annotations needed for `Box<_>`
  --> /Users/brew/Library/Caches/Homebrew/cargo_cache/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.20/src/format_description/parse/mod.rs:83:9
   |
83 |     let items = format_items
   |         ^^^^^
...
86 |     Ok(items.into())
   |              ---- type must be known at this point
   |
help: consider giving `items` an explicit type, where the placeholders `_` are specified
   |
83 |     let items: Box<_> = format_items
   |              ++++++++

see https://github.com/time-rs/time/issues/693

voidrt commented 3 months ago

Any updates on this one? Got no way of installing it at this time :c

spattinson commented 3 months ago

The above pull request fixes the issue for me