[INFO] cloning repository https://github.com/sbnair/Substrate_ZeroknowledgeProof [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sbnair/Substrate_ZeroknowledgeProof" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsbnair%2FSubstrate_ZeroknowledgeProof", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsbnair%2FSubstrate_ZeroknowledgeProof'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f96f4285c60ef056d404801eea7e21462b0ff131 [INFO] testing sbnair/Substrate_ZeroknowledgeProof against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsbnair%2FSubstrate_ZeroknowledgeProof" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sbnair/Substrate_ZeroknowledgeProof [INFO] finished tweaking git repo https://github.com/sbnair/Substrate_ZeroknowledgeProof [INFO] tweaked toml for git repo https://github.com/sbnair/Substrate_ZeroknowledgeProof written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sbnair/Substrate_ZeroknowledgeProof on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sbnair/Substrate_ZeroknowledgeProof 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-7-tc2/source/pairing/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-7-tc2/source/bellman/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-7-tc2/source/zcash_primitives/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-7-tc2/source/sapling-crypto/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78f5ad652a0929b261ad69dab8af4942f704c02d1bf5eb44f2d8771602cd2d57 [INFO] running `Command { std: "docker" "start" "-a" "78f5ad652a0929b261ad69dab8af4942f704c02d1bf5eb44f2d8771602cd2d57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78f5ad652a0929b261ad69dab8af4942f704c02d1bf5eb44f2d8771602cd2d57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78f5ad652a0929b261ad69dab8af4942f704c02d1bf5eb44f2d8771602cd2d57", kill_on_drop: false }` [INFO] [stdout] 78f5ad652a0929b261ad69dab8af4942f704c02d1bf5eb44f2d8771602cd2d57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13064d088c34eca0bd7f982fee1d9196a13565c1d017936948299b6e3fa16c37 [INFO] running `Command { std: "docker" "start" "-a" "13064d088c34eca0bd7f982fee1d9196a13565c1d017936948299b6e3fa16c37", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/pairing/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/bellman/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/sapling-crypto/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/zcash_primitives/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling cc v1.0.29 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling serde v1.0.87 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_os v0.1.2 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling constant_time_eq v0.1.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Compiling block-padding v0.1.3 [INFO] [stderr] Compiling sr-std v0.1.0 (https://github.com/paritytech/substrate#3a9b1e47) [INFO] [stderr] Compiling subtle v2.0.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling generic-array v0.12.0 [INFO] [stderr] Compiling generic-array v0.8.3 [INFO] [stderr] Compiling crunchy v0.2.1 [INFO] [stderr] Compiling rustc-hex v2.0.1 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling opaque-debug v0.2.2 [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.1 [INFO] [stderr] Compiling hash-db v0.11.0 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling digest v0.8.0 [INFO] [stderr] Compiling block-buffer v0.7.0 [INFO] [stderr] Compiling digest v0.6.2 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling proc-macro-hack v0.4.1 [INFO] [stderr] Compiling curve25519-dalek v1.0.3 [INFO] [stderr] Compiling hex-literal-impl v0.1.1 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling static_assertions v0.2.5 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling hex-literal v0.1.2 [INFO] [stderr] Compiling merlin v1.0.2 [INFO] [stderr] Compiling sha3 v0.8.1 [INFO] [stderr] Compiling smallvec v0.6.8 [INFO] [stderr] Compiling uint v0.6.1 [INFO] [stderr] Compiling crypto-mac v0.4.0 [INFO] [stderr] Compiling elastic-array v0.10.0 [INFO] [stderr] Compiling parity-wasm v0.31.3 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.1 [INFO] [stderr] Compiling spin v0.5.0 [INFO] [stderr] Compiling fixed-hash v0.3.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Compiling memory_units v0.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling schnorrkel v0.0.0 [INFO] [stderr] Compiling trie-db v0.11.0 [INFO] [stderr] Compiling block-buffer v0.2.0 [INFO] [stderr] Compiling hmac v0.4.2 [INFO] [stderr] Compiling twox-hash v1.1.2 [INFO] [stderr] Compiling hash256-std-hasher v0.11.0 [INFO] [stderr] Compiling trie-root v0.11.0 [INFO] [stderr] Compiling memory-db v0.11.0 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling base58 v0.1.0 [INFO] [stderr] Compiling hmac-drbg v0.1.2 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling wasmi v0.4.3 [INFO] [stderr] Compiling sha2 v0.6.0 [INFO] [stderr] Compiling substrate-panic-handler v0.1.0 (https://github.com/paritytech/substrate#3a9b1e47) [INFO] [stderr] Compiling sr-io v0.1.0 (https://github.com/paritytech/substrate#3a9b1e47) [INFO] [stderr] Compiling arrayref v0.3.5 [INFO] [stderr] Compiling libsecp256k1 v0.2.2 [INFO] [stderr] Compiling tiny-keccak v1.4.2 [INFO] [stderr] Compiling environmental v1.0.0 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling blake2-rfc v0.2.18 (https://github.com/gtank/blake2-rfc?rev=7a5b5fc99ae483a0043db7547fb79a6fa44b88a9#7a5b5fc9) [INFO] [stderr] Compiling parity-codec-derive v3.0.0 [INFO] [stderr] Compiling serde_derive v1.0.87 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling parity-codec v3.0.0 [INFO] [stderr] Compiling impl-serde v0.1.1 [INFO] [stderr] Compiling bit-vec v0.5.0 (https://github.com/osuketh/bit-vec#656d1139) [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling impl-codec v0.2.0 [INFO] [stderr] Compiling substrate-trie v0.4.0 (https://github.com/paritytech/substrate#3a9b1e47) [INFO] [stderr] Compiling primitive-types v0.2.1 [INFO] [stderr] Compiling substrate-primitives v0.1.0 (https://github.com/paritytech/substrate#3a9b1e47) [INFO] [stderr] Compiling pairing v0.14.2 (/opt/rustwide/workdir/pairing) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/bls12_381/ec.rs:13:53 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 639 | / curve_impl!( [INFO] [stdout] 640 | | "G1", [INFO] [stdout] 641 | | G1, [INFO] [stdout] 642 | | G1Affine, [INFO] [stdout] ... | [INFO] [stdout] 648 | | G2Affine [INFO] [stdout] 649 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, `serde`, `serde_derive`, `std`, `u128-support`, and `unstable-features` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Encode` which comes from the expansion of the macro `curve_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/bls12_381/ec.rs:13:61 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 639 | / curve_impl!( [INFO] [stdout] 640 | | "G1", [INFO] [stdout] 641 | | G1, [INFO] [stdout] 642 | | G1Affine, [INFO] [stdout] ... | [INFO] [stdout] 648 | | G2Affine [INFO] [stdout] 649 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, `serde`, `serde_derive`, `std`, `u128-support`, and `unstable-features` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` which comes from the expansion of the macro `curve_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/bls12_381/ec.rs:950:28 [INFO] [stdout] | [INFO] [stdout] 950 | #[derive(Clone, Debug, Encode, Decode, Default, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, `serde`, `serde_derive`, `std`, `u128-support`, and `unstable-features` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/bls12_381/ec.rs:950:36 [INFO] [stdout] | [INFO] [stdout] 950 | #[derive(Clone, Debug, Encode, Decode, Default, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, `serde`, `serde_derive`, `std`, `u128-support`, and `unstable-features` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/bls12_381/ec.rs:13:53 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1312 | / curve_impl!( [INFO] [stdout] 1313 | | "G2", [INFO] [stdout] 1314 | | G2, [INFO] [stdout] 1315 | | G2Affine, [INFO] [stdout] ... | [INFO] [stdout] 1321 | | G1Affine [INFO] [stdout] 1322 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, `serde`, `serde_derive`, `std`, `u128-support`, and `unstable-features` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` which comes from the expansion of the macro `curve_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/bls12_381/ec.rs:13:61 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1312 | / curve_impl!( [INFO] [stdout] 1313 | | "G2", [INFO] [stdout] 1314 | | G2, [INFO] [stdout] 1315 | | G2Affine, [INFO] [stdout] ... | [INFO] [stdout] 1321 | | G1Affine [INFO] [stdout] 1322 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, `serde`, `serde_derive`, `std`, `u128-support`, and `unstable-features` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` which comes from the expansion of the macro `curve_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/bls12_381/ec.rs:1696:28 [INFO] [stdout] | [INFO] [stdout] 1696 | #[derive(Clone, Debug, Encode, Decode, Default, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, `serde`, `serde_derive`, `std`, `u128-support`, and `unstable-features` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/bls12_381/ec.rs:1696:36 [INFO] [stdout] | [INFO] [stdout] 1696 | #[derive(Clone, Debug, Encode, Decode, Default, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, `serde`, `serde_derive`, `std`, `u128-support`, and `unstable-features` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/bls12_381/fq.rs:512:54 [INFO] [stdout] | [INFO] [stdout] 512 | #[derive(Copy, Clone, PartialEq, Eq, Default, Debug, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, `serde`, `serde_derive`, `std`, `u128-support`, and `unstable-features` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/bls12_381/fq.rs:512:62 [INFO] [stdout] | [INFO] [stdout] 512 | #[derive(Copy, Clone, PartialEq, Eq, Default, Debug, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, `serde`, `serde_derive`, `std`, `u128-support`, and `unstable-features` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/bls12_381/fq.rs:701:45 [INFO] [stdout] | [INFO] [stdout] 701 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, `serde`, `serde_derive`, `std`, `u128-support`, and `unstable-features` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/bls12_381/fq.rs:701:53 [INFO] [stdout] | [INFO] [stdout] 701 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, `serde`, `serde_derive`, `std`, `u128-support`, and `unstable-features` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/bls12_381/fq12.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Copy, Clone, Debug, Eq, PartialEq, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, `serde`, `serde_derive`, `std`, `u128-support`, and `unstable-features` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/bls12_381/fq12.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Copy, Clone, Debug, Eq, PartialEq, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, `serde`, `serde_derive`, `std`, `u128-support`, and `unstable-features` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/bls12_381/fq2.rs:8:45 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Copy, Clone, Debug, Eq, PartialEq, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, `serde`, `serde_derive`, `std`, `u128-support`, and `unstable-features` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/bls12_381/fq2.rs:8:53 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Copy, Clone, Debug, Eq, PartialEq, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, `serde`, `serde_derive`, `std`, `u128-support`, and `unstable-features` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/bls12_381/fq6.rs:8:45 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Copy, Clone, Debug, Eq, PartialEq, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, `serde`, `serde_derive`, `std`, `u128-support`, and `unstable-features` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/bls12_381/fq6.rs:8:53 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Copy, Clone, Debug, Eq, PartialEq, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, `serde`, `serde_derive`, `std`, `u128-support`, and `unstable-features` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/bls12_381/fr.rs:59:45 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, `serde`, `serde_derive`, `std`, `u128-support`, and `unstable-features` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/bls12_381/fr.rs:59:53 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, `serde`, `serde_derive`, `std`, `u128-support`, and `unstable-features` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/bls12_381/fr.rs:248:45 [INFO] [stdout] | [INFO] [stdout] 248 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, `serde`, `serde_derive`, `std`, `u128-support`, and `unstable-features` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/bls12_381/fr.rs:248:53 [INFO] [stdout] | [INFO] [stdout] 248 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, `serde`, `serde_derive`, `std`, `u128-support`, and `unstable-features` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/bls12_381/mod.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Clone, Encode, Decode, Default, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, `serde`, `serde_derive`, `std`, `u128-support`, and `unstable-features` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/bls12_381/mod.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Clone, Encode, Decode, Default, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, `serde`, `serde_derive`, `std`, `u128-support`, and `unstable-features` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> pairing/src/bls12_381/fq.rs:524:9 [INFO] [stdout] | [INFO] [stdout] 524 | try!(write!(f, "0x")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> pairing/src/bls12_381/fq.rs:526:13 [INFO] [stdout] | [INFO] [stdout] 526 | try!(write!(f, "{:016x}", *i)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> pairing/src/bls12_381/fr.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | try!(write!(f, "0x")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> pairing/src/bls12_381/fr.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | try!(write!(f, "{:016x}", *i)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> pairing/src/utils.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | try!(self.read_exact(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> pairing/src/utils.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | try!(self.read_exact(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> pairing/src/lib.rs:114:29 [INFO] [stdout] | [INFO] [stdout] 114 | fn final_exponentiation(&Self::Fqk) -> Option; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Fqk` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> pairing/src/lib.rs:675:18 [INFO] [stdout] | [INFO] [stdout] 675 | fn from_repr(Self::Repr) -> Result; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Repr` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> pairing/src/lib.rs:422:39 [INFO] [stdout] | [INFO] [stdout] 422 | _ => write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> pairing/src/lib.rs:621:39 [INFO] [stdout] | [INFO] [stdout] 621 | _ => write!(f, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling substrate-state-machine v0.1.0 (https://github.com/paritytech/substrate#3a9b1e47) [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> pairing/src/lib.rs:373:28 [INFO] [stdout] | [INFO] [stdout] 373 | IoError::Group(ref err) => write!(f, "GroupDecodingError"), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> pairing/src/lib.rs:596:13 [INFO] [stdout] | [INFO] [stdout] 596 | fn from(e: IoError) -> GroupDecodingError { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> pairing/src/lib.rs:602:13 [INFO] [stdout] | [INFO] [stdout] 602 | fn from(e: Result<(), GroupDecodingError>) -> IoError { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [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:123:62 [INFO] [stdout] | [INFO] [stdout] 123 | [(&(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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 123 - [(&(p.into().prepare()), &(q.into().prepare()))].into_iter(), [INFO] [stdout] 123 + [(&(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] 123 - [(&(p.into().prepare()), &(q.into().prepare()))].into_iter(), [INFO] [stdout] 123 + IntoIterator::into_iter([(&(p.into().prepare()), &(q.into().prepare()))]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> pairing/src/bls12_381/mod.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Clone, Encode, Decode, Default, PartialEq, Eq, Debug)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Bls12` [INFO] [stdout] 28 | pub struct Bls12; [INFO] [stdout] | ----- `Bls12` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> pairing/src/bls12_381/mod.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Clone, Encode, Decode, Default, PartialEq, Eq, Debug)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_Bls12` [INFO] [stdout] 28 | pub struct Bls12; [INFO] [stdout] | ----- `Bls12` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> pairing/src/bls12_381/ec.rs:13:53 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, Default)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_G1Affine` [INFO] [stdout] ... [INFO] [stdout] 639 | / curve_impl!( [INFO] [stdout] 640 | | "G1", [INFO] [stdout] 641 | | G1, [INFO] [stdout] 642 | | G1Affine, [INFO] [stdout] | | -------- `G1Affine` is not local [INFO] [stdout] ... | [INFO] [stdout] 648 | | G2Affine [INFO] [stdout] 649 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Encode` which comes from the expansion of the macro `curve_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> pairing/src/bls12_381/ec.rs:13:61 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, Default)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_G1Affine` [INFO] [stdout] ... [INFO] [stdout] 639 | / curve_impl!( [INFO] [stdout] 640 | | "G1", [INFO] [stdout] 641 | | G1, [INFO] [stdout] 642 | | G1Affine, [INFO] [stdout] | | -------- `G1Affine` is not local [INFO] [stdout] ... | [INFO] [stdout] 648 | | G2Affine [INFO] [stdout] 649 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Decode` which comes from the expansion of the macro `curve_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> pairing/src/bls12_381/ec.rs:950:28 [INFO] [stdout] | [INFO] [stdout] 950 | #[derive(Clone, Debug, Encode, Decode, Default, Eq, PartialEq)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_G1Prepared` [INFO] [stdout] 951 | pub struct G1Prepared(pub(crate) G1Affine); [INFO] [stdout] | ---------- `G1Prepared` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> pairing/src/bls12_381/ec.rs:950:36 [INFO] [stdout] | [INFO] [stdout] 950 | #[derive(Clone, Debug, Encode, Decode, Default, Eq, PartialEq)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_G1Prepared` [INFO] [stdout] 951 | pub struct G1Prepared(pub(crate) G1Affine); [INFO] [stdout] | ---------- `G1Prepared` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> pairing/src/bls12_381/ec.rs:13:53 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, Default)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_G2Affine` [INFO] [stdout] ... [INFO] [stdout] 1312 | / curve_impl!( [INFO] [stdout] 1313 | | "G2", [INFO] [stdout] 1314 | | G2, [INFO] [stdout] 1315 | | G2Affine, [INFO] [stdout] | | -------- `G2Affine` is not local [INFO] [stdout] ... | [INFO] [stdout] 1321 | | G1Affine [INFO] [stdout] 1322 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Encode` which comes from the expansion of the macro `curve_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> pairing/src/bls12_381/ec.rs:13:61 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, Default)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_G2Affine` [INFO] [stdout] ... [INFO] [stdout] 1312 | / curve_impl!( [INFO] [stdout] 1313 | | "G2", [INFO] [stdout] 1314 | | G2, [INFO] [stdout] 1315 | | G2Affine, [INFO] [stdout] | | -------- `G2Affine` is not local [INFO] [stdout] ... | [INFO] [stdout] 1321 | | G1Affine [INFO] [stdout] 1322 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Decode` which comes from the expansion of the macro `curve_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> pairing/src/bls12_381/ec.rs:1696:28 [INFO] [stdout] | [INFO] [stdout] 1696 | #[derive(Clone, Debug, Encode, Decode, Default, Eq, PartialEq)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_G2Prepared` [INFO] [stdout] 1697 | pub struct G2Prepared { [INFO] [stdout] | ---------- `G2Prepared` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> pairing/src/bls12_381/ec.rs:1696:36 [INFO] [stdout] | [INFO] [stdout] 1696 | #[derive(Clone, Debug, Encode, Decode, Default, Eq, PartialEq)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_G2Prepared` [INFO] [stdout] 1697 | pub struct G2Prepared { [INFO] [stdout] | ---------- `G2Prepared` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> pairing/src/bls12_381/fq.rs:512:54 [INFO] [stdout] | [INFO] [stdout] 512 | #[derive(Copy, Clone, PartialEq, Eq, Default, Debug, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_FqRepr` [INFO] [stdout] 513 | pub struct FqRepr(pub [u64; 6]); [INFO] [stdout] | ------ `FqRepr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> pairing/src/bls12_381/fq.rs:512:62 [INFO] [stdout] | [INFO] [stdout] 512 | #[derive(Copy, Clone, PartialEq, Eq, Default, Debug, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_FqRepr` [INFO] [stdout] 513 | pub struct FqRepr(pub [u64; 6]); [INFO] [stdout] | ------ `FqRepr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> pairing/src/bls12_381/fq.rs:701:45 [INFO] [stdout] | [INFO] [stdout] 701 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, Default)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Fq` [INFO] [stdout] 702 | pub struct Fq(FqRepr); [INFO] [stdout] | -- `Fq` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> pairing/src/bls12_381/fq.rs:701:53 [INFO] [stdout] | [INFO] [stdout] 701 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, Default)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_Fq` [INFO] [stdout] 702 | pub struct Fq(FqRepr); [INFO] [stdout] | -- `Fq` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> pairing/src/bls12_381/fq12.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Copy, Clone, Debug, Eq, PartialEq, Encode, Decode, Default)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Fq12` [INFO] [stdout] 10 | pub struct Fq12 { [INFO] [stdout] | ---- `Fq12` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> pairing/src/bls12_381/fq12.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Copy, Clone, Debug, Eq, PartialEq, Encode, Decode, Default)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_Fq12` [INFO] [stdout] 10 | pub struct Fq12 { [INFO] [stdout] | ---- `Fq12` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> pairing/src/bls12_381/fq2.rs:8:45 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Copy, Clone, Debug, Eq, PartialEq, Encode, Decode, Default)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Fq2` [INFO] [stdout] 9 | pub struct Fq2 { [INFO] [stdout] | --- `Fq2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> pairing/src/bls12_381/fq2.rs:8:53 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Copy, Clone, Debug, Eq, PartialEq, Encode, Decode, Default)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_Fq2` [INFO] [stdout] 9 | pub struct Fq2 { [INFO] [stdout] | --- `Fq2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> pairing/src/bls12_381/fq6.rs:8:45 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Copy, Clone, Debug, Eq, PartialEq, Encode, Decode, Default)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Fq6` [INFO] [stdout] 9 | pub struct Fq6 { [INFO] [stdout] | --- `Fq6` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> pairing/src/bls12_381/fq6.rs:8:53 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Copy, Clone, Debug, Eq, PartialEq, Encode, Decode, Default)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_Fq6` [INFO] [stdout] 9 | pub struct Fq6 { [INFO] [stdout] | --- `Fq6` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> pairing/src/bls12_381/fr.rs:59:45 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, Default)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_FrRepr` [INFO] [stdout] 60 | pub struct FrRepr(pub [u64; 4]); [INFO] [stdout] | ------ `FrRepr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> pairing/src/bls12_381/fr.rs:59:53 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, Default)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_FrRepr` [INFO] [stdout] 60 | pub struct FrRepr(pub [u64; 4]); [INFO] [stdout] | ------ `FrRepr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> pairing/src/bls12_381/fr.rs:248:45 [INFO] [stdout] | [INFO] [stdout] 248 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, Default)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Fr` [INFO] [stdout] 249 | pub struct Fr(FrRepr); [INFO] [stdout] | -- `Fr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> pairing/src/bls12_381/fr.rs:248:53 [INFO] [stdout] | [INFO] [stdout] 248 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, Default)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_Fr` [INFO] [stdout] 249 | pub struct Fr(FrRepr); [INFO] [stdout] | -- `Fr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling jubjub v0.1.0 (/opt/rustwide/workdir/jubjub) [INFO] [stderr] Compiling bellman-verifier v0.1.0 (/opt/rustwide/workdir/bellman-verifier) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> bellman-verifier/src/dummy_engine.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | #[derive(Clone, Encode, Decode, Default, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> bellman-verifier/src/dummy_engine.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | #[derive(Clone, Encode, Decode, Default, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> bellman-verifier/src/lib.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Clone, Encode, Decode, Default, Eq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> bellman-verifier/src/lib.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Clone, Encode, Decode, Default, Eq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> bellman-verifier/src/lib.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Clone, Encode, Decode, Default, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> bellman-verifier/src/lib.rs:230:25 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Clone, Encode, Decode, Default, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Output` [INFO] [stdout] --> bellman-verifier/src/dummy_engine.rs:21:43 [INFO] [stdout] | [INFO] [stdout] 21 | use parity_codec::{Encode, Decode, Input, Output}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> jubjub/src/jubjub/edwards.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Encode, Decode, Default, Eq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `hex-literal`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> jubjub/src/jubjub/edwards.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Encode, Decode, Default, Eq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `hex-literal`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> jubjub/src/jubjub/fs.rs:41:45 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `hex-literal`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> jubjub/src/jubjub/fs.rs:41:53 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `hex-literal`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> jubjub/src/jubjub/fs.rs:234:54 [INFO] [stdout] | [INFO] [stdout] 234 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `hex-literal`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> jubjub/src/jubjub/fs.rs:234:62 [INFO] [stdout] | [INFO] [stdout] 234 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `hex-literal`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> jubjub/src/jubjub/mod.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Copy, Clone, PartialEq, Eq, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `hex-literal`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> jubjub/src/jubjub/mod.rs:53:46 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Copy, Clone, PartialEq, Eq, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `hex-literal`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> jubjub/src/jubjub/mod.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Copy, Clone, PartialEq, Eq, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `hex-literal`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> jubjub/src/jubjub/mod.rs:58:46 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Copy, Clone, PartialEq, Eq, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `hex-literal`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> jubjub/src/jubjub/mod.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | #[derive(Clone, Encode, Decode, Default, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `hex-literal`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> jubjub/src/jubjub/mod.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | #[derive(Clone, Encode, Decode, Default, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `hex-literal`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> jubjub/src/redjubjub.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Copy, Clone, Encode, Decode, Default, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `hex-literal`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> jubjub/src/redjubjub.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Copy, Clone, Encode, Decode, Default, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `hex-literal`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> jubjub/src/redjubjub.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Clone, Encode, Decode, Default, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `hex-literal`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> jubjub/src/redjubjub.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Clone, Encode, Decode, Default, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `hex-literal`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> jubjub/src/jubjub/edwards.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | utils::{Write, Read}, [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> bellman-verifier/src/lib.rs:307:34 [INFO] [stdout] | [INFO] [stdout] 307 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> bellman-verifier/src/dummy_engine.rs:29:55 [INFO] [stdout] | [INFO] [stdout] 29 | fn using_encoded R>(&self, f: F) -> R { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> bellman-verifier/src/dummy_engine.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | fn decode(input: &mut I) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MODULUS_R` is never used [INFO] [stdout] --> bellman-verifier/src/dummy_engine.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const MODULUS_R: Wrapping = Wrapping(64513); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Fr` is never constructed [INFO] [stdout] --> bellman-verifier/src/dummy_engine.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Fr(pub Wrapping); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FrRepr` is never constructed [INFO] [stdout] --> bellman-verifier/src/dummy_engine.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct FrRepr([u64; 1]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DummyEngine` is never constructed [INFO] [stdout] --> bellman-verifier/src/dummy_engine.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct DummyEngine; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FakePoint` is never constructed [INFO] [stdout] --> bellman-verifier/src/dummy_engine.rs:399:12 [INFO] [stdout] | [INFO] [stdout] 399 | pub struct FakePoint; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> bellman-verifier/src/lib.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Clone, Encode, Decode, Default, Eq)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Proof` [INFO] [stdout] 30 | pub struct Proof { [INFO] [stdout] | ----- `Proof` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> bellman-verifier/src/lib.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Clone, Encode, Decode, Default, Eq)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_Proof` [INFO] [stdout] 30 | pub struct Proof { [INFO] [stdout] | ----- `Proof` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> bellman-verifier/src/lib.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Clone, Encode, Decode, Default, PartialEq, Eq)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_PreparedVerifyingKey` [INFO] [stdout] 231 | pub struct PreparedVerifyingKey { [INFO] [stdout] | -------------------- `PreparedVerifyingKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> bellman-verifier/src/lib.rs:230:25 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Clone, Encode, Decode, Default, PartialEq, Eq)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_PreparedVerifyingKey` [INFO] [stdout] 231 | pub struct PreparedVerifyingKey { [INFO] [stdout] | -------------------- `PreparedVerifyingKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [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-verifier/src/verifier.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | ].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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 62 - ].into_iter()) [INFO] [stdout] 62 + ].iter()) [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 58 ~ &E::miller_loop(IntoIterator::into_iter([ [INFO] [stdout] 59 | (&proof.a.prepare(), &proof.b.prepare()), [INFO] [stdout] 60 | (&acc.into_affine().prepare(), &pvk.neg_gamma_g2), [INFO] [stdout] 61 | (&proof.c.prepare(), &pvk.neg_delta_g2) [INFO] [stdout] 62 ~ ])) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> bellman-verifier/src/dummy_engine.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | #[derive(Clone, Encode, Decode, Default, PartialEq, Debug)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_DummyEngine` [INFO] [stdout] 298 | pub struct DummyEngine; [INFO] [stdout] | ----------- `DummyEngine` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> bellman-verifier/src/dummy_engine.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | #[derive(Clone, Encode, Decode, Default, PartialEq, Debug)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_DummyEngine` [INFO] [stdout] 298 | pub struct DummyEngine; [INFO] [stdout] | ----------- `DummyEngine` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> jubjub/src/jubjub/mod.rs:362:17 [INFO] [stdout] | [INFO] [stdout] 362 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> jubjub/src/jubjub/mod.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Copy, Clone, PartialEq, Eq, Encode, Decode, Default)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Unknown` [INFO] [stdout] 54 | pub struct Unknown; [INFO] [stdout] | ------- `Unknown` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> jubjub/src/jubjub/mod.rs:53:46 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Copy, Clone, PartialEq, Eq, Encode, Decode, Default)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_Unknown` [INFO] [stdout] 54 | pub struct Unknown; [INFO] [stdout] | ------- `Unknown` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> jubjub/src/jubjub/mod.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Copy, Clone, PartialEq, Eq, Encode, Decode, Default)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_PrimeOrder` [INFO] [stdout] 59 | pub struct PrimeOrder; [INFO] [stdout] | ---------- `PrimeOrder` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> jubjub/src/jubjub/mod.rs:58:46 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Copy, Clone, PartialEq, Eq, Encode, Decode, Default)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_PrimeOrder` [INFO] [stdout] 59 | pub struct PrimeOrder; [INFO] [stdout] | ---------- `PrimeOrder` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> jubjub/src/jubjub/mod.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | #[derive(Clone, Encode, Decode, Default, PartialEq, Eq)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_JubjubBls12` [INFO] [stdout] 149 | pub struct JubjubBls12 { [INFO] [stdout] | ----------- `JubjubBls12` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> jubjub/src/jubjub/mod.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | #[derive(Clone, Encode, Decode, Default, PartialEq, Eq)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_JubjubBls12` [INFO] [stdout] 149 | pub struct JubjubBls12 { [INFO] [stdout] | ----------- `JubjubBls12` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> jubjub/src/jubjub/edwards.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Encode, Decode, Default, Eq)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Point` [INFO] [stdout] 36 | pub struct Point { [INFO] [stdout] | ----- `Point` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> jubjub/src/jubjub/edwards.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Encode, Decode, Default, Eq)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_Point` [INFO] [stdout] 36 | pub struct Point { [INFO] [stdout] | ----- `Point` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> jubjub/src/jubjub/fs.rs:41:45 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, Default)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_FsRepr` [INFO] [stdout] 42 | // #[cfg_attr(feature = "std", derive(Debug, Serialize, Deserialize))] [INFO] [stdout] 43 | pub struct FsRepr(pub [u64; 4]); [INFO] [stdout] | ------ `FsRepr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> jubjub/src/jubjub/fs.rs:41:53 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, Default)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_FsRepr` [INFO] [stdout] 42 | // #[cfg_attr(feature = "std", derive(Debug, Serialize, Deserialize))] [INFO] [stdout] 43 | pub struct FsRepr(pub [u64; 4]); [INFO] [stdout] | ------ `FsRepr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> jubjub/src/jubjub/fs.rs:234:54 [INFO] [stdout] | [INFO] [stdout] 234 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Fs` [INFO] [stdout] 235 | // #[cfg_attr(feature = "std", derive(Debug, Serialize, Deserialize))] [INFO] [stdout] 236 | pub struct Fs(FsRepr); [INFO] [stdout] | -- `Fs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> jubjub/src/jubjub/fs.rs:234:62 [INFO] [stdout] | [INFO] [stdout] 234 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_Fs` [INFO] [stdout] 235 | // #[cfg_attr(feature = "std", derive(Debug, Serialize, Deserialize))] [INFO] [stdout] 236 | pub struct Fs(FsRepr); [INFO] [stdout] | -- `Fs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> jubjub/src/redjubjub.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Copy, Clone, Encode, Decode, Default, PartialEq, Eq)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Signature` [INFO] [stdout] 32 | pub struct Signature { [INFO] [stdout] | --------- `Signature` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> jubjub/src/redjubjub.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Copy, Clone, Encode, Decode, Default, PartialEq, Eq)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_Signature` [INFO] [stdout] 32 | pub struct Signature { [INFO] [stdout] | --------- `Signature` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> jubjub/src/redjubjub.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Clone, Encode, Decode, Default, PartialEq, Eq)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_PublicKey` [INFO] [stdout] 41 | pub struct PublicKey(pub Point); [INFO] [stdout] | --------- `PublicKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> jubjub/src/redjubjub.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Clone, Encode, Decode, Default, PartialEq, Eq)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_PublicKey` [INFO] [stdout] 41 | pub struct PublicKey(pub Point); [INFO] [stdout] | --------- `PublicKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bellman v0.1.0 (/opt/rustwide/workdir/bellman) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> bellman/src/groth16/mod.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Clone, Encode, Decode, Default, Eq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `default`, `futures-cpupool`, `multithread`, `num_cpus`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> bellman/src/groth16/mod.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Clone, Encode, Decode, Default, Eq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `default`, `futures-cpupool`, `multithread`, `num_cpus`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> bellman/src/groth16/mod.rs:435:17 [INFO] [stdout] | [INFO] [stdout] 435 | #[derive(Clone, Encode, Decode, Default, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `default`, `futures-cpupool`, `multithread`, `num_cpus`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> bellman/src/groth16/mod.rs:435:25 [INFO] [stdout] | [INFO] [stdout] 435 | #[derive(Clone, Encode, Decode, Default, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `crossbeam`, `default`, `futures-cpupool`, `multithread`, `num_cpus`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> bellman/src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BigEndian` [INFO] [stdout] --> bellman/src/groth16/mod.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | use byteorder::{BigEndian, ByteOrder}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bellman/src/multiexp.rs:159:10 [INFO] [stdout] | [INFO] [stdout] 159 | ) -> 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 159 | ) -> 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:253:10 [INFO] [stdout] | [INFO] [stdout] 253 | ) -> Box::Projective, Error=SynthesisError>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 253 | ) -> 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:256:34 [INFO] [stdout] | [INFO] [stdout] 256 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> bellman/src/groth16/mod.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | use byteorder::{BigEndian, ByteOrder}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> bellman/src/groth16/mod.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Clone, Encode, Decode, Default, Eq)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Proof` [INFO] [stdout] 41 | pub struct Proof { [INFO] [stdout] | ----- `Proof` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> bellman/src/groth16/mod.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Clone, Encode, Decode, Default, Eq)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_Proof` [INFO] [stdout] 41 | pub struct Proof { [INFO] [stdout] | ----- `Proof` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> bellman/src/groth16/mod.rs:435:17 [INFO] [stdout] | [INFO] [stdout] 435 | #[derive(Clone, Encode, Decode, Default, PartialEq, Eq)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_PreparedVerifyingKey` [INFO] [stdout] 436 | pub struct PreparedVerifyingKey { [INFO] [stdout] | -------------------- `PreparedVerifyingKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> bellman/src/groth16/mod.rs:435:25 [INFO] [stdout] | [INFO] [stdout] 435 | #[derive(Clone, Encode, Decode, Default, PartialEq, Eq)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_PreparedVerifyingKey` [INFO] [stdout] 436 | pub struct PreparedVerifyingKey { [INFO] [stdout] | -------------------- `PreparedVerifyingKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> bellman/src/groth16/verifier.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | ].into_iter()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 64 - ].into_iter()) [INFO] [stdout] 64 + ].iter()) [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 60 ~ &E::miller_loop(IntoIterator::into_iter([ [INFO] [stdout] 61 | (&proof.a.prepare(), &proof.b.prepare()), [INFO] [stdout] 62 | (&acc.into_affine().prepare(), &pvk.neg_gamma_g2), [INFO] [stdout] 63 | (&proof.c.prepare(), &pvk.neg_delta_g2) [INFO] [stdout] 64 ~ ])) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sapling-crypto v0.0.1 (/opt/rustwide/workdir/sapling-crypto) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> sapling-crypto/src/jubjub/edwards.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Encode, Decode, Default, Eq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, `std`, and `u128-support` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> sapling-crypto/src/jubjub/edwards.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Encode, Decode, Default, Eq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, `std`, and `u128-support` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> sapling-crypto/src/jubjub/fs.rs:40:45 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, `std`, and `u128-support` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> sapling-crypto/src/jubjub/fs.rs:40:53 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, `std`, and `u128-support` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> sapling-crypto/src/jubjub/fs.rs:232:54 [INFO] [stdout] | [INFO] [stdout] 232 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, `std`, and `u128-support` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> sapling-crypto/src/jubjub/fs.rs:232:62 [INFO] [stdout] | [INFO] [stdout] 232 | #[derive(Copy, Clone, PartialEq, Eq, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, `std`, and `u128-support` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> sapling-crypto/src/jubjub/mod.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Copy, Clone, PartialEq, Eq, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, `std`, and `u128-support` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> sapling-crypto/src/jubjub/mod.rs:53:46 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Copy, Clone, PartialEq, Eq, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, `std`, and `u128-support` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> sapling-crypto/src/jubjub/mod.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Copy, Clone, PartialEq, Eq, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, `std`, and `u128-support` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> sapling-crypto/src/jubjub/mod.rs:58:46 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Copy, Clone, PartialEq, Eq, Encode, Decode, Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, `std`, and `u128-support` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> sapling-crypto/src/jubjub/mod.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | #[derive(Clone, Encode, Decode, Default, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, `std`, and `u128-support` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> sapling-crypto/src/jubjub/mod.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | #[derive(Clone, Encode, Decode, Default, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, `std`, and `u128-support` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> sapling-crypto/src/redjubjub.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Copy, Clone, Encode, Decode, Default, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, `std`, and `u128-support` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> sapling-crypto/src/redjubjub.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Copy, Clone, Encode, Decode, Default, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, `std`, and `u128-support` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> sapling-crypto/src/redjubjub.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Clone, Encode, Decode, Default, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, `std`, and `u128-support` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> sapling-crypto/src/redjubjub.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Clone, Encode, Decode, Default, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, `std`, and `u128-support` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_codec_derive` crate, try updating your dependency with `cargo update -p parity_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> sapling-crypto/src/jubjub/fs.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | try!(write!(f, "0x")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> sapling-crypto/src/jubjub/fs.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | 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:136:34 [INFO] [stdout] | [INFO] [stdout] 136 | 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)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> sapling-crypto/src/jubjub/edwards.rs:107:24 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn read( [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 107 | y_repr.read_le(reader)?; [INFO] [stdout] | ------- ^^^^^^ expected `&[u8]`, found type parameter `R` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found type parameter `R` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/pairing/src/lib.rs:515:8 [INFO] [stdout] | [INFO] [stdout] 515 | fn read_le(&mut self, mut reader: &[u8]) -> Result<(), IoError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::io::Error` [INFO] [stdout] --> sapling-crypto/src/jubjub/edwards.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | y_repr.read_le(reader)?; [INFO] [stdout] | ---------------^ the trait `From` is not implemented for `std::io::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, pairing::IoError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From>` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> sapling-crypto/src/jubjub/edwards.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn write( [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 213 | y_repr.write_le(writer) [INFO] [stdout] | -------- ^^^^^^ expected `&mut [u8]`, found type parameter `W` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut [u8]` [INFO] [stdout] found type parameter `W` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/pairing/src/lib.rs:504:8 [INFO] [stdout] | [INFO] [stdout] 504 | fn write_le(&self, writer: &mut [u8]) -> Result<(), IoError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> sapling-crypto/src/jubjub/edwards.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 201 | ) -> io::Result<()> [INFO] [stdout] | -------------- expected `Result<(), std::io::Error>` because of return type [INFO] [stdout] ... [INFO] [stdout] 213 | y_repr.write_le(writer) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(), Error>`, found `Result<(), IoError>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, std::io::Error>` [INFO] [stdout] found enum `Result<_, pairing::IoError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> sapling-crypto/src/jubjub/fs.rs:274:53 [INFO] [stdout] | [INFO] [stdout] 274 | Err(PrimeFieldDecodingError::NotInField(format!("{}", r.0))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> sapling-crypto/src/redjubjub.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 14 | fn read_scalar(reader: R) -> io::Result { [INFO] [stdout] | - found this type parameter [INFO] [stdout] 15 | let mut s_repr = ::Repr::default(); [INFO] [stdout] 16 | s_repr.read_le(reader)?; [INFO] [stdout] | ------- ^^^^^^ expected `&[u8]`, found type parameter `R` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found type parameter `R` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/pairing/src/lib.rs:515:8 [INFO] [stdout] | [INFO] [stdout] 515 | fn read_le(&mut self, mut reader: &[u8]) -> Result<(), IoError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::io::Error` [INFO] [stdout] --> sapling-crypto/src/redjubjub.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 14 | fn read_scalar(reader: R) -> io::Result { [INFO] [stdout] | ----------------- expected `std::io::Error` because of this [INFO] [stdout] 15 | let mut s_repr = ::Repr::default(); [INFO] [stdout] 16 | s_repr.read_le(reader)?; [INFO] [stdout] | ---------------^ the trait `From` is not implemented for `std::io::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, pairing::IoError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From>` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> sapling-crypto/src/redjubjub.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 27 | fn write_scalar(s: &E::Fs, writer: W) -> io::Result<()> { [INFO] [stdout] | - found this type parameter [INFO] [stdout] 28 | s.into_repr().write_le(writer) [INFO] [stdout] | -------- ^^^^^^ expected `&mut [u8]`, found type parameter `W` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut [u8]` [INFO] [stdout] found type parameter `W` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/pairing/src/lib.rs:504:8 [INFO] [stdout] | [INFO] [stdout] 504 | fn write_le(&self, writer: &mut [u8]) -> Result<(), IoError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> sapling-crypto/src/redjubjub.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | fn write_scalar(s: &E::Fs, writer: W) -> io::Result<()> { [INFO] [stdout] | -------------- expected `Result<(), std::io::Error>` because of return type [INFO] [stdout] 28 | s.into_repr().write_le(writer) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(), Error>`, found `Result<(), IoError>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, std::io::Error>` [INFO] [stdout] found enum `Result<_, pairing::IoError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sapling-crypto/src/jubjub/mod.rs:362:17 [INFO] [stdout] | [INFO] [stdout] 362 | 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sapling-crypto` (lib) due to 9 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "13064d088c34eca0bd7f982fee1d9196a13565c1d017936948299b6e3fa16c37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13064d088c34eca0bd7f982fee1d9196a13565c1d017936948299b6e3fa16c37", kill_on_drop: false }` [INFO] [stdout] 13064d088c34eca0bd7f982fee1d9196a13565c1d017936948299b6e3fa16c37