[INFO] fetching crate witnet-bn 0.5.1... [INFO] checking witnet-bn-0.5.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate witnet-bn 0.5.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate witnet-bn 0.5.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate witnet-bn 0.5.1 [INFO] tweaked toml for crates.io crate witnet-bn 0.5.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate witnet-bn 0.5.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate witnet-bn 0.5.1 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c461568acaa44660905e972fc31f4b9be742981287e7356098eea0ec11e1931 [INFO] running `Command { std: "docker" "start" "-a" "6c461568acaa44660905e972fc31f4b9be742981287e7356098eea0ec11e1931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c461568acaa44660905e972fc31f4b9be742981287e7356098eea0ec11e1931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c461568acaa44660905e972fc31f4b9be742981287e7356098eea0ec11e1931", kill_on_drop: false }` [INFO] [stdout] 6c461568acaa44660905e972fc31f4b9be742981287e7356098eea0ec11e1931 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ced3eb8e03cdf641b9da023b91eede28fa344b79ab2123e22aca2baae812cb10 [INFO] running `Command { std: "docker" "start" "-a" "ced3eb8e03cdf641b9da023b91eede28fa344b79ab2123e22aca2baae812cb10", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking bincode v0.6.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking witnet-bn v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/arith.rs:435:17 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn bits(&self) -> BitIterator { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 435 | pub fn bits(&self) -> BitIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `bn` [INFO] [stdout] --> benches/api.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate bn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1` [INFO] [stdout] --> benches/api.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | input(rng) = G1::random(rng); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::G1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1` [INFO] [stdout] --> benches/api.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 40 | input(rng) = {let mut tmp = G1::random(rng); tmp.normalize(); tmp}; [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::G1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | input(rng) = G2::random(rng); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::G2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:52:40 [INFO] [stdout] | [INFO] [stdout] 52 | input(rng) = {let mut tmp = G2::random(rng); tmp.normalize(); tmp}; [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::G2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1` [INFO] [stdout] --> benches/api.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | input(rng) = {encode(&G1::random(rng), Infinite).unwrap()}; [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::G1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `G1` in this scope [INFO] [stdout] --> benches/api.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | decode::(input).unwrap() [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::G1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:64:34 [INFO] [stdout] | [INFO] [stdout] 64 | input(rng) = {encode(&G2::random(rng), Infinite).unwrap()}; [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::G2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `G2` in this scope [INFO] [stdout] --> benches/api.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | decode::(input).unwrap() [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::G2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> benches/api.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `Fr` [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 70 - input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] 70 + input(rng) = (Fn::random(rng), Fr::random(rng)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> benches/api.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `Fr` [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 70 - input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] 70 + input(rng) = (Fr::random(rng), Fn::random(rng)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> benches/api.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `Fr` [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 76 - input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] 76 + input(rng) = (Fn::random(rng), Fr::random(rng)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> benches/api.rs:76:43 [INFO] [stdout] | [INFO] [stdout] 76 | input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `Fr` [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 76 - input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] 76 + input(rng) = (Fr::random(rng), Fn::random(rng)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> benches/api.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 82 | input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `Fr` [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 82 - input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] 82 + input(rng) = (Fn::random(rng), Fr::random(rng)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> benches/api.rs:82:43 [INFO] [stdout] | [INFO] [stdout] 82 | input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `Fr` [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 82 - input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] 82 + input(rng) = (Fr::random(rng), Fn::random(rng)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> benches/api.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | input(rng) = Fr::random(rng); [INFO] [stdout] | ^^ use of undeclared type `Fr` [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 88 - input(rng) = Fr::random(rng); [INFO] [stdout] 88 + input(rng) = Fn::random(rng); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1` [INFO] [stdout] --> benches/api.rs:94:26 [INFO] [stdout] | [INFO] [stdout] 94 | input(rng) = (G1::random(rng), G1::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::G1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1` [INFO] [stdout] --> benches/api.rs:94:43 [INFO] [stdout] | [INFO] [stdout] 94 | input(rng) = (G1::random(rng), G1::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::G1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1` [INFO] [stdout] --> benches/api.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | input(rng) = (G1::random(rng), G1::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::G1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1` [INFO] [stdout] --> benches/api.rs:100:43 [INFO] [stdout] | [INFO] [stdout] 100 | input(rng) = (G1::random(rng), G1::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::G1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1` [INFO] [stdout] --> benches/api.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | input(rng) = (G1::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::G1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> benches/api.rs:106:43 [INFO] [stdout] | [INFO] [stdout] 106 | input(rng) = (G1::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `Fr` [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 106 - input(rng) = (G1::random(rng), Fr::random(rng)); [INFO] [stdout] 106 + input(rng) = (G1::random(rng), Fn::random(rng)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:112:26 [INFO] [stdout] | [INFO] [stdout] 112 | input(rng) = (G2::random(rng), G2::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::G2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:112:43 [INFO] [stdout] | [INFO] [stdout] 112 | input(rng) = (G2::random(rng), G2::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::G2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | input(rng) = (G2::random(rng), G2::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::G2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:118:43 [INFO] [stdout] | [INFO] [stdout] 118 | input(rng) = (G2::random(rng), G2::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::G2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:124:26 [INFO] [stdout] | [INFO] [stdout] 124 | input(rng) = (G2::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::G2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> benches/api.rs:124:43 [INFO] [stdout] | [INFO] [stdout] 124 | input(rng) = (G2::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `Fr` [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 124 - input(rng) = (G2::random(rng), Fr::random(rng)); [INFO] [stdout] 124 + input(rng) = (G2::random(rng), Fn::random(rng)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1` [INFO] [stdout] --> benches/api.rs:131:27 [INFO] [stdout] | [INFO] [stdout] 131 | let g1_1 = G1::random(rng); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::G1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | let g2_1 = G2::random(rng); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::G2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1` [INFO] [stdout] --> benches/api.rs:134:27 [INFO] [stdout] | [INFO] [stdout] 134 | let g1_2 = G1::random(rng); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::G1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:135:27 [INFO] [stdout] | [INFO] [stdout] 135 | let g2_2 = G2::random(rng); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::G2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pairing` in this scope [INFO] [stdout] --> benches/api.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | (pairing(g1_1, g2_1), pairing(g1_2, g2_2)) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::pairing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pairing` in this scope [INFO] [stdout] --> benches/api.rs:137:38 [INFO] [stdout] | [INFO] [stdout] 137 | (pairing(g1_1, g2_1), pairing(g1_2, g2_2)) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::pairing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1` [INFO] [stdout] --> benches/api.rs:145:25 [INFO] [stdout] | [INFO] [stdout] 145 | let g1 = G1::random(rng); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::G1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | let g2 = G2::random(rng); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::G2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pairing` in this scope [INFO] [stdout] --> benches/api.rs:148:16 [INFO] [stdout] | [INFO] [stdout] 148 | pairing(g1, g2) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::pairing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> benches/api.rs:149:15 [INFO] [stdout] | [INFO] [stdout] 149 | }, Fr::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `Fr` [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 149 - }, Fr::random(rng)); [INFO] [stdout] 149 + }, Fn::random(rng)); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1` [INFO] [stdout] --> benches/api.rs:155:26 [INFO] [stdout] | [INFO] [stdout] 155 | input(rng) = (G1::random(rng), G2::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::G1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:155:43 [INFO] [stdout] | [INFO] [stdout] 155 | input(rng) = (G1::random(rng), G2::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::G2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pairing` in this scope [INFO] [stdout] --> benches/api.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pairing(input.0, input.1) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 + use witnet_bn::pairing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> benches/api.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | let $rng = &mut rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | / benchmark!(g1_serialization, [INFO] [stdout] 34 | | input(rng) = G1::random(rng); [INFO] [stdout] 35 | | [INFO] [stdout] 36 | | encode(input, Infinite).unwrap() [INFO] [stdout] 37 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> benches/api.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | let $rng = &mut rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | / benchmark!(g1_serialization_normalized, [INFO] [stdout] 40 | | input(rng) = {let mut tmp = G1::random(rng); tmp.normalize(); tmp}; [INFO] [stdout] 41 | | [INFO] [stdout] 42 | | encode(input, Infinite).unwrap() [INFO] [stdout] 43 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> benches/api.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | let $rng = &mut rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | / benchmark!(g2_serialization, [INFO] [stdout] 46 | | input(rng) = G2::random(rng); [INFO] [stdout] 47 | | [INFO] [stdout] 48 | | encode(input, Infinite).unwrap() [INFO] [stdout] 49 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> benches/api.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | let $rng = &mut rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | / benchmark!(g2_serialization_normalized, [INFO] [stdout] 52 | | input(rng) = {let mut tmp = G2::random(rng); tmp.normalize(); tmp}; [INFO] [stdout] 53 | | [INFO] [stdout] 54 | | encode(input, Infinite).unwrap() [INFO] [stdout] 55 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> benches/api.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | let $rng = &mut rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | / benchmark!(g1_deserialization, [INFO] [stdout] 58 | | input(rng) = {encode(&G1::random(rng), Infinite).unwrap()}; [INFO] [stdout] 59 | | [INFO] [stdout] 60 | | decode::(input).unwrap() [INFO] [stdout] 61 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> benches/api.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | let $rng = &mut rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | / benchmark!(g2_deserialization, [INFO] [stdout] 64 | | input(rng) = {encode(&G2::random(rng), Infinite).unwrap()}; [INFO] [stdout] 65 | | [INFO] [stdout] 66 | | decode::(input).unwrap() [INFO] [stdout] 67 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> benches/api.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | let $rng = &mut rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | / benchmark!(fr_addition, [INFO] [stdout] 70 | | input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] 71 | | [INFO] [stdout] 72 | | input.0 + input.1 [INFO] [stdout] 73 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> benches/api.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | let $rng = &mut rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | / benchmark!(fr_subtraction, [INFO] [stdout] 76 | | input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] 77 | | [INFO] [stdout] 78 | | input.0 - input.1 [INFO] [stdout] 79 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> benches/api.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | let $rng = &mut rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | / benchmark!(fr_multiplication, [INFO] [stdout] 82 | | input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] 83 | | [INFO] [stdout] 84 | | input.0 * input.1 [INFO] [stdout] 85 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> benches/api.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | let $rng = &mut rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | / benchmark!(fr_inverses, [INFO] [stdout] 88 | | input(rng) = Fr::random(rng); [INFO] [stdout] 89 | | [INFO] [stdout] 90 | | input.inverse() [INFO] [stdout] 91 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> benches/api.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | let $rng = &mut rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | / benchmark!(g1_addition, [INFO] [stdout] 94 | | input(rng) = (G1::random(rng), G1::random(rng)); [INFO] [stdout] 95 | | [INFO] [stdout] 96 | | input.0 + input.1 [INFO] [stdout] 97 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> benches/api.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | let $rng = &mut rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | / benchmark!(g1_subtraction, [INFO] [stdout] 100 | | input(rng) = (G1::random(rng), G1::random(rng)); [INFO] [stdout] 101 | | [INFO] [stdout] 102 | | input.0 - input.1 [INFO] [stdout] 103 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> benches/api.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | let $rng = &mut rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | / benchmark!(g1_scalar_multiplication, [INFO] [stdout] 106 | | input(rng) = (G1::random(rng), Fr::random(rng)); [INFO] [stdout] 107 | | [INFO] [stdout] 108 | | input.0 * input.1 [INFO] [stdout] 109 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> benches/api.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | let $rng = &mut rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | / benchmark!(g2_addition, [INFO] [stdout] 112 | | input(rng) = (G2::random(rng), G2::random(rng)); [INFO] [stdout] 113 | | [INFO] [stdout] 114 | | input.0 + input.1 [INFO] [stdout] 115 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> benches/api.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | let $rng = &mut rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | / benchmark!(g2_subtraction, [INFO] [stdout] 118 | | input(rng) = (G2::random(rng), G2::random(rng)); [INFO] [stdout] 119 | | [INFO] [stdout] 120 | | input.0 - input.1 [INFO] [stdout] 121 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> benches/api.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | let $rng = &mut rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | / benchmark!(g2_scalar_multiplication, [INFO] [stdout] 124 | | input(rng) = (G2::random(rng), Fr::random(rng)); [INFO] [stdout] 125 | | [INFO] [stdout] 126 | | input.0 * input.1 [INFO] [stdout] 127 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> benches/api.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | let $rng = &mut rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | / benchmark!(fq12_scalar_multiplication, [INFO] [stdout] 130 | | input(rng) = { [INFO] [stdout] 131 | | let g1_1 = G1::random(rng); [INFO] [stdout] 132 | | let g2_1 = G2::random(rng); [INFO] [stdout] ... | [INFO] [stdout] 140 | | input.0 * input.1 [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> benches/api.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | let $rng = &mut rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | / benchmark!(fq12_exponentiation, [INFO] [stdout] 144 | | input(rng) = ({ [INFO] [stdout] 145 | | let g1 = G1::random(rng); [INFO] [stdout] 146 | | let g2 = G2::random(rng); [INFO] [stdout] ... | [INFO] [stdout] 151 | | input.0.pow(input.1) [INFO] [stdout] 152 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> benches/api.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | let $rng = &mut rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | / benchmark!(perform_pairing, [INFO] [stdout] 155 | | input(rng) = (G1::random(rng), G2::random(rng)); [INFO] [stdout] 156 | | [INFO] [stdout] 157 | | pairing(input.0, input.1) [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `witnet-bn` (bench "api") due to 41 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/arith.rs:435:17 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn bits(&self) -> BitIterator { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 435 | pub fn bits(&self) -> BitIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ced3eb8e03cdf641b9da023b91eede28fa344b79ab2123e22aca2baae812cb10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ced3eb8e03cdf641b9da023b91eede28fa344b79ab2123e22aca2baae812cb10", kill_on_drop: false }` [INFO] [stdout] ced3eb8e03cdf641b9da023b91eede28fa344b79ab2123e22aca2baae812cb10