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

Update 'time' in Cargo.lock to resovle build error #92

Merged
merged 3 commits into from
Sep 10, 2024
Merged

Conversation

jsdw
Copy link
Contributor

@jsdw jsdw commented Aug 12, 2024

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!

@jsdw jsdw marked this pull request as draft August 12, 2024 13:31
@jsdw jsdw marked this pull request as ready for review August 12, 2024 13:36
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
@ggwpez ggwpez merged commit 063cd17 into main Sep 10, 2024
5 checks passed
@ggwpez ggwpez deleted the jsdw-update-time branch September 10, 2024 17:00
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

Successfully merging this pull request may close these issues.

2 participants