[INFO] cloning repository https://github.com/litetokensdev/librustzcash [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/litetokensdev/librustzcash" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flitetokensdev%2Flibrustzcash", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flitetokensdev%2Flibrustzcash'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 07c60e0ad23cc3b261869b9d58d273b4d60a4d60 [INFO] checking litetokensdev/librustzcash against master#e9182f195b8505c87c4bd055b9f6e114ccda0981 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flitetokensdev%2Flibrustzcash" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/litetokensdev/librustzcash [INFO] finished tweaking git repo https://github.com/litetokensdev/librustzcash [INFO] tweaked toml for git repo https://github.com/litetokensdev/librustzcash written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/litetokensdev/librustzcash on toolchain e9182f195b8505c87c4bd055b9f6e114ccda0981 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/litetokensdev/librustzcash already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-1-tc1/source/pairing/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-1-tc1/source/zcash_wallet/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-1-tc1/source/zip32/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-1-tc1/source/librustzcash/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-1-tc1/source/bellman/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-1-tc1/source/zcash_primitives/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-1-tc1/source/zcash_proofs/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-1-tc1/source/sapling-crypto/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/gtank/blake2-rfc` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro-hack-impl v0.4.0 [INFO] [stderr] Downloaded if_chain v0.1.3 [INFO] [stderr] Downloaded proc-macro-hack v0.4.0 [INFO] [stderr] Downloaded block-cipher-trait v0.5.3 [INFO] [stderr] Downloaded opaque-debug v0.1.1 [INFO] [stderr] Downloaded fpe v0.1.0 [INFO] [stderr] Downloaded stream-cipher v0.1.1 [INFO] [stderr] Downloaded cc v1.0.22 [INFO] [stderr] Downloaded num-bigint v0.2.0 [INFO] [stderr] Downloaded proc-macro2 v0.4.14 [INFO] [stderr] Downloaded aes-soft v0.2.0 [INFO] [stderr] Downloaded aesni v0.4.1 [INFO] [stderr] Downloaded clippy v0.0.200 [INFO] [stderr] Downloaded aes v0.2.0 [INFO] [stderr] Downloaded clippy_lints v0.0.200 [INFO] [stderr] Downloaded hex-literal-impl v0.1.1 [INFO] [stderr] Downloaded quine-mc_cluskey v0.2.4 [INFO] [stderr] Downloaded hex-literal v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f6ec32fe817506f57ef2d7a85a93838025f2abce096ccc7db35eac499494091 [INFO] running `Command { std: "docker" "start" "-a" "7f6ec32fe817506f57ef2d7a85a93838025f2abce096ccc7db35eac499494091", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f6ec32fe817506f57ef2d7a85a93838025f2abce096ccc7db35eac499494091", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f6ec32fe817506f57ef2d7a85a93838025f2abce096ccc7db35eac499494091", kill_on_drop: false }` [INFO] [stdout] 7f6ec32fe817506f57ef2d7a85a93838025f2abce096ccc7db35eac499494091 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7af61a852cd2f4be5ee092f4fdffd8988ea3be16ecd27382679a2ea7e799e7bc [INFO] running `Command { std: "docker" "start" "-a" "7af61a852cd2f4be5ee092f4fdffd8988ea3be16ecd27382679a2ea7e799e7bc", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/zcash_wallet/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/bellman/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/pairing/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/librustzcash/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/zcash_primitives/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/zcash_proofs/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/sapling-crypto/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/zip32/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Checking byteorder v1.2.2 [INFO] [stderr] Checking futures v0.1.21 [INFO] [stderr] Checking crossbeam v0.3.2 [INFO] [stderr] Checking bit-vec v0.4.4 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking constant_time_eq v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.0 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Checking blake2-rfc v0.2.18 (https://github.com/gtank/blake2-rfc?rev=7a5b5fc99ae483a0043db7547fb79a6fa44b88a9#7a5b5fc9) [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling proc-macro-hack v0.4.0 [INFO] [stderr] Checking opaque-debug v0.1.1 [INFO] [stderr] Checking byte-tools v0.2.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Compiling num-bigint v0.2.0 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Compiling hex-literal-impl v0.1.1 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking hex-literal v0.1.1 [INFO] [stderr] Checking zcash_wallet v0.0.0 (/opt/rustwide/workdir/zcash_wallet) [INFO] [stderr] Checking pairing v0.14.2 (/opt/rustwide/workdir/pairing) [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking zcash_primitives v0.0.0 (/opt/rustwide/workdir/zcash_primitives) [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> pairing/src/bls12_381/fq.rs:522:9 [INFO] [stdout] | [INFO] [stdout] 522 | try!(write!(f, "0x")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> pairing/src/bls12_381/fq.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | try!(write!(f, "{:016x}", *i)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> pairing/src/bls12_381/fr.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | try!(write!(f, "0x")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> pairing/src/bls12_381/fr.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | try!(write!(f, "{:016x}", *i)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> pairing/src/lib.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | fn final_exponentiation(&Self::Fqk) -> Option; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Fqk` [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> pairing/src/lib.rs:555:18 [INFO] [stdout] | [INFO] [stdout] 555 | fn from_repr(Self::Repr) -> Result; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Repr` [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] [INFO] [stdout] [INFO] [stderr] Checking generic-array v0.9.0 [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.24/src/serialize.rs:1155:5 [INFO] [stdout] | [INFO] [stdout] 1155 | fn decode(d: &mut D) -> Result, D::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /rustc/e9182f195b8505c87c4bd055b9f6e114ccda0981/library/alloc/src/borrow.rs:179:30 [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1151 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> pairing/src/bls12_381/fq.rs:522:9 [INFO] [stdout] | [INFO] [stdout] 522 | try!(write!(f, "0x")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> pairing/src/bls12_381/fq.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | try!(write!(f, "{:016x}", *i)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> pairing/src/bls12_381/fr.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | try!(write!(f, "0x")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> pairing/src/bls12_381/fr.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | try!(write!(f, "{:016x}", *i)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> pairing/src/lib.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | fn final_exponentiation(&Self::Fqk) -> Option; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Fqk` [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> pairing/src/lib.rs:555:18 [INFO] [stdout] | [INFO] [stdout] 555 | fn from_repr(Self::Repr) -> Result; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Repr` [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] [INFO] [stdout] [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking zcash_proofs v0.0.0 (/opt/rustwide/workdir/zcash_proofs) [INFO] [stderr] Checking digest v0.7.2 [INFO] [stderr] Checking block-cipher-trait v0.5.3 [INFO] [stderr] Checking aes-soft v0.2.0 [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> pairing/src/lib.rs:503:39 [INFO] [stdout] | [INFO] [stdout] 503 | _ => write!(f, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking aes v0.2.0 [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> pairing/src/lib.rs:107:62 [INFO] [stdout] | [INFO] [stdout] 107 | [(&(p.into().prepare()), &(q.into().prepare()))].into_iter(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - [(&(p.into().prepare()), &(q.into().prepare()))].into_iter(), [INFO] [stdout] 107 + [(&(p.into().prepare()), &(q.into().prepare()))].iter(), [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 107 - [(&(p.into().prepare()), &(q.into().prepare()))].into_iter(), [INFO] [stdout] 107 + IntoIterator::into_iter([(&(p.into().prepare()), &(q.into().prepare()))]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bellman v0.1.0 (/opt/rustwide/workdir/bellman) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bellman/src/multiexp.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 148 | ) -> Box::Projective, Error=SynthesisError>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 148 | ) -> Box::Projective, Error=SynthesisError>> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bellman/src/multiexp.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | ) -> Box::Projective, Error=SynthesisError>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 242 | ) -> Box::Projective, Error=SynthesisError>> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bellman/src/multiexp.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 148 | ) -> Box::Projective, Error=SynthesisError>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 148 | ) -> Box::Projective, Error=SynthesisError>> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bellman/src/multiexp.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | ) -> Box::Projective, Error=SynthesisError>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 242 | ) -> Box::Projective, Error=SynthesisError>> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> pairing/src/lib.rs:503:39 [INFO] [stdout] | [INFO] [stdout] 503 | _ => write!(f, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> bellman/src/lib.rs:215:34 [INFO] [stdout] | [INFO] [stdout] 215 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> bellman/src/lib.rs:215:34 [INFO] [stdout] | [INFO] [stdout] 215 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> bellman/src/groth16/verifier.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | ].into_iter()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 64 - ].into_iter()) [INFO] [stdout] 64 + ].iter()) [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 60 ~ &E::miller_loop(IntoIterator::into_iter([ [INFO] [stdout] 61 | (&proof.a.prepare(), &proof.b.prepare()), [INFO] [stdout] 62 | (&acc.into_affine().prepare(), &pvk.neg_gamma_g2), [INFO] [stdout] 63 | (&proof.c.prepare(), &pvk.neg_delta_g2) [INFO] [stdout] 64 ~ ])) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> bellman/src/groth16/verifier.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | ].into_iter()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 64 - ].into_iter()) [INFO] [stdout] 64 + ].iter()) [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 60 ~ &E::miller_loop(IntoIterator::into_iter([ [INFO] [stdout] 61 | (&proof.a.prepare(), &proof.b.prepare()), [INFO] [stdout] 62 | (&acc.into_affine().prepare(), &pvk.neg_gamma_g2), [INFO] [stdout] 63 | (&proof.c.prepare(), &pvk.neg_delta_g2) [INFO] [stdout] 64 ~ ])) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking sapling-crypto v0.0.1 (/opt/rustwide/workdir/sapling-crypto) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bellman/tests/mimc.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | let mut tmp_value = xl_value.map(|mut e| { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bellman/tests/mimc.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let mut tmp = cs.alloc(|| "tmp", || { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bellman/tests/mimc.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | let mut new_xl_value = xl_value.map(|mut e| { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bellman/tests/mimc.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | let mut new_xl = if i == (MIMC_ROUNDS-1) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> sapling-crypto/src/jubjub/fs.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | try!(write!(f, "0x")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> sapling-crypto/src/jubjub/fs.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | try!(write!(f, "{:016x}", *i)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> sapling-crypto/src/jubjub/mod.rs:130:34 [INFO] [stdout] | [INFO] [stdout] 130 | fn circuit_generators(&self, FixedGenerators) -> &[Vec<(E::Fr, E::Fr)>]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: FixedGenerators` [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] [stderr] Checking fpe v0.1.0 [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> pairing/src/lib.rs:107:62 [INFO] [stdout] | [INFO] [stdout] 107 | [(&(p.into().prepare()), &(q.into().prepare()))].into_iter(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 107 - [(&(p.into().prepare()), &(q.into().prepare()))].into_iter(), [INFO] [stdout] 107 + [(&(p.into().prepare()), &(q.into().prepare()))].iter(), [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 107 - [(&(p.into().prepare()), &(q.into().prepare()))].into_iter(), [INFO] [stdout] 107 + IntoIterator::into_iter([(&(p.into().prepare()), &(q.into().prepare()))]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sapling-crypto/src/jubjub/mod.rs:354:17 [INFO] [stdout] | [INFO] [stdout] 354 | for mut gen in tmp_params.pedersen_hash_generators.iter().cloned() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> sapling-crypto/src/circuit/sprout/input.rs:78:37 [INFO] [stdout] | [INFO] [stdout] 78 | for (i, layer) in auth_path.into_iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 78 - for (i, layer) in auth_path.into_iter().enumerate() { [INFO] [stdout] 78 + for (i, layer) in auth_path.iter().enumerate() { [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 78 - for (i, layer) in auth_path.into_iter().enumerate() { [INFO] [stdout] 78 + for (i, layer) in IntoIterator::into_iter(auth_path).enumerate() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7af61a852cd2f4be5ee092f4fdffd8988ea3be16ecd27382679a2ea7e799e7bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7af61a852cd2f4be5ee092f4fdffd8988ea3be16ecd27382679a2ea7e799e7bc", kill_on_drop: false }` [INFO] [stdout] 7af61a852cd2f4be5ee092f4fdffd8988ea3be16ecd27382679a2ea7e799e7bc