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 Failure: Error while running OPI from version 0.4.1 or main #46

Open
tcrst opened this issue Aug 10, 2024 · 2 comments
Open

Build Failure: Error while running OPI from version 0.4.1 or main #46

tcrst opened this issue Aug 10, 2024 · 2 comments

Comments

@tcrst
Copy link

tcrst commented Aug 10, 2024

Hello, I'm encountering an issue while trying to run OPI from version 0.4.1 or the main branch. The problem arises during the build process when attempting to build ord. Specifically, I'm receiving the following error:

cd ord; cargo build --release; returns on 0.4.1 and main branches

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

For more information about this error, try `rustc --explain E0282`.
@layer1g
Copy link

layer1g commented Aug 12, 2024

Seems like an issue with the time package, try this for now:

cargo update -p time

It builds with time v0.3.36.

@tcrst
Copy link
Author

tcrst commented Sep 14, 2024

Thanks, it fixed the build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants