[INFO] cloning repository https://github.com/Karthigasrini/librustzcash [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Karthigasrini/librustzcash" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKarthigasrini%2Flibrustzcash", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKarthigasrini%2Flibrustzcash'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 69909c3fa2ce739615c0725dd52aa61dd586f93b [INFO] checking Karthigasrini/librustzcash against try#51b1964e35e5e26f8cd938940f0da6f7b5cc54fc for pr-138176 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKarthigasrini%2Flibrustzcash" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Karthigasrini/librustzcash on toolchain 51b1964e35e5e26f8cd938940f0da6f7b5cc54fc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51b1964e35e5e26f8cd938940f0da6f7b5cc54fc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Karthigasrini/librustzcash [INFO] finished tweaking git repo https://github.com/Karthigasrini/librustzcash [INFO] tweaked toml for git repo https://github.com/Karthigasrini/librustzcash written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Karthigasrini/librustzcash already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51b1964e35e5e26f8cd938940f0da6f7b5cc54fc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-2-tc2/source/ff/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-2-tc2/source/group/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-2-tc2/source/bellman/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-2-tc2/source/pairing/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-2-tc2/source/librustzcash/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-2-tc2/source/ff/ff_derive/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-2-tc2/source/sapling-crypto/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-2-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-2-tc2/source/zcash_proofs/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_chacha v0.2.0 [INFO] [stderr] Downloaded spin v0.5.0 [INFO] [stderr] Downloaded byteorder v1.2.2 [INFO] [stderr] Downloaded opaque-debug v0.2.2 [INFO] [stderr] Downloaded num-traits v0.2.5 [INFO] [stderr] Downloaded quote v0.6.8 [INFO] [stderr] Downloaded getrandom v0.1.6 [INFO] [stderr] Downloaded proc-macro-hack v0.4.0 [INFO] [stderr] Downloaded byte-tools v0.2.0 [INFO] [stderr] Downloaded crypto_api v0.2.2 [INFO] [stderr] Downloaded opaque-debug v0.1.1 [INFO] [stderr] Downloaded proc-macro-hack-impl v0.4.0 [INFO] [stderr] Downloaded rand_os v0.2.0 [INFO] [stderr] Downloaded stream-cipher v0.1.1 [INFO] [stderr] Downloaded arrayref v0.3.5 [INFO] [stderr] Downloaded block-cipher-trait v0.5.3 [INFO] [stderr] Downloaded bech32 v0.6.0 [INFO] [stderr] Downloaded generic-array v0.9.0 [INFO] [stderr] Downloaded digest v0.7.2 [INFO] [stderr] Downloaded crossbeam v0.3.2 [INFO] [stderr] Downloaded futures v0.1.21 [INFO] [stderr] Downloaded aes-soft v0.2.0 [INFO] [stderr] Downloaded aesni v0.4.1 [INFO] [stderr] Downloaded aes v0.2.0 [INFO] [stderr] Downloaded num-bigint v0.2.0 [INFO] [stderr] Downloaded libc v0.2.59 [INFO] [stderr] Downloaded proc-macro2 v0.4.14 [INFO] [stderr] Downloaded blake2s_simd v0.5.1 [INFO] [stderr] Downloaded fpe v0.1.0 [INFO] [stderr] Downloaded crypto_api_chachapoly v0.1.8 [INFO] [stderr] Downloaded blake2b_simd v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+51b1964e35e5e26f8cd938940f0da6f7b5cc54fc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96f438d4bfbf8405953f5bcb6ca3776af2449452b23673011018aada36221c55 [INFO] running `Command { std: "docker" "start" "-a" "96f438d4bfbf8405953f5bcb6ca3776af2449452b23673011018aada36221c55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96f438d4bfbf8405953f5bcb6ca3776af2449452b23673011018aada36221c55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96f438d4bfbf8405953f5bcb6ca3776af2449452b23673011018aada36221c55", kill_on_drop: false }` [INFO] [stdout] 96f438d4bfbf8405953f5bcb6ca3776af2449452b23673011018aada36221c55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+51b1964e35e5e26f8cd938940f0da6f7b5cc54fc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0455f2156e976acfc5a33cc97adc9aa24bfb0f58f1b98d765f716450c8fe00d [INFO] running `Command { std: "docker" "start" "-a" "b0455f2156e976acfc5a33cc97adc9aa24bfb0f58f1b98d765f716450c8fe00d", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/ff/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/ff/ff_derive/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/group/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/pairing/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/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] warning: /opt/rustwide/workdir/zcash_proofs/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/bellman/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/librustzcash/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling libc v0.2.59 [INFO] [stderr] Compiling proc-macro2 v0.4.14 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking spin v0.5.0 [INFO] [stderr] Compiling num-bigint v0.2.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking byteorder v1.2.2 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking futures v0.1.21 [INFO] [stderr] Compiling rand_chacha v0.2.0 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Checking crossbeam v0.3.2 [INFO] [stderr] Checking bit-vec v0.4.4 [INFO] [stderr] Checking getrandom v0.1.6 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Checking byte-tools v0.3.0 [INFO] [stderr] Checking constant_time_eq v0.1.3 [INFO] [stderr] Checking arrayref v0.3.5 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking block-padding v0.1.2 [INFO] [stderr] Checking opaque-debug v0.2.2 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Checking generic-array v0.9.0 [INFO] [stderr] Checking generic-array v0.12.0 [INFO] [stderr] Checking blake2b_simd v0.5.1 [INFO] [stderr] Checking digest v0.7.2 [INFO] [stderr] Checking blake2s_simd v0.5.1 [INFO] [stderr] Checking block-buffer v0.7.0 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking digest v0.8.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking block-cipher-trait v0.5.3 [INFO] [stderr] Checking opaque-debug v0.1.1 [INFO] [stderr] Checking sha2 v0.8.0 [INFO] [stderr] Checking byte-tools v0.2.0 [INFO] [stderr] Checking crypto_api v0.2.2 [INFO] [stderr] Checking aes-soft v0.2.0 [INFO] [stderr] Checking rand_os v0.2.0 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking crypto_api_chachapoly v0.1.8 [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.0 [INFO] [stderr] Checking aes v0.2.0 [INFO] [stderr] Checking bech32 v0.6.0 [INFO] [stderr] Compiling proc-macro-hack v0.4.0 [INFO] [stderr] Compiling hex-literal-impl v0.1.1 [INFO] [stderr] Checking hex-literal v0.1.1 [INFO] [stderr] Compiling ff_derive v0.3.0 (/opt/rustwide/workdir/ff/ff_derive) [INFO] [stderr] Checking fpe v0.1.0 [INFO] [stderr] Checking ff v0.4.0 (/opt/rustwide/workdir/ff) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> ff/src/lib.rs:269:18 [INFO] [stdout] | [INFO] [stdout] 269 | fn from_repr(Self::Repr) -> Result; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Repr` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> ff/src/lib.rs:269:18 [INFO] [stdout] | [INFO] [stdout] 269 | fn from_repr(Self::Repr) -> Result; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Repr` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking group v0.1.0 (/opt/rustwide/workdir/group) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> group/src/lib.rs:188:39 [INFO] [stdout] | [INFO] [stdout] 188 | _ => write!(f, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> group/src/lib.rs:188:39 [INFO] [stdout] | [INFO] [stdout] 188 | _ => write!(f, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pairing v0.14.2 (/opt/rustwide/workdir/pairing) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | #![cfg_attr(feature = "cargo-clippy", deny(warnings))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, and `unstable-features` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/lib.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | #![cfg_attr(feature = "cargo-clippy", allow(inline_always))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, and `unstable-features` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/lib.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | #![cfg_attr(feature = "cargo-clippy", allow(too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, and `unstable-features` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/lib.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, and `unstable-features` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | #![cfg_attr(feature = "cargo-clippy", allow(many_single_char_names))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, and `unstable-features` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/lib.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | #![cfg_attr(feature = "cargo-clippy", allow(new_without_default_derive))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, and `unstable-features` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/lib.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | #![cfg_attr(feature = "cargo-clippy", allow(write_literal))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, and `unstable-features` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> pairing/src/lib.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | fn final_exponentiation(&Self::Fqk) -> Option; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Fqk` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | #![cfg_attr(feature = "cargo-clippy", deny(warnings))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, and `unstable-features` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/lib.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | #![cfg_attr(feature = "cargo-clippy", allow(inline_always))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, and `unstable-features` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/lib.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | #![cfg_attr(feature = "cargo-clippy", allow(too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, and `unstable-features` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/lib.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, and `unstable-features` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | #![cfg_attr(feature = "cargo-clippy", allow(many_single_char_names))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, and `unstable-features` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/lib.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | #![cfg_attr(feature = "cargo-clippy", allow(new_without_default_derive))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, and `unstable-features` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> pairing/src/lib.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | #![cfg_attr(feature = "cargo-clippy", allow(write_literal))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `expose-arith`, and `unstable-features` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> pairing/src/lib.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | fn final_exponentiation(&Self::Fqk) -> Option; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Fqk` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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:103:62 [INFO] [stdout] | [INFO] [stdout] 103 | [(&(p.into().prepare()), &(q.into().prepare()))].into_iter(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 103 - [(&(p.into().prepare()), &(q.into().prepare()))].into_iter(), [INFO] [stdout] 103 + [(&(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] 103 - [(&(p.into().prepare()), &(q.into().prepare()))].into_iter(), [INFO] [stdout] 103 + IntoIterator::into_iter([(&(p.into().prepare()), &(q.into().prepare()))]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bellman v0.1.0 (/opt/rustwide/workdir/bellman) [INFO] [stdout] error[E0463]: can't find crate for `rand` [INFO] [stdout] --> pairing/benches/pairing_benches.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate rand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bellman/src/multiexp.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | ) -> Box::Projective, Error=SynthesisError>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 142 | ) -> 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:236:10 [INFO] [stdout] | [INFO] [stdout] 236 | ) -> 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] 236 | ) -> 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:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | ) -> Box::Projective, Error=SynthesisError>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 142 | ) -> 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:236:10 [INFO] [stdout] | [INFO] [stdout] 236 | ) -> 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] 236 | ) -> Box::Projective, Error=SynthesisError>> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::G1` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/ec.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | .map(|_| (G1::rand(&mut rng), Fr::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `G1` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 14 | .map(|_| (G1::random(&mut rng), Fr::rand(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fr` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/ec.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 14 | .map(|_| (G1::rand(&mut rng), Fr::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `Fr` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 14 | .map(|_| (G1::rand(&mut rng), Fr::random(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::G1` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/ec.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | .map(|_| (G1::rand(&mut rng), G1::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `G1` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 33 | .map(|_| (G1::random(&mut rng), G1::rand(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::G1` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/ec.rs:33:47 [INFO] [stdout] | [INFO] [stdout] 33 | .map(|_| (G1::rand(&mut rng), G1::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `G1` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 33 | .map(|_| (G1::rand(&mut rng), G1::random(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::G1` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/ec.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | .map(|_| (G1::rand(&mut rng), G1::rand(&mut rng).into())) [INFO] [stdout] | ^^^^ function or associated item not found in `G1` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 52 | .map(|_| (G1::random(&mut rng), G1::rand(&mut rng).into())) [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:227:34 [INFO] [stdout] | [INFO] [stdout] 227 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::G1` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/ec.rs:52:47 [INFO] [stdout] | [INFO] [stdout] 52 | .map(|_| (G1::rand(&mut rng), G1::rand(&mut rng).into())) [INFO] [stdout] | ^^^^ function or associated item not found in `G1` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 52 | .map(|_| (G1::rand(&mut rng), G1::random(&mut rng).into())) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::G2` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/ec.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | .map(|_| (G2::rand(&mut rng), Fr::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `G2` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 78 | .map(|_| (G2::random(&mut rng), Fr::rand(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fr` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/ec.rs:78:47 [INFO] [stdout] | [INFO] [stdout] 78 | .map(|_| (G2::rand(&mut rng), Fr::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `Fr` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 78 | .map(|_| (G2::rand(&mut rng), Fr::random(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::G2` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/ec.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 97 | .map(|_| (G2::rand(&mut rng), G2::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `G2` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 97 | .map(|_| (G2::random(&mut rng), G2::rand(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::G2` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/ec.rs:97:47 [INFO] [stdout] | [INFO] [stdout] 97 | .map(|_| (G2::rand(&mut rng), G2::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `G2` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 97 | .map(|_| (G2::rand(&mut rng), G2::random(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::G2` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/ec.rs:116:27 [INFO] [stdout] | [INFO] [stdout] 116 | .map(|_| (G2::rand(&mut rng), G2::rand(&mut rng).into())) [INFO] [stdout] | ^^^^ function or associated item not found in `G2` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 116 | .map(|_| (G2::random(&mut rng), G2::rand(&mut rng).into())) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::G2` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/ec.rs:116:47 [INFO] [stdout] | [INFO] [stdout] 116 | .map(|_| (G2::rand(&mut rng), G2::rand(&mut rng).into())) [INFO] [stdout] | ^^^^ function or associated item not found in `G2` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 116 | .map(|_| (G2::rand(&mut rng), G2::random(&mut rng).into())) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::FqRepr` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | let mut tmp1 = FqRepr::rand(&mut rng); [INFO] [stdout] | ^^^^ function or associated item not found in `FqRepr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::FqRepr` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | let mut tmp2 = FqRepr::rand(&mut rng); [INFO] [stdout] | ^^^^ function or associated item not found in `FqRepr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::FqRepr` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | let tmp1 = FqRepr::rand(&mut rng); [INFO] [stdout] | ^^^^ function or associated item not found in `FqRepr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::FqRepr` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq.rs:67:55 [INFO] [stdout] | [INFO] [stdout] 67 | let v: Vec = (0..SAMPLES).map(|_| FqRepr::rand(&mut rng)).collect(); [INFO] [stdout] | ^^^^ function or associated item not found in `FqRepr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::FqRepr` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq.rs:83:55 [INFO] [stdout] | [INFO] [stdout] 83 | let v: Vec = (0..SAMPLES).map(|_| FqRepr::rand(&mut rng)).collect(); [INFO] [stdout] | ^^^^ function or associated item not found in `FqRepr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::FqRepr` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq.rs:100:55 [INFO] [stdout] | [INFO] [stdout] 100 | let v: Vec = (0..SAMPLES).map(|_| FqRepr::rand(&mut rng)).collect(); [INFO] [stdout] | ^^^^ function or associated item not found in `FqRepr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fq` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 118 | .map(|_| (Fq::rand(&mut rng), Fq::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `Fq` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 118 | .map(|_| (Fq::random(&mut rng), Fq::rand(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fq` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq.rs:118:43 [INFO] [stdout] | [INFO] [stdout] 118 | .map(|_| (Fq::rand(&mut rng), Fq::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `Fq` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 118 | .map(|_| (Fq::rand(&mut rng), Fq::random(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fq` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq.rs:137:23 [INFO] [stdout] | [INFO] [stdout] 137 | .map(|_| (Fq::rand(&mut rng), Fq::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `Fq` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 137 | .map(|_| (Fq::random(&mut rng), Fq::rand(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fq` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq.rs:137:43 [INFO] [stdout] | [INFO] [stdout] 137 | .map(|_| (Fq::rand(&mut rng), Fq::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `Fq` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 137 | .map(|_| (Fq::rand(&mut rng), Fq::random(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fq` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq.rs:156:23 [INFO] [stdout] | [INFO] [stdout] 156 | .map(|_| (Fq::rand(&mut rng), Fq::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `Fq` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 156 | .map(|_| (Fq::random(&mut rng), Fq::rand(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fq` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq.rs:156:43 [INFO] [stdout] | [INFO] [stdout] 156 | .map(|_| (Fq::rand(&mut rng), Fq::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `Fq` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 156 | .map(|_| (Fq::rand(&mut rng), Fq::random(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fq` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq.rs:174:47 [INFO] [stdout] | [INFO] [stdout] 174 | let v: Vec = (0..SAMPLES).map(|_| Fq::rand(&mut rng)).collect(); [INFO] [stdout] | ^^^^ function or associated item not found in `Fq` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 174 | let v: Vec = (0..SAMPLES).map(|_| Fq::random(&mut rng)).collect(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fq` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq.rs:191:47 [INFO] [stdout] | [INFO] [stdout] 191 | let v: Vec = (0..SAMPLES).map(|_| Fq::rand(&mut rng)).collect(); [INFO] [stdout] | ^^^^ function or associated item not found in `Fq` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 191 | let v: Vec = (0..SAMPLES).map(|_| Fq::random(&mut rng)).collect(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fq` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq.rs:206:47 [INFO] [stdout] | [INFO] [stdout] 206 | let v: Vec = (0..SAMPLES).map(|_| Fq::rand(&mut rng)).collect(); [INFO] [stdout] | ^^^^ function or associated item not found in `Fq` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 206 | let v: Vec = (0..SAMPLES).map(|_| Fq::random(&mut rng)).collect(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fq` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq.rs:225:31 [INFO] [stdout] | [INFO] [stdout] 225 | let mut tmp = Fq::rand(&mut rng); [INFO] [stdout] | ^^^^ function or associated item not found in `Fq` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 225 | let mut tmp = Fq::random(&mut rng); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fq` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq.rs:244:47 [INFO] [stdout] | [INFO] [stdout] 244 | let v: Vec = (0..SAMPLES).map(|_| Fq::rand(&mut rng)).collect(); [INFO] [stdout] | ^^^^ function or associated item not found in `Fq` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 244 | let v: Vec = (0..SAMPLES).map(|_| Fq::random(&mut rng)).collect(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fq` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq.rs:260:22 [INFO] [stdout] | [INFO] [stdout] 260 | .map(|_| Fq::rand(&mut rng).into_repr()) [INFO] [stdout] | ^^^^ function or associated item not found in `Fq` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 260 | .map(|_| Fq::random(&mut rng).into_repr()) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> bellman/src/groth16/verifier.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | ].into_iter()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 61 - ].into_iter()) [INFO] [stdout] 61 + ].iter()) [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 57 ~ &E::miller_loop(IntoIterator::into_iter([ [INFO] [stdout] 58 | (&proof.a.prepare(), &proof.b.prepare()), [INFO] [stdout] 59 | (&acc.into_affine().prepare(), &pvk.neg_gamma_g2), [INFO] [stdout] 60 | (&proof.c.prepare(), &pvk.neg_delta_g2) [INFO] [stdout] 61 ~ ])) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fq12` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq12.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | .map(|_| (Fq12::rand(&mut rng), Fq12::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `Fq12` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 13 | .map(|_| (Fq12::random(&mut rng), Fq12::rand(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fq12` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq12.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | .map(|_| (Fq12::rand(&mut rng), Fq12::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `Fq12` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 13 | .map(|_| (Fq12::rand(&mut rng), Fq12::random(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fq12` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq12.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | .map(|_| (Fq12::rand(&mut rng), Fq12::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `Fq12` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 32 | .map(|_| (Fq12::random(&mut rng), Fq12::rand(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fq12` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq12.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 32 | .map(|_| (Fq12::rand(&mut rng), Fq12::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `Fq12` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 32 | .map(|_| (Fq12::rand(&mut rng), Fq12::random(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking sapling-crypto v0.0.1 (/opt/rustwide/workdir/sapling-crypto) [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fq12` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq12.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | .map(|_| (Fq12::rand(&mut rng), Fq12::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `Fq12` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 51 | .map(|_| (Fq12::random(&mut rng), Fq12::rand(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fq12` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq12.rs:51:47 [INFO] [stdout] | [INFO] [stdout] 51 | .map(|_| (Fq12::rand(&mut rng), Fq12::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `Fq12` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 51 | .map(|_| (Fq12::rand(&mut rng), Fq12::random(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fq12` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq12.rs:69:51 [INFO] [stdout] | [INFO] [stdout] 69 | let v: Vec = (0..SAMPLES).map(|_| Fq12::rand(&mut rng)).collect(); [INFO] [stdout] | ^^^^ function or associated item not found in `Fq12` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 69 | let v: Vec = (0..SAMPLES).map(|_| Fq12::random(&mut rng)).collect(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fq12` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq12.rs:86:51 [INFO] [stdout] | [INFO] [stdout] 86 | let v: Vec = (0..SAMPLES).map(|_| Fq12::rand(&mut rng)).collect(); [INFO] [stdout] | ^^^^ function or associated item not found in `Fq12` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 86 | let v: Vec = (0..SAMPLES).map(|_| Fq12::random(&mut rng)).collect(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fq2` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq2.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | .map(|_| (Fq2::rand(&mut rng), Fq2::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `Fq2` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 13 | .map(|_| (Fq2::random(&mut rng), Fq2::rand(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fq2` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq2.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 13 | .map(|_| (Fq2::rand(&mut rng), Fq2::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `Fq2` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 13 | .map(|_| (Fq2::rand(&mut rng), Fq2::random(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fq2` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq2.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | .map(|_| (Fq2::rand(&mut rng), Fq2::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `Fq2` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 32 | .map(|_| (Fq2::random(&mut rng), Fq2::rand(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fq2` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq2.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | .map(|_| (Fq2::rand(&mut rng), Fq2::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `Fq2` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 32 | .map(|_| (Fq2::rand(&mut rng), Fq2::random(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fq2` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq2.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | .map(|_| (Fq2::rand(&mut rng), Fq2::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `Fq2` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 51 | .map(|_| (Fq2::random(&mut rng), Fq2::rand(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fq2` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq2.rs:51:45 [INFO] [stdout] | [INFO] [stdout] 51 | .map(|_| (Fq2::rand(&mut rng), Fq2::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `Fq2` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 51 | .map(|_| (Fq2::rand(&mut rng), Fq2::random(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bellman/tests/mimc.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | let mut tmp_value = xl_value.map(|mut e| { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bellman/tests/mimc.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let mut tmp = cs.alloc(|| "tmp", || { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bellman/tests/mimc.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let mut new_xl_value = xl_value.map(|mut e| { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bellman/tests/mimc.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | let mut new_xl = if i == (MIMC_ROUNDS-1) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fq2` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq2.rs:69:49 [INFO] [stdout] | [INFO] [stdout] 69 | let v: Vec = (0..SAMPLES).map(|_| Fq2::rand(&mut rng)).collect(); [INFO] [stdout] | ^^^^ function or associated item not found in `Fq2` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 69 | let v: Vec = (0..SAMPLES).map(|_| Fq2::random(&mut rng)).collect(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fq2` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq2.rs:86:49 [INFO] [stdout] | [INFO] [stdout] 86 | let v: Vec = (0..SAMPLES).map(|_| Fq2::rand(&mut rng)).collect(); [INFO] [stdout] | ^^^^ function or associated item not found in `Fq2` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 86 | let v: Vec = (0..SAMPLES).map(|_| Fq2::random(&mut rng)).collect(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fq2` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fq2.rs:102:49 [INFO] [stdout] | [INFO] [stdout] 102 | let v: Vec = (0..SAMPLES).map(|_| Fq2::rand(&mut rng)).collect(); [INFO] [stdout] | ^^^^ function or associated item not found in `Fq2` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 102 | let v: Vec = (0..SAMPLES).map(|_| Fq2::random(&mut rng)).collect(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::FrRepr` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fr.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | let mut tmp1 = FrRepr::rand(&mut rng); [INFO] [stdout] | ^^^^ function or associated item not found in `FrRepr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::FrRepr` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fr.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | let mut tmp2 = FrRepr::rand(&mut rng); [INFO] [stdout] | ^^^^ function or associated item not found in `FrRepr` [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:227:34 [INFO] [stdout] | [INFO] [stdout] 227 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::FrRepr` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fr.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | let tmp1 = FrRepr::rand(&mut rng); [INFO] [stdout] | ^^^^ function or associated item not found in `FrRepr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> sapling-crypto/src/jubjub/fs.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | 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:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | 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:128:34 [INFO] [stdout] | [INFO] [stdout] 128 | fn circuit_generators(&self, FixedGenerators) -> &[Vec<(E::Fr, E::Fr)>]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: FixedGenerators` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::FrRepr` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fr.rs:67:55 [INFO] [stdout] | [INFO] [stdout] 67 | let v: Vec = (0..SAMPLES).map(|_| FrRepr::rand(&mut rng)).collect(); [INFO] [stdout] | ^^^^ function or associated item not found in `FrRepr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::FrRepr` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fr.rs:83:55 [INFO] [stdout] | [INFO] [stdout] 83 | let v: Vec = (0..SAMPLES).map(|_| FrRepr::rand(&mut rng)).collect(); [INFO] [stdout] | ^^^^ function or associated item not found in `FrRepr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> sapling-crypto/src/jubjub/mod.rs:413:21 [INFO] [stdout] | [INFO] [stdout] 413 | let test_repr = hex!("9d12b88b08dcbef8a11ee0712d94cb236ee2f4ca17317075bfafc82ce3139d31"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `hex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::FrRepr` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fr.rs:100:55 [INFO] [stdout] | [INFO] [stdout] 100 | let v: Vec = (0..SAMPLES).map(|_| FrRepr::rand(&mut rng)).collect(); [INFO] [stdout] | ^^^^ function or associated item not found in `FrRepr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> sapling-crypto/src/jubjub/mod.rs:424:21 [INFO] [stdout] | [INFO] [stdout] 424 | let test_repr = hex!("9d12b88b08dcbef8a11ee0712d94cb236ee2f4ca17317075bfafc82ce3139db1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `hex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> sapling-crypto/src/circuit/blake2s.rs:344:24 [INFO] [stdout] | [INFO] [stdout] 344 | let expected = hex!("c59f682376d137f3f255e671e207d1f2374ebe504e9314208a52d9f88d69e8c8"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `hex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fr` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fr.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 118 | .map(|_| (Fr::rand(&mut rng), Fr::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `Fr` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 118 | .map(|_| (Fr::random(&mut rng), Fr::rand(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> sapling-crypto/src/circuit/sha256.rs:331:24 [INFO] [stdout] | [INFO] [stdout] 331 | let expected = hex!("e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: source.starts_with(prefix) [INFO] [stdout] = note: this error originates in the macro `hex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fr` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fr.rs:118:43 [INFO] [stdout] | [INFO] [stdout] 118 | .map(|_| (Fr::rand(&mut rng), Fr::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `Fr` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 118 | .map(|_| (Fr::rand(&mut rng), Fr::random(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fr` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fr.rs:137:23 [INFO] [stdout] | [INFO] [stdout] 137 | .map(|_| (Fr::rand(&mut rng), Fr::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `Fr` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 137 | .map(|_| (Fr::random(&mut rng), Fr::rand(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fr` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fr.rs:137:43 [INFO] [stdout] | [INFO] [stdout] 137 | .map(|_| (Fr::rand(&mut rng), Fr::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `Fr` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 137 | .map(|_| (Fr::rand(&mut rng), Fr::random(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> sapling-crypto/src/circuit/sha256.rs:331:24 [INFO] [stdout] | [INFO] [stdout] 331 | let expected = hex!("e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fr` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fr.rs:156:23 [INFO] [stdout] | [INFO] [stdout] 156 | .map(|_| (Fr::rand(&mut rng), Fr::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `Fr` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 156 | .map(|_| (Fr::random(&mut rng), Fr::rand(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fr` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fr.rs:156:43 [INFO] [stdout] | [INFO] [stdout] 156 | .map(|_| (Fr::rand(&mut rng), Fr::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `Fr` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 156 | .map(|_| (Fr::rand(&mut rng), Fr::random(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> sapling-crypto/src/circuit/blake2s.rs:344:24 [INFO] [stdout] | [INFO] [stdout] 344 | let expected = hex!("c59f682376d137f3f255e671e207d1f2374ebe504e9314208a52d9f88d69e8c8"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> sapling-crypto/src/jubjub/mod.rs:424:21 [INFO] [stdout] | [INFO] [stdout] 424 | let test_repr = hex!("9d12b88b08dcbef8a11ee0712d94cb236ee2f4ca17317075bfafc82ce3139db1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> sapling-crypto/src/jubjub/mod.rs:413:21 [INFO] [stdout] | [INFO] [stdout] 413 | let test_repr = hex!("9d12b88b08dcbef8a11ee0712d94cb236ee2f4ca17317075bfafc82ce3139d31"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fr` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fr.rs:174:47 [INFO] [stdout] | [INFO] [stdout] 174 | let v: Vec = (0..SAMPLES).map(|_| Fr::rand(&mut rng)).collect(); [INFO] [stdout] | ^^^^ function or associated item not found in `Fr` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 174 | let v: Vec = (0..SAMPLES).map(|_| Fr::random(&mut rng)).collect(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fr` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fr.rs:191:47 [INFO] [stdout] | [INFO] [stdout] 191 | let v: Vec = (0..SAMPLES).map(|_| Fr::rand(&mut rng)).collect(); [INFO] [stdout] | ^^^^ function or associated item not found in `Fr` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 191 | let v: Vec = (0..SAMPLES).map(|_| Fr::random(&mut rng)).collect(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fr` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fr.rs:206:47 [INFO] [stdout] | [INFO] [stdout] 206 | let v: Vec = (0..SAMPLES).map(|_| Fr::rand(&mut rng)).collect(); [INFO] [stdout] | ^^^^ function or associated item not found in `Fr` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 206 | let v: Vec = (0..SAMPLES).map(|_| Fr::random(&mut rng)).collect(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fr` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fr.rs:225:31 [INFO] [stdout] | [INFO] [stdout] 225 | let mut tmp = Fr::rand(&mut rng); [INFO] [stdout] | ^^^^ function or associated item not found in `Fr` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 225 | let mut tmp = Fr::random(&mut rng); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> sapling-crypto/src/jubjub/fs.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | 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:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | 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:128:34 [INFO] [stdout] | [INFO] [stdout] 128 | fn circuit_generators(&self, FixedGenerators) -> &[Vec<(E::Fr, E::Fr)>]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: FixedGenerators` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fr` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fr.rs:244:47 [INFO] [stdout] | [INFO] [stdout] 244 | let v: Vec = (0..SAMPLES).map(|_| Fr::rand(&mut rng)).collect(); [INFO] [stdout] | ^^^^ function or associated item not found in `Fr` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 244 | let v: Vec = (0..SAMPLES).map(|_| Fr::random(&mut rng)).collect(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::Fr` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/fr.rs:260:22 [INFO] [stdout] | [INFO] [stdout] 260 | .map(|_| Fr::rand(&mut rng).into_repr()) [INFO] [stdout] | ^^^^ function or associated item not found in `Fr` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 260 | .map(|_| Fr::random(&mut rng).into_repr()) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::G1` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/mod.rs:18:47 [INFO] [stdout] | [INFO] [stdout] 18 | let v: Vec = (0..SAMPLES).map(|_| G1::rand(&mut rng)).collect(); [INFO] [stdout] | ^^^^ function or associated item not found in `G1` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 18 | let v: Vec = (0..SAMPLES).map(|_| G1::random(&mut rng)).collect(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::G2` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/mod.rs:34:47 [INFO] [stdout] | [INFO] [stdout] 34 | let v: Vec = (0..SAMPLES).map(|_| G2::rand(&mut rng)).collect(); [INFO] [stdout] | ^^^^ function or associated item not found in `G2` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 34 | let v: Vec = (0..SAMPLES).map(|_| G2::random(&mut rng)).collect(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::G1` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/mod.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | G1Affine::from(G1::rand(&mut rng)).prepare(), [INFO] [stdout] | ^^^^ function or associated item not found in `G1` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 53 | G1Affine::from(G1::random(&mut rng)).prepare(), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::G2` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/mod.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | G2Affine::from(G2::rand(&mut rng)).prepare(), [INFO] [stdout] | ^^^^ function or associated item not found in `G2` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 54 | G2Affine::from(G2::random(&mut rng)).prepare(), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::G1` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/mod.rs:76:36 [INFO] [stdout] | [INFO] [stdout] 76 | G1Affine::from(G1::rand(&mut rng)).prepare(), [INFO] [stdout] | ^^^^ function or associated item not found in `G1` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 76 | G1Affine::from(G1::random(&mut rng)).prepare(), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::G2` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/mod.rs:77:36 [INFO] [stdout] | [INFO] [stdout] 77 | G2Affine::from(G2::rand(&mut rng)).prepare(), [INFO] [stdout] | ^^^^ function or associated item not found in `G2` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 77 | G2Affine::from(G2::random(&mut rng)).prepare(), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> pairing/src/lib.rs:103:62 [INFO] [stdout] | [INFO] [stdout] 103 | [(&(p.into().prepare()), &(q.into().prepare()))].into_iter(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 103 - [(&(p.into().prepare()), &(q.into().prepare()))].into_iter(), [INFO] [stdout] 103 + [(&(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] 103 - [(&(p.into().prepare()), &(q.into().prepare()))].into_iter(), [INFO] [stdout] 103 + IntoIterator::into_iter([(&(p.into().prepare()), &(q.into().prepare()))]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::G1` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/mod.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | .map(|_| (G1::rand(&mut rng), G2::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `G1` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 98 | .map(|_| (G1::random(&mut rng), G2::rand(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `rand` found for struct `pairing::bls12_381::G2` in the current scope [INFO] [stdout] --> pairing/benches/bls12_381/mod.rs:98:43 [INFO] [stdout] | [INFO] [stdout] 98 | .map(|_| (G1::rand(&mut rng), G2::rand(&mut rng))) [INFO] [stdout] | ^^^^ function or associated item not found in `G2` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `random` with a similar name [INFO] [stdout] | [INFO] [stdout] 98 | .map(|_| (G1::rand(&mut rng), G2::random(&mut rng))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pairing` (bench "pairing_benches") due to 74 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | ].into_iter()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 61 - ].into_iter()) [INFO] [stdout] 61 + ].iter()) [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 57 ~ &E::miller_loop(IntoIterator::into_iter([ [INFO] [stdout] 58 | (&proof.a.prepare(), &proof.b.prepare()), [INFO] [stdout] 59 | (&acc.into_affine().prepare(), &pvk.neg_gamma_g2), [INFO] [stdout] 60 | (&proof.c.prepare(), &pvk.neg_delta_g2) [INFO] [stdout] 61 ~ ])) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sapling-crypto/src/jubjub/mod.rs:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | for mut gen in tmp_params.pedersen_hash_generators.iter().cloned() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sapling-crypto/src/jubjub/mod.rs:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | for mut gen in tmp_params.pedersen_hash_generators.iter().cloned() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> sapling-crypto/src/circuit/sprout/input.rs:78:37 [INFO] [stdout] | [INFO] [stdout] 78 | for (i, layer) in auth_path.into_iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 78 - for (i, layer) in auth_path.into_iter().enumerate() { [INFO] [stdout] 78 + for (i, layer) in auth_path.iter().enumerate() { [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 78 - for (i, layer) in auth_path.into_iter().enumerate() { [INFO] [stdout] 78 + for (i, layer) in IntoIterator::into_iter(auth_path).enumerate() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sapling-crypto/src/circuit/uint32.rs:430:17 [INFO] [stdout] | [INFO] [stdout] 430 | let mut v = (0..32).map(|_| Boolean::constant(rng.next_u32() % 2 != 0)).collect::>(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sapling-crypto/src/circuit/uint32.rs:464:17 [INFO] [stdout] | [INFO] [stdout] 464 | let mut v = (0..32).map(|_| Boolean::constant(rng.next_u32() % 2 != 0)).collect::>(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> sapling-crypto/src/circuit/pedersen_hash.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | let mut input: Vec = (0..length).map(|_| rng.next_u32() % 2 != 0).collect(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sapling-crypto` (lib test) due to 8 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b0455f2156e976acfc5a33cc97adc9aa24bfb0f58f1b98d765f716450c8fe00d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0455f2156e976acfc5a33cc97adc9aa24bfb0f58f1b98d765f716450c8fe00d", kill_on_drop: false }` [INFO] [stdout] b0455f2156e976acfc5a33cc97adc9aa24bfb0f58f1b98d765f716450c8fe00d