[INFO] fetching crate bn-plus 0.4.4... [INFO] checking bn-plus-0.4.4 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate bn-plus 0.4.4 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate bn-plus 0.4.4 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bn-plus 0.4.4 [INFO] finished tweaking crates.io crate bn-plus 0.4.4 [INFO] tweaked toml for crates.io crate bn-plus 0.4.4 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 16 packages to latest compatible versions [INFO] [stderr] Adding bincode v0.6.1 (available: v1.3.3) [INFO] [stderr] Adding rand v0.3.23 (available: v0.8.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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] Downloading crates ... [INFO] [stderr] Downloaded bincode v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3801efb065a8574cbbdc5ba5296d70a8f36077df049019190555ed5b840d199 [INFO] running `Command { std: "docker" "start" "-a" "b3801efb065a8574cbbdc5ba5296d70a8f36077df049019190555ed5b840d199", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3801efb065a8574cbbdc5ba5296d70a8f36077df049019190555ed5b840d199", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3801efb065a8574cbbdc5ba5296d70a8f36077df049019190555ed5b840d199", kill_on_drop: false }` [INFO] [stdout] b3801efb065a8574cbbdc5ba5296d70a8f36077df049019190555ed5b840d199 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f774f4ab692d256433dc53906f9a82079553f9048e3bf0139d233706f7ed6fa3 [INFO] running `Command { std: "docker" "start" "-a" "f774f4ab692d256433dc53906f9a82079553f9048e3bf0139d233706f7ed6fa3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking bincode v0.6.1 [INFO] [stderr] Checking bn-plus v0.4.4 (/opt/rustwide/workdir) [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/ff1737bb00913444173658b4e0b274fd79aabf66/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[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/ff1737bb00913444173658b4e0b274fd79aabf66/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[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/ff1737bb00913444173658b4e0b274fd79aabf66/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[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/ff1737bb00913444173658b4e0b274fd79aabf66/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[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/ff1737bb00913444173658b4e0b274fd79aabf66/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[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/ff1737bb00913444173658b4e0b274fd79aabf66/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[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/ff1737bb00913444173658b4e0b274fd79aabf66/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[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/ff1737bb00913444173658b4e0b274fd79aabf66/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[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/ff1737bb00913444173658b4e0b274fd79aabf66/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[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/ff1737bb00913444173658b4e0b274fd79aabf66/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[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/ff1737bb00913444173658b4e0b274fd79aabf66/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[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/ff1737bb00913444173658b4e0b274fd79aabf66/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[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/ff1737bb00913444173658b4e0b274fd79aabf66/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[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/ff1737bb00913444173658b4e0b274fd79aabf66/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[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/ff1737bb00913444173658b4e0b274fd79aabf66/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[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/ff1737bb00913444173658b4e0b274fd79aabf66/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[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/ff1737bb00913444173658b4e0b274fd79aabf66/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[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/ff1737bb00913444173658b4e0b274fd79aabf66/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[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/ff1737bb00913444173658b4e0b274fd79aabf66/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] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bn-plus` (bench "api") due to 19 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f774f4ab692d256433dc53906f9a82079553f9048e3bf0139d233706f7ed6fa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f774f4ab692d256433dc53906f9a82079553f9048e3bf0139d233706f7ed6fa3", kill_on_drop: false }` [INFO] [stdout] f774f4ab692d256433dc53906f9a82079553f9048e3bf0139d233706f7ed6fa3