[INFO] cloning repository https://github.com/kumavis/eth-offchain-multisig-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kumavis/eth-offchain-multisig-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkumavis%2Feth-offchain-multisig-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkumavis%2Feth-offchain-multisig-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b5a8b98056ed8c8484948068b1cf8ab278d7359e [INFO] checking kumavis/eth-offchain-multisig-demo against master#9f432d7b44d5c4ac0ce76fed8315ffac8dcab8f9 for pr-124108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkumavis%2Feth-offchain-multisig-demo" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kumavis/eth-offchain-multisig-demo on toolchain 9f432d7b44d5c4ac0ce76fed8315ffac8dcab8f9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f432d7b44d5c4ac0ce76fed8315ffac8dcab8f9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kumavis/eth-offchain-multisig-demo [INFO] finished tweaking git repo https://github.com/kumavis/eth-offchain-multisig-demo [INFO] tweaked toml for git repo https://github.com/kumavis/eth-offchain-multisig-demo written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kumavis/eth-offchain-multisig-demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f432d7b44d5c4ac0ce76fed8315ffac8dcab8f9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-3-tc1/source/tests/sign.rs` found to be present in multiple build targets: [INFO] [stderr] * `integration-test` target `sign` [INFO] [stderr] * `bench` target `sign` [INFO] [stderr] warning: file `/workspace/builds/worker-3-tc1/source/tests/keygen.rs` found to be present in multiple build targets: [INFO] [stderr] * `integration-test` target `keygen` [INFO] [stderr] * `bench` target `keygen` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking kumavis/eth-offchain-multisig-demo against try#2e5b7739e5167b731ad5eb628f04a54f932f1fe2 for pr-124108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkumavis%2Feth-offchain-multisig-demo" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kumavis/eth-offchain-multisig-demo on toolchain 2e5b7739e5167b731ad5eb628f04a54f932f1fe2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e5b7739e5167b731ad5eb628f04a54f932f1fe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kumavis/eth-offchain-multisig-demo [INFO] finished tweaking git repo https://github.com/kumavis/eth-offchain-multisig-demo [INFO] tweaked toml for git repo https://github.com/kumavis/eth-offchain-multisig-demo written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kumavis/eth-offchain-multisig-demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e5b7739e5167b731ad5eb628f04a54f932f1fe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-3-tc2/source/tests/keygen.rs` found to be present in multiple build targets: [INFO] [stderr] * `integration-test` target `keygen` [INFO] [stderr] * `bench` target `keygen` [INFO] [stderr] warning: file `/workspace/builds/worker-3-tc2/source/tests/sign.rs` found to be present in multiple build targets: [INFO] [stderr] * `integration-test` target `sign` [INFO] [stderr] * `bench` target `sign` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test v0.2.45 [INFO] [stderr] Downloaded zeroize v0.5.2 [INFO] [stderr] Downloaded js-sys v0.3.22 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.2.45 [INFO] [stderr] Downloaded cryptoxide v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+2e5b7739e5167b731ad5eb628f04a54f932f1fe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c936eab2057fda5b4767fdf10b5b8e8b5599ab82bc0b6a5690c500bb8969349f [INFO] running `Command { std: "docker" "start" "-a" "c936eab2057fda5b4767fdf10b5b8e8b5599ab82bc0b6a5690c500bb8969349f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c936eab2057fda5b4767fdf10b5b8e8b5599ab82bc0b6a5690c500bb8969349f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c936eab2057fda5b4767fdf10b5b8e8b5599ab82bc0b6a5690c500bb8969349f", kill_on_drop: false }` [INFO] [stdout] c936eab2057fda5b4767fdf10b5b8e8b5599ab82bc0b6a5690c500bb8969349f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+2e5b7739e5167b731ad5eb628f04a54f932f1fe2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb0ac833075893537b98075efb8a78850bec44a43b4326fc26bfc8d855253701 [INFO] running `Command { std: "docker" "start" "-a" "fb0ac833075893537b98075efb8a78850bec44a43b4326fc26bfc8d855253701", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/tests/sign.rs` found to be present in multiple build targets: [INFO] [stderr] * `integration-test` target `sign` [INFO] [stderr] * `bench` target `sign` [INFO] [stderr] warning: file `/opt/rustwide/workdir/tests/keygen.rs` found to be present in multiple build targets: [INFO] [stderr] * `integration-test` target `keygen` [INFO] [stderr] * `bench` target `keygen` [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking constant_time_eq v0.1.3 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking byte-tools v0.2.0 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking generic-array v0.8.3 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking digest v0.6.2 [INFO] [stderr] Checking crypto-mac v0.4.0 [INFO] [stderr] Checking block-buffer v0.2.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking hmac v0.4.2 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Checking hmac-drbg v0.1.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking sha2 v0.6.0 [INFO] [stderr] Checking csv-core v0.1.5 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking arrayref v0.3.5 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking walkdir v2.2.7 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking libsecp256k1 v0.2.2 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Checking csv v1.0.7 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking zeroize v0.5.2 [INFO] [stderr] Checking cryptoxide v0.1.1 [INFO] [stderr] Checking bit-vec v0.5.1 [INFO] [stderr] Compiling serde_derive v1.0.91 [INFO] [stderr] Checking tinytemplate v1.0.2 [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stderr] Checking emerald-city v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `wasm_bindgen`? [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ maybe a missing crate `wasm_bindgen`? [INFO] [stdout] | [INFO] [stdout] = help: consider adding `extern crate wasm_bindgen` to use the `wasm_bindgen` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/lib.rs:76:3 [INFO] [stdout] | [INFO] [stdout] 76 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/lib.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | #[wasm_bindgen(js_namespace = console)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/lib.rs:86:3 [INFO] [stdout] | [INFO] [stdout] 86 | #[wasm_bindgen(start)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/lib.rs:92:3 [INFO] [stdout] | [INFO] [stdout] 92 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/lib.rs:100:3 [INFO] [stdout] | [INFO] [stdout] 100 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/lib.rs:112:3 [INFO] [stdout] | [INFO] [stdout] 112 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/lib.rs:93:38 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn keygen(t: usize, n: usize) -> JsValue { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/lib.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn sign_message(t: usize, keys: JsValue, message: JsValue, sign_indices: JsValue) -> JsValue { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/lib.rs:101:55 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn sign_message(t: usize, keys: JsValue, message: JsValue, sign_indices: JsValue) -> JsValue { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/lib.rs:101:78 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn sign_message(t: usize, keys: JsValue, message: JsValue, sign_indices: JsValue) -> JsValue { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/lib.rs:101:90 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn sign_message(t: usize, keys: JsValue, message: JsValue, sign_indices: JsValue) -> JsValue { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/lib.rs:113:51 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn verify_signature(ttag: usize, sign_output: JsValue) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/curv/arithmetic/traits.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | fn is_zero(&Self) -> bool; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/curv/arithmetic/traits.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | fn is_even(&Self) -> bool; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/curv/arithmetic/traits.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | fn _from(&T) -> Self; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/curv/cryptographic_primitives/secret_sharing/feldman_vss.rs:180:81 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn validate_share(&self, secret_share: &FE, index: usize) -> Result<(), (ErrorSS)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 180 - pub fn validate_share(&self, secret_share: &FE, index: usize) -> Result<(), (ErrorSS)> { [INFO] [stdout] 180 + pub fn validate_share(&self, secret_share: &FE, index: usize) -> Result<(), ErrorSS> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/curv/cryptographic_primitives/secret_sharing/feldman_vss.rs:186:84 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn validate_share_public(&self, ss_point: &GE, index: usize) -> Result<(), (ErrorSS)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 186 - pub fn validate_share_public(&self, ss_point: &GE, index: usize) -> Result<(), (ErrorSS)> { [INFO] [stdout] 186 + pub fn validate_share_public(&self, ss_point: &GE, index: usize) -> Result<(), ErrorSS> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/curv/elliptic/curves/secp256_k1.rs:352:15 [INFO] [stdout] | [INFO] [stdout] 352 | 33...63 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/curv/elliptic/curves/secp256_k1.rs:369:14 [INFO] [stdout] | [INFO] [stdout] 369 | 0...32 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `console_error_panic_hook` [INFO] [stdout] --> src/lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | console_error_panic_hook::set_once(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `console_error_panic_hook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsValue` [INFO] [stdout] --> src/lib.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | JsValue::from_serde(&key_data).unwrap() [INFO] [stdout] | ^^^^^^^ use of undeclared type `JsValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsValue` [INFO] [stdout] --> src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | JsValue::from_serde(&sign_output).unwrap() [INFO] [stdout] | ^^^^^^^ use of undeclared type `JsValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/curv/elliptic/curves/secp256_k1.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | let mut serial = self.ge.serialize(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `emerald-city` (lib) due to 17 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `wasm_bindgen`? [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ maybe a missing crate `wasm_bindgen`? [INFO] [stdout] | [INFO] [stdout] = help: consider adding `extern crate wasm_bindgen` to use the `wasm_bindgen` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/lib.rs:76:3 [INFO] [stdout] | [INFO] [stdout] 76 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/lib.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | #[wasm_bindgen(js_namespace = console)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/lib.rs:86:3 [INFO] [stdout] | [INFO] [stdout] 86 | #[wasm_bindgen(start)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/lib.rs:92:3 [INFO] [stdout] | [INFO] [stdout] 92 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/lib.rs:100:3 [INFO] [stdout] | [INFO] [stdout] 100 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/lib.rs:112:3 [INFO] [stdout] | [INFO] [stdout] 112 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/lib.rs:93:38 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn keygen(t: usize, n: usize) -> JsValue { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/lib.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn sign_message(t: usize, keys: JsValue, message: JsValue, sign_indices: JsValue) -> JsValue { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/lib.rs:101:55 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn sign_message(t: usize, keys: JsValue, message: JsValue, sign_indices: JsValue) -> JsValue { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/lib.rs:101:78 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn sign_message(t: usize, keys: JsValue, message: JsValue, sign_indices: JsValue) -> JsValue { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/lib.rs:101:90 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn sign_message(t: usize, keys: JsValue, message: JsValue, sign_indices: JsValue) -> JsValue { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/lib.rs:113:51 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn verify_signature(ttag: usize, sign_output: JsValue) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/curv/arithmetic/traits.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | fn is_zero(&Self) -> bool; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/curv/arithmetic/traits.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | fn is_even(&Self) -> bool; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/curv/arithmetic/traits.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | fn _from(&T) -> Self; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/curv/cryptographic_primitives/secret_sharing/feldman_vss.rs:180:81 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn validate_share(&self, secret_share: &FE, index: usize) -> Result<(), (ErrorSS)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 180 - pub fn validate_share(&self, secret_share: &FE, index: usize) -> Result<(), (ErrorSS)> { [INFO] [stdout] 180 + pub fn validate_share(&self, secret_share: &FE, index: usize) -> Result<(), ErrorSS> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/curv/cryptographic_primitives/secret_sharing/feldman_vss.rs:186:84 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn validate_share_public(&self, ss_point: &GE, index: usize) -> Result<(), (ErrorSS)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 186 - pub fn validate_share_public(&self, ss_point: &GE, index: usize) -> Result<(), (ErrorSS)> { [INFO] [stdout] 186 + pub fn validate_share_public(&self, ss_point: &GE, index: usize) -> Result<(), ErrorSS> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/curv/elliptic/curves/secp256_k1.rs:352:15 [INFO] [stdout] | [INFO] [stdout] 352 | 33...63 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/curv/elliptic/curves/secp256_k1.rs:369:14 [INFO] [stdout] | [INFO] [stdout] 369 | 0...32 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/curv/cryptographic_primitives/proofs/sigma_correct_homomorphic_elgamal_enc.rs:161:40 [INFO] [stdout] | [INFO] [stdout] 161 | assert_eq!(result.unwrap_err().description(), PROOF_ERROR_DESCRIPTION); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `console_error_panic_hook` [INFO] [stdout] --> src/lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | console_error_panic_hook::set_once(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `console_error_panic_hook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsValue` [INFO] [stdout] --> src/lib.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | JsValue::from_serde(&key_data).unwrap() [INFO] [stdout] | ^^^^^^^ use of undeclared type `JsValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsValue` [INFO] [stdout] --> src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | JsValue::from_serde(&sign_output).unwrap() [INFO] [stdout] | ^^^^^^^ use of undeclared type `JsValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/curv/elliptic/curves/secp256_k1.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | let mut serial = self.ge.serialize(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `emerald-city` (lib test) due to 17 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fb0ac833075893537b98075efb8a78850bec44a43b4326fc26bfc8d855253701", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb0ac833075893537b98075efb8a78850bec44a43b4326fc26bfc8d855253701", kill_on_drop: false }` [INFO] [stdout] fb0ac833075893537b98075efb8a78850bec44a43b4326fc26bfc8d855253701