[INFO] fetching crate snowbridge-amcl 1.0.2... [INFO] checking snowbridge-amcl-1.0.2 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate snowbridge-amcl 1.0.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate snowbridge-amcl 1.0.2 [INFO] finished tweaking crates.io crate snowbridge-amcl 1.0.2 [INFO] tweaked toml for crates.io crate snowbridge-amcl 1.0.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate snowbridge-amcl 1.0.2 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 105 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.6.0) [INFO] [stderr] Adding hex v0.3.2 (available: v0.4.3) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8452af5baa16df5725bb081b697824875acd2ce1a3f57462bba8366eb64135b1 [INFO] running `Command { std: "docker" "start" "-a" "8452af5baa16df5725bb081b697824875acd2ce1a3f57462bba8366eb64135b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8452af5baa16df5725bb081b697824875acd2ce1a3f57462bba8366eb64135b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8452af5baa16df5725bb081b697824875acd2ce1a3f57462bba8366eb64135b1", kill_on_drop: false }` [INFO] [stdout] 8452af5baa16df5725bb081b697824875acd2ce1a3f57462bba8366eb64135b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5847735246de88e7e5a5b0b44e9ec825c28a579554bb92e28f84f97156e26be [INFO] running `Command { std: "docker" "start" "-a" "a5847735246de88e7e5a5b0b44e9ec825c28a579554bb92e28f84f97156e26be", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Checking scale-info v2.11.6 [INFO] [stderr] Checking snowbridge-amcl v1.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `borrow`, `cmp`, `fmt`, `format`, `str::*`, `str`, `string`, and `time` [INFO] [stdout] --> src/std.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | pub use std::{borrow, cmp, fmt, format, str, str::*, string, time, vec, vec::Vec}; [INFO] [stdout] | ^^^^^^ ^^^ ^^^ ^^^^^^ ^^^ ^^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `amcl` [INFO] [stdout] --> benches/nist256.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use amcl::nist256::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `amcl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `amcl`, use `cargo add amcl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `amcl` [INFO] [stdout] --> benches/ed25519.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use amcl::ed25519::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `amcl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `amcl`, use `cargo add amcl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `amcl` [INFO] [stdout] --> benches/ed25519.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use amcl::rand::RAND; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `amcl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `amcl`, use `cargo add amcl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `amcl::rand::RAND` [INFO] [stdout] --> benches/ed25519.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use amcl::rand::RAND; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `amcl` [INFO] [stdout] --> benches/nist256.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use amcl::rand::RAND; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `amcl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `amcl`, use `cargo add amcl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `amcl::rand::RAND` [INFO] [stdout] --> benches/nist256.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use amcl::rand::RAND; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `amcl` [INFO] [stdout] --> benches/bn254.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use amcl::bn254::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `amcl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `amcl`, use `cargo add amcl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `amcl` [INFO] [stdout] --> benches/bn254.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use amcl::rand::RAND; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `amcl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `amcl`, use `cargo add amcl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `amcl::rand::RAND` [INFO] [stdout] --> benches/bn254.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use amcl::rand::RAND; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ecp` [INFO] [stdout] --> benches/bn254.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | let generator = ecp::ECP::generator(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ecp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ecp`, use `cargo add ecp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `big` [INFO] [stdout] --> benches/bn254.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let r = big::Big::new_ints(&rom::CURVE_ORDER); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `big` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `big`, use `cargo add big` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `big` [INFO] [stdout] --> benches/bn254.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let s = big::Big::randomnum(&r, &mut rng); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `big` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `big`, use `cargo add big` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ecp` [INFO] [stdout] --> benches/bn254.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | let mut generator = ecp::ECP::generator(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ecp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ecp`, use `cargo add ecp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ecp` [INFO] [stdout] --> benches/bn254.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | let mut generator = ecp::ECP::generator(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ecp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ecp`, use `cargo add ecp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ecp` [INFO] [stdout] --> benches/bn254.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | let generator_copy = ecp::ECP::generator(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ecp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ecp`, use `cargo add ecp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ecp2` [INFO] [stdout] --> benches/bn254.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | let generator = ecp2::ECP2::generator(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ecp2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ecp2`, use `cargo add ecp2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `big` [INFO] [stdout] --> benches/bn254.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let s = big::Big::randomnum(&r, &mut rng); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `big` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `big`, use `cargo add big` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ecp2` [INFO] [stdout] --> benches/bn254.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | let mut generator = ecp2::ECP2::generator(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ecp2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ecp2`, use `cargo add ecp2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ecp2` [INFO] [stdout] --> benches/bn254.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 106 | let mut generator = ecp2::ECP2::generator(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ecp2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ecp2`, use `cargo add ecp2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ecp2` [INFO] [stdout] --> benches/bn254.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | let generator_copy = ecp2::ECP2::generator(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ecp2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ecp2`, use `cargo add ecp2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bn254.rs:22:61 [INFO] [stdout] | [INFO] [stdout] 22 | use criterion::{black_box, criterion_group, criterion_main, Benchmark, Criterion}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bn254.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | Benchmark::new("Multiply a point", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bn254.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | Benchmark::new("Add two points", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bn254.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | Benchmark::new("Double a points", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bn254.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | Benchmark::new("Multiply a point G2", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bn254.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | Benchmark::new("Add two points G2", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bn254.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | Benchmark::new("Double a points G2", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `amcl` [INFO] [stdout] --> benches/rsa3072.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use amcl::rand::RAND; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `amcl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `amcl`, use `cargo add amcl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `amcl` [INFO] [stdout] --> benches/rsa3072.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use amcl::rsa3072::{ff, rsa}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `amcl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `amcl`, use `cargo add amcl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rom` [INFO] [stdout] --> benches/bn254.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | let r = big::Big::new_ints(&rom::CURVE_ORDER); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `rom` [INFO] [stdout] | help: a trait with a similar name exists: `From` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rom`, use `cargo add rom` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bn254.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bn254.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bn254.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bn254.rs:85:7 [INFO] [stdout] | [INFO] [stdout] 85 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bn254.rs:96:7 [INFO] [stdout] | [INFO] [stdout] 96 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bn254.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 108 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ecp` [INFO] [stdout] --> benches/ed25519.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | let generator = ecp::ECP::generator(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ecp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ecp`, use `cargo add ecp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `big` [INFO] [stdout] --> benches/ed25519.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let r = big::Big::new_ints(&rom::CURVE_ORDER); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `big` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `big`, use `cargo add big` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `big` [INFO] [stdout] --> benches/ed25519.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let s = big::Big::randomnum(&r, &mut rng); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `big` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `big`, use `cargo add big` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ecp` [INFO] [stdout] --> benches/ed25519.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | let mut generator = ecp::ECP::generator(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ecp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ecp`, use `cargo add ecp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ecp` [INFO] [stdout] --> benches/ed25519.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | let mut generator = ecp::ECP::generator(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ecp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ecp`, use `cargo add ecp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `amcl` [INFO] [stdout] --> benches/rsa2048.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use amcl::rand::RAND; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `amcl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `amcl`, use `cargo add amcl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `amcl` [INFO] [stdout] --> benches/rsa2048.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use amcl::rsa2048::{ff, rsa}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `amcl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `amcl`, use `cargo add amcl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ecp` [INFO] [stdout] --> benches/ed25519.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | let generator_copy = ecp::ECP::generator(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ecp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ecp`, use `cargo add ecp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/ed25519.rs:22:61 [INFO] [stdout] | [INFO] [stdout] 22 | use criterion::{black_box, criterion_group, criterion_main, Benchmark, Criterion}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/ed25519.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | Benchmark::new("Multiply a point", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/ed25519.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | Benchmark::new("Add two points", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/ed25519.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | Benchmark::new("Double a points", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rom` [INFO] [stdout] --> benches/ed25519.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | let r = big::Big::new_ints(&rom::CURVE_ORDER); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `rom` [INFO] [stdout] | help: a trait with a similar name exists: `From` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rom`, use `cargo add rom` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/ed25519.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/ed25519.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/ed25519.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ecp` [INFO] [stdout] --> benches/nist256.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | let generator = ecp::ECP::generator(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ecp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ecp`, use `cargo add ecp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `amcl` [INFO] [stdout] --> benches/bls381.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use amcl::bls381::bls381::basic; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `amcl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `amcl`, use `cargo add amcl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `amcl` [INFO] [stdout] --> benches/bls381.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use amcl::bls381::bls381::utils::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `amcl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `amcl`, use `cargo add amcl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `amcl` [INFO] [stdout] --> benches/goldilocks.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use amcl::goldilocks::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `amcl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `amcl`, use `cargo add amcl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `amcl` [INFO] [stdout] --> benches/goldilocks.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use amcl::rand::RAND; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `amcl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `amcl`, use `cargo add amcl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `amcl::rand::RAND` [INFO] [stdout] --> benches/goldilocks.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use amcl::rand::RAND; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `amcl` [INFO] [stdout] --> benches/BenchtestALL.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | extern crate amcl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `amcl` [INFO] [stdout] --> benches/bls381.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use amcl::bls381::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `amcl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `amcl`, use `cargo add amcl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `amcl` [INFO] [stdout] --> benches/bls381.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use amcl::rand::RAND; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `amcl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `amcl`, use `cargo add amcl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `big` [INFO] [stdout] --> benches/nist256.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let r = big::Big::new_ints(&rom::CURVE_ORDER); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `big` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `big`, use `cargo add big` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `amcl::bls381::bls381::basic`, `amcl::bls381::bls381::utils::*`, `amcl::bls381::*`, `amcl::rand::RAND` [INFO] [stdout] --> benches/bls381.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use amcl::bls381::bls381::basic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | use amcl::bls381::bls381::utils::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | use amcl::bls381::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | use amcl::rand::RAND; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/rsa3072.rs:22:61 [INFO] [stdout] | [INFO] [stdout] 22 | use criterion::{black_box, criterion_group, criterion_main, Benchmark, Criterion}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/rsa3072.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | Benchmark::new("Generate", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/rsa3072.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | Benchmark::new("Encrypt", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/rsa3072.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | Benchmark::new("Decrypt", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `snowbridge-amcl` (bench "ed25519") due to 10 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/rsa3072.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | criterion.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/rsa2048.rs:22:61 [INFO] [stdout] | [INFO] [stdout] 22 | use criterion::{black_box, criterion_group, criterion_main, Benchmark, Criterion}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/rsa2048.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | Benchmark::new("Generate", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/rsa2048.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | Benchmark::new("Encrypt", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/rsa2048.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | Benchmark::new("Decrypt", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/rsa3072.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | criterion.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/rsa3072.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | criterion.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `snowbridge-amcl` (bench "bn254") due to 15 previous errors; 13 warnings emitted [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/rsa2048.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | criterion.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/rsa2048.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | criterion.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/rsa2048.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | criterion.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `big` [INFO] [stdout] --> benches/nist256.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let s = big::Big::randomnum(&r, &mut rng); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `big` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `big`, use `cargo add big` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ecp` [INFO] [stdout] --> benches/goldilocks.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | let generator = ecp::ECP::generator(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ecp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ecp`, use `cargo add ecp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `big` [INFO] [stdout] --> benches/goldilocks.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let r = big::Big::new_ints(&rom::CURVE_ORDER); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `big` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `big`, use `cargo add big` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ecp` [INFO] [stdout] --> benches/nist256.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | let mut generator = ecp::ECP::generator(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ecp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ecp`, use `cargo add ecp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `snowbridge-amcl` (bench "rsa3072") due to 2 previous errors; 7 warnings emitted [INFO] [stderr] error: could not compile `snowbridge-amcl` (bench "rsa2048") due to 2 previous errors; 7 warnings emitted [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `big` [INFO] [stdout] --> benches/goldilocks.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let s = big::Big::randomnum(&r, &mut rng); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `big` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `big`, use `cargo add big` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ecp` [INFO] [stdout] --> benches/nist256.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | let mut generator = ecp::ECP::generator(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ecp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ecp`, use `cargo add ecp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ecp` [INFO] [stdout] --> benches/goldilocks.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | let mut generator = ecp::ECP::generator(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ecp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ecp`, use `cargo add ecp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ecp` [INFO] [stdout] --> benches/goldilocks.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | let mut generator = ecp::ECP::generator(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ecp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ecp`, use `cargo add ecp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ecp` [INFO] [stdout] --> benches/goldilocks.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | let generator_copy = ecp::ECP::generator(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ecp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ecp`, use `cargo add ecp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/goldilocks.rs:22:61 [INFO] [stdout] | [INFO] [stdout] 22 | use criterion::{black_box, criterion_group, criterion_main, Benchmark, Criterion}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/goldilocks.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | Benchmark::new("Multiply a point", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/goldilocks.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | Benchmark::new("Add two points", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/goldilocks.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | Benchmark::new("Double a points", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ecp` [INFO] [stdout] --> benches/nist256.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | let generator_copy = ecp::ECP::generator(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ecp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ecp`, use `cargo add ecp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rom` [INFO] [stdout] --> benches/goldilocks.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | let r = big::Big::new_ints(&rom::CURVE_ORDER); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `rom` [INFO] [stdout] | help: a trait with a similar name exists: `From` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rom`, use `cargo add rom` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/goldilocks.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/goldilocks.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/goldilocks.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/nist256.rs:22:61 [INFO] [stdout] | [INFO] [stdout] 22 | use criterion::{black_box, criterion_group, criterion_main, Benchmark, Criterion}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/nist256.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | Benchmark::new("Multiply a point", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/nist256.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | Benchmark::new("Add two points", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/nist256.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | Benchmark::new("Double a points", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `snowbridge-amcl` (bench "goldilocks") due to 10 previous errors; 7 warnings emitted [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rom` [INFO] [stdout] --> benches/nist256.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | let r = big::Big::new_ints(&rom::CURVE_ORDER); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `rom` [INFO] [stdout] | help: a trait with a similar name exists: `From` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rom`, use `cargo add rom` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `snowbridge-amcl` (bench "BenchtestALL") due to 1 previous error [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/nist256.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/nist256.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/nist256.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ecp` [INFO] [stdout] --> benches/bls381.rs:316:24 [INFO] [stdout] | [INFO] [stdout] 316 | let generator_g1 = ecp::ECP::generator(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ecp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ecp`, use `cargo add ecp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ecp2` [INFO] [stdout] --> benches/bls381.rs:317:24 [INFO] [stdout] | [INFO] [stdout] 317 | let generator_g2 = ecp2::ECP2::generator(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ecp2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ecp2`, use `cargo add ecp2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `snowbridge-amcl` (bench "nist256") due to 10 previous errors; 7 warnings emitted [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `big` [INFO] [stdout] --> benches/bls381.rs:319:13 [INFO] [stdout] | [INFO] [stdout] 319 | let r = big::Big::new_ints(&rom::CURVE_ORDER); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `big` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `big`, use `cargo add big` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `big` [INFO] [stdout] --> benches/bls381.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let s = big::Big::randomnum(&r, &mut rng); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `big` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `big`, use `cargo add big` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ecp` [INFO] [stdout] --> benches/bls381.rs:348:28 [INFO] [stdout] | [INFO] [stdout] 348 | let mut generator_g1 = ecp::ECP::generator(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ecp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ecp`, use `cargo add ecp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ecp2` [INFO] [stdout] --> benches/bls381.rs:359:28 [INFO] [stdout] | [INFO] [stdout] 359 | let mut generator_g2 = ecp2::ECP2::generator(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ecp2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ecp2`, use `cargo add ecp2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:24:61 [INFO] [stdout] | [INFO] [stdout] 24 | use criterion::{black_box, criterion_group, criterion_main, Benchmark, Criterion}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | Benchmark::new("Deserialise Compressed G1", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | Benchmark::new("Serialise Compress G1", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | Benchmark::new("Deserialise Uncompressed G1", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | Benchmark::new("Serialise Uncompressed G1", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | Benchmark::new("Deserialise Compressed G2", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | Benchmark::new("Serialise Compress G2", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | Benchmark::new("Deserialise Uncompressed G2", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | Benchmark::new("Serialise Uncompressed G2", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | Benchmark::new("Create a Signature G1", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | Benchmark::new("Verify a Signature G1", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | Benchmark::new("Create a Signature G2", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | Benchmark::new("Verify a Signature G2", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | Benchmark::new("Aggregate 100 G1 points", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | Benchmark::new("Aggregate 100 G2 points", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | Benchmark::new("Verifying aggregate of 100 signatures G1", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | Benchmark::new("Verifying aggregate of 100 signatures G2", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | Benchmark::new("Generate random keypair G1", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | Benchmark::new("Generate random keypair G2", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | Benchmark::new("Multiply a point G1", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | Benchmark::new("Multiply a point G2", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | Benchmark::new("Add two points G1", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | Benchmark::new("Add two points G2", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deserialize_g1` in this scope [INFO] [stdout] --> benches/bls381.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let point = deserialize_g1(&uncompressed_g1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_g1` in this scope [INFO] [stdout] --> benches/bls381.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | let compressed_g1 = serialize_g1(&point); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deserialize_g1` in this scope [INFO] [stdout] --> benches/bls381.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | black_box(deserialize_g1(&compressed_g1).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_g1` in this scope [INFO] [stdout] --> benches/bls381.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | black_box(serialize_g1(&point.clone())); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deserialize_g1` in this scope [INFO] [stdout] --> benches/bls381.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | black_box(deserialize_g1(&uncompressed_g1).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:75:7 [INFO] [stdout] | [INFO] [stdout] 75 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_uncompressed_g1` in this scope [INFO] [stdout] --> benches/bls381.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | black_box(serialize_uncompressed_g1(&point_2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deserialize_g2` in this scope [INFO] [stdout] --> benches/bls381.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | let point = deserialize_g2(&uncompressed_g2).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_g2` in this scope [INFO] [stdout] --> benches/bls381.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | let compressed_g2 = serialize_g2(&point); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:92:7 [INFO] [stdout] | [INFO] [stdout] 92 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deserialize_g2` in this scope [INFO] [stdout] --> benches/bls381.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | black_box(deserialize_g2(&compressed_g2).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:102:7 [INFO] [stdout] | [INFO] [stdout] 102 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_g2` in this scope [INFO] [stdout] --> benches/bls381.rs:106:27 [INFO] [stdout] | [INFO] [stdout] 106 | black_box(serialize_g2(&point.clone())); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:112:7 [INFO] [stdout] | [INFO] [stdout] 112 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deserialize_g2` in this scope [INFO] [stdout] --> benches/bls381.rs:116:27 [INFO] [stdout] | [INFO] [stdout] 116 | black_box(deserialize_g2(&uncompressed_g2).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:122:7 [INFO] [stdout] | [INFO] [stdout] 122 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `serialize_uncompressed_g2` in this scope [INFO] [stdout] --> benches/bls381.rs:126:27 [INFO] [stdout] | [INFO] [stdout] 126 | black_box(serialize_uncompressed_g2(&point_2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:140:7 [INFO] [stdout] | [INFO] [stdout] 140 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 150 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:167:7 [INFO] [stdout] | [INFO] [stdout] 167 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:177:7 [INFO] [stdout] | [INFO] [stdout] 177 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:199:7 [INFO] [stdout] | [INFO] [stdout] 199 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:210:7 [INFO] [stdout] | [INFO] [stdout] 210 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:257:7 [INFO] [stdout] | [INFO] [stdout] 257 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:274:7 [INFO] [stdout] | [INFO] [stdout] 274 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:294:7 [INFO] [stdout] | [INFO] [stdout] 294 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:304:7 [INFO] [stdout] | [INFO] [stdout] 304 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rom` [INFO] [stdout] --> benches/bls381.rs:319:33 [INFO] [stdout] | [INFO] [stdout] 319 | let r = big::Big::new_ints(&rom::CURVE_ORDER); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `rom` [INFO] [stdout] | help: a trait with a similar name exists: `From` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rom`, use `cargo add rom` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:328:7 [INFO] [stdout] | [INFO] [stdout] 328 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:338:7 [INFO] [stdout] | [INFO] [stdout] 338 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:349:7 [INFO] [stdout] | [INFO] [stdout] 349 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381.rs:360:7 [INFO] [stdout] | [INFO] [stdout] 360 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `snowbridge-amcl` (bench "bls381") due to 24 previous errors; 45 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a5847735246de88e7e5a5b0b44e9ec825c28a579554bb92e28f84f97156e26be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5847735246de88e7e5a5b0b44e9ec825c28a579554bb92e28f84f97156e26be", kill_on_drop: false }` [INFO] [stdout] a5847735246de88e7e5a5b0b44e9ec825c28a579554bb92e28f84f97156e26be