[INFO] fetching crate fork-of-zcash-bn 0.1.0...
[INFO] checking fork-of-zcash-bn-0.1.0 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate fork-of-zcash-bn 0.1.0 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate fork-of-zcash-bn 0.1.0 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate fork-of-zcash-bn 0.1.0
[INFO] finished tweaking crates.io crate fork-of-zcash-bn 0.1.0
[INFO] tweaked toml for crates.io crate fork-of-zcash-bn 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate crates.io crate fork-of-zcash-bn 0.1.0 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" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3bb2053e89653369c877f984c79dfdb0c41aab4d4c6ebf557fef42c55fbf311a
[INFO] running `Command { std: "docker" "start" "-a" "3bb2053e89653369c877f984c79dfdb0c41aab4d4c6ebf557fef42c55fbf311a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3bb2053e89653369c877f984c79dfdb0c41aab4d4c6ebf557fef42c55fbf311a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3bb2053e89653369c877f984c79dfdb0c41aab4d4c6ebf557fef42c55fbf311a", kill_on_drop: false }`
[INFO] [stdout] 3bb2053e89653369c877f984c79dfdb0c41aab4d4c6ebf557fef42c55fbf311a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a149df9018873a80e3826d379db22e012dd03a113c15979a112206ac06e8af5c
[INFO] running `Command { std: "docker" "start" "-a" "a149df9018873a80e3826d379db22e012dd03a113c15979a112206ac06e8af5c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.135
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking rustc-hex v2.1.0
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking fork-of-zcash-bn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `substrate_bn`
[INFO] [stdout]  --> examples/dh.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use substrate_bn::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `substrate_bn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `substrate_bn`
[INFO] [stdout]  --> benches/api.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_bn::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `substrate_bn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> examples/dh.rs:10:20
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let alice_sk = 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] 10 |     let alice_sk = Fn::random(rng);
[INFO] [stdout]    |                    ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fork_of_zcash_bn::Fr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> examples/dh.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let bob_sk = 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] 11 |     let bob_sk = Fn::random(rng);
[INFO] [stdout]    |                  ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fork_of_zcash_bn::Fr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> examples/dh.rs:12:20
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let carol_sk = 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] 12 |     let carol_sk = Fn::random(rng);
[INFO] [stdout]    |                    ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fork_of_zcash_bn::Fr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> examples/dh.rs:15:20
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let alice_pk = G1::one() * alice_sk;
[INFO] [stdout]    |                    ^^ use of undeclared type `G1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fork_of_zcash_bn::G1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> examples/dh.rs:16:18
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let bob_pk = G1::one() * bob_sk;
[INFO] [stdout]    |                  ^^ use of undeclared type `G1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fork_of_zcash_bn::G1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> examples/dh.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let carol_pk = G1::one() * carol_sk;
[INFO] [stdout]    |                    ^^ use of undeclared type `G1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fork_of_zcash_bn::G1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[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 `fork-of-zcash-bn` (example "dh") due to 8 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0432]: unresolved import `substrate_bn`
[INFO] [stdout]  --> examples/joux.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use substrate_bn::{Group, Fr, G1, G2, pairing};
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `substrate_bn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fork-of-zcash-bn` (example "joux") due to 2 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> benches/api.rs:28:26
[INFO] [stdout]    |
[INFO] [stdout] 28 |            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] 28 |            input(rng) = (Fn::random(rng), Fr::random(rng));
[INFO] [stdout]    |                          ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_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:28:43
[INFO] [stdout]    |
[INFO] [stdout] 28 |            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] 28 |            input(rng) = (Fr::random(rng), Fn::random(rng));
[INFO] [stdout]    |                                           ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_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:34:26
[INFO] [stdout]    |
[INFO] [stdout] 34 |            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] 34 |            input(rng) = (Fn::random(rng), Fr::random(rng));
[INFO] [stdout]    |                          ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_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:34:43
[INFO] [stdout]    |
[INFO] [stdout] 34 |            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] 34 |            input(rng) = (Fr::random(rng), Fn::random(rng));
[INFO] [stdout]    |                                           ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_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:40:26
[INFO] [stdout]    |
[INFO] [stdout] 40 |            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] 40 |            input(rng) = (Fn::random(rng), Fr::random(rng));
[INFO] [stdout]    |                          ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_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:40:43
[INFO] [stdout]    |
[INFO] [stdout] 40 |            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] 40 |            input(rng) = (Fr::random(rng), Fn::random(rng));
[INFO] [stdout]    |                                           ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_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:46:25
[INFO] [stdout]    |
[INFO] [stdout] 46 |            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] 46 |            input(rng) = Fn::random(rng);
[INFO] [stdout]    |                         ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_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:52:26
[INFO] [stdout]    |
[INFO] [stdout] 52 |            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] 3  + use fork_of_zcash_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:52:43
[INFO] [stdout]    |
[INFO] [stdout] 52 |            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] 3  + use fork_of_zcash_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:58:26
[INFO] [stdout]    |
[INFO] [stdout] 58 |            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] 3  + use fork_of_zcash_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:58:43
[INFO] [stdout]    |
[INFO] [stdout] 58 |            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] 3  + use fork_of_zcash_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:64:26
[INFO] [stdout]    |
[INFO] [stdout] 64 |            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] 3  + use fork_of_zcash_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:64:43
[INFO] [stdout]    |
[INFO] [stdout] 64 |            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] 64 |            input(rng) = (G1::random(rng), Fn::random(rng));
[INFO] [stdout]    |                                           ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_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:70:26
[INFO] [stdout]    |
[INFO] [stdout] 70 |            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] 3  + use fork_of_zcash_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:70:43
[INFO] [stdout]    |
[INFO] [stdout] 70 |            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] 3  + use fork_of_zcash_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:76:26
[INFO] [stdout]    |
[INFO] [stdout] 76 |            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] 3  + use fork_of_zcash_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:76:43
[INFO] [stdout]    |
[INFO] [stdout] 76 |            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] 3  + use fork_of_zcash_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:82:26
[INFO] [stdout]    |
[INFO] [stdout] 82 |            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] 3  + use fork_of_zcash_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:82:43
[INFO] [stdout]    |
[INFO] [stdout] 82 |            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] 82 |            input(rng) = (G2::random(rng), Fn::random(rng));
[INFO] [stdout]    |                                           ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_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:89:27
[INFO] [stdout]    |
[INFO] [stdout] 89 |                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] 3  + use fork_of_zcash_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:90:27
[INFO] [stdout]    |
[INFO] [stdout] 90 |                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] 3  + use fork_of_zcash_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:92:27
[INFO] [stdout]    |
[INFO] [stdout] 92 |                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] 3  + use fork_of_zcash_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:93:27
[INFO] [stdout]    |
[INFO] [stdout] 93 |                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] 3  + use fork_of_zcash_bn::G2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pairing` in this scope
[INFO] [stdout]   --> benches/api.rs:95:17
[INFO] [stdout]    |
[INFO] [stdout] 95 |                (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] 3  + use fork_of_zcash_bn::pairing;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pairing` in this scope
[INFO] [stdout]   --> benches/api.rs:95:38
[INFO] [stdout]    |
[INFO] [stdout] 95 |                (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] 3  + use fork_of_zcash_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:103:25
[INFO] [stdout]     |
[INFO] [stdout] 103 |                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] 3   + use fork_of_zcash_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:104:25
[INFO] [stdout]     |
[INFO] [stdout] 104 |                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] 3   + use fork_of_zcash_bn::G2;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pairing` in this scope
[INFO] [stdout]    --> benches/api.rs:106:16
[INFO] [stdout]     |
[INFO] [stdout] 106 |                pairing(g1, g2)
[INFO] [stdout]     |                ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use fork_of_zcash_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:107:15
[INFO] [stdout]     |
[INFO] [stdout] 107 |            }, 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] 107 |            }, Fn::random(rng));
[INFO] [stdout]     |               ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 3   + use fork_of_zcash_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:113:26
[INFO] [stdout]     |
[INFO] [stdout] 113 |            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] 3   + use fork_of_zcash_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:113:43
[INFO] [stdout]     |
[INFO] [stdout] 113 |            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] 3   + use fork_of_zcash_bn::G2;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pairing` in this scope
[INFO] [stdout]    --> benches/api.rs:115:12
[INFO] [stdout]     |
[INFO] [stdout] 115 |            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] 3   + use fork_of_zcash_bn::pairing;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 27 | / benchmark!(fr_addition,
[INFO] [stdout] 28 | |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout] 29 | |
[INFO] [stdout] 30 | |            input.0 + input.1
[INFO] [stdout] 31 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 33 | / benchmark!(fr_subtraction,
[INFO] [stdout] 34 | |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout] 35 | |
[INFO] [stdout] 36 | |            input.0 - input.1
[INFO] [stdout] 37 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 39 | / benchmark!(fr_multiplication,
[INFO] [stdout] 40 | |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout] 41 | |
[INFO] [stdout] 42 | |            input.0 * input.1
[INFO] [stdout] 43 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 45 | / benchmark!(fr_inverses,
[INFO] [stdout] 46 | |            input(rng) = Fr::random(rng);
[INFO] [stdout] 47 | |
[INFO] [stdout] 48 | |            input.inverse()
[INFO] [stdout] 49 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 51 | / benchmark!(g1_addition,
[INFO] [stdout] 52 | |            input(rng) = (G1::random(rng), G1::random(rng));
[INFO] [stdout] 53 | |
[INFO] [stdout] 54 | |            input.0 + input.1
[INFO] [stdout] 55 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 57 | / benchmark!(g1_subtraction,
[INFO] [stdout] 58 | |            input(rng) = (G1::random(rng), G1::random(rng));
[INFO] [stdout] 59 | |
[INFO] [stdout] 60 | |            input.0 - input.1
[INFO] [stdout] 61 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 63 | / benchmark!(g1_scalar_multiplication,
[INFO] [stdout] 64 | |            input(rng) = (G1::random(rng), Fr::random(rng));
[INFO] [stdout] 65 | |
[INFO] [stdout] 66 | |            input.0 * input.1
[INFO] [stdout] 67 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 69 | / benchmark!(g2_addition,
[INFO] [stdout] 70 | |            input(rng) = (G2::random(rng), G2::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 error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 75 | / benchmark!(g2_subtraction,
[INFO] [stdout] 76 | |            input(rng) = (G2::random(rng), G2::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 error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 81 | / benchmark!(g2_scalar_multiplication,
[INFO] [stdout] 82 | |            input(rng) = (G2::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 error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 87 | / benchmark!(fq12_scalar_multiplication,
[INFO] [stdout] 88 | |            input(rng) = {
[INFO] [stdout] 89 | |                let g1_1 = G1::random(rng);
[INFO] [stdout] 90 | |                let g2_1 = G2::random(rng);
[INFO] [stdout] ...  |
[INFO] [stdout] 98 | |            input.0 * input.1
[INFO] [stdout] 99 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]    --> benches/api.rs:10:26
[INFO] [stdout]     |
[INFO] [stdout] 10  |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]     |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 101 | / benchmark!(fq12_exponentiation,
[INFO] [stdout] 102 | |            input(rng) = ({
[INFO] [stdout] 103 | |                let g1 = G1::random(rng);
[INFO] [stdout] 104 | |                let g2 = G2::random(rng);
[INFO] [stdout] ...   |
[INFO] [stdout] 109 | |            input.0.pow(input.1)
[INFO] [stdout] 110 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]    --> benches/api.rs:10:26
[INFO] [stdout]     |
[INFO] [stdout] 10  |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]     |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 112 | / benchmark!(perform_pairing,
[INFO] [stdout] 113 | |            input(rng) = (G1::random(rng), G2::random(rng));
[INFO] [stdout] 114 | |
[INFO] [stdout] 115 | |            pairing(input.0, input.1)
[INFO] [stdout] 116 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 46 previous errors
[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 `fork-of-zcash-bn` (bench "api") due to 47 previous errors
[INFO] running `Command { std: "docker" "inspect" "a149df9018873a80e3826d379db22e012dd03a113c15979a112206ac06e8af5c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a149df9018873a80e3826d379db22e012dd03a113c15979a112206ac06e8af5c", kill_on_drop: false }`
[INFO] [stdout] a149df9018873a80e3826d379db22e012dd03a113c15979a112206ac06e8af5c
