[INFO] fetching crate bn 0.4.3... [INFO] checking bn-0.4.3 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate bn 0.4.3 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate bn 0.4.3 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bn 0.4.3 [INFO] finished tweaking crates.io crate bn 0.4.3 [INFO] tweaked toml for crates.io crate bn 0.4.3 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] [stderr] Adding bincode v0.6.1 (available: v1.3.3) [INFO] [stderr] Adding byteorder v0.5.3 (available: v1.5.0) [INFO] [stderr] Adding num-traits v0.1.43 (available: v0.2.19) [INFO] [stderr] Adding rand v0.3.23 (available: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bincode v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 949ef8e591fe63a8b46c687518f3bc3aa74ae89a24e8a628f9182c92c1c9ad1d [INFO] running `Command { std: "docker" "start" "-a" "949ef8e591fe63a8b46c687518f3bc3aa74ae89a24e8a628f9182c92c1c9ad1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "949ef8e591fe63a8b46c687518f3bc3aa74ae89a24e8a628f9182c92c1c9ad1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "949ef8e591fe63a8b46c687518f3bc3aa74ae89a24e8a628f9182c92c1c9ad1d", kill_on_drop: false }` [INFO] [stdout] 949ef8e591fe63a8b46c687518f3bc3aa74ae89a24e8a628f9182c92c1c9ad1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0593f448b4302cc7b0c65ab024fa21a76fc2fae64de88e7e466fcc3dcdf75bae [INFO] running `Command { std: "docker" "start" "-a" "0593f448b4302cc7b0c65ab024fa21a76fc2fae64de88e7e466fcc3dcdf75bae", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking bincode v0.6.1 [INFO] [stderr] Checking bn v0.4.3 (/opt/rustwide/workdir) [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/lib.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [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:38 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/lib.rs:15:54 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [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:54 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/lib.rs:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [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:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/lib.rs:79:54 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [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:79:54 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/lib.rs:122:38 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [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:122:38 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/lib.rs:122:54 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [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:122:54 [INFO] [stdout] | [INFO] [stdout] 122 | #[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] 161 | / field_impl!( [INFO] [stdout] 162 | | Fr, [INFO] [stdout] 163 | | [0x43e1f593f0000001, 0x2833e84879b97091, 0xb85045b68181585d, 0x30644e72e131a029], [INFO] [stdout] 164 | | [0x1bb8e645ae216da7, 0x53fe3ab1e35c59e3, 0x8c49833d53bb8085, 0x0216d0b17f4e44a5], [INFO] [stdout] ... | [INFO] [stdout] 167 | | 0xc2e1f593efffffff [INFO] [stdout] 168 | | ); [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] 170 | / field_impl!( [INFO] [stdout] 171 | | Fq, [INFO] [stdout] 172 | | [0x3c208c16d87cfd47, 0x97816a916871ca8d, 0xb85045b68181585d, 0x30644e72e131a029], [INFO] [stdout] 173 | | [0xf32cfc5b538afa89, 0xb5e71911d44501fb, 0x47ab1eff0a417ff6, 0x06d89f71cab8351f], [INFO] [stdout] ... | [INFO] [stdout] 176 | | 0x87d20782e4866389 [INFO] [stdout] 177 | | ); [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(&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 [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:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | 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:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | 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:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | 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:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | 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:171:16 [INFO] [stdout] | [INFO] [stdout] 171 | 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:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | 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:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | let y = try!(P::Base::decode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `modulus` is never used [INFO] [stdout] --> src/fields/fp.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 38 | impl $name { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn modulus() -> U256 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | / field_impl!( [INFO] [stdout] 162 | | Fr, [INFO] [stdout] 163 | | [0x43e1f593f0000001, 0x2833e84879b97091, 0xb85045b68181585d, 0x30644e72e131a029], [INFO] [stdout] 164 | | [0x1bb8e645ae216da7, 0x53fe3ab1e35c59e3, 0x8c49833d53bb8085, 0x0216d0b17f4e44a5], [INFO] [stdout] ... | [INFO] [stdout] 167 | | 0xc2e1f593efffffff [INFO] [stdout] 168 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: associated functions `from_str` and `interpret` are never used [INFO] [stdout] --> src/fields/fp.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 38 | impl $name { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 39 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn interpret(buf: &[u8; 64]) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | / field_impl!( [INFO] [stdout] 171 | | Fq, [INFO] [stdout] 172 | | [0x3c208c16d87cfd47, 0x97816a916871ca8d, 0xb85045b68181585d, 0x30644e72e131a029], [INFO] [stdout] 173 | | [0xf32cfc5b538afa89, 0xb5e71911d44501fb, 0x47ab1eff0a417ff6, 0x06d89f71cab8351f], [INFO] [stdout] ... | [INFO] [stdout] 176 | | 0x87d20782e4866389 [INFO] [stdout] 177 | | ); [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] error: aborting due to 6 previous errors; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bn` (lib) due to 13 previous errors; 23 warnings emitted [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/lib.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/lib.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/lib.rs:15:54 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [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:54 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/lib.rs:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [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:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/lib.rs:79:54 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [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:79:54 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/lib.rs:122:38 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [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:122:38 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/lib.rs:122:54 [INFO] [stdout] | [INFO] [stdout] 122 | #[derive(Copy, Clone, PartialEq, Eq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [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:122:54 [INFO] [stdout] | [INFO] [stdout] 122 | #[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] 161 | / field_impl!( [INFO] [stdout] 162 | | Fr, [INFO] [stdout] 163 | | [0x43e1f593f0000001, 0x2833e84879b97091, 0xb85045b68181585d, 0x30644e72e131a029], [INFO] [stdout] 164 | | [0x1bb8e645ae216da7, 0x53fe3ab1e35c59e3, 0x8c49833d53bb8085, 0x0216d0b17f4e44a5], [INFO] [stdout] ... | [INFO] [stdout] 167 | | 0xc2e1f593efffffff [INFO] [stdout] 168 | | ); [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] 170 | / field_impl!( [INFO] [stdout] 171 | | Fq, [INFO] [stdout] 172 | | [0x3c208c16d87cfd47, 0x97816a916871ca8d, 0xb85045b68181585d, 0x30644e72e131a029], [INFO] [stdout] 173 | | [0xf32cfc5b538afa89, 0xb5e71911d44501fb, 0x47ab1eff0a417ff6, 0x06d89f71cab8351f], [INFO] [stdout] ... | [INFO] [stdout] 176 | | 0x87d20782e4866389 [INFO] [stdout] 177 | | ); [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(&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 [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:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | 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:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | 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:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | 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:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | 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:171:16 [INFO] [stdout] | [INFO] [stdout] 171 | 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:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | 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:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | let y = try!(P::Base::decode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `modulus` is never used [INFO] [stdout] --> src/fields/fp.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 38 | impl $name { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn modulus() -> U256 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | / field_impl!( [INFO] [stdout] 162 | | Fr, [INFO] [stdout] 163 | | [0x43e1f593f0000001, 0x2833e84879b97091, 0xb85045b68181585d, 0x30644e72e131a029], [INFO] [stdout] 164 | | [0x1bb8e645ae216da7, 0x53fe3ab1e35c59e3, 0x8c49833d53bb8085, 0x0216d0b17f4e44a5], [INFO] [stdout] ... | [INFO] [stdout] 167 | | 0xc2e1f593efffffff [INFO] [stdout] 168 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: associated function `interpret` is never used [INFO] [stdout] --> src/fields/fp.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 38 | impl $name { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn interpret(buf: &[u8; 64]) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | / field_impl!( [INFO] [stdout] 171 | | Fq, [INFO] [stdout] 172 | | [0x3c208c16d87cfd47, 0x97816a916871ca8d, 0xb85045b68181585d, 0x30644e72e131a029], [INFO] [stdout] 173 | | [0xf32cfc5b538afa89, 0xb5e71911d44501fb, 0x47ab1eff0a417ff6, 0x06d89f71cab8351f], [INFO] [stdout] ... | [INFO] [stdout] 176 | | 0x87d20782e4866389 [INFO] [stdout] 177 | | ); [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] error: aborting due to 6 previous errors; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bn` (lib test) due to 13 previous errors; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0593f448b4302cc7b0c65ab024fa21a76fc2fae64de88e7e466fcc3dcdf75bae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0593f448b4302cc7b0c65ab024fa21a76fc2fae64de88e7e466fcc3dcdf75bae", kill_on_drop: false }` [INFO] [stdout] 0593f448b4302cc7b0c65ab024fa21a76fc2fae64de88e7e466fcc3dcdf75bae