[GH-ISSUE #107] The latest published release fails to build with Rust > 1.79 #33

Closed
opened 2026-03-14 12:28:03 +03:00 by kerem · 5 comments
Owner

Originally created by @0323pin on GitHub (Oct 14, 2024).
Original GitHub issue: https://github.com/aome510/hackernews-TUI/issues/107

Hi,

FYI, see title.
This is because the time crate fails with:

error[E0282]: type annotations needed for `Box<_>`
  --> /pbulk/work/devel/cargo-outdated/work/vendor/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
   |
help: consider giving `items` an explicit type, where the placeholders `_` are specified
   |
83 |     let items: Box<_> = format_items
   |              ++++++++

The solution is to update time to 0.3.36 and cut a new release.

Originally created by @0323pin on GitHub (Oct 14, 2024). Original GitHub issue: https://github.com/aome510/hackernews-TUI/issues/107 Hi, FYI, see title. This is because the time crate fails with: ``` error[E0282]: type annotations needed for `Box<_>` --> /pbulk/work/devel/cargo-outdated/work/vendor/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 | help: consider giving `items` an explicit type, where the placeholders `_` are specified | 83 | let items: Box<_> = format_items | ++++++++ ``` The solution is to update time to 0.3.36 and cut a new release.
kerem closed this issue 2026-03-14 12:28:08 +03:00
Author
Owner

@aome510 commented on GitHub (Oct 15, 2024):

Hi @0323pin, thanks for letting me know. It's been a while since the last update. I'll try to see if I can release a new release with dependencies upgraded this week.

<!-- gh-comment-id:2414213107 --> @aome510 commented on GitHub (Oct 15, 2024): Hi @0323pin, thanks for letting me know. It's been a while since the last update. I'll try to see if I can release a new release with dependencies upgraded this week.
Author
Owner

@0323pin commented on GitHub (Oct 15, 2024):

That would be awesome, thanks.

<!-- gh-comment-id:2414386821 --> @0323pin commented on GitHub (Oct 15, 2024): That would be awesome, thanks.
Author
Owner

@aome510 commented on GitHub (Oct 22, 2024):

Just published a new release: https://github.com/aome510/hackernews-TUI/releases/tag/v0.13.5

<!-- gh-comment-id:2427961848 --> @aome510 commented on GitHub (Oct 22, 2024): Just published a new release: https://github.com/aome510/hackernews-TUI/releases/tag/v0.13.5
Author
Owner

@0323pin commented on GitHub (Oct 22, 2024):

@aome510 thank you!

<!-- gh-comment-id:2428114646 --> @0323pin commented on GitHub (Oct 22, 2024): @aome510 thank you!
Author
Owner

@0323pin commented on GitHub (Oct 22, 2024):

Merged

<!-- gh-comment-id:2428177090 --> @0323pin commented on GitHub (Oct 22, 2024): [Merged](http://mail-index.netbsd.org/pkgsrc-changes/2024/10/22/msg309269.html)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hackernews-TUI#33
No description provided.