[INFO] cloning repository https://github.com/tubackkhoa/zksnarks-zerocash [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tubackkhoa/zksnarks-zerocash" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftubackkhoa%2Fzksnarks-zerocash", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftubackkhoa%2Fzksnarks-zerocash'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b95ee8cb5743440dce8a8c9b4c7f8248dc4d8ab6 [INFO] checking tubackkhoa/zksnarks-zerocash against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftubackkhoa%2Fzksnarks-zerocash" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tubackkhoa/zksnarks-zerocash on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tubackkhoa/zksnarks-zerocash [INFO] finished tweaking git repo https://github.com/tubackkhoa/zksnarks-zerocash [INFO] tweaked toml for git repo https://github.com/tubackkhoa/zksnarks-zerocash written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tubackkhoa/zksnarks-zerocash 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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 wasm-bindgen-macro v0.2.33 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.33 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.33 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.33 [INFO] [stderr] Downloaded wasm-bindgen v0.2.33 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee0cfe0afb941639c327ae73137db4d16eb8ef12d0cc411efdaadf97b726ef0f [INFO] running `Command { std: "docker" "start" "-a" "ee0cfe0afb941639c327ae73137db4d16eb8ef12d0cc411efdaadf97b726ef0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee0cfe0afb941639c327ae73137db4d16eb8ef12d0cc411efdaadf97b726ef0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee0cfe0afb941639c327ae73137db4d16eb8ef12d0cc411efdaadf97b726ef0f", kill_on_drop: false }` [INFO] [stdout] ee0cfe0afb941639c327ae73137db4d16eb8ef12d0cc411efdaadf97b726ef0f [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9ff5c3f12a8a608a8f62eb79c55a00f200a8227da1270b17512e626cf104eea [INFO] running `Command { std: "docker" "start" "-a" "c9ff5c3f12a8a608a8f62eb79c55a00f200a8227da1270b17512e626cf104eea", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling serde v1.0.87 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.33 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking constant_time_eq v0.1.3 [INFO] [stderr] Checking bit-vec v0.4.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.33 [INFO] [stderr] Checking futures v0.1.25 [INFO] [stderr] Checking blake2-rfc v0.2.18 (https://github.com/gtank/blake2-rfc?rev=7a5b5fc99ae483a0043db7547fb79a6fa44b88a9#7a5b5fc9) [INFO] [stderr] Checking generic-array v0.9.0 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking digest v0.7.6 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking serde_json v1.0.38 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.33 [INFO] [stderr] Compiling serde_derive v1.0.87 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.33 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.33 [INFO] [stderr] Compiling ff_derive v0.4.0 (/opt/rustwide/workdir/ff/ff_derive) [INFO] [stderr] Checking ff v0.5.0 (/opt/rustwide/workdir/ff) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> ff/src/lib.rs:269:18 [INFO] [stdout] | [INFO] [stdout] 269 | 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] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pairing v0.15.1 (/opt/rustwide/workdir/pairing) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | #![cfg_attr(feature = "cargo-clippy", deny(warnings))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, and `unstable-features` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` 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] --> pairing/src/lib.rs:292:39 [INFO] [stdout] | [INFO] [stdout] 292 | _ => 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] --> pairing/src/lib.rs:97:62 [INFO] [stdout] | [INFO] [stdout] 97 | [(&(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] 97 | [(&(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] 97 | IntoIterator::into_iter([(&(p.into().prepare()), &(q.into().prepare()))]), [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bellman v0.1.0 (/opt/rustwide/workdir/bellman) [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/lib.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "multithread")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/lib.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "multithread")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/lib.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "multithread")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/multicore.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "multithread")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/multicore.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "multithread")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/multicore.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature = "multithread")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/multicore.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(not(feature = "multithread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/multicore.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "multithread")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/multicore.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(feature = "multithread")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/multicore.rs:82:7 [INFO] [stdout] | [INFO] [stdout] 82 | #[cfg(feature = "multithread")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/multicore.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg(not(feature = "multithread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/multicore.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | #[cfg(not(feature = "multithread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/multicore.rs:130:11 [INFO] [stdout] | [INFO] [stdout] 130 | #[cfg(not(feature = "multithread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/multicore.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | #[cfg(not(feature = "multithread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/multicore.rs:144:11 [INFO] [stdout] | [INFO] [stdout] 144 | #[cfg(not(feature = "multithread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bellman/src/multiexp.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | ) -> 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 | ) -> 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:244:10 [INFO] [stdout] | [INFO] [stdout] 244 | ) -> 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 244 | ) -> 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] --> bellman/src/lib.rs:221:34 [INFO] [stdout] | [INFO] [stdout] 221 | 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:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | ].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] 67 | ].iter()) [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 63 ~ &E::miller_loop(IntoIterator::into_iter([ [INFO] [stdout] 64 | (&proof.a.prepare(), &proof.b.prepare()), [INFO] [stdout] 65 | (&acc.into_affine().prepare(), &pvk.neg_gamma_g2), [INFO] [stdout] 66 | (&proof.c.prepare(), &pvk.neg_delta_g2) [INFO] [stdout] 67 ~ ])) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking sapling-crypto v0.0.3 (/opt/rustwide/workdir/sapling-crypto) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> sapling-crypto/src/babyjubjub/fs.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | 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/babyjubjub/fs.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | 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/babyjubjub/mod.rs:137:34 [INFO] [stdout] | [INFO] [stdout] 137 | 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] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> sapling-crypto/src/jubjub/fs.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | try!(write!(f, "0x")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> sapling-crypto/src/jubjub/fs.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | 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:134:34 [INFO] [stdout] | [INFO] [stdout] 134 | 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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> sapling-crypto/src/alt_babyjubjub/fs.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | try!(write!(f, "0x")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> sapling-crypto/src/alt_babyjubjub/fs.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | try!(write!(f, "{:016x}", *i)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> sapling-crypto/src/circuit/num.rs:409:17 [INFO] [stdout] | [INFO] [stdout] 409 | ) -> Result<(Self), SynthesisError> [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 409 - ) -> Result<(Self), SynthesisError> [INFO] [stdout] 409 + ) -> Result [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sapling-crypto/src/babyjubjub/mod.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | 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: variable does not need to be mutable [INFO] [stdout] --> sapling-crypto/src/jubjub/mod.rs:358:17 [INFO] [stdout] | [INFO] [stdout] 358 | 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] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sapling-crypto/src/alt_babyjubjub/mod.rs:296:17 [INFO] [stdout] | [INFO] [stdout] 296 | 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] [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.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 IntoIterator::into_iter(auth_path).enumerate() { [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rust-miximus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sapling_crypto::circuit` [INFO] [stdout] --> src/lib.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | use sapling_crypto::circuit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blake_circuit.rs:205:75 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn generate(seed_slice: &[u32], depth: u32) -> Result> { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 205 | pub fn generate(seed_slice: &[u32], depth: u32) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blake_circuit.rs:242:26 [INFO] [stdout] | [INFO] [stdout] 242 | ) -> Result> { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 242 | ) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blake_circuit.rs:270:27 [INFO] [stdout] | [INFO] [stdout] 270 | ) -> Result> { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 270 | ) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blake_circuit.rs:205:75 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn generate(seed_slice: &[u32], depth: u32) -> Result> { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 205 | pub fn generate(seed_slice: &[u32], depth: u32) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blake_circuit.rs:242:26 [INFO] [stdout] | [INFO] [stdout] 242 | ) -> Result> { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 242 | ) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blake_circuit.rs:270:27 [INFO] [stdout] | [INFO] [stdout] 270 | ) -> Result> { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 270 | ) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zk_util.rs:37:75 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn generate(seed_slice: &[u32], depth: u32) -> Result> { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | pub fn generate(seed_slice: &[u32], depth: u32) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zk_util.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | ) -> Result> { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | ) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zk_util.rs:124:103 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn verify(params: &str, proof: &str, nullifier_hex: &str, root_hex: &str) -> Result> { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 | pub fn verify(params: &str, proof: &str, nullifier_hex: &str, root_hex: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zk_util.rs:37:75 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn generate(seed_slice: &[u32], depth: u32) -> Result> { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | pub fn generate(seed_slice: &[u32], depth: u32) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zk_util.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | ) -> Result> { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | ) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zk_util.rs:124:103 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn verify(params: &str, proof: &str, nullifier_hex: &str, root_hex: &str) -> Result> { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 | pub fn verify(params: &str, proof: &str, nullifier_hex: &str, root_hex: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_booleans` is never used [INFO] [stdout] --> src/blake_circuit.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn print_booleans(booleans: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate` is never used [INFO] [stdout] --> src/blake_circuit.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn generate(seed_slice: &[u32], depth: u32) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prove` is never used [INFO] [stdout] --> src/blake_circuit.rs:236:8 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn prove( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify` is never used [INFO] [stdout] --> src/blake_circuit.rs:265:8 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn verify( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_tree` is never used [INFO] [stdout] --> src/blake_circuit.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn generate_tree(seed_slice: &[u32], depth: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prove_tree` is never used [INFO] [stdout] --> src/blake_circuit.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn prove_tree( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_tree` is never used [INFO] [stdout] --> src/blake_circuit.rs:322:8 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn verify_tree( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Empty` is never constructed [INFO] [stdout] --> src/blake_merkle_tree.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Tree { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 5 | Empty { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tree` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root` is never read [INFO] [stdout] --> src/blake_merkle_tree.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct MerkleTree { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 29 | pub root: Tree, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MerkleTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_leaf_from_preimage` is never used [INFO] [stdout] --> src/blake_merkle_tree.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn create_leaf_from_preimage(nullifier: [u8; 32], secret: [u8; 32]) -> Tree { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_leaf_list` is never used [INFO] [stdout] --> src/blake_merkle_tree.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn create_leaf_list(mut nodes: Vec<[u8; 32]>, depth: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_root_from_proof` is never used [INFO] [stdout] --> src/blake_merkle_tree.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn compute_root_from_proof(leaf: [u8; 32], path: Vec>) -> [u8; 32] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Empty` is never constructed [INFO] [stdout] --> src/merkle_tree.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Tree { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 8 | Empty { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tree` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root` is never read [INFO] [stdout] --> src/merkle_tree.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct MerkleTree { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 32 | pub root: Tree, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MerkleTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_leaf_from_preimage` is never used [INFO] [stdout] --> src/merkle_tree.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn create_leaf_from_preimage( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_leaf_list` is never used [INFO] [stdout] --> src/merkle_tree.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn create_leaf_list(mut nodes: Vec, depth: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_root_from_proof` is never used [INFO] [stdout] --> src/merkle_tree.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn compute_root_from_proof( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/blake_circuit.rs:224:26 [INFO] [stdout] | [INFO] [stdout] 224 | Err(m) => panic!(m), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 224 | Err(m) => panic!("{}", m), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 224 | Err(m) => std::panic::panic_any(m), [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] --> src/blake_merkle_tree.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | preimage.extend(nullifier.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] 39 | preimage.extend(nullifier.iter()); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 39 | preimage.extend(IntoIterator::into_iter(nullifier)); [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] --> src/blake_merkle_tree.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | preimage.extend(secret.into_iter()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 40 | preimage.extend(secret.iter()); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 40 | preimage.extend(IntoIterator::into_iter(secret)); [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_booleans` is never used [INFO] [stdout] --> src/blake_circuit.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn print_booleans(booleans: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify` is never used [INFO] [stdout] --> src/blake_circuit.rs:265:8 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn verify( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_tree` is never used [INFO] [stdout] --> src/blake_circuit.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn generate_tree(seed_slice: &[u32], depth: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prove_tree` is never used [INFO] [stdout] --> src/blake_circuit.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn prove_tree( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_tree` is never used [INFO] [stdout] --> src/blake_circuit.rs:322:8 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn verify_tree( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_root_from_proof` is never used [INFO] [stdout] --> src/blake_merkle_tree.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn compute_root_from_proof(leaf: [u8; 32], path: Vec>) -> [u8; 32] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/blake_circuit.rs:224:26 [INFO] [stdout] | [INFO] [stdout] 224 | Err(m) => panic!(m), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 224 | Err(m) => panic!("{}", m), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 224 | Err(m) => std::panic::panic_any(m), [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] --> src/blake_merkle_tree.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | preimage.extend(nullifier.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] 39 | preimage.extend(nullifier.iter()); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 39 | preimage.extend(IntoIterator::into_iter(nullifier)); [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] --> src/blake_merkle_tree.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | preimage.extend(secret.into_iter()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 40 | preimage.extend(secret.iter()); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 40 | preimage.extend(IntoIterator::into_iter(secret)); [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9, wasm-bindgen v0.2.33 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "c9ff5c3f12a8a608a8f62eb79c55a00f200a8227da1270b17512e626cf104eea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9ff5c3f12a8a608a8f62eb79c55a00f200a8227da1270b17512e626cf104eea", kill_on_drop: false }` [INFO] [stdout] c9ff5c3f12a8a608a8f62eb79c55a00f200a8227da1270b17512e626cf104eea [INFO] checking tubackkhoa/zksnarks-zerocash against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftubackkhoa%2Fzksnarks-zerocash" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tubackkhoa/zksnarks-zerocash on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tubackkhoa/zksnarks-zerocash [INFO] finished tweaking git repo https://github.com/tubackkhoa/zksnarks-zerocash [INFO] tweaked toml for git repo https://github.com/tubackkhoa/zksnarks-zerocash written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tubackkhoa/zksnarks-zerocash 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a52c0f41ccaf34ec92fd325959b21347408dc3a94dbf4c934a930aa181687999 [INFO] running `Command { std: "docker" "start" "-a" "a52c0f41ccaf34ec92fd325959b21347408dc3a94dbf4c934a930aa181687999", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a52c0f41ccaf34ec92fd325959b21347408dc3a94dbf4c934a930aa181687999", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a52c0f41ccaf34ec92fd325959b21347408dc3a94dbf4c934a930aa181687999", kill_on_drop: false }` [INFO] [stdout] a52c0f41ccaf34ec92fd325959b21347408dc3a94dbf4c934a930aa181687999 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0b06a57b392085ff85ce5c43a0687c1d9d8d3f9dc4d9fda407b0292f77f910b [INFO] running `Command { std: "docker" "start" "-a" "a0b06a57b392085ff85ce5c43a0687c1d9d8d3f9dc4d9fda407b0292f77f910b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling serde v1.0.87 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.33 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking constant_time_eq v0.1.3 [INFO] [stderr] Checking futures v0.1.25 [INFO] [stderr] Compiling wasm-bindgen v0.2.33 [INFO] [stderr] Checking bit-vec v0.4.4 [INFO] [stderr] Checking generic-array v0.9.0 [INFO] [stderr] Checking blake2-rfc v0.2.18 (https://github.com/gtank/blake2-rfc?rev=7a5b5fc99ae483a0043db7547fb79a6fa44b88a9#7a5b5fc9) [INFO] [stderr] Checking digest v0.7.6 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking serde_json v1.0.38 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.33 [INFO] [stderr] Compiling serde_derive v1.0.87 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.33 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.33 [INFO] [stderr] Compiling ff_derive v0.4.0 (/opt/rustwide/workdir/ff/ff_derive) [INFO] [stderr] Checking ff v0.5.0 (/opt/rustwide/workdir/ff) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> ff/src/lib.rs:269:18 [INFO] [stdout] | [INFO] [stdout] 269 | 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] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pairing v0.15.1 (/opt/rustwide/workdir/pairing) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | #![cfg_attr(feature = "cargo-clippy", deny(warnings))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, and `unstable-features` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` 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] --> pairing/src/lib.rs:292:39 [INFO] [stdout] | [INFO] [stdout] 292 | _ => 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] --> pairing/src/lib.rs:97:62 [INFO] [stdout] | [INFO] [stdout] 97 | [(&(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] 97 | [(&(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] 97 | IntoIterator::into_iter([(&(p.into().prepare()), &(q.into().prepare()))]), [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bellman v0.1.0 (/opt/rustwide/workdir/bellman) [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/lib.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "multithread")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/lib.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "multithread")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/lib.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "multithread")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/multicore.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "multithread")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/multicore.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "multithread")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/multicore.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature = "multithread")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/multicore.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(not(feature = "multithread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/multicore.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "multithread")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/multicore.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(feature = "multithread")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/multicore.rs:82:7 [INFO] [stdout] | [INFO] [stdout] 82 | #[cfg(feature = "multithread")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/multicore.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg(not(feature = "multithread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/multicore.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | #[cfg(not(feature = "multithread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/multicore.rs:130:11 [INFO] [stdout] | [INFO] [stdout] 130 | #[cfg(not(feature = "multithread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/multicore.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | #[cfg(not(feature = "multithread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multithread` [INFO] [stdout] --> bellman/src/multicore.rs:144:11 [INFO] [stdout] | [INFO] [stdout] 144 | #[cfg(not(feature = "multithread"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `futures-cpupool`, and `num_cpus` [INFO] [stdout] = help: consider adding `multithread` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bellman/src/multiexp.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | ) -> 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 | ) -> 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:244:10 [INFO] [stdout] | [INFO] [stdout] 244 | ) -> 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 244 | ) -> 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] --> bellman/src/lib.rs:221:34 [INFO] [stdout] | [INFO] [stdout] 221 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> bellman/src/multicore.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 102 | &self, f: F [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | let future = f().into_future(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | future: result(future.wait()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> bellman/src/multiexp.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 39 | fn new(self) -> (Arc>, usize) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | (self.0.clone(), self.1) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> bellman/src/groth16/mod.rs:373:12 [INFO] [stdout] | [INFO] [stdout] 288 | mut reader: R, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 373 | Ok(Parameters { [INFO] [stdout] | ____________^ [INFO] [stdout] 374 | | vk: vk, [INFO] [stdout] 375 | | h: Arc::new(h), [INFO] [stdout] 376 | | l: Arc::new(l), [INFO] [stdout] ... | [INFO] [stdout] 379 | | b_g2: Arc::new(b_g2) [INFO] [stdout] 380 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> bellman/src/groth16/generator.rs:475:8 [INFO] [stdout] | [INFO] [stdout] 177 | circuit: C, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 475 | Ok(Parameters { [INFO] [stdout] | ________^ [INFO] [stdout] 476 | | vk: vk, [INFO] [stdout] 477 | | h: Arc::new(h.into_iter().map(|e| e.into_affine()).collect()), [INFO] [stdout] 478 | | l: Arc::new(l.into_iter().map(|e| e.into_affine()).collect()), [INFO] [stdout] ... | [INFO] [stdout] 483 | | b_g2: Arc::new(b_g2.into_iter().filter(|e| !e.is_zero()).map(|e| e.into_affine()).collect()) [INFO] [stdout] 484 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | ].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] 67 | ].iter()) [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 63 ~ &E::miller_loop(IntoIterator::into_iter([ [INFO] [stdout] 64 | (&proof.a.prepare(), &proof.b.prepare()), [INFO] [stdout] 65 | (&acc.into_affine().prepare(), &pvk.neg_gamma_g2), [INFO] [stdout] 66 | (&proof.c.prepare(), &pvk.neg_delta_g2) [INFO] [stdout] 67 ~ ])) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bellman` (lib) due to 5 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a0b06a57b392085ff85ce5c43a0687c1d9d8d3f9dc4d9fda407b0292f77f910b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0b06a57b392085ff85ce5c43a0687c1d9d8d3f9dc4d9fda407b0292f77f910b", kill_on_drop: false }` [INFO] [stdout] a0b06a57b392085ff85ce5c43a0687c1d9d8d3f9dc4d9fda407b0292f77f910b