Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failed #4

Open
passer-byzhang opened this issue Aug 18, 2022 · 0 comments
Open

build failed #4

passer-byzhang opened this issue Aug 18, 2022 · 0 comments

Comments

@passer-byzhang
Copy link

passer-byzhang commented Aug 18, 2022

I'm trying to build this project by cargo build
Output is here

   Compiling serde_derive v1.0.136
   Compiling synstructure v0.12.6
   Compiling execute-command-macro-impl v0.1.6
   Compiling thiserror-impl v1.0.30
   Compiling fff_derive v0.3.0
   Compiling pairing v0.21.0
   Compiling fil_logger v0.1.3
error[E0404]: expected trait, found derive macro `Debug`
  --> /Users/idok/.cargo/registry/src/github.com-1ecc6299db9ec823/pairing-0.21.0/src/lib.rs:34:27
   |
34 |     type Fr: PrimeField + Debug;
   |                           ^^^^^ not a trait
   |
help: consider importing this trait instead
   |
20 | use core::fmt::Debug;
   |

For more information about this error, try `rustc --explain E0404`.
error: could not compile `pairing` due to previous error
warning: build failed, waiting for other jobs to finish...

environment:
cargo: 1.62.1
rustc: 1.62.1
os: MacOS BigSur 11.4

Which dependencies do I need to update ? Thank you !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant