[INFO] fetching crate rabe-bn 0.4.23... [INFO] checking rabe-bn-0.4.23 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate rabe-bn 0.4.23 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate rabe-bn 0.4.23 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rabe-bn 0.4.23 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rabe-bn 0.4.23 [INFO] tweaked toml for crates.io crate rabe-bn 0.4.23 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate crates.io crate rabe-bn 0.4.23 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cfg_aliases v0.1.1 [INFO] [stderr] Downloaded syn_derive v0.1.8 [INFO] [stderr] Downloaded toml_datetime v0.6.6 [INFO] [stderr] Downloaded borsh-derive v1.5.0 [INFO] [stderr] Downloaded borsh v1.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e87cc7836c2b21983b6c8f89d5e2314ef3351d2d37b83fac8a28b4577cad1fa [INFO] running `Command { std: "docker" "start" "-a" "0e87cc7836c2b21983b6c8f89d5e2314ef3351d2d37b83fac8a28b4577cad1fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e87cc7836c2b21983b6c8f89d5e2314ef3351d2d37b83fac8a28b4577cad1fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e87cc7836c2b21983b6c8f89d5e2314ef3351d2d37b83fac8a28b4577cad1fa", kill_on_drop: false }` [INFO] [stdout] 0e87cc7836c2b21983b6c8f89d5e2314ef3351d2d37b83fac8a28b4577cad1fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dea03bfc4fee53fe67b91b1bf439a1bfd978f3f32ac45c4c5a06a9f8dd4c6339 [INFO] running `Command { std: "docker" "start" "-a" "dea03bfc4fee53fe67b91b1bf439a1bfd978f3f32ac45c4c5a06a9f8dd4c6339", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Checking getrandom v0.2.15 [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] Compiling serde_derive v1.0.202 [INFO] [stderr] Checking rabe-bn v0.4.23 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `bn` [INFO] [stdout] --> benches/api.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate bn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `bincode` [INFO] [stdout] --> benches/api.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate bincode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `G1` in this scope [INFO] [stdout] --> benches/api.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | decode::(input).unwrap() [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `G2` in this scope [INFO] [stdout] --> benches/api.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | decode::(input).unwrap() [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1` [INFO] [stdout] --> benches/api.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | input(rng) = G1::random(rng); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bench_n` found for mutable reference `&mut Bencher` in the current scope [INFO] [stdout] --> benches/api.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | b.bench_n(SAMPLES as u64, |b| { [INFO] [stdout] | --^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | / benchmark!(g1_serialization, [INFO] [stdout] 36 | | input(rng) = G1::random(rng); [INFO] [stdout] 37 | | [INFO] [stdout] 38 | | encode(input, Infinite).unwrap() [INFO] [stdout] 39 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: there is a method `bench` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/test/src/bench.rs:50:5 [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 type `G1` [INFO] [stdout] --> benches/api.rs:42:40 [INFO] [stdout] | [INFO] [stdout] 42 | input(rng) = {let mut tmp = G1::random(rng); tmp.normalize(); tmp}; [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bench_n` found for mutable reference `&mut Bencher` in the current scope [INFO] [stdout] --> benches/api.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | b.bench_n(SAMPLES as u64, |b| { [INFO] [stdout] | --^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | / benchmark!(g1_serialization_normalized, [INFO] [stdout] 42 | | input(rng) = {let mut tmp = G1::random(rng); tmp.normalize(); tmp}; [INFO] [stdout] 43 | | [INFO] [stdout] 44 | | encode(input, Infinite).unwrap() [INFO] [stdout] 45 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: there is a method `bench` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/test/src/bench.rs:50:5 [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 type `G2` [INFO] [stdout] --> benches/api.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | input(rng) = G2::random(rng); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bench_n` found for mutable reference `&mut Bencher` in the current scope [INFO] [stdout] --> benches/api.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | b.bench_n(SAMPLES as u64, |b| { [INFO] [stdout] | --^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | / benchmark!(g2_serialization, [INFO] [stdout] 48 | | input(rng) = G2::random(rng); [INFO] [stdout] 49 | | [INFO] [stdout] 50 | | encode(input, Infinite).unwrap() [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: there is a method `bench` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/test/src/bench.rs:50:5 [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 type `G2` [INFO] [stdout] --> benches/api.rs:54:40 [INFO] [stdout] | [INFO] [stdout] 54 | input(rng) = {let mut tmp = G2::random(rng); tmp.normalize(); tmp}; [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bench_n` found for mutable reference `&mut Bencher` in the current scope [INFO] [stdout] --> benches/api.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | b.bench_n(SAMPLES as u64, |b| { [INFO] [stdout] | --^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | / benchmark!(g2_serialization_normalized, [INFO] [stdout] 54 | | input(rng) = {let mut tmp = G2::random(rng); tmp.normalize(); tmp}; [INFO] [stdout] 55 | | [INFO] [stdout] 56 | | encode(input, Infinite).unwrap() [INFO] [stdout] 57 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: there is a method `bench` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/test/src/bench.rs:50:5 [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 type `G1` [INFO] [stdout] --> benches/api.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | input(rng) = {encode(&G1::random(rng), Infinite).unwrap()}; [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bench_n` found for mutable reference `&mut Bencher` in the current scope [INFO] [stdout] --> benches/api.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | b.bench_n(SAMPLES as u64, |b| { [INFO] [stdout] | --^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | / benchmark!(g1_deserialization, [INFO] [stdout] 60 | | input(rng) = {encode(&G1::random(rng), Infinite).unwrap()}; [INFO] [stdout] 61 | | [INFO] [stdout] 62 | | decode::(input).unwrap() [INFO] [stdout] 63 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: there is a method `bench` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/test/src/bench.rs:50:5 [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 type `G2` [INFO] [stdout] --> benches/api.rs:66:34 [INFO] [stdout] | [INFO] [stdout] 66 | input(rng) = {encode(&G2::random(rng), Infinite).unwrap()}; [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bench_n` found for mutable reference `&mut Bencher` in the current scope [INFO] [stdout] --> benches/api.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | b.bench_n(SAMPLES as u64, |b| { [INFO] [stdout] | --^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | / benchmark!(g2_deserialization, [INFO] [stdout] 66 | | input(rng) = {encode(&G2::random(rng), Infinite).unwrap()}; [INFO] [stdout] 67 | | [INFO] [stdout] 68 | | decode::(input).unwrap() [INFO] [stdout] 69 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: there is a method `bench` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/test/src/bench.rs:50:5 [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 type `Fr` [INFO] [stdout] --> benches/api.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Fr` [INFO] [stdout] | help: a trait with a similar name exists: `Fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> benches/api.rs:72:43 [INFO] [stdout] | [INFO] [stdout] 72 | input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Fr` [INFO] [stdout] | help: a trait with a similar name exists: `Fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bench_n` found for mutable reference `&mut Bencher` in the current scope [INFO] [stdout] --> benches/api.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | b.bench_n(SAMPLES as u64, |b| { [INFO] [stdout] | --^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | / benchmark!(fr_addition, [INFO] [stdout] 72 | | input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | input.0 + input.1 [INFO] [stdout] 75 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: there is a method `bench` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/test/src/bench.rs:50:5 [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 type `Fr` [INFO] [stdout] --> benches/api.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Fr` [INFO] [stdout] | help: a trait with a similar name exists: `Fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> benches/api.rs:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Fr` [INFO] [stdout] | help: a trait with a similar name exists: `Fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bench_n` found for mutable reference `&mut Bencher` in the current scope [INFO] [stdout] --> benches/api.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | b.bench_n(SAMPLES as u64, |b| { [INFO] [stdout] | --^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | / benchmark!(fr_subtraction, [INFO] [stdout] 78 | | input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] 79 | | [INFO] [stdout] 80 | | input.0 - input.1 [INFO] [stdout] 81 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: there is a method `bench` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/test/src/bench.rs:50:5 [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 type `Fr` [INFO] [stdout] --> benches/api.rs:84:26 [INFO] [stdout] | [INFO] [stdout] 84 | input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Fr` [INFO] [stdout] | help: a trait with a similar name exists: `Fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> benches/api.rs:84:43 [INFO] [stdout] | [INFO] [stdout] 84 | input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Fr` [INFO] [stdout] | help: a trait with a similar name exists: `Fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bench_n` found for mutable reference `&mut Bencher` in the current scope [INFO] [stdout] --> benches/api.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | b.bench_n(SAMPLES as u64, |b| { [INFO] [stdout] | --^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | / benchmark!(fr_multiplication, [INFO] [stdout] 84 | | input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] 85 | | [INFO] [stdout] 86 | | input.0 * input.1 [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: there is a method `bench` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/test/src/bench.rs:50:5 [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 type `Fr` [INFO] [stdout] --> benches/api.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | input(rng) = Fr::random(rng); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Fr` [INFO] [stdout] | help: a trait with a similar name exists: `Fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bench_n` found for mutable reference `&mut Bencher` in the current scope [INFO] [stdout] --> benches/api.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | b.bench_n(SAMPLES as u64, |b| { [INFO] [stdout] | --^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | / benchmark!(fr_inverses, [INFO] [stdout] 90 | | input(rng) = Fr::random(rng); [INFO] [stdout] 91 | | [INFO] [stdout] 92 | | input.inverse() [INFO] [stdout] 93 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: there is a method `bench` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/test/src/bench.rs:50:5 [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 type `G1` [INFO] [stdout] --> benches/api.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | input(rng) = (G1::random(rng), G1::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1` [INFO] [stdout] --> benches/api.rs:96:43 [INFO] [stdout] | [INFO] [stdout] 96 | input(rng) = (G1::random(rng), G1::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bench_n` found for mutable reference `&mut Bencher` in the current scope [INFO] [stdout] --> benches/api.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | b.bench_n(SAMPLES as u64, |b| { [INFO] [stdout] | --^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | / benchmark!(g1_addition, [INFO] [stdout] 96 | | input(rng) = (G1::random(rng), G1::random(rng)); [INFO] [stdout] 97 | | [INFO] [stdout] 98 | | input.0 + input.1 [INFO] [stdout] 99 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: there is a method `bench` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/test/src/bench.rs:50:5 [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 type `G1` [INFO] [stdout] --> benches/api.rs:102:26 [INFO] [stdout] | [INFO] [stdout] 102 | input(rng) = (G1::random(rng), G1::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1` [INFO] [stdout] --> benches/api.rs:102:43 [INFO] [stdout] | [INFO] [stdout] 102 | input(rng) = (G1::random(rng), G1::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bench_n` found for mutable reference `&mut Bencher` in the current scope [INFO] [stdout] --> benches/api.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | b.bench_n(SAMPLES as u64, |b| { [INFO] [stdout] | --^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | / benchmark!(g1_subtraction, [INFO] [stdout] 102 | | input(rng) = (G1::random(rng), G1::random(rng)); [INFO] [stdout] 103 | | [INFO] [stdout] 104 | | input.0 - input.1 [INFO] [stdout] 105 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: there is a method `bench` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/test/src/bench.rs:50:5 [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 type `G1` [INFO] [stdout] --> benches/api.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | input(rng) = (G1::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> benches/api.rs:108:43 [INFO] [stdout] | [INFO] [stdout] 108 | input(rng) = (G1::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Fr` [INFO] [stdout] | help: a trait with a similar name exists: `Fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bench_n` found for mutable reference `&mut Bencher` in the current scope [INFO] [stdout] --> benches/api.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | b.bench_n(SAMPLES as u64, |b| { [INFO] [stdout] | --^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | / benchmark!(g1_scalar_multiplication, [INFO] [stdout] 108 | | input(rng) = (G1::random(rng), Fr::random(rng)); [INFO] [stdout] 109 | | [INFO] [stdout] 110 | | input.0 * input.1 [INFO] [stdout] 111 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: there is a method `bench` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/test/src/bench.rs:50:5 [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 type `G2` [INFO] [stdout] --> benches/api.rs:114:26 [INFO] [stdout] | [INFO] [stdout] 114 | input(rng) = (G2::random(rng), G2::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:114:43 [INFO] [stdout] | [INFO] [stdout] 114 | input(rng) = (G2::random(rng), G2::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bench_n` found for mutable reference `&mut Bencher` in the current scope [INFO] [stdout] --> benches/api.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | b.bench_n(SAMPLES as u64, |b| { [INFO] [stdout] | --^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | / benchmark!(g2_addition, [INFO] [stdout] 114 | | input(rng) = (G2::random(rng), G2::random(rng)); [INFO] [stdout] 115 | | [INFO] [stdout] 116 | | input.0 + input.1 [INFO] [stdout] 117 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: there is a method `bench` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/test/src/bench.rs:50:5 [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 type `G2` [INFO] [stdout] --> benches/api.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | input(rng) = (G2::random(rng), G2::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:120:43 [INFO] [stdout] | [INFO] [stdout] 120 | input(rng) = (G2::random(rng), G2::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bench_n` found for mutable reference `&mut Bencher` in the current scope [INFO] [stdout] --> benches/api.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | b.bench_n(SAMPLES as u64, |b| { [INFO] [stdout] | --^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | / benchmark!(g2_subtraction, [INFO] [stdout] 120 | | input(rng) = (G2::random(rng), G2::random(rng)); [INFO] [stdout] 121 | | [INFO] [stdout] 122 | | input.0 - input.1 [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: there is a method `bench` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/test/src/bench.rs:50:5 [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 type `G2` [INFO] [stdout] --> benches/api.rs:126:26 [INFO] [stdout] | [INFO] [stdout] 126 | input(rng) = (G2::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> benches/api.rs:126:43 [INFO] [stdout] | [INFO] [stdout] 126 | input(rng) = (G2::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Fr` [INFO] [stdout] | help: a trait with a similar name exists: `Fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bench_n` found for mutable reference `&mut Bencher` in the current scope [INFO] [stdout] --> benches/api.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | b.bench_n(SAMPLES as u64, |b| { [INFO] [stdout] | --^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | / benchmark!(g2_scalar_multiplication, [INFO] [stdout] 126 | | input(rng) = (G2::random(rng), Fr::random(rng)); [INFO] [stdout] 127 | | [INFO] [stdout] 128 | | input.0 * input.1 [INFO] [stdout] 129 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: there is a method `bench` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/test/src/bench.rs:50:5 [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 type `G1` [INFO] [stdout] --> benches/api.rs:133:27 [INFO] [stdout] | [INFO] [stdout] 133 | let g1_1 = G1::random(rng); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:134:27 [INFO] [stdout] | [INFO] [stdout] 134 | let g2_1 = G2::random(rng); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1` [INFO] [stdout] --> benches/api.rs:136:27 [INFO] [stdout] | [INFO] [stdout] 136 | let g1_2 = G1::random(rng); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:137:27 [INFO] [stdout] | [INFO] [stdout] 137 | let g2_2 = G2::random(rng); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pairing` in this scope [INFO] [stdout] --> benches/api.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | (pairing(g1_1, g2_1), pairing(g1_2, g2_2)) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pairing` in this scope [INFO] [stdout] --> benches/api.rs:139:38 [INFO] [stdout] | [INFO] [stdout] 139 | (pairing(g1_1, g2_1), pairing(g1_2, g2_2)) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bench_n` found for mutable reference `&mut Bencher` in the current scope [INFO] [stdout] --> benches/api.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | b.bench_n(SAMPLES as u64, |b| { [INFO] [stdout] | --^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | / benchmark!(fq12_scalar_multiplication, [INFO] [stdout] 132 | | input(rng) = { [INFO] [stdout] 133 | | let g1_1 = G1::random(rng); [INFO] [stdout] 134 | | let g2_1 = G2::random(rng); [INFO] [stdout] ... | [INFO] [stdout] 142 | | input.0 * input.1 [INFO] [stdout] 143 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: there is a method `bench` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/test/src/bench.rs:50:5 [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 type `G1` [INFO] [stdout] --> benches/api.rs:147:25 [INFO] [stdout] | [INFO] [stdout] 147 | let g1 = G1::random(rng); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | let g2 = G2::random(rng); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pairing` in this scope [INFO] [stdout] --> benches/api.rs:150:16 [INFO] [stdout] | [INFO] [stdout] 150 | pairing(g1, g2) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> benches/api.rs:151:15 [INFO] [stdout] | [INFO] [stdout] 151 | }, Fr::random(rng)); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Fr` [INFO] [stdout] | help: a trait with a similar name exists: `Fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bench_n` found for mutable reference `&mut Bencher` in the current scope [INFO] [stdout] --> benches/api.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | b.bench_n(SAMPLES as u64, |b| { [INFO] [stdout] | --^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / benchmark!(fq12_exponentiation, [INFO] [stdout] 146 | | input(rng) = ({ [INFO] [stdout] 147 | | let g1 = G1::random(rng); [INFO] [stdout] 148 | | let g2 = G2::random(rng); [INFO] [stdout] ... | [INFO] [stdout] 153 | | input.0.pow(input.1) [INFO] [stdout] 154 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: there is a method `bench` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/test/src/bench.rs:50:5 [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 type `G1` [INFO] [stdout] --> benches/api.rs:157:26 [INFO] [stdout] | [INFO] [stdout] 157 | input(rng) = (G1::random(rng), G2::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:157:43 [INFO] [stdout] | [INFO] [stdout] 157 | input(rng) = (G1::random(rng), G2::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bench_n` found for mutable reference `&mut Bencher` in the current scope [INFO] [stdout] --> benches/api.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | b.bench_n(SAMPLES as u64, |b| { [INFO] [stdout] | --^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | / benchmark!(perform_pairing, [INFO] [stdout] 157 | | input(rng) = (G1::random(rng), G2::random(rng)); [INFO] [stdout] 158 | | [INFO] [stdout] 159 | | pairing(input.0, input.1) [INFO] [stdout] 160 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: there is a method `bench` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/test/src/bench.rs:50:5 [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[E0425]: cannot find function `pairing` in this scope [INFO] [stdout] --> benches/api.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pairing(input.0, input.1) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 61 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rabe-bn` (bench "api") due to 62 previous errors [INFO] running `Command { std: "docker" "inspect" "dea03bfc4fee53fe67b91b1bf439a1bfd978f3f32ac45c4c5a06a9f8dd4c6339", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dea03bfc4fee53fe67b91b1bf439a1bfd978f3f32ac45c4c5a06a9f8dd4c6339", kill_on_drop: false }` [INFO] [stdout] dea03bfc4fee53fe67b91b1bf439a1bfd978f3f32ac45c4c5a06a9f8dd4c6339