[INFO] fetching crate nash-protocol 0.1.11... [INFO] testing nash-protocol-0.1.11 against try#eafdee2dfae8c2233b74f98b123308be7ccefcc6 for pr-79296 [INFO] extracting crate nash-protocol 0.1.11 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate nash-protocol 0.1.11 on toolchain eafdee2dfae8c2233b74f98b123308be7ccefcc6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate nash-protocol 0.1.11 [INFO] finished tweaking crates.io crate nash-protocol 0.1.11 [INFO] tweaked toml for crates.io crate nash-protocol 0.1.11 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded radium v0.4.1 [INFO] [stderr] Downloaded ff v0.8.0 [INFO] [stderr] Downloaded bitvec v0.18.4 [INFO] [stderr] Downloaded graphql-introspection-query v0.1.0 [INFO] [stderr] Downloaded graphql-parser v0.2.3 [INFO] [stderr] Downloaded paillier-common v0.1.1 [INFO] [stderr] Downloaded crypto-mac v0.9.1 [INFO] [stderr] Downloaded group v0.8.0 [INFO] [stderr] Downloaded elliptic-curve v0.6.6 [INFO] [stderr] Downloaded graphql_client_codegen v0.9.0 [INFO] [stderr] Downloaded graphql_client v0.9.0 [INFO] [stderr] Downloaded hmac v0.9.0 [INFO] [stderr] Downloaded p256 v0.5.2 [INFO] [stderr] Downloaded rust-gmp-serde v0.5.0 [INFO] [stderr] Downloaded rust-bigint v1.1.0 [INFO] [stderr] Downloaded nash-mpc v1.2.0 [INFO] [stderr] Downloaded ripemd160 v0.9.1 [INFO] [stderr] Downloaded graphql_query_derive v0.9.0 [INFO] [stderr] Downloaded ecdsa v0.8.5 [INFO] running `Command { std: "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" "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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98a1e7ccb96bd88c3ca08815ae613a17f8c9af91e6f7070512a836cf68369039 [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" "98a1e7ccb96bd88c3ca08815ae613a17f8c9af91e6f7070512a836cf68369039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98a1e7ccb96bd88c3ca08815ae613a17f8c9af91e6f7070512a836cf68369039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98a1e7ccb96bd88c3ca08815ae613a17f8c9af91e6f7070512a836cf68369039", kill_on_drop: false }` [INFO] [stdout] 98a1e7ccb96bd88c3ca08815ae613a17f8c9af91e6f7070512a836cf68369039 [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa4e4285fb7d2ea96f2152d55129f89cc58a072283abe014c324b574e0e40c60 [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" "aa4e4285fb7d2ea96f2152d55129f89cc58a072283abe014c324b574e0e40c60", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling radium v0.4.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling zeroize v1.1.1 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling bitvec v0.18.4 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling addr2line v0.14.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.9.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling signature v1.2.2 [INFO] [stderr] Compiling sha2 v0.9.2 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling ripemd160 v0.9.1 [INFO] [stderr] Compiling hmac v0.9.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling ff v0.8.0 [INFO] [stderr] Compiling group v0.8.0 [INFO] [stderr] Compiling elliptic-curve v0.6.6 [INFO] [stderr] Compiling ecdsa v0.8.5 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling p256 v0.5.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling graphql-parser v0.2.3 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling graphql-introspection-query v0.1.0 [INFO] [stderr] Compiling bigdecimal v0.1.2 [INFO] [stderr] Compiling rust-gmp-serde v0.5.0 [INFO] [stderr] Compiling graphql_client_codegen v0.9.0 [INFO] [stderr] Compiling rust-bigint v1.1.0 [INFO] [stderr] Compiling paillier-common v0.1.1 [INFO] [stderr] Compiling nash-mpc v1.2.0 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Secp256k1Scalar` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/client.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | let random = match Secp256k1Scalar::new_random() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `Secp256k1Scalar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Secp256k1Point` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/client.rs:182:29 [INFO] [stdout] | [INFO] [stdout] 182 | let r_point = match Secp256k1Point::from_bigint(&r) { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `Secp256k1Point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Secp256k1Scalar` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/client.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | q = Secp256k1Scalar::q(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `Secp256k1Scalar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Secp256k1Scalar` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/common.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 85 | let dh_secret = match Secp256k1Scalar::new_random() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `Secp256k1Scalar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Secp256k1Point` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/common.rs:110:24 [INFO] [stdout] | [INFO] [stdout] 110 | let pk = match Secp256k1Point::from_bytes(&pk_vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `Secp256k1Point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Secp256k1Scalar` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/common.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | q = Secp256k1Scalar::q(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `Secp256k1Scalar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Secp256k1Point` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/common.rs:131:25 [INFO] [stdout] | [INFO] [stdout] 131 | let u1_ = match Secp256k1Point::generator() * &e_fe { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `Secp256k1Point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Secp256k1Point` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/server.rs:120:29 [INFO] [stdout] | [INFO] [stdout] 120 | let r_point = match Secp256k1Point::from_bigint(&r) { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `Secp256k1Point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Secp256k1Scalar` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/server.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | q = Secp256k1Scalar::q(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `Secp256k1Scalar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Secp256k1Scalar` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/client.rs:97:38 [INFO] [stdout] | [INFO] [stdout] 97 | Ok(v) => Zeroizing::::new(v), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/curves/secp256_r1.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Secp256r1Scalar { [INFO] [stdout] | -------------------------- similarly named struct `Secp256r1Scalar` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 97 | Ok(v) => Zeroizing::::new(v), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 53 | impl APIchildkeyCreator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Secp256k1Scalar` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/client.rs:102:38 [INFO] [stdout] | [INFO] [stdout] 102 | Ok(v) => Zeroizing::::new(v), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/curves/secp256_r1.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Secp256r1Scalar { [INFO] [stdout] | -------------------------- similarly named struct `Secp256r1Scalar` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 102 | Ok(v) => Zeroizing::::new(v), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 53 | impl APIchildkeyCreator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Secp256k1Scalar` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/client.rs:110:38 [INFO] [stdout] | [INFO] [stdout] 110 | Ok(v) => Zeroizing::::new(v), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/curves/secp256_r1.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Secp256r1Scalar { [INFO] [stdout] | -------------------------- similarly named struct `Secp256r1Scalar` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 110 | Ok(v) => Zeroizing::::new(v), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 53 | impl APIchildkeyCreator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Secp256k1Scalar` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/client.rs:319:29 [INFO] [stdout] | [INFO] [stdout] 319 | mut own_dh_secrets: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/curves/secp256_r1.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Secp256r1Scalar { [INFO] [stdout] | -------------------------- similarly named struct `Secp256r1Scalar` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 319 | mut own_dh_secrets: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 318 | pub fn fill_rpool_secp256k1( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Secp256k1Point` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/client.rs:320:25 [INFO] [stdout] | [INFO] [stdout] 320 | other_dh_publics: &[Secp256k1Point], [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `Secp256r1Point` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/curves/secp256_r1.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Secp256r1Point { [INFO] [stdout] | ------------------------- similarly named struct `Secp256r1Point` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Secp256k1Scalar` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/common.rs:76:51 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn dh_init_secp256k1(n: usize) -> Result<(Vec, Vec), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/curves/secp256_r1.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Secp256r1Scalar { [INFO] [stdout] | -------------------------- similarly named struct `Secp256r1Scalar` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 76 | pub fn dh_init_secp256k1(n: usize) -> Result<(Vec, Vec), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 76 | pub fn dh_init_secp256k1(n: usize) -> Result<(Vec, Vec), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Secp256k1Point` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/common.rs:76:73 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn dh_init_secp256k1(n: usize) -> Result<(Vec, Vec), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/curves/secp256_r1.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Secp256r1Point { [INFO] [stdout] | ------------------------- similarly named struct `Secp256r1Point` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 76 | pub fn dh_init_secp256k1(n: usize) -> Result<(Vec, Vec), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 76 | pub fn dh_init_secp256k1(n: usize) -> Result<(Vec, Vec), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Secp256k1Point` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/common.rs:81:15 [INFO] [stdout] | [INFO] [stdout] 81 | let base: Secp256k1Point = ECPoint::generator(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `Secp256r1Point` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/curves/secp256_r1.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Secp256r1Point { [INFO] [stdout] | ------------------------- similarly named struct `Secp256r1Point` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Secp256k1Scalar` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/common.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | let mut dh_secrets: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/curves/secp256_r1.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Secp256r1Scalar { [INFO] [stdout] | -------------------------- similarly named struct `Secp256r1Scalar` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 82 | let mut dh_secrets: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 76 | pub fn dh_init_secp256k1(n: usize) -> Result<(Vec, Vec), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Secp256k1Point` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/common.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | let mut dh_publics: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/curves/secp256_r1.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Secp256r1Point { [INFO] [stdout] | ------------------------- similarly named struct `Secp256r1Point` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 83 | let mut dh_publics: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 76 | pub fn dh_init_secp256k1(n: usize) -> Result<(Vec, Vec), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Secp256k1Scalar` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/common.rs:114:19 [INFO] [stdout] | [INFO] [stdout] 114 | let s_fe: Secp256k1Scalar = match ECScalar::from(&s) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `Secp256r1Scalar` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/curves/secp256_r1.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Secp256r1Scalar { [INFO] [stdout] | -------------------------- similarly named struct `Secp256r1Scalar` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Secp256k1Scalar` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/common.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | let rx_fe: Secp256k1Scalar = match ECScalar::from(&r) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `Secp256r1Scalar` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/curves/secp256_r1.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Secp256r1Scalar { [INFO] [stdout] | -------------------------- similarly named struct `Secp256r1Scalar` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Secp256k1Scalar` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/common.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | let e_fe: Secp256k1Scalar = match ECScalar::from(&msg_hash.mod_floor(&q)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `Secp256r1Scalar` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/curves/secp256_r1.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Secp256r1Scalar { [INFO] [stdout] | -------------------------- similarly named struct `Secp256r1Scalar` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Secp256k1Scalar` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/common.rs:219:34 [INFO] [stdout] | [INFO] [stdout] 219 | Ok(v) => Zeroizing::::new(v), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/curves/secp256_r1.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Secp256r1Scalar { [INFO] [stdout] | -------------------------- similarly named struct `Secp256r1Scalar` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 219 | Ok(v) => Zeroizing::::new(v), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 216 | pub fn publickey_from_secretkey(secret_key_int: &BigInt, curve: Curve) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Secp256k1Point` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/common.rs:222:19 [INFO] [stdout] | [INFO] [stdout] 222 | let base: Secp256k1Point = ECPoint::generator(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `Secp256r1Point` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/curves/secp256_r1.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Secp256r1Point { [INFO] [stdout] | ------------------------- similarly named struct `Secp256r1Point` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `publickey_from_secretkey_r1` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/common.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | publickey_from_secretkey_r1(&pk) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Secp256k1Scalar` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/server.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | server_dh_secrets: &[Secp256k1Scalar], [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `Secp256r1Scalar` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/curves/secp256_r1.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Secp256r1Scalar { [INFO] [stdout] | -------------------------- similarly named struct `Secp256r1Scalar` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Secp256k1Point` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/server.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | client_dh_publics: &[Secp256k1Point], [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `Secp256r1Point` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/curves/secp256_r1.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Secp256r1Point { [INFO] [stdout] | ------------------------- similarly named struct `Secp256r1Point` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Secp256k1Scalar` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/server.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | ) -> Result, ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/curves/secp256_r1.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Secp256r1Scalar { [INFO] [stdout] | -------------------------- similarly named struct `Secp256r1Scalar` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 75 | ) -> Result, ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 72 | pub fn compute_rpool_secp256k1( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_encoded_point` found for struct `p256::AffinePoint` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nash-mpc-1.2.0/src/common.rs:237:37 [INFO] [stdout] | [INFO] [stdout] 237 | let tmp = AffinePoint_p256::from_encoded_point(&EncodedPoint_p256::from(&pk.ge)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `p256::AffinePoint` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use p256::elliptic_curve::sec1::FromEncodedPoint;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nash-mpc` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "aa4e4285fb7d2ea96f2152d55129f89cc58a072283abe014c324b574e0e40c60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa4e4285fb7d2ea96f2152d55129f89cc58a072283abe014c324b574e0e40c60", kill_on_drop: false }` [INFO] [stdout] aa4e4285fb7d2ea96f2152d55129f89cc58a072283abe014c324b574e0e40c60