[INFO] cloning repository https://github.com/zyayhj/rust-space-proof [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zyayhj/rust-space-proof" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzyayhj%2Frust-space-proof", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzyayhj%2Frust-space-proof'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22b12d41e59cda8bf5282b4fcadc2723ac8f07e0 [INFO] checking zyayhj/rust-space-proof against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzyayhj%2Frust-space-proof" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zyayhj/rust-space-proof on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zyayhj/rust-space-proof [INFO] finished tweaking git repo https://github.com/zyayhj/rust-space-proof [INFO] tweaked toml for git repo https://github.com/zyayhj/rust-space-proof written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/zyayhj/rust-space-proof already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b67c2e330034edd5117e1aadeaa1ae2f44138efb88f8209519359d4fe9338cb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6b67c2e330034edd5117e1aadeaa1ae2f44138efb88f8209519359d4fe9338cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b67c2e330034edd5117e1aadeaa1ae2f44138efb88f8209519359d4fe9338cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b67c2e330034edd5117e1aadeaa1ae2f44138efb88f8209519359d4fe9338cb", kill_on_drop: false }` [INFO] [stdout] 6b67c2e330034edd5117e1aadeaa1ae2f44138efb88f8209519359d4fe9338cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 397a40cbea1b425d79c9ff0474e97a1b5188d90e3be1f5771e0871cf5d6ed3c3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "397a40cbea1b425d79c9ff0474e97a1b5188d90e3be1f5771e0871cf5d6ed3c3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking bit-vec v0.4.4 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Checking serde v1.0.117 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking generic-array v0.9.0 [INFO] [stderr] Checking digest v0.7.6 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking blake2-rfc v0.2.18 (https://github.com/gtank/blake2-rfc?rev=7a5b5fc99ae483a0043db7547fb79a6fa44b88a9#7a5b5fc9) [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking serde_json v1.0.59 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.68 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.68 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.68 [INFO] [stderr] Checking wasm-bindgen v0.2.68 [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] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pairing v0.15.1 (/opt/rustwide/workdir/pairing) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> pairing/src/lib.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | fn final_exponentiation(&Self::Fqk) -> Option; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Fqk` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | ) -> Box::Projective, Error=SynthesisError>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future::Projective, Error=SynthesisError>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future::Projective, Error=SynthesisError>` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see issue #66145 [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: 4 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] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> 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] | ^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see issue #66145 [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: `Digest` [INFO] [stdout] --> src/merkle/proof.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use super::digest::{Algorithm, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Field` [INFO] [stdout] --> src/merkle/hashutils.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use ff::{Field, PrimeField, PrimeFieldRepr}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Engine`, `FrRepr` [INFO] [stdout] --> src/merkle/hashutils.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use pairing::{bn256::{Bn256, Fr, FrRepr},Engine}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blake_circuit.rs:193:75 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn generate(seed_slice: &[u32], depth: u32) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blake_circuit.rs:233:26 [INFO] [stdout] | [INFO] [stdout] 233 | ) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blake_circuit.rs:260:27 [INFO] [stdout] | [INFO] [stdout] 260 | ) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PrimeField` [INFO] [stdout] --> src/spaceproof_circuit.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use ff::{Field, PrimeField}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bn256`, `Fr` [INFO] [stdout] --> src/spaceproof_circuit.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | use pairing::{bn256::{Bn256, Fr}}; [INFO] [stdout] | ^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Proof`, `create_random_proof`, `prepare_verifying_key`, `verify_proof` [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use bellman::groth16::{Proof, Parameters, verify_proof, create_random_proof, prepare_verifying_key, generate_random_parameters}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_bigint::BigInt` [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use num_bigint::BigInt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::Num` [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use num_traits::Num; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Circuit` [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Circuit, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JubjubEngine`, `test::TestConstraintSystem` [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | JubjubEngine, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | test::TestConstraintSystem [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Engine` [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | use pairing::{bn256::{Bn256, Fr, FrRepr},Engine}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rand` [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use rand::Rand; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::PreciseTime` [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use time::PreciseTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | use merkle::digest::{Algorithm, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitIterator`, `HashUtils`, `Hashable` [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | use merkle::hashutils::{HashUtils, Hashable, BitIterator}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `merkle::merkletree::MerkleTree` [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use merkle::merkletree::MerkleTree; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/merkle/proof.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use super::digest::{Algorithm, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Field` [INFO] [stdout] --> src/merkle/hashutils.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use ff::{Field, PrimeField, PrimeFieldRepr}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Engine`, `FrRepr` [INFO] [stdout] --> src/merkle/hashutils.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use pairing::{bn256::{Bn256, Fr, FrRepr},Engine}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/merkle/tests.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | use super::digest::{Algorithm, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blake_circuit.rs:193:75 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn generate(seed_slice: &[u32], depth: u32) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blake_circuit.rs:233:26 [INFO] [stdout] | [INFO] [stdout] 233 | ) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blake_circuit.rs:260:27 [INFO] [stdout] | [INFO] [stdout] 260 | ) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PrimeField` [INFO] [stdout] --> src/spaceproof_circuit.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use ff::{Field, PrimeField}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bn256`, `Fr` [INFO] [stdout] --> src/spaceproof_circuit.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | use pairing::{bn256::{Bn256, Fr}}; [INFO] [stdout] | ^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Proof` [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use bellman::groth16::{Proof, Parameters, verify_proof, create_random_proof, prepare_verifying_key, generate_random_parameters}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JubjubEngine` [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | JubjubEngine, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Engine` [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | use pairing::{bn256::{Bn256, Fr, FrRepr},Engine}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | use merkle::digest::{Algorithm, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitIterator`, `HashUtils`, `Hashable` [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | use merkle::hashutils::{HashUtils, Hashable, BitIterator}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_booleans` [INFO] [stdout] --> src/blake_circuit.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | 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 is never used: `generate` [INFO] [stdout] --> src/blake_circuit.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn generate(seed_slice: &[u32], depth: u32) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `prove` [INFO] [stdout] --> src/blake_circuit.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn prove( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `verify` [INFO] [stdout] --> src/blake_circuit.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn verify( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_tree` [INFO] [stdout] --> src/blake_circuit.rs:290:8 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn generate_tree(seed_slice: &[u32], depth: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `prove_tree` [INFO] [stdout] --> src/blake_circuit.rs:300:8 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn prove_tree( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `verify_tree` [INFO] [stdout] --> src/blake_circuit.rs:316:8 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn verify_tree( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `DIGEST` [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | static DIGEST: &Algorithm = &Algorithm{}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate` [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn generate(seed_slice: &[u32], depth: usize) -> Result, SynthesisError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | fn new(hash : Fr) -> Node{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `newFromVec` [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | fn newFromVec(s: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `newFromStr` [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | fn newFromStr(s: &str) -> Node { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/blake_circuit.rs:215:26 [INFO] [stdout] | [INFO] [stdout] 215 | Err(m) => panic!(m), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 215 | Err(m) => panic!("{}", m), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 215 | Err(m) => std::panic::panic_any(m), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newFromVec` should have a snake case name [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | fn newFromVec(s: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `new_from_vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newFromStr` should have a snake case name [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | fn newFromStr(s: &str) -> Node { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `new_from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let mut start = PreciseTime::now(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | for i in 0..16 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/merkle/tests.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut leaf_bool: Vec = BitIterator::new(leaf.get_val()).collect(); [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] --> src/spaceproof_merkle_tree.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let mut start = PreciseTime::now(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `u8_to_str` [INFO] [stdout] --> src/merkle/tests.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | fn u8_to_str(buf :&[u8]) -> &str{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_lemma` [INFO] [stdout] --> src/merkle/tests.rs:207:4 [INFO] [stdout] | [INFO] [stdout] 207 | fn print_lemma(lemma :&Lemma, height: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PublicKey` [INFO] [stdout] --> src/merkle/tests.rs:346:12 [INFO] [stdout] | [INFO] [stdout] 346 | pub struct PublicKey { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/merkle/tests.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub fn new(zero_values: Vec>, one_values: Vec>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_bytes` [INFO] [stdout] --> src/merkle/tests.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_booleans` [INFO] [stdout] --> src/blake_circuit.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn print_booleans(booleans: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate` [INFO] [stdout] --> src/blake_circuit.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn generate(seed_slice: &[u32], depth: u32) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `prove` [INFO] [stdout] --> src/blake_circuit.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn prove( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `verify` [INFO] [stdout] --> src/blake_circuit.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn verify( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_tree` [INFO] [stdout] --> src/blake_circuit.rs:290:8 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn generate_tree(seed_slice: &[u32], depth: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `prove_tree` [INFO] [stdout] --> src/blake_circuit.rs:300:8 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn prove_tree( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `verify_tree` [INFO] [stdout] --> src/blake_circuit.rs:316:8 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn verify_tree( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/blake_circuit.rs:215:26 [INFO] [stdout] | [INFO] [stdout] 215 | Err(m) => panic!(m), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 215 | Err(m) => panic!("{}", m), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 215 | Err(m) => std::panic::panic_any(m), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newFromVec` should have a snake case name [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | fn newFromVec(s: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `new_from_vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newFromStr` should have a snake case name [INFO] [stdout] --> src/spaceproof_merkle_tree.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | fn newFromStr(s: &str) -> Node { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `new_from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 52.11s [INFO] running `Command { std: "docker" "inspect" "397a40cbea1b425d79c9ff0474e97a1b5188d90e3be1f5771e0871cf5d6ed3c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "397a40cbea1b425d79c9ff0474e97a1b5188d90e3be1f5771e0871cf5d6ed3c3", kill_on_drop: false }` [INFO] [stdout] 397a40cbea1b425d79c9ff0474e97a1b5188d90e3be1f5771e0871cf5d6ed3c3