milvus cannot be compiled if cloned from github and run make
I understand that we're using Rust 1.73.0 for the compilation, but the outdated components start to be concerning...
Expected Behavior
everything compiles
Steps To Reproduce
* git clone https://github.com/milvus-io/milvus
* install prereqs
* install rust via `curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh`, as recommended. Rust 1.81.0 will be installed.
* run `make` in the root directory of milvus sources
The following error appears:
error[E0282]: type annotations needed for `Box<_>`
--> /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.34/src/format_description/parse/mod.rs:83:9
|
83 | let items = format_items
| ^^^^^
...
86 | Ok(items.into())
| ---- type must be known at this point
|
= note: this is an inference error on crate `time` caused by an API change in Rust 1.80.0; update `time` to version `>=0.3.35` by calling `cargo update`
error: could not compile `time` (lib) due to 1 previous error
Is there an existing issue for this?
Environment
Current Behavior
milvus cannot be compiled if cloned from github and run
make
I understand that we're using Rust 1.73.0 for the compilation, but the
outdated
components start to be concerning...Expected Behavior
everything compiles
Steps To Reproduce
and the compilation fails