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
{{ message }}
This repository has been archived by the owner on May 4, 2023. It is now read-only.
Hello, I am wondering if this project is still active. If so, could you update the dependencies? I run into this error trying to compile the example.
error[E0308]: mismatched types
--> /home/stephen/.cargo/git/checkouts/parity-dc9825eb65b3adf1/00b209a/ethcore/src/engines/authority_round/mod.rs:711:71
|
711 | io.register_timer_once(ENGINE_TIMEOUT_TOKEN, Duration::from_millis(remaining))
| ^^^^^^^^^ expected u64, found u128
help: you can convert an `u128` to `u64` and panic if the converted value wouldn't fit
|
711 | io.register_timer_once(ENGINE_TIMEOUT_TOKEN, Duration::from_millis(remaining.try_into().unwrap()))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0308]: mismatched types
--> /home/stephen/.cargo/git/checkouts/parity-dc9825eb65b3adf1/00b209a/ethcore/src/engines/authority_round/mod.rs:727:72
|
727 | io.register_timer_once(ENGINE_TIMEOUT_TOKEN, Duration::from_millis(next_run_at))
| ^^^^^^^^^^^ expected u64, found u128
help: you can convert an `u128` to `u64` and panic if the converted value wouldn't fit
|
727 | io.register_timer_once(ENGINE_TIMEOUT_TOKEN, Duration::from_millis(next_run_at.try_into().unwrap()))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 2 previous errors
rustc 1.39.0 (4560ea788 2019-11-04)
Thank you!
The text was updated successfully, but these errors were encountered:
Hello, I am wondering if this project is still active. If so, could you update the dependencies? I run into this error trying to compile the example.
rustc 1.39.0 (4560ea788 2019-11-04)
Thank you!
The text was updated successfully, but these errors were encountered: