[INFO] fetching crate sn_curv 0.10.1... [INFO] checking sn_curv-0.10.1 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate sn_curv 0.10.1 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sn_curv 0.10.1 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fcc77bdc75d55a6f6acc351e9a8e62ee0c35756af152659c7696dbea1a5d0784 [INFO] running `Command { std: "docker" "start" "-a" "fcc77bdc75d55a6f6acc351e9a8e62ee0c35756af152659c7696dbea1a5d0784", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcc77bdc75d55a6f6acc351e9a8e62ee0c35756af152659c7696dbea1a5d0784", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcc77bdc75d55a6f6acc351e9a8e62ee0c35756af152659c7696dbea1a5d0784", kill_on_drop: false }` [INFO] [stdout] fcc77bdc75d55a6f6acc351e9a8e62ee0c35756af152659c7696dbea1a5d0784 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 015bb287d8ac1882432db81709302d0a5c91721311fbbc1aa0f2f99245586a21 [INFO] running `Command { std: "docker" "start" "-a" "015bb287d8ac1882432db81709302d0a5c91721311fbbc1aa0f2f99245586a21", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking merkle-cbt v0.3.2 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling secp256k1-sys v0.4.2 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking blake2 v0.9.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Compiling ff_derive-zeroize v0.6.2 [INFO] [stderr] Checking proptest v0.10.1 [INFO] [stderr] Compiling proptest-derive v0.2.0 [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] Checking zeroize v1.7.0 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Checking ff-zeroize v0.6.3 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking pairing-plus v0.19.0 [INFO] [stderr] Checking rfc6979 v0.3.1 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Checking ecdsa v0.14.8 [INFO] [stderr] Checking p256 v0.11.1 [INFO] [stderr] Checking secp256k1 v0.20.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking rust-gmp-kzen v0.5.1 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking serde_test v1.0.176 [INFO] [stderr] Checking 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/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[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/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[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] 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] 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] 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 "proof_of_knowledge_of_dlog") due to 13 previous errors [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 "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] [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] [stderr] error: could not compile `sn_curv` (example "verifiable_secret_sharing") due to 12 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" "015bb287d8ac1882432db81709302d0a5c91721311fbbc1aa0f2f99245586a21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "015bb287d8ac1882432db81709302d0a5c91721311fbbc1aa0f2f99245586a21", kill_on_drop: false }` [INFO] [stdout] 015bb287d8ac1882432db81709302d0a5c91721311fbbc1aa0f2f99245586a21