This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Errors during cargo build --release #7473
Labels
J2-unconfirmed
Issue might be valid, but it’s not yet known.
I am following exact same commands explained on https://substrate.dev/docs/en/tutorials/create-your-first-substrate-chain/setup
I am having below errors during "cargo build --release".
Error1:
error[E0282]: type annotations needed
/.cargo/registry/src/github.com-1ecc6299db9ec823/sp-arithmetic-2.0.0/src/fixed_point.rs:541:9
let accuracy = P::ACCURACY.saturated_into();
consider giving
accuracy
a type1595 | / implement_fixed!(
1596 | | FixedI64,
1597 | | test_fixed_i64,
1598 | | i64,
... |
1601 | | "Fixed Point 64 bits signed, range = [-9223372036.854775808, 9223372036.854775807]",
1602 | | );
| |__- in this macro invocation
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
Error2:
error[E0282]: type annotations needed
/.cargo/registry/src/github.com-1ecc6299db9ec823/sp-arithmetic-2.0.0/src/fixed_point.rs:541:9
let accuracy = P::ACCURACY.saturated_into();
consider giving
accuracy
a type... |
1611 | | [-170141183460469231731.687303715884105728, 170141183460469231731.687303715884105727]_",
1612 | | );
| |__- in this macro invocation
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
Error3:
error[E0282]: type annotations needed
/.cargo/registry/src/github.com-1ecc6299db9ec823/sp-arithmetic-2.0.0/src/fixed_point.rs:541:9
let accuracy = P::ACCURACY.saturated_into();
consider giving
accuracy
a type1614 | / implement_fixed!(
1615 | | FixedU128,
1616 | | test_fixed_u128,
1617 | | u128,
... |
1621 | | [0.000000000000000000, 340282366920938463463.374607431768211455]_",
1622 | | );
| |__- in this macro invocation
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to 3 previous errors
For more information about this error, try
rustc --explain E0282
.error: could not compile
sp-arithmetic
error: build failed
The text was updated successfully, but these errors were encountered: