[INFO] cloning repository https://github.com/BHouwens/cryptofun [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BHouwens/cryptofun" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBHouwens%2Fcryptofun"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBHouwens%2Fcryptofun'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 54315949c892a3154c65cb05ce636aae67f0406d [INFO] checking BHouwens/cryptofun against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBHouwens%2Fcryptofun" "/workspace/builds/worker-13/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BHouwens/cryptofun on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/BHouwens/cryptofun [INFO] finished tweaking git repo https://github.com/BHouwens/cryptofun [INFO] tweaked toml for git repo https://github.com/BHouwens/cryptofun written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/BHouwens/cryptofun already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-13/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8ae8d4c043aae7b421cfab36fb612b35c0310a15473035b5dac55c81d75887ee [INFO] running `"docker" "start" "-a" "8ae8d4c043aae7b421cfab36fb612b35c0310a15473035b5dac55c81d75887ee"` [INFO] [stderr] Compiling rustc-cfg v0.2.0 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Checking sha3 v0.7.3 [INFO] [stderr] Compiling ramp v0.5.2 [INFO] [stderr] Checking cryptofun v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `crate::utils::primes` [INFO] [stderr] --> src/key_exchange/diffie_hellman.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::utils::primes; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `primes` in `utils` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `utils` [INFO] [stderr] --> src/key_exchange/ecdh.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use utils::ecc::{ ECPKeypair }; [INFO] [stderr] | ^^^^^ use of undeclared type or module `utils` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `utils` [INFO] [stderr] --> src/key_exchange/ecdh.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use utils::ecc_curves::{ ECPGroup, ECPPoint, ECPSupportedCurves, ECPCurveShape }; [INFO] [stderr] | ^^^^^ use of undeclared type or module `utils` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `utils` [INFO] [stderr] --> src/key_exchange/ecdh.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use utils::{ montgomery_ladder, comb_method }; [INFO] [stderr] | ^^^^^ help: a similar path exists: `crate::utils` [INFO] [stderr] | [INFO] [stderr] = note: `use` statements changed in Rust 2018; read more at [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `utils` [INFO] [stderr] --> src/utils/ecc.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use utils::encoding::{ EndianOrdering, biguint_to_bitvec, bitvec_to_biguint }; [INFO] [stderr] | ^^^^^ use of undeclared type or module `utils` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `utils` [INFO] [stderr] --> src/utils/ecc.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use utils::ecc_curves::{ ECPPoint, ECPGroup, ECPSupportedCurves, ECPCurveShape }; [INFO] [stderr] | ^^^^^ use of undeclared type or module `utils` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `utils` [INFO] [stderr] --> src/utils/ecc.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use utils::{ primes, comb_method, montgomery_ladder, jacobian_coords }; [INFO] [stderr] | ^^^^^ help: a similar path exists: `crate::utils` [INFO] [stderr] | [INFO] [stderr] = note: `use` statements changed in Rust 2018; read more at [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::utils::primes` [INFO] [stderr] --> src/key_exchange/diffie_hellman.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::utils::primes; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `primes` in `utils` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `utils` [INFO] [stderr] --> src/key_exchange/ecdh.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use utils::ecc::{ ECPKeypair }; [INFO] [stderr] | ^^^^^ use of undeclared type or module `utils` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `utils` [INFO] [stderr] --> src/key_exchange/ecdh.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use utils::ecc_curves::{ ECPGroup, ECPPoint, ECPSupportedCurves, ECPCurveShape }; [INFO] [stderr] | ^^^^^ use of undeclared type or module `utils` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `cryptopunk` [INFO] [stderr] --> src/key_exchange/diffie_hellman.rs:225:9 [INFO] [stderr] | [INFO] [stderr] 225 | use cryptopunk::key_exchange::diffie_hellman::DiffieHellman; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `cryptopunk` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `cryptopunk` [INFO] [stderr] --> src/key_exchange/ecdh.rs:85:9 [INFO] [stderr] | [INFO] [stderr] 85 | use cryptopunk::key_exchange::ecdh::ECDH; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `cryptopunk` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `utils` [INFO] [stderr] --> src/key_exchange/ecdh.rs:86:9 [INFO] [stderr] | [INFO] [stderr] 86 | use utils::ecc_curves::ECPSupportedCurves; [INFO] [stderr] | ^^^^^ use of undeclared type or module `utils` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `utils` [INFO] [stderr] --> src/key_exchange/ecdh.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use utils::{ montgomery_ladder, comb_method }; [INFO] [stderr] | ^^^^^ help: a similar path exists: `crate::utils` [INFO] [stderr] | [INFO] [stderr] = note: `use` statements changed in Rust 2018; read more at [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `utils` [INFO] [stderr] --> src/utils/ecc.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use utils::encoding::{ EndianOrdering, biguint_to_bitvec, bitvec_to_biguint }; [INFO] [stderr] | ^^^^^ use of undeclared type or module `utils` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `utils` [INFO] [stderr] --> src/utils/ecc.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use utils::ecc_curves::{ ECPPoint, ECPGroup, ECPSupportedCurves, ECPCurveShape }; [INFO] [stderr] | ^^^^^ use of undeclared type or module `utils` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `utils` [INFO] [stderr] --> src/utils/ecc.rs:309:9 [INFO] [stderr] | [INFO] [stderr] 309 | use utils::ecc::ECPKeypair; [INFO] [stderr] | ^^^^^ use of undeclared type or module `utils` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `utils` [INFO] [stderr] --> src/utils/ecc.rs:310:9 [INFO] [stderr] | [INFO] [stderr] 310 | use utils::ecc_curves::ECPSupportedCurves; [INFO] [stderr] | ^^^^^ use of undeclared type or module `utils` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `utils` [INFO] [stderr] --> src/utils/ecc.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use utils::{ primes, comb_method, montgomery_ladder, jacobian_coords }; [INFO] [stderr] | ^^^^^ help: a similar path exists: `crate::utils` [INFO] [stderr] | [INFO] [stderr] = note: `use` statements changed in Rust 2018; read more at [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DiffieHellman` [INFO] [stderr] --> src/key_exchange/diffie_hellman.rs:230:22 [INFO] [stderr] | [INFO] [stderr] 230 | let mut dh = DiffieHellman::new().setup(16); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `DiffieHellman` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DiffieHellman` [INFO] [stderr] --> src/key_exchange/diffie_hellman.rs:234:23 [INFO] [stderr] | [INFO] [stderr] 234 | let mut dh2 = DiffieHellman::new_from_peer(&p, &g, &peer_gx).setup(16); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `DiffieHellman` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPKeypair` [INFO] [stderr] --> src/key_exchange/ecdh.rs:29:23 [INFO] [stderr] | [INFO] [stderr] 29 | let keypair = ECPKeypair::new(curve).setup(&mut rng); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `ECPKeypair` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stderr] --> src/key_exchange/ecdh.rs:52:13 [INFO] [stderr] | [INFO] [stderr] 52 | ECPCurveShape::Montgomery => { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stderr] --> src/key_exchange/ecdh.rs:55:13 [INFO] [stderr] | [INFO] [stderr] 55 | ECPCurveShape::ShortWeierstrass => { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPGroup` [INFO] [stderr] --> src/utils/ecc.rs:50:20 [INFO] [stderr] | [INFO] [stderr] 50 | group: ECPGroup::new(curve), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `ECPGroup` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPPoint` [INFO] [stderr] --> src/utils/ecc.rs:52:16 [INFO] [stderr] | [INFO] [stderr] 52 | q: ECPPoint::new( &BigInt::zero(), Some(BigInt::zero()) ) [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `ECPPoint` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stderr] --> src/utils/ecc.rs:85:13 [INFO] [stderr] | [INFO] [stderr] 85 | ECPCurveShape::Montgomery => montgomery_ladder::multiply(&self.group, &self.d, &p_point), [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stderr] --> src/utils/ecc.rs:86:13 [INFO] [stderr] | [INFO] [stderr] 86 | ECPCurveShape::ShortWeierstrass => comb_method::multiply(&mut self.group, &self.d, &p_point, rng) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stderr] --> src/utils/ecc.rs:101:13 [INFO] [stderr] | [INFO] [stderr] 101 | ECPCurveShape::Montgomery => montgomery_ladder::multiply(&self.group, m, p), [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stderr] --> src/utils/ecc.rs:102:13 [INFO] [stderr] | [INFO] [stderr] 102 | ECPCurveShape::ShortWeierstrass => comb_method::core_multiplication(&mut self.group, p, m, &mut rng) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stderr] --> src/utils/ecc.rs:118:13 [INFO] [stderr] | [INFO] [stderr] 118 | ECPCurveShape::Montgomery => montgomery_ladder::add_points(&self.group, p, r, &gx), [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stderr] --> src/utils/ecc.rs:119:13 [INFO] [stderr] | [INFO] [stderr] 119 | ECPCurveShape::ShortWeierstrass => jacobian_coords::add(&self.group, p, &mut r_clone) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stderr] --> src/utils/ecc.rs:145:27 [INFO] [stderr] | [INFO] [stderr] 145 | if curve_shape == ECPCurveShape::Montgomery { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EndianOrdering` [INFO] [stderr] --> src/utils/ecc.rs:146:56 [INFO] [stderr] | [INFO] [stderr] 146 | let d_bit_vec = biguint_to_bitvec(&self.d, EndianOrdering::Little); [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `EndianOrdering` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stderr] --> src/utils/ecc.rs:183:13 [INFO] [stderr] | [INFO] [stderr] 183 | ECPCurveShape::Montgomery => { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stderr] --> src/utils/ecc.rs:191:13 [INFO] [stderr] | [INFO] [stderr] 191 | ECPCurveShape::ShortWeierstrass => self.check_weierstrass_public_key(point) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stderr] --> src/utils/ecc.rs:203:13 [INFO] [stderr] | [INFO] [stderr] 203 | ECPCurveShape::Montgomery => { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EndianOrdering` [INFO] [stderr] --> src/utils/ecc.rs:210:59 [INFO] [stderr] | [INFO] [stderr] 210 | let mut d_bit_vec = biguint_to_bitvec(&d, EndianOrdering::Little); [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `EndianOrdering` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EndianOrdering` [INFO] [stderr] --> src/utils/ecc.rs:216:55 [INFO] [stderr] | [INFO] [stderr] 216 | d_bit_vec = biguint_to_bitvec(&d, EndianOrdering::Little); [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `EndianOrdering` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EndianOrdering` [INFO] [stderr] --> src/utils/ecc.rs:227:54 [INFO] [stderr] | [INFO] [stderr] 227 | return bitvec_to_biguint(&d_bit_vec, EndianOrdering::Little); [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `EndianOrdering` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stderr] --> src/utils/ecc.rs:230:13 [INFO] [stderr] | [INFO] [stderr] 230 | ECPCurveShape::ShortWeierstrass => { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPGroup` in this scope [INFO] [stderr] --> src/key_exchange/ecdh.rs:10:16 [INFO] [stderr] | [INFO] [stderr] 10 | pub group: ECPGroup, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stderr] --> src/key_exchange/ecdh.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub q: ECPPoint, // our public value (public key) [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stderr] --> src/key_exchange/ecdh.rs:13:24 [INFO] [stderr] | [INFO] [stderr] 13 | pub peer_q: Option, // peer's public value (public key) [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPKeypair` in this scope [INFO] [stderr] --> src/key_exchange/ecdh.rs:14:14 [INFO] [stderr] | [INFO] [stderr] 14 | keypair: ECPKeypair // Generated keypair, for reference (private value stored here) [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::utils::ecc::ECPKeypair; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPSupportedCurves` in this scope [INFO] [stderr] --> src/key_exchange/ecdh.rs:26:23 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn new(curve: ECPSupportedCurves) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPGroup` in this scope [INFO] [stderr] --> src/utils/ecc.rs:22:16 [INFO] [stderr] | [INFO] [stderr] 22 | pub group: ECPGroup, // elliptic curve and base point [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stderr] --> src/utils/ecc.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | pub q: ECPPoint // public value [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPSupportedCurves` in this scope [INFO] [stderr] --> src/utils/ecc.rs:48:23 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn new(curve: ECPSupportedCurves) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stderr] --> src/utils/ecc.rs:80:52 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn multiply(&mut self, rng: &mut OsRng) -> ECPPoint { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stderr] --> src/utils/ecc.rs:96:42 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn multiply_point(&mut self, p: &ECPPoint, m: &BigUint) -> ECPPoint { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stderr] --> src/utils/ecc.rs:96:68 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn multiply_point(&mut self, p: &ECPPoint, m: &BigUint) -> ECPPoint { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stderr] --> src/utils/ecc.rs:112:38 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn add_points(&mut self, p: &ECPPoint, r: &ECPPoint) -> ECPPoint { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stderr] --> src/utils/ecc.rs:112:52 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn add_points(&mut self, p: &ECPPoint, r: &ECPPoint) -> ECPPoint { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stderr] --> src/utils/ecc.rs:112:65 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn add_points(&mut self, p: &ECPPoint, r: &ECPPoint) -> ECPPoint { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stderr] --> src/utils/ecc.rs:128:49 [INFO] [stderr] | [INFO] [stderr] 128 | fn check_public_private_keys(&self, point: &ECPPoint) -> () { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `biguint_to_bitvec` in this scope [INFO] [stderr] --> src/utils/ecc.rs:146:29 [INFO] [stderr] | [INFO] [stderr] 146 | let d_bit_vec = biguint_to_bitvec(&self.d, EndianOrdering::Little); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stderr] --> src/utils/ecc.rs:174:44 [INFO] [stderr] | [INFO] [stderr] 174 | pub fn check_public_key(&self, point: &ECPPoint) -> (bool, &'static str) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `biguint_to_bitvec` in this scope [INFO] [stderr] --> src/utils/ecc.rs:210:37 [INFO] [stderr] | [INFO] [stderr] 210 | let mut d_bit_vec = biguint_to_bitvec(&d, EndianOrdering::Little); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `biguint_to_bitvec` in this scope [INFO] [stderr] --> src/utils/ecc.rs:216:33 [INFO] [stderr] | [INFO] [stderr] 216 | d_bit_vec = biguint_to_bitvec(&d, EndianOrdering::Little); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `bitvec_to_biguint` in this scope [INFO] [stderr] --> src/utils/ecc.rs:227:24 [INFO] [stderr] | [INFO] [stderr] 227 | return bitvec_to_biguint(&d_bit_vec, EndianOrdering::Little); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stderr] --> src/utils/ecc.rs:268:52 [INFO] [stderr] | [INFO] [stderr] 268 | fn check_weierstrass_public_key(&self, point: &ECPPoint) -> (bool, &'static str) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPKeypair` [INFO] [stderr] --> src/key_exchange/ecdh.rs:29:23 [INFO] [stderr] | [INFO] [stderr] 29 | let keypair = ECPKeypair::new(curve).setup(&mut rng); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `ECPKeypair` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stderr] --> src/key_exchange/ecdh.rs:52:13 [INFO] [stderr] | [INFO] [stderr] 52 | ECPCurveShape::Montgomery => { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stderr] --> src/key_exchange/ecdh.rs:55:13 [INFO] [stderr] | [INFO] [stderr] 55 | ECPCurveShape::ShortWeierstrass => { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECDH` [INFO] [stderr] --> src/key_exchange/ecdh.rs:92:22 [INFO] [stderr] | [INFO] [stderr] 92 | let mut dh = ECDH::new(ECPSupportedCurves::BP256R1); [INFO] [stderr] | ^^^^ use of undeclared type or module `ECDH` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPSupportedCurves` [INFO] [stderr] --> src/key_exchange/ecdh.rs:92:32 [INFO] [stderr] | [INFO] [stderr] 92 | let mut dh = ECDH::new(ECPSupportedCurves::BP256R1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ECPSupportedCurves` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECDH` [INFO] [stderr] --> src/key_exchange/ecdh.rs:95:23 [INFO] [stderr] | [INFO] [stderr] 95 | let mut dh2 = ECDH::new(ECPSupportedCurves::BP256R1); [INFO] [stderr] | ^^^^ use of undeclared type or module `ECDH` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPSupportedCurves` [INFO] [stderr] --> src/key_exchange/ecdh.rs:95:33 [INFO] [stderr] | [INFO] [stderr] 95 | let mut dh2 = ECDH::new(ECPSupportedCurves::BP256R1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ECPSupportedCurves` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECDH` [INFO] [stderr] --> src/key_exchange/ecdh.rs:111:22 [INFO] [stderr] | [INFO] [stderr] 111 | let mut dh = ECDH::new(ECPSupportedCurves::Curve25519); [INFO] [stderr] | ^^^^ use of undeclared type or module `ECDH` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPSupportedCurves` [INFO] [stderr] --> src/key_exchange/ecdh.rs:111:32 [INFO] [stderr] | [INFO] [stderr] 111 | let mut dh = ECDH::new(ECPSupportedCurves::Curve25519); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ECPSupportedCurves` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECDH` [INFO] [stderr] --> src/key_exchange/ecdh.rs:114:23 [INFO] [stderr] | [INFO] [stderr] 114 | let mut dh2 = ECDH::new(ECPSupportedCurves::Curve25519); [INFO] [stderr] | ^^^^ use of undeclared type or module `ECDH` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPSupportedCurves` [INFO] [stderr] --> src/key_exchange/ecdh.rs:114:33 [INFO] [stderr] | [INFO] [stderr] 114 | let mut dh2 = ECDH::new(ECPSupportedCurves::Curve25519); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ECPSupportedCurves` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPGroup` [INFO] [stderr] --> src/utils/ecc.rs:50:20 [INFO] [stderr] | [INFO] [stderr] 50 | group: ECPGroup::new(curve), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `ECPGroup` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPPoint` [INFO] [stderr] --> src/utils/ecc.rs:52:16 [INFO] [stderr] | [INFO] [stderr] 52 | q: ECPPoint::new( &BigInt::zero(), Some(BigInt::zero()) ) [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `ECPPoint` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stderr] --> src/utils/ecc.rs:85:13 [INFO] [stderr] | [INFO] [stderr] 85 | ECPCurveShape::Montgomery => montgomery_ladder::multiply(&self.group, &self.d, &p_point), [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stderr] --> src/utils/ecc.rs:86:13 [INFO] [stderr] | [INFO] [stderr] 86 | ECPCurveShape::ShortWeierstrass => comb_method::multiply(&mut self.group, &self.d, &p_point, rng) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stderr] --> src/utils/ecc.rs:101:13 [INFO] [stderr] | [INFO] [stderr] 101 | ECPCurveShape::Montgomery => montgomery_ladder::multiply(&self.group, m, p), [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stderr] --> src/utils/ecc.rs:102:13 [INFO] [stderr] | [INFO] [stderr] 102 | ECPCurveShape::ShortWeierstrass => comb_method::core_multiplication(&mut self.group, p, m, &mut rng) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stderr] --> src/utils/ecc.rs:118:13 [INFO] [stderr] | [INFO] [stderr] 118 | ECPCurveShape::Montgomery => montgomery_ladder::add_points(&self.group, p, r, &gx), [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stderr] --> src/utils/ecc.rs:119:13 [INFO] [stderr] | [INFO] [stderr] 119 | ECPCurveShape::ShortWeierstrass => jacobian_coords::add(&self.group, p, &mut r_clone) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stderr] --> src/utils/ecc.rs:145:27 [INFO] [stderr] | [INFO] [stderr] 145 | if curve_shape == ECPCurveShape::Montgomery { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EndianOrdering` [INFO] [stderr] --> src/utils/ecc.rs:146:56 [INFO] [stderr] | [INFO] [stderr] 146 | let d_bit_vec = biguint_to_bitvec(&self.d, EndianOrdering::Little); [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `EndianOrdering` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stderr] --> src/utils/ecc.rs:183:13 [INFO] [stderr] | [INFO] [stderr] 183 | ECPCurveShape::Montgomery => { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stderr] --> src/utils/ecc.rs:191:13 [INFO] [stderr] | [INFO] [stderr] 191 | ECPCurveShape::ShortWeierstrass => self.check_weierstrass_public_key(point) [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stderr] --> src/utils/ecc.rs:203:13 [INFO] [stderr] | [INFO] [stderr] 203 | ECPCurveShape::Montgomery => { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EndianOrdering` [INFO] [stderr] --> src/utils/ecc.rs:210:59 [INFO] [stderr] | [INFO] [stderr] 210 | let mut d_bit_vec = biguint_to_bitvec(&d, EndianOrdering::Little); [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `EndianOrdering` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EndianOrdering` [INFO] [stderr] --> src/utils/ecc.rs:216:55 [INFO] [stderr] | [INFO] [stderr] 216 | d_bit_vec = biguint_to_bitvec(&d, EndianOrdering::Little); [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `EndianOrdering` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EndianOrdering` [INFO] [stderr] --> src/utils/ecc.rs:227:54 [INFO] [stderr] | [INFO] [stderr] 227 | return bitvec_to_biguint(&d_bit_vec, EndianOrdering::Little); [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `EndianOrdering` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stderr] --> src/utils/ecc.rs:230:13 [INFO] [stderr] | [INFO] [stderr] 230 | ECPCurveShape::ShortWeierstrass => { [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPKeypair` [INFO] [stderr] --> src/utils/ecc.rs:315:19 [INFO] [stderr] | [INFO] [stderr] 315 | let ecc = ECPKeypair::new(ECPSupportedCurves::BP256R1).setup(&mut rng); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `ECPKeypair` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPSupportedCurves` [INFO] [stderr] --> src/utils/ecc.rs:315:35 [INFO] [stderr] | [INFO] [stderr] 315 | let ecc = ECPKeypair::new(ECPSupportedCurves::BP256R1).setup(&mut rng); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ECPSupportedCurves` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPKeypair` [INFO] [stderr] --> src/utils/ecc.rs:321:19 [INFO] [stderr] | [INFO] [stderr] 321 | let ecc = ECPKeypair::new(ECPSupportedCurves::BP384R1).setup(&mut rng); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `ECPKeypair` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPSupportedCurves` [INFO] [stderr] --> src/utils/ecc.rs:321:35 [INFO] [stderr] | [INFO] [stderr] 321 | let ecc = ECPKeypair::new(ECPSupportedCurves::BP384R1).setup(&mut rng); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ECPSupportedCurves` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPKeypair` [INFO] [stderr] --> src/utils/ecc.rs:327:19 [INFO] [stderr] | [INFO] [stderr] 327 | let ecc = ECPKeypair::new(ECPSupportedCurves::BP521R1).setup(&mut rng); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `ECPKeypair` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPSupportedCurves` [INFO] [stderr] --> src/utils/ecc.rs:327:35 [INFO] [stderr] | [INFO] [stderr] 327 | let ecc = ECPKeypair::new(ECPSupportedCurves::BP521R1).setup(&mut rng); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ECPSupportedCurves` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPKeypair` [INFO] [stderr] --> src/utils/ecc.rs:333:19 [INFO] [stderr] | [INFO] [stderr] 333 | let ecc = ECPKeypair::new(ECPSupportedCurves::Curve25519).setup(&mut rng); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `ECPKeypair` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ECPSupportedCurves` [INFO] [stderr] --> src/utils/ecc.rs:333:35 [INFO] [stderr] | [INFO] [stderr] 333 | let ecc = ECPKeypair::new(ECPSupportedCurves::Curve25519).setup(&mut rng); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ECPSupportedCurves` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPGroup` in this scope [INFO] [stderr] --> src/key_exchange/ecdh.rs:10:16 [INFO] [stderr] | [INFO] [stderr] 10 | pub group: ECPGroup, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stderr] --> src/key_exchange/ecdh.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub q: ECPPoint, // our public value (public key) [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stderr] --> src/key_exchange/ecdh.rs:13:24 [INFO] [stderr] | [INFO] [stderr] 13 | pub peer_q: Option, // peer's public value (public key) [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPKeypair` in this scope [INFO] [stderr] --> src/key_exchange/ecdh.rs:14:14 [INFO] [stderr] | [INFO] [stderr] 14 | keypair: ECPKeypair // Generated keypair, for reference (private value stored here) [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::utils::ecc::ECPKeypair; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPSupportedCurves` in this scope [INFO] [stderr] --> src/key_exchange/ecdh.rs:26:23 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn new(curve: ECPSupportedCurves) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPGroup` in this scope [INFO] [stderr] --> src/utils/ecc.rs:22:16 [INFO] [stderr] | [INFO] [stderr] 22 | pub group: ECPGroup, // elliptic curve and base point [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stderr] --> src/utils/ecc.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | pub q: ECPPoint // public value [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPSupportedCurves` in this scope [INFO] [stderr] --> src/utils/ecc.rs:48:23 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn new(curve: ECPSupportedCurves) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stderr] --> src/utils/ecc.rs:80:52 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn multiply(&mut self, rng: &mut OsRng) -> ECPPoint { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stderr] --> src/utils/ecc.rs:96:42 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn multiply_point(&mut self, p: &ECPPoint, m: &BigUint) -> ECPPoint { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stderr] --> src/utils/ecc.rs:96:68 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn multiply_point(&mut self, p: &ECPPoint, m: &BigUint) -> ECPPoint { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stderr] --> src/utils/ecc.rs:112:38 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn add_points(&mut self, p: &ECPPoint, r: &ECPPoint) -> ECPPoint { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stderr] --> src/utils/ecc.rs:112:52 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn add_points(&mut self, p: &ECPPoint, r: &ECPPoint) -> ECPPoint { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stderr] --> src/utils/ecc.rs:112:65 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn add_points(&mut self, p: &ECPPoint, r: &ECPPoint) -> ECPPoint { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stderr] --> src/utils/ecc.rs:128:49 [INFO] [stderr] | [INFO] [stderr] 128 | fn check_public_private_keys(&self, point: &ECPPoint) -> () { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `biguint_to_bitvec` in this scope [INFO] [stderr] --> src/utils/ecc.rs:146:29 [INFO] [stderr] | [INFO] [stderr] 146 | let d_bit_vec = biguint_to_bitvec(&self.d, EndianOrdering::Little); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stderr] --> src/utils/ecc.rs:174:44 [INFO] [stderr] | [INFO] [stderr] 174 | pub fn check_public_key(&self, point: &ECPPoint) -> (bool, &'static str) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `biguint_to_bitvec` in this scope [INFO] [stderr] --> src/utils/ecc.rs:210:37 [INFO] [stderr] | [INFO] [stderr] 210 | let mut d_bit_vec = biguint_to_bitvec(&d, EndianOrdering::Little); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `biguint_to_bitvec` in this scope [INFO] [stderr] --> src/utils/ecc.rs:216:33 [INFO] [stderr] | [INFO] [stderr] 216 | d_bit_vec = biguint_to_bitvec(&d, EndianOrdering::Little); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `bitvec_to_biguint` in this scope [INFO] [stderr] --> src/utils/ecc.rs:227:24 [INFO] [stderr] | [INFO] [stderr] 227 | return bitvec_to_biguint(&d_bit_vec, EndianOrdering::Little); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stderr] --> src/utils/ecc.rs:268:52 [INFO] [stderr] | [INFO] [stderr] 268 | fn check_weierstrass_public_key(&self, point: &ECPPoint) -> (bool, &'static str) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 48 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `cryptofun`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 71 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `cryptofun`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8ae8d4c043aae7b421cfab36fb612b35c0310a15473035b5dac55c81d75887ee"` [INFO] running `"docker" "rm" "-f" "8ae8d4c043aae7b421cfab36fb612b35c0310a15473035b5dac55c81d75887ee"` [INFO] [stdout] 8ae8d4c043aae7b421cfab36fb612b35c0310a15473035b5dac55c81d75887ee