Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rust 1.80.0 build error #380

Open
lancethepants opened this issue Jul 30, 2024 · 1 comment
Open

rust 1.80.0 build error #380

lancethepants opened this issue Jul 30, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@lancethepants
Copy link

Describe the bug

When building with rust 1.80.0 I receive this error.

cargo build --release

error[E0282]: type annotations needed for `Box<_>`
  --> /mmc/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.29/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
   |              ++++++++

To Reproduce
Steps to reproduce the behavior:

  1. rust 1.80.0
  2. cargo build -release

Configuration
cargo build --release

Environment:

  • OS: custom
  • rathole --version output:
Build Version:       0.5.0
Commit SHA:          Some("ebb764ae53d7ffe4fcb45f83f7563bec5c74199d")
Commit Date:         Some("2023-10-01T09:55:18Z")
Commit Branch:       Some("detached HEAD")
cargo Target Triple: x86_64-unknown-linux-musl
cargo Profile:       release
cargo Features:      base64,client,default,futures_core,futures_sink,hot_reload,noise,notify,server,snowstorm,tls,tokio_native_tls,tokio_tungstenite,tokio_util,websocket
  • CPU architecture: x86_64
  • rustc version: 1.80.0

If I do cargo update, then it compiles without issue

@lancethepants lancethepants added the bug Something isn't working label Jul 30, 2024
@sunmy2019
Copy link
Contributor

sunmy2019 commented Aug 2, 2024

time crate needs a bump from 0.3.34 to 0.3.36.

rust-lang/rust#124736


Already done in the trunk, waiting for the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants