Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update 'time' in Cargo.lock to resovle build error (#92)
I tried to run this tool using the command in the docs (https://paritytech.github.io/try-runtime-cli/try_runtime/#installation) and ran into: ``` Compiling tokio-stream v0.1.14 Compiling inout v0.1.3 Compiling polkavm-assembler v0.9.0 Compiling polkavm-common v0.9.0 Compiling hex-literal v0.4.1 Compiling prometheus v0.13.3 Compiling heck v0.5.0 Compiling time v0.3.31 Compiling hyper v0.14.28 Compiling polkavm v0.9.3 Compiling cipher v0.4.4 Compiling prost v0.12.4 Compiling prost-derive v0.11.9 error[E0282]: type annotations needed for `Box<_>` --> /Users/jameswilson/.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 | ++++++++ Compiling wasm-instrument v0.4.0 For more information about this error, try `rustc --explain E0282`. ``` Doing a global `cargo update` led to an inability to resolve dependencies, but `cargo update time` specifically seems to resovle the build issue for me! --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
- Loading branch information