[INFO] cloning repository https://github.com/BHouwens/cryptofun [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBHouwens%2Fcryptofun'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54315949c892a3154c65cb05ce636aae67f0406d [INFO] testing BHouwens/cryptofun against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBHouwens%2Fcryptofun" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BHouwens/cryptofun on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-1/source/Cargo.toml [INFO] crate git repo https://github.com/BHouwens/cryptofun already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 168400edebe34943ec945160ba17bae72c0d83dee1b45b7c03fc1c3942bb7f4a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "168400edebe34943ec945160ba17bae72c0d83dee1b45b7c03fc1c3942bb7f4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "168400edebe34943ec945160ba17bae72c0d83dee1b45b7c03fc1c3942bb7f4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "168400edebe34943ec945160ba17bae72c0d83dee1b45b7c03fc1c3942bb7f4a", kill_on_drop: false }` [INFO] [stdout] 168400edebe34943ec945160ba17bae72c0d83dee1b45b7c03fc1c3942bb7f4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2aa1a54745bffcf10a4cb6aa49cee1270aa79a0a152eb25e53c88436bd17118 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e2aa1a54745bffcf10a4cb6aa49cee1270aa79a0a152eb25e53c88436bd17118", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling rustc-cfg v0.2.0 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling hamming v0.1.3 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling ieee754 v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling crypto-mac v0.5.2 [INFO] [stderr] Compiling blake2 v0.7.1 [INFO] [stderr] Compiling sha3 v0.7.3 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling ramp v0.5.8 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling cryptofun v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::utils::primes` [INFO] [stdout] --> src/key_exchange/diffie_hellman.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::primes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `primes` in `utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `utils` [INFO] [stdout] --> src/key_exchange/ecdh.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use utils::ecc::{ ECPKeypair }; [INFO] [stdout] | ^^^^^ use of undeclared type or module `utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `utils` [INFO] [stdout] --> src/key_exchange/ecdh.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use utils::ecc_curves::{ ECPGroup, ECPPoint, ECPSupportedCurves, ECPCurveShape }; [INFO] [stdout] | ^^^^^ use of undeclared type or module `utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `utils` [INFO] [stdout] --> src/key_exchange/ecdh.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use utils::{ montgomery_ladder, comb_method }; [INFO] [stdout] | ^^^^^ help: a similar path exists: `crate::utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `utils` [INFO] [stdout] --> src/utils/ecc.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use utils::encoding::{ EndianOrdering, biguint_to_bitvec, bitvec_to_biguint }; [INFO] [stdout] | ^^^^^ use of undeclared type or module `utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `utils` [INFO] [stdout] --> src/utils/ecc.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use utils::ecc_curves::{ ECPPoint, ECPGroup, ECPSupportedCurves, ECPCurveShape }; [INFO] [stdout] | ^^^^^ use of undeclared type or module `utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `utils` [INFO] [stdout] --> src/utils/ecc.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use utils::{ primes, comb_method, montgomery_ladder, jacobian_coords }; [INFO] [stdout] | ^^^^^ help: a similar path exists: `crate::utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stdout] --> src/key_exchange/ecdh.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | ECPCurveShape::Montgomery => { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stdout] --> src/key_exchange/ecdh.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | ECPCurveShape::ShortWeierstrass => { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ECPGroup` [INFO] [stdout] --> src/utils/ecc.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | group: ECPGroup::new(curve), [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `ECPGroup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ECPPoint` [INFO] [stdout] --> src/utils/ecc.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | q: ECPPoint::new( &BigInt::zero(), Some(BigInt::zero()) ) [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `ECPPoint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stdout] --> src/utils/ecc.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | ECPCurveShape::Montgomery => montgomery_ladder::multiply(&self.group, &self.d, &p_point), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stdout] --> src/utils/ecc.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | ECPCurveShape::ShortWeierstrass => comb_method::multiply(&mut self.group, &self.d, &p_point, rng) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stdout] --> src/utils/ecc.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | ECPCurveShape::Montgomery => montgomery_ladder::multiply(&self.group, m, p), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stdout] --> src/utils/ecc.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | ECPCurveShape::ShortWeierstrass => comb_method::core_multiplication(&mut self.group, p, m, &mut rng) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stdout] --> src/utils/ecc.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | ECPCurveShape::Montgomery => montgomery_ladder::add_points(&self.group, p, r, &gx), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stdout] --> src/utils/ecc.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | ECPCurveShape::ShortWeierstrass => jacobian_coords::add(&self.group, p, &mut r_clone) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stdout] --> src/utils/ecc.rs:145:27 [INFO] [stdout] | [INFO] [stdout] 145 | if curve_shape == ECPCurveShape::Montgomery { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EndianOrdering` [INFO] [stdout] --> src/utils/ecc.rs:146:56 [INFO] [stdout] | [INFO] [stdout] 146 | let d_bit_vec = biguint_to_bitvec(&self.d, EndianOrdering::Little); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `EndianOrdering` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stdout] --> src/utils/ecc.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | ECPCurveShape::Montgomery => { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stdout] --> src/utils/ecc.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | ECPCurveShape::ShortWeierstrass => self.check_weierstrass_public_key(point) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stdout] --> src/utils/ecc.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | ECPCurveShape::Montgomery => { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EndianOrdering` [INFO] [stdout] --> src/utils/ecc.rs:210:59 [INFO] [stdout] | [INFO] [stdout] 210 | let mut d_bit_vec = biguint_to_bitvec(&d, EndianOrdering::Little); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `EndianOrdering` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EndianOrdering` [INFO] [stdout] --> src/utils/ecc.rs:216:55 [INFO] [stdout] | [INFO] [stdout] 216 | d_bit_vec = biguint_to_bitvec(&d, EndianOrdering::Little); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `EndianOrdering` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EndianOrdering` [INFO] [stdout] --> src/utils/ecc.rs:227:54 [INFO] [stdout] | [INFO] [stdout] 227 | return bitvec_to_biguint(&d_bit_vec, EndianOrdering::Little); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `EndianOrdering` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ECPCurveShape` [INFO] [stdout] --> src/utils/ecc.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | ECPCurveShape::ShortWeierstrass => { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `ECPCurveShape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ECPGroup` in this scope [INFO] [stdout] --> src/key_exchange/ecdh.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub group: ECPGroup, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stdout] --> src/key_exchange/ecdh.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub q: ECPPoint, // our public value (public key) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stdout] --> src/key_exchange/ecdh.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ECDH { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 13 | pub peer_q: Option, // peer's public value (public key) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ECPKeypair` in this scope [INFO] [stdout] --> src/key_exchange/ecdh.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | keypair: ECPKeypair // Generated keypair, for reference (private value stored here) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils::ecc::ECPKeypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ECPSupportedCurves` in this scope [INFO] [stdout] --> src/key_exchange/ecdh.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(curve: ECPSupportedCurves) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ECPKeypair` [INFO] [stdout] --> src/key_exchange/ecdh.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | let keypair = ECPKeypair::new(curve).setup(&mut rng); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils::ecc::ECPKeypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ECPGroup` in this scope [INFO] [stdout] --> src/utils/ecc.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | pub group: ECPGroup, // elliptic curve and base point [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stdout] --> src/utils/ecc.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub q: ECPPoint // public value [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ECPSupportedCurves` in this scope [INFO] [stdout] --> src/utils/ecc.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new(curve: ECPSupportedCurves) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stdout] --> src/utils/ecc.rs:80:52 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn multiply(&mut self, rng: &mut OsRng) -> ECPPoint { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stdout] --> src/utils/ecc.rs:96:42 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn multiply_point(&mut self, p: &ECPPoint, m: &BigUint) -> ECPPoint { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stdout] --> src/utils/ecc.rs:96:68 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn multiply_point(&mut self, p: &ECPPoint, m: &BigUint) -> ECPPoint { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stdout] --> src/utils/ecc.rs:112:38 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn add_points(&mut self, p: &ECPPoint, r: &ECPPoint) -> ECPPoint { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stdout] --> src/utils/ecc.rs:112:52 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn add_points(&mut self, p: &ECPPoint, r: &ECPPoint) -> ECPPoint { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stdout] --> src/utils/ecc.rs:112:65 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn add_points(&mut self, p: &ECPPoint, r: &ECPPoint) -> ECPPoint { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stdout] --> src/utils/ecc.rs:128:49 [INFO] [stdout] | [INFO] [stdout] 128 | fn check_public_private_keys(&self, point: &ECPPoint) -> () { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `biguint_to_bitvec` in this scope [INFO] [stdout] --> src/utils/ecc.rs:146:29 [INFO] [stdout] | [INFO] [stdout] 146 | let d_bit_vec = biguint_to_bitvec(&self.d, EndianOrdering::Little); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stdout] --> src/utils/ecc.rs:174:44 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn check_public_key(&self, point: &ECPPoint) -> (bool, &'static str) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `biguint_to_bitvec` in this scope [INFO] [stdout] --> src/utils/ecc.rs:210:37 [INFO] [stdout] | [INFO] [stdout] 210 | let mut d_bit_vec = biguint_to_bitvec(&d, EndianOrdering::Little); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `biguint_to_bitvec` in this scope [INFO] [stdout] --> src/utils/ecc.rs:216:33 [INFO] [stdout] | [INFO] [stdout] 216 | d_bit_vec = biguint_to_bitvec(&d, EndianOrdering::Little); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bitvec_to_biguint` in this scope [INFO] [stdout] --> src/utils/ecc.rs:227:24 [INFO] [stdout] | [INFO] [stdout] 227 | return bitvec_to_biguint(&d_bit_vec, EndianOrdering::Little); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ECPPoint` in this scope [INFO] [stdout] --> src/utils/ecc.rs:268:52 [INFO] [stdout] | [INFO] [stdout] 268 | fn check_weierstrass_public_key(&self, point: &ECPPoint) -> (bool, &'static str) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/utils/ecc.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | const MAX_BYTE_SIZE: usize = ( ( 521 + 7 ) / 8 ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/utils/ecc.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | const MAX_POINT_LEN: usize = ( 2 * 521 + 1 ); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 48 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cryptofun`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "e2aa1a54745bffcf10a4cb6aa49cee1270aa79a0a152eb25e53c88436bd17118", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2aa1a54745bffcf10a4cb6aa49cee1270aa79a0a152eb25e53c88436bd17118", kill_on_drop: false }` [INFO] [stdout] e2aa1a54745bffcf10a4cb6aa49cee1270aa79a0a152eb25e53c88436bd17118