-
Notifications
You must be signed in to change notification settings - Fork 314
Closed
filecoin-project/paired
#7Description
Various compile issues when installing fresh as seen below. This is due to the breaking change in zkcrypto/ff#14 which was published as [email protected]
We should pin all our dependencies that use ff to =0.5.0 to avoid this issue.
error[E0276]: impl has stricter requirements than trait
--> /home/finalitylabs/.cargo/registry/src/github.com-1ecc6299db9ec823/paired-0.16.0/src/bls12_381/fq.rs:473:10
|
473 | #[derive(PrimeField)]
| ^^^^^^^^^^ impl has extra requirement `R: std::marker::Sized`
error[E0276]: impl has stricter requirements than trait
--> /home/finalitylabs/.cargo/registry/src/github.com-1ecc6299db9ec823/paired-0.16.0/src/bls12_381/fq12.rs:44:5
|
44 | fn random<R: RngCore>(rng: &mut R) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `R: std::marker::Sized`
error[E0276]: impl has stricter requirements than trait
--> /home/finalitylabs/.cargo/registry/src/github.com-1ecc6299db9ec823/paired-0.16.0/src/bls12_381/fq2.rs:93:5
|
93 | fn random<R: RngCore>(rng: &mut R) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `R: std::marker::Sized`
error[E0276]: impl has stricter requirements than trait
--> /home/finalitylabs/.cargo/registry/src/github.com-1ecc6299db9ec823/paired-0.16.0/src/bls12_381/fq6.rs:104:5
|
104 | fn random<R: RngCore>(rng: &mut R) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `R: std::marker::Sized`
error[E0276]: impl has stricter requirements than trait
--> /home/finalitylabs/.cargo/registry/src/github.com-1ecc6299db9ec823/paired-0.16.0/src/bls12_381/fr.rs:3:10
|
3 | #[derive(PrimeField)]
| ^^^^^^^^^^ impl has extra requirement `R: std::marker::Sized`
Metadata
Metadata
Assignees
Labels
No labels