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

Build failed with rust 1.80 #385

Closed
alienzj opened this issue Aug 27, 2024 · 1 comment
Closed

Build failed with rust 1.80 #385

alienzj opened this issue Aug 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@alienzj
Copy link

alienzj commented Aug 27, 2024

Describe the bug

   Compiling ppv-lite86 v0.2.17
   Compiling futures-task v0.3.28
   Compiling httparse v1.8.0
error[E0282]: type annotations needed for `Box<_>`
  --> /build/rathole-0.5.0-vendor.tar.gz/time/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
   |              ++++++++

   Compiling platforms v3.1.2
   Compiling polyval v0.5.3

To Reproduce
Steps to reproduce the behavior:

git clone https://github.com/rapiz1/rathole
cd rathole
cargo build

Configuration
Configuration used to reproduce the behavior:

Logs

Environment:

  • OS: NixOS
  • rathole --version output:
  • CPU architecture: x86_64
  • rustc version: 1.80
@alienzj alienzj added the bug Something isn't working label Aug 27, 2024
@alienzj
Copy link
Author

alienzj commented Aug 27, 2024

NixOS/nixpkgs#337095

Fixed.

@alienzj alienzj closed this as completed Aug 27, 2024
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

1 participant