[INFO] fetching crate witnet-bn 0.4.5... [INFO] checking witnet-bn-0.4.5 against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] extracting crate witnet-bn 0.4.5 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate witnet-bn 0.4.5 on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate witnet-bn 0.4.5 [INFO] finished tweaking crates.io crate witnet-bn 0.4.5 [INFO] tweaked toml for crates.io crate witnet-bn 0.4.5 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate crates.io crate witnet-bn 0.4.5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spin v0.5.2 [INFO] [stderr] Downloaded crunchy v0.2.2 [INFO] [stderr] Downloaded rustc-hex v2.1.0 [INFO] [stderr] Downloaded bincode v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b224f76dd64024282fa52ae2a6d5c158548f0134d325087325453c0d6f70fb49 [INFO] running `Command { std: "docker" "start" "-a" "b224f76dd64024282fa52ae2a6d5c158548f0134d325087325453c0d6f70fb49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b224f76dd64024282fa52ae2a6d5c158548f0134d325087325453c0d6f70fb49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b224f76dd64024282fa52ae2a6d5c158548f0134d325087325453c0d6f70fb49", kill_on_drop: false }` [INFO] [stdout] b224f76dd64024282fa52ae2a6d5c158548f0134d325087325453c0d6f70fb49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1673cae50a84dbc6e86cb9c558dfaaac8a899a5511a2df30b8aa4764c6c23d72 [INFO] running `Command { std: "docker" "start" "-a" "1673cae50a84dbc6e86cb9c558dfaaac8a899a5511a2df30b8aa4764c6c23d72", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking witnet-bn v0.4.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/lib.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg_attr(feature = "rustc-serialize", derive(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:25:64 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg_attr(feature = "rustc-serialize", derive(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:135:48 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg_attr(feature = "rustc-serialize", derive(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:135:64 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg_attr(feature = "rustc-serialize", derive(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:333:48 [INFO] [stdout] | [INFO] [stdout] 333 | #[cfg_attr(feature = "rustc-serialize", derive(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:333:64 [INFO] [stdout] | [INFO] [stdout] 333 | #[cfg_attr(feature = "rustc-serialize", derive(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:445:48 [INFO] [stdout] | [INFO] [stdout] 445 | #[cfg_attr(feature = "rustc-serialize", derive(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:445:64 [INFO] [stdout] | [INFO] [stdout] 445 | #[cfg_attr(feature = "rustc-serialize", derive(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:482:48 [INFO] [stdout] | [INFO] [stdout] 482 | #[cfg_attr(feature = "rustc-serialize", derive(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:482:64 [INFO] [stdout] | [INFO] [stdout] 482 | #[cfg_attr(feature = "rustc-serialize", derive(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:649:48 [INFO] [stdout] | [INFO] [stdout] 649 | #[cfg_attr(feature = "rustc-serialize", derive(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:649:64 [INFO] [stdout] | [INFO] [stdout] 649 | #[cfg_attr(feature = "rustc-serialize", derive(RustcDecodable, RustcEncodable))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/arith.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | 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:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | 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:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | 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:204:22 [INFO] [stdout] | [INFO] [stdout] 204 | 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:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | $name::new(try!(U256::decode(s))).ok_or_else(|| s.error("integer is not less than modulus")) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | / field_impl!( [INFO] [stdout] 186 | | Fr, [INFO] [stdout] 187 | | [ [INFO] [stdout] 188 | | 0x43e1f593f0000001, [INFO] [stdout] ... | [INFO] [stdout] 211 | | 0x6586864b4c6911b3c2e1f593efffffff [INFO] [stdout] 212 | | ); [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:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | $name::new(try!(U256::decode(s))).ok_or_else(|| s.error("integer is not less than modulus")) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | / field_impl!( [INFO] [stdout] 215 | | Fq, [INFO] [stdout] 216 | | [ [INFO] [stdout] 217 | | 0x3c208c16d87cfd47, [INFO] [stdout] ... | [INFO] [stdout] 240 | | 0x9ede7d651eca6ac987d20782e4866389 [INFO] [stdout] 241 | | ); [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:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | 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(&mut R) -> Self; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut R` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/groups/mod.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | 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:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | 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:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | 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:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | 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:264:16 [INFO] [stdout] | [INFO] [stdout] 264 | 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:274:17 [INFO] [stdout] | [INFO] [stdout] 274 | 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:275:17 [INFO] [stdout] | [INFO] [stdout] 275 | let y = try!(P::Base::decode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking bincode v0.6.1 [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `witnet-bn` [INFO] [stdout] error[E0463]: can't find crate for `bn` [INFO] [stdout] --> examples/joux.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate bn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0463]: can't find crate for `bn` [INFO] [stdout] --> examples/dh.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate bn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `bn` [INFO] [stdout] --> benches/api.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate bn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `bn` [INFO] [stdout] --> tests/serialization.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate bn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/lib.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg_attr(feature = "rustc-serialize", derive(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:25:64 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg_attr(feature = "rustc-serialize", derive(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:135:48 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg_attr(feature = "rustc-serialize", derive(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:135:64 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg_attr(feature = "rustc-serialize", derive(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:333:48 [INFO] [stdout] | [INFO] [stdout] 333 | #[cfg_attr(feature = "rustc-serialize", derive(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:333:64 [INFO] [stdout] | [INFO] [stdout] 333 | #[cfg_attr(feature = "rustc-serialize", derive(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:445:48 [INFO] [stdout] | [INFO] [stdout] 445 | #[cfg_attr(feature = "rustc-serialize", derive(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:445:64 [INFO] [stdout] | [INFO] [stdout] 445 | #[cfg_attr(feature = "rustc-serialize", derive(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:482:48 [INFO] [stdout] | [INFO] [stdout] 482 | #[cfg_attr(feature = "rustc-serialize", derive(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:482:64 [INFO] [stdout] | [INFO] [stdout] 482 | #[cfg_attr(feature = "rustc-serialize", derive(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:649:48 [INFO] [stdout] | [INFO] [stdout] 649 | #[cfg_attr(feature = "rustc-serialize", derive(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:649:64 [INFO] [stdout] | [INFO] [stdout] 649 | #[cfg_attr(feature = "rustc-serialize", derive(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:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | 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:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | 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:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | 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:204:22 [INFO] [stdout] | [INFO] [stdout] 204 | 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:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | $name::new(try!(U256::decode(s))).ok_or_else(|| s.error("integer is not less than modulus")) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | / field_impl!( [INFO] [stdout] 186 | | Fr, [INFO] [stdout] 187 | | [ [INFO] [stdout] 188 | | 0x43e1f593f0000001, [INFO] [stdout] ... | [INFO] [stdout] 211 | | 0x6586864b4c6911b3c2e1f593efffffff [INFO] [stdout] 212 | | ); [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:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | $name::new(try!(U256::decode(s))).ok_or_else(|| s.error("integer is not less than modulus")) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | / field_impl!( [INFO] [stdout] 215 | | Fq, [INFO] [stdout] 216 | | [ [INFO] [stdout] 217 | | 0x3c208c16d87cfd47, [INFO] [stdout] ... | [INFO] [stdout] 240 | | 0x9ede7d651eca6ac987d20782e4866389 [INFO] [stdout] 241 | | ); [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:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | 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(&mut R) -> Self; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut R` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/groups/mod.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | 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:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | 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:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | 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:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | 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:264:16 [INFO] [stdout] | [INFO] [stdout] 264 | 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:274:17 [INFO] [stdout] | [INFO] [stdout] 274 | 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:275:17 [INFO] [stdout] | [INFO] [stdout] 275 | let y = try!(P::Base::decode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead [INFO] [stdout] --> src/fields/tests.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::{Rng, SeedableRng, StdRng}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead [INFO] [stdout] --> src/fields/tests.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | let mut rng = StdRng::from_seed(seed); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead [INFO] [stdout] --> src/fields/tests.rs:125:32 [INFO] [stdout] | [INFO] [stdout] 125 | rand_element_squaring::(&mut rng); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead [INFO] [stdout] --> src/fields/tests.rs:126:45 [INFO] [stdout] | [INFO] [stdout] 126 | rand_element_addition_and_negation::(&mut rng); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead [INFO] [stdout] --> src/fields/tests.rs:127:38 [INFO] [stdout] | [INFO] [stdout] 127 | rand_element_multiplication::(&mut rng); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead [INFO] [stdout] --> src/fields/tests.rs:128:31 [INFO] [stdout] | [INFO] [stdout] 128 | rand_element_inverse::(&mut rng); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead [INFO] [stdout] --> src/fields/tests.rs:129:28 [INFO] [stdout] | [INFO] [stdout] 129 | rand_element_eval::(&mut rng); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead [INFO] [stdout] --> src/groups/mod.rs:1106:19 [INFO] [stdout] | [INFO] [stdout] 1106 | let mut rng = StdRng::from_seed(seed); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead [INFO] [stdout] --> src/groups/mod.rs:1099:29 [INFO] [stdout] | [INFO] [stdout] 1099 | use rand::{SeedableRng, StdRng}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead [INFO] [stdout] --> src/groups/mod.rs:1126:19 [INFO] [stdout] | [INFO] [stdout] 1126 | let mut rng = StdRng::from_seed(seed); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead [INFO] [stdout] --> src/groups/mod.rs:1119:29 [INFO] [stdout] | [INFO] [stdout] 1119 | use rand::{SeedableRng, StdRng}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead [INFO] [stdout] --> src/groups/mod.rs:1158:19 [INFO] [stdout] | [INFO] [stdout] 1158 | let mut rng = StdRng::from_seed(seed); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead [INFO] [stdout] --> src/groups/mod.rs:1151:29 [INFO] [stdout] | [INFO] [stdout] 1151 | use rand::{SeedableRng, StdRng}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead [INFO] [stdout] --> src/groups/tests.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | let mut rng = StdRng::from_seed(seed); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rand::StdRng`: import with rand::prelude::* or rand::rngs::StdRng instead [INFO] [stdout] --> src/groups/tests.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | use rand::{SeedableRng, StdRng}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1673cae50a84dbc6e86cb9c558dfaaac8a899a5511a2df30b8aa4764c6c23d72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1673cae50a84dbc6e86cb9c558dfaaac8a899a5511a2df30b8aa4764c6c23d72", kill_on_drop: false }` [INFO] [stdout] 1673cae50a84dbc6e86cb9c558dfaaac8a899a5511a2df30b8aa4764c6c23d72