[INFO] fetching crate bn-plus 0.4.4...
[INFO] checking bn-plus-0.4.4 against master#b0696a5160711c068cb1f01b7437db7990d15750 for pr-121848
[INFO] extracting crate bn-plus 0.4.4 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate bn-plus 0.4.4 on toolchain b0696a5160711c068cb1f01b7437db7990d15750
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "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-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 31856ceec4e741e622ea06b50cefb2d983ee2e893d74654d5091744c84a898d0
[INFO] running `Command { std: "docker" "start" "-a" "31856ceec4e741e622ea06b50cefb2d983ee2e893d74654d5091744c84a898d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "31856ceec4e741e622ea06b50cefb2d983ee2e893d74654d5091744c84a898d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31856ceec4e741e622ea06b50cefb2d983ee2e893d74654d5091744c84a898d0", kill_on_drop: false }`
[INFO] [stdout] 31856ceec4e741e622ea06b50cefb2d983ee2e893d74654d5091744c84a898d0
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6e4ed137209fe2452a419bae9151d96f67afbeb3de6a4dd19e227195bc8718df
[INFO] running `Command { std: "docker" "start" "-a" "6e4ed137209fe2452a419bae9151d96f67afbeb3de6a4dd19e227195bc8718df", kill_on_drop: false }`
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[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] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/lib.rs:15:45
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Copy, Clone, Debug, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/lib.rs:15:61
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Copy, Clone, Debug, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/lib.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout] 73 | #[derive(Copy, Clone, Debug, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/lib.rs:73:61
[INFO] [stdout]    |
[INFO] [stdout] 73 | #[derive(Copy, Clone, Debug, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:170:38
[INFO] [stdout]     |
[INFO] [stdout] 170 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:170:54
[INFO] [stdout]     |
[INFO] [stdout] 170 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:243:38
[INFO] [stdout]     |
[INFO] [stdout] 243 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:243:54
[INFO] [stdout]     |
[INFO] [stdout] 243 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:279:38
[INFO] [stdout]     |
[INFO] [stdout] 279 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:279:54
[INFO] [stdout]     |
[INFO] [stdout] 279 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:372:38
[INFO] [stdout]     |
[INFO] [stdout] 372 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:372:54
[INFO] [stdout]     |
[INFO] [stdout] 372 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/arith.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout] 109 |             try!(s.emit_u8(buf[i]));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/arith.rs:121:22
[INFO] [stdout]     |
[INFO] [stdout] 121 |             buf[i] = try!(s.read_u8());
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/arith.rs:137:13
[INFO] [stdout]     |
[INFO] [stdout] 137 |             try!(s.emit_u8(buf[i]));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/arith.rs:149:22
[INFO] [stdout]     |
[INFO] [stdout] 149 |             buf[i] = try!(s.read_u8());
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/fields/fp.rs:34:28
[INFO] [stdout]     |
[INFO] [stdout] 34  |                   $name::new(try!(U256::decode(s))).ok_or_else(|| s.error("integer is not less than modulus"))
[INFO] [stdout]     |                              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 182 | / field_impl!(
[INFO] [stdout] 183 | |     Fr,
[INFO] [stdout] 184 | |     [0x43e1f593f0000001, 0x2833e84879b97091, 0xb85045b68181585d, 0x30644e72e131a029],
[INFO] [stdout] 185 | |     [0x1bb8e645ae216da7, 0x53fe3ab1e35c59e3, 0x8c49833d53bb8085, 0x0216d0b17f4e44a5],
[INFO] [stdout] ...   |
[INFO] [stdout] 188 | |     0xc2e1f593efffffff
[INFO] [stdout] 189 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `field_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/fields/fp.rs:34:28
[INFO] [stdout]     |
[INFO] [stdout] 34  |                   $name::new(try!(U256::decode(s))).ok_or_else(|| s.error("integer is not less than modulus"))
[INFO] [stdout]     |                              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 | / field_impl!(
[INFO] [stdout] 192 | |     Fq,
[INFO] [stdout] 193 | |     [0x3c208c16d87cfd47, 0x97816a916871ca8d, 0xb85045b68181585d, 0x30644e72e131a029],
[INFO] [stdout] 194 | |     [0xf32cfc5b538afa89, 0xb5e71911d44501fb, 0x47ab1eff0a417ff6, 0x06d89f71cab8351f],
[INFO] [stdout] ...   |
[INFO] [stdout] 197 | |     0x87d20782e4866389
[INFO] [stdout] 198 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `field_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/fields/fq2.rs:42:24
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let combined = try!(U512::decode(s));
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/fields/mod.rs:29:23
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn random<R: Rng>(&mut R) -> Self;
[INFO] [stdout]    |                       ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut R`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout]    = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:233:13
[INFO] [stdout]     |
[INFO] [stdout] 233 |             try!(l.encode(s));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:241:9
[INFO] [stdout]     |
[INFO] [stdout] 241 |         try!(self.x.encode(s));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:242:9
[INFO] [stdout]     |
[INFO] [stdout] 242 |         try!(self.y.encode(s));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:250:17
[INFO] [stdout]     |
[INFO] [stdout] 250 |         let l = try!(u8::decode(s));
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:254:16
[INFO] [stdout]     |
[INFO] [stdout] 254 |             Ok(try!(AffineG::decode(s)).to_jacobian())
[INFO] [stdout]     |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:263:17
[INFO] [stdout]     |
[INFO] [stdout] 263 |         let x = try!(P::Base::decode(s));
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:264:17
[INFO] [stdout]     |
[INFO] [stdout] 264 |         let y = try!(P::Base::decode(s));
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/lib.rs:15:45
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Copy, Clone, Debug, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/lib.rs:15:61
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Copy, Clone, Debug, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/lib.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout] 73 | #[derive(Copy, Clone, Debug, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/lib.rs:73:61
[INFO] [stdout]    |
[INFO] [stdout] 73 | #[derive(Copy, Clone, Debug, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:170:38
[INFO] [stdout]     |
[INFO] [stdout] 170 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:170:54
[INFO] [stdout]     |
[INFO] [stdout] 170 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:243:38
[INFO] [stdout]     |
[INFO] [stdout] 243 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:243:54
[INFO] [stdout]     |
[INFO] [stdout] 243 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:279:38
[INFO] [stdout]     |
[INFO] [stdout] 279 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:279:54
[INFO] [stdout]     |
[INFO] [stdout] 279 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:372:38
[INFO] [stdout]     |
[INFO] [stdout] 372 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:372:54
[INFO] [stdout]     |
[INFO] [stdout] 372 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/arith.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout] 109 |             try!(s.emit_u8(buf[i]));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/arith.rs:121:22
[INFO] [stdout]     |
[INFO] [stdout] 121 |             buf[i] = try!(s.read_u8());
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/arith.rs:137:13
[INFO] [stdout]     |
[INFO] [stdout] 137 |             try!(s.emit_u8(buf[i]));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/arith.rs:149:22
[INFO] [stdout]     |
[INFO] [stdout] 149 |             buf[i] = try!(s.read_u8());
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/fields/fp.rs:34:28
[INFO] [stdout]     |
[INFO] [stdout] 34  |                   $name::new(try!(U256::decode(s))).ok_or_else(|| s.error("integer is not less than modulus"))
[INFO] [stdout]     |                              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 182 | / field_impl!(
[INFO] [stdout] 183 | |     Fr,
[INFO] [stdout] 184 | |     [0x43e1f593f0000001, 0x2833e84879b97091, 0xb85045b68181585d, 0x30644e72e131a029],
[INFO] [stdout] 185 | |     [0x1bb8e645ae216da7, 0x53fe3ab1e35c59e3, 0x8c49833d53bb8085, 0x0216d0b17f4e44a5],
[INFO] [stdout] ...   |
[INFO] [stdout] 188 | |     0xc2e1f593efffffff
[INFO] [stdout] 189 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `field_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/fields/fp.rs:34:28
[INFO] [stdout]     |
[INFO] [stdout] 34  |                   $name::new(try!(U256::decode(s))).ok_or_else(|| s.error("integer is not less than modulus"))
[INFO] [stdout]     |                              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 | / field_impl!(
[INFO] [stdout] 192 | |     Fq,
[INFO] [stdout] 193 | |     [0x3c208c16d87cfd47, 0x97816a916871ca8d, 0xb85045b68181585d, 0x30644e72e131a029],
[INFO] [stdout] 194 | |     [0xf32cfc5b538afa89, 0xb5e71911d44501fb, 0x47ab1eff0a417ff6, 0x06d89f71cab8351f],
[INFO] [stdout] ...   |
[INFO] [stdout] 197 | |     0x87d20782e4866389
[INFO] [stdout] 198 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `field_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/fields/fq2.rs:42:24
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let combined = try!(U512::decode(s));
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/fields/mod.rs:29:23
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn random<R: Rng>(&mut R) -> Self;
[INFO] [stdout]    |                       ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut R`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout]    = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:233:13
[INFO] [stdout]     |
[INFO] [stdout] 233 |             try!(l.encode(s));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:241:9
[INFO] [stdout]     |
[INFO] [stdout] 241 |         try!(self.x.encode(s));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:242:9
[INFO] [stdout]     |
[INFO] [stdout] 242 |         try!(self.y.encode(s));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:250:17
[INFO] [stdout]     |
[INFO] [stdout] 250 |         let l = try!(u8::decode(s));
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:254:16
[INFO] [stdout]     |
[INFO] [stdout] 254 |             Ok(try!(AffineG::decode(s)).to_jacobian())
[INFO] [stdout]     |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:263:17
[INFO] [stdout]     |
[INFO] [stdout] 263 |         let x = try!(P::Base::decode(s));
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:264:17
[INFO] [stdout]     |
[INFO] [stdout] 264 |         let y = try!(P::Base::decode(s));
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_y_at_point_at_infinity` is never used
[INFO] [stdout]    --> src/groups/mod.rs:952:4
[INFO] [stdout]     |
[INFO] [stdout] 952 | fn test_y_at_point_at_infinity() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 28 warnings emitted
[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/b0696a5160711c068cb1f01b7437db7990d15750/library/test/src/bench.rs:52: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/b0696a5160711c068cb1f01b7437db7990d15750/library/test/src/bench.rs:52: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/b0696a5160711c068cb1f01b7437db7990d15750/library/test/src/bench.rs:52: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/b0696a5160711c068cb1f01b7437db7990d15750/library/test/src/bench.rs:52: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::<G1>(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/b0696a5160711c068cb1f01b7437db7990d15750/library/test/src/bench.rs:52: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] warning: function `test_y_at_point_at_infinity` is never used
[INFO] [stdout]    --> src/groups/mod.rs:952:4
[INFO] [stdout]     |
[INFO] [stdout] 952 | fn test_y_at_point_at_infinity() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 28 warnings emitted
[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::<G2>(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/b0696a5160711c068cb1f01b7437db7990d15750/library/test/src/bench.rs:52: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/b0696a5160711c068cb1f01b7437db7990d15750/library/test/src/bench.rs:52: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/b0696a5160711c068cb1f01b7437db7990d15750/library/test/src/bench.rs:52: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/b0696a5160711c068cb1f01b7437db7990d15750/library/test/src/bench.rs:52: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/b0696a5160711c068cb1f01b7437db7990d15750/library/test/src/bench.rs:52: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/b0696a5160711c068cb1f01b7437db7990d15750/library/test/src/bench.rs:52: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/b0696a5160711c068cb1f01b7437db7990d15750/library/test/src/bench.rs:52: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/b0696a5160711c068cb1f01b7437db7990d15750/library/test/src/bench.rs:52: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/b0696a5160711c068cb1f01b7437db7990d15750/library/test/src/bench.rs:52: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/b0696a5160711c068cb1f01b7437db7990d15750/library/test/src/bench.rs:52: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/b0696a5160711c068cb1f01b7437db7990d15750/library/test/src/bench.rs:52: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/b0696a5160711c068cb1f01b7437db7990d15750/library/test/src/bench.rs:52: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/b0696a5160711c068cb1f01b7437db7990d15750/library/test/src/bench.rs:52: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/b0696a5160711c068cb1f01b7437db7990d15750/library/test/src/bench.rs:52: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: aborting due to 19 previous errors
[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 20 previous errors
[INFO] running `Command { std: "docker" "inspect" "6e4ed137209fe2452a419bae9151d96f67afbeb3de6a4dd19e227195bc8718df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6e4ed137209fe2452a419bae9151d96f67afbeb3de6a4dd19e227195bc8718df", kill_on_drop: false }`
[INFO] [stdout] 6e4ed137209fe2452a419bae9151d96f67afbeb3de6a4dd19e227195bc8718df
[INFO] checking bn-plus-0.4.4 against try#bfe97fcae016881ad333f0ff8cea2cadb9cf136c for pr-121848
[INFO] extracting crate bn-plus 0.4.4 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate bn-plus 0.4.4 on toolchain bfe97fcae016881ad333f0ff8cea2cadb9cf136c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "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-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ac0846a8c7fd7fde572e28ecef3a5620810a585ec3e3e89ca884c3dcc2264637
[INFO] running `Command { std: "docker" "start" "-a" "ac0846a8c7fd7fde572e28ecef3a5620810a585ec3e3e89ca884c3dcc2264637", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ac0846a8c7fd7fde572e28ecef3a5620810a585ec3e3e89ca884c3dcc2264637", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ac0846a8c7fd7fde572e28ecef3a5620810a585ec3e3e89ca884c3dcc2264637", kill_on_drop: false }`
[INFO] [stdout] ac0846a8c7fd7fde572e28ecef3a5620810a585ec3e3e89ca884c3dcc2264637
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e317ba320c958f88b062e99a2f69762c4fcb568e10f81fa7d55fc916db5900a2
[INFO] running `Command { std: "docker" "start" "-a" "e317ba320c958f88b062e99a2f69762c4fcb568e10f81fa7d55fc916db5900a2", kill_on_drop: false }`
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[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] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/lib.rs:15:45
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Copy, Clone, Debug, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/lib.rs:15:61
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Copy, Clone, Debug, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/lib.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout] 73 | #[derive(Copy, Clone, Debug, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/lib.rs:73:61
[INFO] [stdout]    |
[INFO] [stdout] 73 | #[derive(Copy, Clone, Debug, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:170:38
[INFO] [stdout]     |
[INFO] [stdout] 170 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:170:54
[INFO] [stdout]     |
[INFO] [stdout] 170 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:243:38
[INFO] [stdout]     |
[INFO] [stdout] 243 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:243:54
[INFO] [stdout]     |
[INFO] [stdout] 243 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:279:38
[INFO] [stdout]     |
[INFO] [stdout] 279 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:279:54
[INFO] [stdout]     |
[INFO] [stdout] 279 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:372:38
[INFO] [stdout]     |
[INFO] [stdout] 372 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:372:54
[INFO] [stdout]     |
[INFO] [stdout] 372 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/arith.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout] 109 |             try!(s.emit_u8(buf[i]));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/arith.rs:121:22
[INFO] [stdout]     |
[INFO] [stdout] 121 |             buf[i] = try!(s.read_u8());
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/arith.rs:137:13
[INFO] [stdout]     |
[INFO] [stdout] 137 |             try!(s.emit_u8(buf[i]));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/arith.rs:149:22
[INFO] [stdout]     |
[INFO] [stdout] 149 |             buf[i] = try!(s.read_u8());
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/fields/fp.rs:34:28
[INFO] [stdout]     |
[INFO] [stdout] 34  |                   $name::new(try!(U256::decode(s))).ok_or_else(|| s.error("integer is not less than modulus"))
[INFO] [stdout]     |                              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 182 | / field_impl!(
[INFO] [stdout] 183 | |     Fr,
[INFO] [stdout] 184 | |     [0x43e1f593f0000001, 0x2833e84879b97091, 0xb85045b68181585d, 0x30644e72e131a029],
[INFO] [stdout] 185 | |     [0x1bb8e645ae216da7, 0x53fe3ab1e35c59e3, 0x8c49833d53bb8085, 0x0216d0b17f4e44a5],
[INFO] [stdout] ...   |
[INFO] [stdout] 188 | |     0xc2e1f593efffffff
[INFO] [stdout] 189 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `field_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/fields/fp.rs:34:28
[INFO] [stdout]     |
[INFO] [stdout] 34  |                   $name::new(try!(U256::decode(s))).ok_or_else(|| s.error("integer is not less than modulus"))
[INFO] [stdout]     |                              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 | / field_impl!(
[INFO] [stdout] 192 | |     Fq,
[INFO] [stdout] 193 | |     [0x3c208c16d87cfd47, 0x97816a916871ca8d, 0xb85045b68181585d, 0x30644e72e131a029],
[INFO] [stdout] 194 | |     [0xf32cfc5b538afa89, 0xb5e71911d44501fb, 0x47ab1eff0a417ff6, 0x06d89f71cab8351f],
[INFO] [stdout] ...   |
[INFO] [stdout] 197 | |     0x87d20782e4866389
[INFO] [stdout] 198 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `field_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/fields/fq2.rs:42:24
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let combined = try!(U512::decode(s));
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/fields/mod.rs:29:23
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn random<R: Rng>(&mut R) -> Self;
[INFO] [stdout]    |                       ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut R`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout]    = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:233:13
[INFO] [stdout]     |
[INFO] [stdout] 233 |             try!(l.encode(s));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:241:9
[INFO] [stdout]     |
[INFO] [stdout] 241 |         try!(self.x.encode(s));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:242:9
[INFO] [stdout]     |
[INFO] [stdout] 242 |         try!(self.y.encode(s));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:250:17
[INFO] [stdout]     |
[INFO] [stdout] 250 |         let l = try!(u8::decode(s));
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:254:16
[INFO] [stdout]     |
[INFO] [stdout] 254 |             Ok(try!(AffineG::decode(s)).to_jacobian())
[INFO] [stdout]     |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:263:17
[INFO] [stdout]     |
[INFO] [stdout] 263 |         let x = try!(P::Base::decode(s));
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:264:17
[INFO] [stdout]     |
[INFO] [stdout] 264 |         let y = try!(P::Base::decode(s));
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/lib.rs:15:45
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Copy, Clone, Debug, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/lib.rs:15:61
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Copy, Clone, Debug, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/lib.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout] 73 | #[derive(Copy, Clone, Debug, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/lib.rs:73:61
[INFO] [stdout]    |
[INFO] [stdout] 73 | #[derive(Copy, Clone, Debug, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:170:38
[INFO] [stdout]     |
[INFO] [stdout] 170 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:170:54
[INFO] [stdout]     |
[INFO] [stdout] 170 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:243:38
[INFO] [stdout]     |
[INFO] [stdout] 243 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:243:54
[INFO] [stdout]     |
[INFO] [stdout] 243 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:279:38
[INFO] [stdout]     |
[INFO] [stdout] 279 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:279:54
[INFO] [stdout]     |
[INFO] [stdout] 279 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:372:38
[INFO] [stdout]     |
[INFO] [stdout] 372 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/lib.rs:372:54
[INFO] [stdout]     |
[INFO] [stdout] 372 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/arith.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout] 109 |             try!(s.emit_u8(buf[i]));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/arith.rs:121:22
[INFO] [stdout]     |
[INFO] [stdout] 121 |             buf[i] = try!(s.read_u8());
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/arith.rs:137:13
[INFO] [stdout]     |
[INFO] [stdout] 137 |             try!(s.emit_u8(buf[i]));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/arith.rs:149:22
[INFO] [stdout]     |
[INFO] [stdout] 149 |             buf[i] = try!(s.read_u8());
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/fields/fp.rs:34:28
[INFO] [stdout]     |
[INFO] [stdout] 34  |                   $name::new(try!(U256::decode(s))).ok_or_else(|| s.error("integer is not less than modulus"))
[INFO] [stdout]     |                              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 182 | / field_impl!(
[INFO] [stdout] 183 | |     Fr,
[INFO] [stdout] 184 | |     [0x43e1f593f0000001, 0x2833e84879b97091, 0xb85045b68181585d, 0x30644e72e131a029],
[INFO] [stdout] 185 | |     [0x1bb8e645ae216da7, 0x53fe3ab1e35c59e3, 0x8c49833d53bb8085, 0x0216d0b17f4e44a5],
[INFO] [stdout] ...   |
[INFO] [stdout] 188 | |     0xc2e1f593efffffff
[INFO] [stdout] 189 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `field_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/fields/fp.rs:34:28
[INFO] [stdout]     |
[INFO] [stdout] 34  |                   $name::new(try!(U256::decode(s))).ok_or_else(|| s.error("integer is not less than modulus"))
[INFO] [stdout]     |                              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 | / field_impl!(
[INFO] [stdout] 192 | |     Fq,
[INFO] [stdout] 193 | |     [0x3c208c16d87cfd47, 0x97816a916871ca8d, 0xb85045b68181585d, 0x30644e72e131a029],
[INFO] [stdout] 194 | |     [0xf32cfc5b538afa89, 0xb5e71911d44501fb, 0x47ab1eff0a417ff6, 0x06d89f71cab8351f],
[INFO] [stdout] ...   |
[INFO] [stdout] 197 | |     0x87d20782e4866389
[INFO] [stdout] 198 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `field_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/fields/fq2.rs:42:24
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let combined = try!(U512::decode(s));
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/fields/mod.rs:29:23
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn random<R: Rng>(&mut R) -> Self;
[INFO] [stdout]    |                       ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut R`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout]    = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:233:13
[INFO] [stdout]     |
[INFO] [stdout] 233 |             try!(l.encode(s));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:241:9
[INFO] [stdout]     |
[INFO] [stdout] 241 |         try!(self.x.encode(s));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:242:9
[INFO] [stdout]     |
[INFO] [stdout] 242 |         try!(self.y.encode(s));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:250:17
[INFO] [stdout]     |
[INFO] [stdout] 250 |         let l = try!(u8::decode(s));
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:254:16
[INFO] [stdout]     |
[INFO] [stdout] 254 |             Ok(try!(AffineG::decode(s)).to_jacobian())
[INFO] [stdout]     |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:263:17
[INFO] [stdout]     |
[INFO] [stdout] 263 |         let x = try!(P::Base::decode(s));
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/groups/mod.rs:264:17
[INFO] [stdout]     |
[INFO] [stdout] 264 |         let y = try!(P::Base::decode(s));
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_y_at_point_at_infinity` is never used
[INFO] [stdout]    --> src/groups/mod.rs:952:4
[INFO] [stdout]     |
[INFO] [stdout] 952 | fn test_y_at_point_at_infinity() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 28 warnings emitted
[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/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/test/src/bench.rs:52: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/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/test/src/bench.rs:52: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/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/test/src/bench.rs:52: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/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/test/src/bench.rs:52: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::<G1>(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/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/test/src/bench.rs:52: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::<G2>(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/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/test/src/bench.rs:52: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] warning: function `test_y_at_point_at_infinity` is never used
[INFO] [stdout]    --> src/groups/mod.rs:952:4
[INFO] [stdout]     |
[INFO] [stdout] 952 | fn test_y_at_point_at_infinity() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 28 warnings emitted
[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/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/test/src/bench.rs:52: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/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/test/src/bench.rs:52: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/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/test/src/bench.rs:52: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/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/test/src/bench.rs:52: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/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/test/src/bench.rs:52: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/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/test/src/bench.rs:52: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/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/test/src/bench.rs:52: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/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/test/src/bench.rs:52: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/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/test/src/bench.rs:52: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/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/test/src/bench.rs:52: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/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/test/src/bench.rs:52: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/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/test/src/bench.rs:52: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/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/test/src/bench.rs:52: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: aborting due to 19 previous errors
[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 20 previous errors
[INFO] running `Command { std: "docker" "inspect" "e317ba320c958f88b062e99a2f69762c4fcb568e10f81fa7d55fc916db5900a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e317ba320c958f88b062e99a2f69762c4fcb568e10f81fa7d55fc916db5900a2", kill_on_drop: false }`
[INFO] [stdout] e317ba320c958f88b062e99a2f69762c4fcb568e10f81fa7d55fc916db5900a2
