Commit 063cd17
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>1 parent 60cfc45 commit 063cd17
2 files changed
Lines changed: 23 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
176 | 178 | | |
177 | 179 | | |
178 | 180 | | |
179 | | - | |
180 | | - | |
181 | | - | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
182 | 184 | | |
183 | 185 | | |
184 | 186 | | |
| |||
200 | 202 | | |
201 | 203 | | |
202 | 204 | | |
203 | | - | |
204 | | - | |
| 205 | + | |
| 206 | + | |
205 | 207 | | |
206 | 208 | | |
207 | 209 | | |
| |||
0 commit comments