I get errors when build the project, it sees something with the poly-commit
crate is wrong
$ cargo build
Compiling ppv-lite86 v0.2.10
Compiling rand_core v0.5.1
Compiling lazy_static v1.4.0
Compiling pin-project-lite v0.2.4
Compiling cfg-if v1.0.0
Compiling subtle v1.0.0
Compiling ahash v0.4.7
Compiling bench-utils v0.1.0 (https://github.com/arkworks-rs/utils#b37f1c8f)
Compiling byte-tools v0.3.1
Compiling opaque-debug v0.2.3
Compiling typenum v1.12.0
Compiling num-traits v0.2.14
Compiling tracing-core v0.1.17
Compiling zeroize v1.2.0
Compiling hashbrown v0.9.1
Compiling rand_chacha v0.2.2
Compiling tracing-subscriber v0.2.15
Compiling tracing v0.1.22
Compiling rand v0.7.3
Compiling generic-array v0.12.3
Compiling num-integer v0.1.44
Compiling digest v0.8.1
Compiling crypto-mac v0.7.0
Compiling ark-std v0.1.0 (https://github.com/arkworks-rs/utils#b37f1c8f)
Compiling blake2 v0.8.1
Compiling ark-serialize v0.1.0 (https://github.com/arkworks-rs/algebra#1ebaf957)
Compiling num-bigint v0.3.1
Compiling ark-ff-macros v0.1.0 (https://github.com/arkworks-rs/algebra#1ebaf957)
Compiling ark-ff v0.1.0 (https://github.com/arkworks-rs/algebra#1ebaf957)
Compiling ark-ec v0.1.0 (https://github.com/arkworks-rs/algebra#1ebaf957)
Compiling ark-relations v0.1.0 (https://github.com/arkworks-rs/snark#f3d9b35a)
Compiling ark-poly v0.1.0 (https://github.com/arkworks-rs/algebra#1ebaf957)
Compiling ark-snark v0.1.0 (https://github.com/arkworks-rs/snark#f3d9b35a)
Compiling ark-r1cs-std v0.1.0 (https://github.com/arkworks-rs/r1cs-std#d9e02004)
Compiling ark-bls12-381 v0.1.0 (https://github.com/arkworks-rs/curves#cd887218)
Compiling ark-ed-on-bls12-381 v0.1.0 (https://github.com/arkworks-rs/curves#cd887218)
Compiling ark-nonnative-field v0.0.4 (https://github.com/arkworks-rs/nonnative#759cb696)
Compiling ark-mnt4-298 v0.1.0 (https://github.com/arkworks-rs/curves#cd887218)
Compiling ark-mnt6-298 v0.1.0 (https://github.com/arkworks-rs/curves#cd887218)
Compiling ark-ed-on-mnt4-298 v0.1.0 (https://github.com/arkworks-rs/curves#cd887218)
Compiling ark-crypto-primitives v0.1.0 (https://github.com/arkworks-rs/crypto-primitives?branch=main#fde39ab7)
Compiling ark-poly-commit v0.1.0 (https://github.com/arkworks-rs/poly-commit?branch=constraints#a005c2d0)
error[E0432]: unresolved import crate::PrepareVar
--> /Users/ton/.cargo/git/checkouts/poly-commit-b5b028659d8ad793/a005c2d/src/marlin_pc/constraints.rs:9:61
|
9 | BTreeMap, BTreeSet, BatchLCProof, LinearCombinationVar, PrepareVar, String, ToString, Vec,
| ^^^^^^^^^^ no PrepareVar
in the root
error[E0433]: failed to resolve: use of undeclared crate or module tracing
--> /Users/ton/.cargo/git/checkouts/poly-commit-b5b028659d8ad793/a005c2d/src/marlin_pc/constraints.rs:66:7
|
66 | #[tracing::instrument(target = "r1cs", skip(self, cs))]
| ^^^^^^^ use of undeclared crate or module tracing
error[E0433]: failed to resolve: use of undeclared crate or module tracing
--> /Users/ton/.cargo/git/checkouts/poly-commit-b5b028659d8ad793/a005c2d/src/marlin_pc/constraints.rs:173:7
|
173 | #[tracing::instrument(target = "r1cs", skip(cs, val))]
| ^^^^^^^ use of undeclared crate or module tracing
error[E0433]: failed to resolve: use of undeclared crate or module tracing
--> /Users/ton/.cargo/git/checkouts/poly-commit-b5b028659d8ad793/a005c2d/src/marlin_pc/constraints.rs:243:7
|
243 | #[tracing::instrument(target = "r1cs", skip(self))]
| ^^^^^^^ use of undeclared crate or module tracing
error[E0433]: failed to resolve: use of undeclared crate or module tracing
--> /Users/ton/.cargo/git/checkouts/poly-commit-b5b028659d8ad793/a005c2d/src/marlin_pc/constraints.rs:279:7
|
279 | #[tracing::instrument(target = "r1cs", skip(self))]
| ^^^^^^^ use of undeclared crate or module tracing
error[E0433]: failed to resolve: use of undeclared crate or module tracing
--> /Users/ton/.cargo/git/checkouts/poly-commit-b5b028659d8ad793/a005c2d/src/marlin_pc/constraints.rs:410:7
|
410 | #[tracing::instrument(target = "r1cs", skip(unprepared))]
| ^^^^^^^ use of undeclared crate or module tracing
error[E0433]: failed to resolve: use of undeclared crate or module tracing
--> /Users/ton/.cargo/git/checkouts/poly-commit-b5b028659d8ad793/a005c2d/src/marlin_pc/constraints.rs:494:7
|
494 | #[tracing::instrument(target = "r1cs", skip(cs, f))]
| ^^^^^^^ use of undeclared crate or module tracing
error[E0433]: failed to resolve: use of undeclared crate or module tracing
--> /Users/ton/.cargo/git/checkouts/poly-commit-b5b028659d8ad793/a005c2d/src/marlin_pc/constraints.rs:631:7
|
631 | #[tracing::instrument(target = "r1cs", skip(cs, value_gen))]
| ^^^^^^^ use of undeclared crate or module tracing
error[E0433]: failed to resolve: use of undeclared crate or module tracing
--> /Users/ton/.cargo/git/checkouts/poly-commit-b5b028659d8ad793/a005c2d/src/marlin_pc/constraints.rs:676:7
|
676 | #[tracing::instrument(target = "r1cs", skip(self))]
| ^^^^^^^ use of undeclared crate or module tracing
error[E0433]: failed to resolve: use of undeclared crate or module tracing
--> /Users/ton/.cargo/git/checkouts/poly-commit-b5b028659d8ad793/a005c2d/src/marlin_pc/constraints.rs:705:7
|
705 | #[tracing::instrument(target = "r1cs", skip(self))]
| ^^^^^^^ use of undeclared crate or module tracing
error[E0433]: failed to resolve: use of undeclared crate or module tracing
--> /Users/ton/.cargo/git/checkouts/poly-commit-b5b028659d8ad793/a005c2d/src/marlin_pc/constraints.rs:766:7
|
766 | #[tracing::instrument(target = "r1cs", skip(unprepared))]
| ^^^^^^^ use of undeclared crate or module tracing
error[E0433]: failed to resolve: use of undeclared crate or module tracing
--> /Users/ton/.cargo/git/checkouts/poly-commit-b5b028659d8ad793/a005c2d/src/marlin_pc/constraints.rs:783:7
|
783 | #[tracing::instrument(target = "r1cs", skip(unprepared))]
| ^^^^^^^ use of undeclared crate or module tracing
error[E0433]: failed to resolve: use of undeclared crate or module tracing
--> /Users/ton/.cargo/git/checkouts/poly-commit-b5b028659d8ad793/a005c2d/src/marlin_pc/constraints.rs:813:7
|
813 | #[tracing::instrument(target = "r1cs", skip(cs, f))]
| ^^^^^^^ use of undeclared crate or module tracing
error[E0433]: failed to resolve: use of undeclared crate or module tracing
--> /Users/ton/.cargo/git/checkouts/poly-commit-b5b028659d8ad793/a005c2d/src/marlin_pc/constraints.rs:922:7
|
922 | #[tracing::instrument(target = "r1cs", skip(cs, value_gen))]
| ^^^^^^^ use of undeclared crate or module tracing
error[E0433]: failed to resolve: use of undeclared crate or module tracing
--> /Users/ton/.cargo/git/checkouts/poly-commit-b5b028659d8ad793/a005c2d/src/marlin_pc/constraints.rs:1022:7
|
1022 | #[tracing::instrument(target = "r1cs", skip(unprepared))]
| ^^^^^^^ use of undeclared crate or module tracing
error[E0433]: failed to resolve: use of undeclared crate or module tracing
--> /Users/ton/.cargo/git/checkouts/poly-commit-b5b028659d8ad793/a005c2d/src/marlin_pc/constraints.rs:1086:7
|
1086 | #[tracing::instrument(target = "r1cs", skip(cs, value_gen))]
| ^^^^^^^ use of undeclared crate or module tracing
error[E0433]: failed to resolve: use of undeclared crate or module tracing
--> /Users/ton/.cargo/git/checkouts/poly-commit-b5b028659d8ad793/a005c2d/src/marlin_pc/constraints.rs:1180:7
|
1180 | #[tracing::instrument(target = "r1cs", skip(cs, value_gen))]
| ^^^^^^^ use of undeclared crate or module tracing
error[E0433]: failed to resolve: use of undeclared crate or module tracing
--> /Users/ton/.cargo/git/checkouts/poly-commit-b5b028659d8ad793/a005c2d/src/marlin_pc/constraints.rs:1290:7
|
1290 | #[tracing::instrument(
| ^^^^^^^ use of undeclared crate or module tracing
error[E0433]: failed to resolve: use of undeclared crate or module tracing
--> /Users/ton/.cargo/git/checkouts/poly-commit-b5b028659d8ad793/a005c2d/src/marlin_pc/constraints.rs:1655:7
|
1655 | #[tracing::instrument(
| ^^^^^^^ use of undeclared crate or module tracing
error[E0433]: failed to resolve: use of undeclared crate or module tracing
--> /Users/ton/.cargo/git/checkouts/poly-commit-b5b028659d8ad793/a005c2d/src/marlin_pc/constraints.rs:1848:7
|
1848 | #[tracing::instrument(
| ^^^^^^^ use of undeclared crate or module tracing
error[E0407]: method create_labeled_commitment_gadget
is not a member of trait PCCheckVar
--> /Users/ton/.cargo/git/checkouts/poly-commit-b5b028659d8ad793/a005c2d/src/marlin_pc/constraints.rs:1956:5
|
1956 | / fn create_labeled_commitment_gadget(
1957 | | label: String,
1958 | | commitment: Self::CommitmentVar,
1959 | | degree_bound: Option<FpVar<<CycleE::E1 as PairingEngine>::Fr>>,
... |
1965 | | }
1966 | | }
| |_____^ not a member of trait PCCheckVar
error[E0407]: method create_prepared_labeled_commitment_gadget
is not a member of trait PCCheckVar
--> /Users/ton/.cargo/git/checkouts/poly-commit-b5b028659d8ad793/a005c2d/src/marlin_pc/constraints.rs:1968:5
|
1968 | / fn create_prepared_labeled_commitment_gadget(
1969 | | label: String,
1970 | | prepared_commitment: Self::PreparedCommitmentVar,
1971 | | degree_bound: Option<FpVar<<CycleE::E1 as PairingEngine>::Fr>>,
... |
1977 | | }
1978 | | }
| |_____^ not a member of trait PCCheckVar
error: aborting due to 22 previous errors