You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While attempting to compile the Sui project from the testnet branch, I encountered a type annotation error in the time crate. This error prevents successful compilation of the project.
error[E0282]: type annotations needed for`Box<_>`
--> /home/nova/.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
| ++++++++
Steps to Reproduce
Update Rust to the latest version using rustup update.
run this cargo install --locked --git https://github.com/MystenLabs/sui.git --branch testnet sui
time-0.31.1 version
The text was updated successfully, but these errors were encountered:
Description:
While attempting to compile the Sui project from the testnet branch, I encountered a type annotation error in the time crate. This error prevents successful compilation of the project.
Steps to Reproduce
rustup update
.cargo install --locked --git https://github.com/MystenLabs/sui.git --branch testnet sui
The text was updated successfully, but these errors were encountered: