[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] testing kumavis/eth-offchain-multisig-demo against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkumavis%2Feth-offchain-multisig-demo" "/workspace/builds/worker-69/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-69/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kumavis/eth-offchain-multisig-demo on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-69/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-69/source/tests/keygen.rs [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 js-sys v0.3.22 [INFO] [stderr] Downloaded tinytemplate v1.0.2 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.2.45 [INFO] [stderr] Downloaded zeroize v0.5.2 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.3.22 [INFO] [stderr] Downloaded cryptoxide v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3268cb22015a6c914282b043004dc173ac05f48d4bc9c39a0a9e85b06cfc5be0 [INFO] running `Command { std: "docker" "start" "-a" "3268cb22015a6c914282b043004dc173ac05f48d4bc9c39a0a9e85b06cfc5be0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3268cb22015a6c914282b043004dc173ac05f48d4bc9c39a0a9e85b06cfc5be0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3268cb22015a6c914282b043004dc173ac05f48d4bc9c39a0a9e85b06cfc5be0", kill_on_drop: false }` [INFO] [stdout] 3268cb22015a6c914282b043004dc173ac05f48d4bc9c39a0a9e85b06cfc5be0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2eb25a8d622402fc0dc8b6af73633f03df87291aeef5349507c50476d1ad1cb5 [INFO] running `Command { std: "docker" "start" "-a" "2eb25a8d622402fc0dc8b6af73633f03df87291aeef5349507c50476d1ad1cb5", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /opt/rustwide/workdir/tests/keygen.rs [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling constant_time_eq v0.1.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling arrayref v0.3.5 [INFO] [stderr] Compiling zeroize v0.5.2 [INFO] [stderr] Compiling cryptoxide v0.1.1 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling generic-array v0.8.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling digest v0.6.2 [INFO] [stderr] Compiling crypto-mac v0.4.0 [INFO] [stderr] Compiling block-buffer v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling hmac v0.4.2 [INFO] [stderr] Compiling sha2 v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.91 [INFO] [stderr] Compiling hmac-drbg v0.1.2 [INFO] [stderr] Compiling libsecp256k1 v0.2.2 [INFO] [stderr] Compiling 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] [INFO] [stdout] error[E0432]: unresolved imports `ErrorKey`, `ErrorKey` [INFO] [stdout] --> src/curv/elliptic/curves/secp256_k1.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | use ErrorKey; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/curv/elliptic/curves/traits.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use ErrorKey; [INFO] [stdout] | ^^^^^^^^ [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[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] 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] = note: `#[warn(anonymous_parameters)]` on by default [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: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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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: `...` 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: aborting due to 17 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, 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` due to 18 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2eb25a8d622402fc0dc8b6af73633f03df87291aeef5349507c50476d1ad1cb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2eb25a8d622402fc0dc8b6af73633f03df87291aeef5349507c50476d1ad1cb5", kill_on_drop: false }` [INFO] [stdout] 2eb25a8d622402fc0dc8b6af73633f03df87291aeef5349507c50476d1ad1cb5