[INFO] fetching crate sn_curv 0.10.1... [INFO] building sn_curv-0.10.1 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate sn_curv 0.10.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate sn_curv 0.10.1 [INFO] finished tweaking crates.io crate sn_curv 0.10.1 [INFO] tweaked toml for crates.io crate sn_curv 0.10.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sn_curv 0.10.1 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sn_curv 0.10.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded block-buffer v0.9.0 [INFO] [stderr] Downloaded opaque-debug v0.3.1 [INFO] [stderr] Downloaded digest v0.9.0 [INFO] [stderr] Downloaded typenum v1.17.0 [INFO] [stderr] Downloaded cpufeatures v0.2.12 [INFO] [stderr] Downloaded keccak v0.1.5 [INFO] [stderr] Downloaded unicode-xid v0.1.0 [INFO] [stderr] Downloaded ff v0.12.1 [INFO] [stderr] Downloaded base64ct v1.6.0 [INFO] [stderr] Downloaded secp256k1 v0.20.3 [INFO] [stderr] Downloaded proptest v0.10.1 [INFO] [stderr] Downloaded spki v0.6.0 [INFO] [stderr] Downloaded block-padding v0.2.1 [INFO] [stderr] Downloaded sha3 v0.9.1 [INFO] [stderr] Downloaded sha2 v0.10.8 [INFO] [stderr] Downloaded elliptic-curve v0.12.3 [INFO] [stderr] Downloaded crypto-mac v0.8.0 [INFO] [stderr] Downloaded blake2 v0.9.2 [INFO] [stderr] Downloaded hmac v0.11.0 [INFO] [stderr] Downloaded merkle-cbt v0.3.2 [INFO] [stderr] Downloaded num-bigint v0.4.4 [INFO] [stderr] Downloaded crypto-mac v0.11.1 [INFO] [stderr] Downloaded rfc6979 v0.3.1 [INFO] [stderr] Downloaded der v0.6.1 [INFO] [stderr] Downloaded syn v0.15.44 [INFO] [stderr] Downloaded serde_bytes v0.11.14 [INFO] [stderr] Downloaded ff_derive-zeroize v0.6.2 [INFO] [stderr] Downloaded pairing-plus v0.19.0 [INFO] [stderr] Downloaded signature v1.6.4 [INFO] [stderr] Downloaded proptest-derive v0.2.0 [INFO] [stderr] Downloaded rand_chacha v0.2.2 [INFO] [stderr] Downloaded rand_hc v0.2.0 [INFO] [stderr] Downloaded p256 v0.11.1 [INFO] [stderr] Downloaded rand v0.4.6 [INFO] [stderr] Downloaded serde_test v1.0.176 [INFO] [stderr] Downloaded const-oid v0.9.6 [INFO] [stderr] Downloaded quote v0.6.13 [INFO] [stderr] Downloaded getrandom v0.1.16 [INFO] [stderr] Downloaded rand v0.7.3 [INFO] [stderr] Downloaded secp256k1-sys v0.4.2 [INFO] [stderr] Downloaded sha2 v0.8.2 [INFO] [stderr] Downloaded ecdsa v0.14.8 [INFO] [stderr] Downloaded group v0.12.1 [INFO] [stderr] Downloaded num-bigint v0.2.6 [INFO] [stderr] Downloaded crypto-bigint v0.4.9 [INFO] [stderr] Downloaded rand_xorshift v0.2.0 [INFO] [stderr] Downloaded base16ct v0.1.1 [INFO] [stderr] Downloaded pkcs8 v0.9.0 [INFO] [stderr] Downloaded sec1 v0.3.0 [INFO] [stderr] Downloaded subtle v2.4.1 [INFO] [stderr] Downloaded ff-zeroize v0.6.3 [INFO] [stderr] Downloaded proc-macro2 v0.4.30 [INFO] [stderr] Downloaded rust-gmp-kzen v0.5.1 [INFO] [stderr] Downloaded curve25519-dalek v3.2.0 [INFO] [stderr] Downloaded sha2 v0.9.9 [INFO] [stderr] Downloaded wait-timeout v0.2.0 [INFO] [stderr] Downloaded wasi v0.9.0+wasi-snapshot-preview1 [INFO] [stderr] Downloaded rand_core v0.5.1 [INFO] [stderr] Downloaded zeroize v1.7.0 [INFO] [stderr] Downloaded zeroize_derive v1.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e66392d33ef2bcde98d9b7b940f4c19b7efb9b388fee6f75939f70ab1b6dae93 [INFO] running `Command { std: "docker" "start" "-a" "e66392d33ef2bcde98d9b7b940f4c19b7efb9b388fee6f75939f70ab1b6dae93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e66392d33ef2bcde98d9b7b940f4c19b7efb9b388fee6f75939f70ab1b6dae93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e66392d33ef2bcde98d9b7b940f4c19b7efb9b388fee6f75939f70ab1b6dae93", kill_on_drop: false }` [INFO] [stdout] e66392d33ef2bcde98d9b7b940f4c19b7efb9b388fee6f75939f70ab1b6dae93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2914b9518865859dbd17e4ef96a474777eaa9216993c6c5a324fd3cc1f2a9431 [INFO] running `Command { std: "docker" "start" "-a" "2914b9518865859dbd17e4ef96a474777eaa9216993c6c5a324fd3cc1f2a9431", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling ff v0.12.1 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling merkle-cbt v0.3.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling secp256k1-sys v0.4.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling ff_derive-zeroize v0.6.2 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling der v0.6.1 [INFO] [stderr] Compiling crypto-bigint v0.4.9 [INFO] [stderr] Compiling ff-zeroize v0.6.3 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling pairing-plus v0.19.0 [INFO] [stderr] Compiling rfc6979 v0.3.1 [INFO] [stderr] Compiling spki v0.6.0 [INFO] [stderr] Compiling pkcs8 v0.9.0 [INFO] [stderr] Compiling sec1 v0.3.0 [INFO] [stderr] Compiling elliptic-curve v0.12.3 [INFO] [stderr] Compiling ecdsa v0.14.8 [INFO] [stderr] Compiling p256 v0.11.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling secp256k1 v0.20.3 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling rust-gmp-kzen v0.5.1 [INFO] [stderr] Compiling sn_curv v0.10.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.47s [INFO] running `Command { std: "docker" "inspect" "2914b9518865859dbd17e4ef96a474777eaa9216993c6c5a324fd3cc1f2a9431", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2914b9518865859dbd17e4ef96a474777eaa9216993c6c5a324fd3cc1f2a9431", kill_on_drop: false }` [INFO] [stdout] 2914b9518865859dbd17e4ef96a474777eaa9216993c6c5a324fd3cc1f2a9431 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6720fd3e1a6a5ccf561cef4bddc5fc3e3665b7b5049121db9bab38b1eee7cde2 [INFO] running `Command { std: "docker" "start" "-a" "6720fd3e1a6a5ccf561cef4bddc5fc3e3665b7b5049121db9bab38b1eee7cde2", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling serde_test v1.0.176 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling proptest v0.10.1 [INFO] [stderr] Compiling proptest-derive v0.2.0 [INFO] [stderr] Compiling sn_curv v0.10.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curv` [INFO] [stdout] --> examples/diffie_hellman_key_exchange.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use curv::elliptic::curves::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `curv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curv`, use `cargo add curv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curv` [INFO] [stdout] --> examples/diffie_hellman_key_exchange.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | use curv::cryptographic_primitives::twoparty::dh_key_exchange::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `curv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curv`, use `cargo add curv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `curv::cryptographic_primitives::twoparty::dh_key_exchange::compute_pubkey`, `curv::cryptographic_primitives::twoparty::dh_key_exchange::Party1FirstMessage`, `curv::cryptographic_primitives::twoparty::dh_key_exchange::Party2FirstMessage` [INFO] [stdout] --> examples/diffie_hellman_key_exchange.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | compute_pubkey, Party1FirstMessage, Party2FirstMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curv` [INFO] [stdout] --> examples/verifiable_secret_sharing.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use curv::elliptic::curves::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `curv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curv`, use `cargo add curv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curv` [INFO] [stdout] --> examples/verifiable_secret_sharing.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use curv::cryptographic_primitives::secret_sharing::feldman_vss::VerifiableSS; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `curv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curv`, use `cargo add curv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `curv::cryptographic_primitives::secret_sharing::feldman_vss::VerifiableSS` [INFO] [stdout] --> examples/verifiable_secret_sharing.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use curv::cryptographic_primitives::secret_sharing::feldman_vss::VerifiableSS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curv` [INFO] [stdout] --> examples/proof_of_knowledge_of_dlog.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use curv::elliptic::curves::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `curv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curv`, use `cargo add curv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curv` [INFO] [stdout] --> examples/proof_of_knowledge_of_dlog.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | use curv::cryptographic_primitives::proofs::sigma_dlog::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `curv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curv`, use `cargo add curv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `curv::cryptographic_primitives::proofs::sigma_dlog::*` [INFO] [stdout] --> examples/proof_of_knowledge_of_dlog.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | use curv::cryptographic_primitives::proofs::sigma_dlog::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curv` [INFO] [stdout] --> examples/pedersen_commitment.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use curv::arithmetic::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `curv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curv`, use `cargo add curv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curv` [INFO] [stdout] --> examples/pedersen_commitment.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use curv::elliptic::curves::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `curv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curv`, use `cargo add curv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curv` [INFO] [stdout] --> examples/pedersen_commitment.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use curv::cryptographic_primitives::commitments::pedersen_commitment::PedersenCommitment; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `curv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curv`, use `cargo add curv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curv` [INFO] [stdout] --> examples/pedersen_commitment.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | use curv::cryptographic_primitives::commitments::traits::Commitment; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `curv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curv`, use `cargo add curv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `curv::arithmetic::*`, `curv::elliptic::curves::*`, `curv::cryptographic_primitives::commitments::pedersen_commitment::PedersenCommitment`, `curv::cryptographic_primitives::commitments::traits::Commitment` [INFO] [stdout] --> examples/pedersen_commitment.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use curv::arithmetic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use curv::elliptic::curves::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | use curv::cryptographic_primitives::commitments::pedersen_commitment::PedersenCommitment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | use curv::cryptographic_primitives::commitments::traits::Commitment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Curve` in this scope [INFO] [stdout] --> examples/diffie_hellman_key_exchange.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn ecdh() { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Curve; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Secp256k1` in this scope [INFO] [stdout] --> examples/diffie_hellman_key_exchange.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | Some("secp256k1") => ecdh::(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use secp256k1::Secp256k1; [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Secp256k1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ristretto` in this scope [INFO] [stdout] --> examples/diffie_hellman_key_exchange.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | Some("ristretto") => ecdh::(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Ristretto; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ed25519` in this scope [INFO] [stdout] --> examples/diffie_hellman_key_exchange.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | Some("ed25519") => ecdh::(), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Ed25519; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_381_1` in this scope [INFO] [stdout] --> examples/diffie_hellman_key_exchange.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | Some("bls12_381_1") => ecdh::(), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Bls12_381_1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_381_2` in this scope [INFO] [stdout] --> examples/diffie_hellman_key_exchange.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | Some("bls12_381_2") => ecdh::(), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Bls12_381_2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Secp256r1` in this scope [INFO] [stdout] --> examples/diffie_hellman_key_exchange.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | Some("p256") => ecdh::(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Secp256r1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Curve` in this scope [INFO] [stdout] --> examples/pedersen_commitment.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn ped_com(message: &BigInt) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Curve; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BigInt` in this scope [INFO] [stdout] --> examples/pedersen_commitment.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn ped_com(message: &BigInt) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::BigInt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BigInt` [INFO] [stdout] --> examples/pedersen_commitment.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | let blinding_factor = BigInt::sample(security_bits); [INFO] [stdout] | ^^^^^^ use of undeclared type `BigInt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::BigInt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BigInt` [INFO] [stdout] --> examples/pedersen_commitment.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let message_bn = BigInt::from_bytes(message.as_bytes()); [INFO] [stdout] | ^^^^^^ use of undeclared type `BigInt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::BigInt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Secp256k1` in this scope [INFO] [stdout] --> examples/pedersen_commitment.rs:37:40 [INFO] [stdout] | [INFO] [stdout] 37 | Some("secp256k1") => ped_com::(&message_bn), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use secp256k1::Secp256k1; [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Secp256k1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ristretto` in this scope [INFO] [stdout] --> examples/pedersen_commitment.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | Some("ristretto") => ped_com::(&message_bn), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Ristretto; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ed25519` in this scope [INFO] [stdout] --> examples/pedersen_commitment.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | Some("ed25519") => ped_com::(&message_bn), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Ed25519; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_381_1` in this scope [INFO] [stdout] --> examples/pedersen_commitment.rs:40:42 [INFO] [stdout] | [INFO] [stdout] 40 | Some("bls12_381_1") => ped_com::(&message_bn), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Bls12_381_1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_381_2` in this scope [INFO] [stdout] --> examples/pedersen_commitment.rs:41:42 [INFO] [stdout] | [INFO] [stdout] 41 | Some("bls12_381_2") => ped_com::(&message_bn), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Bls12_381_2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Secp256r1` in this scope [INFO] [stdout] --> examples/pedersen_commitment.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | Some("p256") => ped_com::(&message_bn), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Secp256r1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sn_curv` (example "pedersen_commitment") due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `sn_curv` (example "diffie_hellman_key_exchange") due to 10 previous errors [INFO] [stdout] error[E0405]: cannot find trait `Curve` in this scope [INFO] [stdout] --> examples/verifiable_secret_sharing.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn secret_sharing_3_out_of_5() { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Curve; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sn_curv` (example "verifiable_secret_sharing") due to 12 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scalar` [INFO] [stdout] --> examples/verifiable_secret_sharing.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | let secret = Scalar::random(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Scalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use curve25519_dalek::scalar::Scalar; [INFO] [stdout] | [INFO] [stdout] 1 + use p256::Scalar; [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Scalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> examples/verifiable_secret_sharing.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let g = Point::generator(); [INFO] [stdout] | ^^^^^ use of undeclared type `Point` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Secp256k1` in this scope [INFO] [stdout] --> examples/verifiable_secret_sharing.rs:63:58 [INFO] [stdout] | [INFO] [stdout] 63 | Some("secp256k1") => secret_sharing_3_out_of_5::(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use secp256k1::Secp256k1; [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Secp256k1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ristretto` in this scope [INFO] [stdout] --> examples/verifiable_secret_sharing.rs:64:58 [INFO] [stdout] | [INFO] [stdout] 64 | Some("ristretto") => secret_sharing_3_out_of_5::(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Ristretto; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ed25519` in this scope [INFO] [stdout] --> examples/verifiable_secret_sharing.rs:65:56 [INFO] [stdout] | [INFO] [stdout] 65 | Some("ed25519") => secret_sharing_3_out_of_5::(), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Ed25519; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_381_1` in this scope [INFO] [stdout] --> examples/verifiable_secret_sharing.rs:66:60 [INFO] [stdout] | [INFO] [stdout] 66 | Some("bls12_381_1") => secret_sharing_3_out_of_5::(), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Bls12_381_1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_381_2` in this scope [INFO] [stdout] --> examples/verifiable_secret_sharing.rs:67:60 [INFO] [stdout] | [INFO] [stdout] 67 | Some("bls12_381_2") => secret_sharing_3_out_of_5::(), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Bls12_381_2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Secp256r1` in this scope [INFO] [stdout] --> examples/verifiable_secret_sharing.rs:68:53 [INFO] [stdout] | [INFO] [stdout] 68 | Some("p256") => secret_sharing_3_out_of_5::(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Secp256r1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Curve` in this scope [INFO] [stdout] --> examples/proof_of_knowledge_of_dlog.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn dlog_proof() { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Curve; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scalar` [INFO] [stdout] --> examples/proof_of_knowledge_of_dlog.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | let witness = Scalar::random(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Scalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use curve25519_dalek::scalar::Scalar; [INFO] [stdout] | [INFO] [stdout] 1 + use p256::Scalar; [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Scalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DLogProof` [INFO] [stdout] --> examples/proof_of_knowledge_of_dlog.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | let dlog_proof = DLogProof::::prove(&witness); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `DLogProof` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::cryptographic_primitives::proofs::sigma_dlog::DLogProof; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DLogProof` [INFO] [stdout] --> examples/proof_of_knowledge_of_dlog.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | assert!(DLogProof::verify(&dlog_proof).is_ok()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `DLogProof` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::cryptographic_primitives::proofs::sigma_dlog::DLogProof; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Secp256k1` in this scope [INFO] [stdout] --> examples/proof_of_knowledge_of_dlog.rs:24:43 [INFO] [stdout] | [INFO] [stdout] 24 | Some("secp256k1") => dlog_proof::(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use secp256k1::Secp256k1; [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Secp256k1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ristretto` in this scope [INFO] [stdout] --> examples/proof_of_knowledge_of_dlog.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | Some("ristretto") => dlog_proof::(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Ristretto; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ed25519` in this scope [INFO] [stdout] --> examples/proof_of_knowledge_of_dlog.rs:26:41 [INFO] [stdout] | [INFO] [stdout] 26 | Some("ed25519") => dlog_proof::(), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Ed25519; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_381_1` in this scope [INFO] [stdout] --> examples/proof_of_knowledge_of_dlog.rs:27:45 [INFO] [stdout] | [INFO] [stdout] 27 | Some("bls12_381_1") => dlog_proof::(), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Bls12_381_1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_381_2` in this scope [INFO] [stdout] --> examples/proof_of_knowledge_of_dlog.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | Some("bls12_381_2") => dlog_proof::(), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Bls12_381_2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Secp256r1` in this scope [INFO] [stdout] --> examples/proof_of_knowledge_of_dlog.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | Some("p256") => dlog_proof::(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use sn_curv::elliptic::curves::Secp256r1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sn_curv` (example "proof_of_knowledge_of_dlog") due to 13 previous errors [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/arithmetic/mod.rs:253:14 [INFO] [stdout] | [INFO] [stdout] 253 | #[derive(Arbitrary, Debug, Copy, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_ModOp` [INFO] [stdout] 254 | enum ModOp { [INFO] [stdout] | ----- `ModOp` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6720fd3e1a6a5ccf561cef4bddc5fc3e3665b7b5049121db9bab38b1eee7cde2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6720fd3e1a6a5ccf561cef4bddc5fc3e3665b7b5049121db9bab38b1eee7cde2", kill_on_drop: false }` [INFO] [stdout] 6720fd3e1a6a5ccf561cef4bddc5fc3e3665b7b5049121db9bab38b1eee7cde2