tap icon indicating copy to clipboard operation
tap copied to clipboard

Please update the 'time' crate

Open yurivict opened this issue 1 year ago • 2 comments

The current dependency suffers from this bug.

yurivict avatar Dec 15 '24 01:12 yurivict

Hi, thanks for the report.

Are you having an issue compiling tap? Could you include the error message?

tap has an indirect dependency on the time crate. The issue that you referenced appears to be fixed for time v0.3.36 upwards. Have you tried updating your rust installation (rustup update)? I can build the current tap release with rustc 1.85.0

timdubbins avatar Dec 30 '24 13:12 timdubbins

The latest revision of tap fails to compile:

error[E0282]: type annotations needed for `Box<_>`
  --> /usr/ports/multimedia/tap/work/tap-0.4.11-6-g8890444/cargo-crates/time-0.3.30/src/format_description/parse/mod.rs:83:9
   |
83 |     let items = format_items
   |         ^^^^^
...
86 |     Ok(items.into())
   |              ---- type must be known at this point
   |
   = note: this is an inference error on crate `time` caused by an API change in Rust 1.80.0; update `time` to version `>=0.3.35` by calling `cargo update`

It uses time-0.3.30

When I tried to just change the crate to time-0.3.37 - it failed due to some dependencies.

yurivict avatar Jan 01 '25 22:01 yurivict