[Bug] unstable library feature in snarkvm-algorithms
#2021
Labels
bug
Incorrect or unexpected behavior
testnet3
unconfirmed
Issues that have not been reproduced or confirmed to be bugs
Uh oh!
There was an error while loading. Please reload this page.
🐛 Bug Report
When I execute run-client.sh, I face below error.
`error[E0658]: use of unstable library feature 'bool_to_option'
--> /root/.cargo/git/checkouts/snarkvm-f1160780ffe17de8/1f0f2c9/console/algorithms/src/blake2xs/hash_to_curve.rs:54:28
|
54 | (!g.is_zero()).then_some(g)
| ^^^^^^^^^
|
= note: see issue #80967 rust-lang/rust#80967 for more information
For more information about this error, try
rustc --explain E0658
.error: could not compile
snarkvm-console-algorithms
due to previous errorwarning: build failed, waiting for other jobs to finish...
error[E0658]: use of unstable library feature 'bool_to_option'
--> /root/.cargo/git/checkouts/snarkvm-f1160780ffe17de8/1f0f2c9/algorithms/src/snark/marlin/ahp/ahp.rs:53:16
|
53 | MM::ZK.then_some(1)
| ^^^^^^^^^
|
= note: see issue #80967 rust-lang/rust#80967 for more information
error[E0658]: use of unstable library feature 'bool_to_option'
--> /root/.cargo/git/checkouts/snarkvm-f1160780ffe17de8/1f0f2c9/algorithms/src/snark/marlin/ahp/prover/round_functions/first.rs:116:43
|
116 | state.mz_poly_randomizer = MM::ZK.then_some(r_b_s);
| ^^^^^^^^^
|
= note: see issue #80967 rust-lang/rust#80967 for more information
error[E0658]: use of unstable library feature 'bool_to_option'
--> /root/.cargo/git/checkouts/snarkvm-f1160780ffe17de8/1f0f2c9/algorithms/src/snark/marlin/data_structures/proof.rs:176:78
|
176 | let z_b_evals = map.iter().filter_map(|(k, v)| k.starts_with("z_b_").then_some(*v)).collect::<Vec<_>>();
| ^^^^^^^^^
|
= note: see issue #80967 rust-lang/rust#80967 for more information
error: could not compile
snarkvm-algorithms
due to 3 previous errors`
Steps to Reproduce
Expected Behavior
Staring phase 1 mining process.
Your Environment
The text was updated successfully, but these errors were encountered: