[INFO] fetching crate amcl_wrapper 0.4.0... [INFO] checking amcl_wrapper-0.4.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate amcl_wrapper 0.4.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate amcl_wrapper 0.4.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate amcl_wrapper 0.4.0 [INFO] finished tweaking crates.io crate amcl_wrapper 0.4.0 [INFO] tweaked toml for crates.io crate amcl_wrapper 0.4.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 44 packages to latest compatible versions [INFO] [stderr] Adding block-buffer v0.7.3 (latest: v0.10.4) [INFO] [stderr] Adding block-padding v0.1.5 (latest: v0.3.3) [INFO] [stderr] Adding digest v0.8.1 (latest: v0.10.7) [INFO] [stderr] Adding generic-array v0.12.4 (latest: v1.1.0) [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.15) [INFO] [stderr] Adding miracl_core v1.0.0 (latest: v2.7.0) [INFO] [stderr] Adding opaque-debug v0.2.3 (latest: v0.3.1) [INFO] [stderr] Adding rand v0.7.3 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (latest: v0.3.2) [INFO] [stderr] Adding sha3 v0.8.2 (latest: v0.10.8) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f40bc0a72457fcd29c07ef4b5ab3c1e79afa8e6283412445c6ae04af6112a5e [INFO] running `Command { std: "docker" "start" "-a" "0f40bc0a72457fcd29c07ef4b5ab3c1e79afa8e6283412445c6ae04af6112a5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f40bc0a72457fcd29c07ef4b5ab3c1e79afa8e6283412445c6ae04af6112a5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f40bc0a72457fcd29c07ef4b5ab3c1e79afa8e6283412445c6ae04af6112a5e", kill_on_drop: false }` [INFO] [stdout] 0f40bc0a72457fcd29c07ef4b5ab3c1e79afa8e6283412445c6ae04af6112a5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58e1297107e094a5c515963f04536fa85384708d371c8b3e60ffb67003bdcdb5 [INFO] running `Command { std: "docker" "start" "-a" "58e1297107e094a5c515963f04536fa85384708d371c8b3e60ffb67003bdcdb5", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking miracl_core v1.0.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking subtle-encoding v0.5.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking amcl_wrapper v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `DNLEN as curve_DNLEN` [INFO] [stdout] --> src/constants.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | BASEBITS, DNLEN as curve_DNLEN, MODBYTES as curve_MODBYTES, NLEN as curve_NLEN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GroupG1` [INFO] [stdout] --> src/utils.rs:10:42 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::types::{BigNum, DoubleBigNum, GroupG1, FP}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::SerzDeserzError` [INFO] [stdout] --> src/utils.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::errors::SerzDeserzError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sha3_256` [INFO] [stdout] --> src/utils.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use sha3::{Sha3_256, Shake256}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/utils.rs:315:21 [INFO] [stdout] | [INFO] [stdout] 315 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `amcl::arch::CHUNK` [INFO] [stdout] --> src/field_elem.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use amcl::arch::CHUNK; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as SError` [INFO] [stdout] --> src/field_elem.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | use serde::ser::{Error as SError, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `amcl::bls381::big::BIG` [INFO] [stdout] --> src/field_elem.rs:1020:9 [INFO] [stdout] | [INFO] [stdout] 1020 | use amcl::bls381::big::BIG; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/field_elem.rs:1024:21 [INFO] [stdout] | [INFO] [stdout] 1024 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GroupGT_SIZE` [INFO] [stdout] --> src/group_elem.rs:1009:42 [INFO] [stdout] | [INFO] [stdout] 1009 | use crate::constants::{GroupG2_SIZE, GroupGT_SIZE, G2_COMP_BYTE_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/group_elem.rs:1016:21 [INFO] [stdout] | [INFO] [stdout] 1016 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/group_elem_g1.rs:203:1 [INFO] [stdout] | [INFO] [stdout] 203 | /// Represents an element of the sub-group of the elliptic curve over the prime field [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BigNum` [INFO] [stdout] --> src/group_elem_g1.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::types::{BigNum, GroupG1, FP}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as SError` [INFO] [stdout] --> src/group_elem_g1.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | use serde::ser::{Error as SError, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/group_elem_g1.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/group_elem_g1.rs:221:28 [INFO] [stdout] | [INFO] [stdout] 221 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/group_elem_g1.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/univar_poly.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/group_elem_g2.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | /// Represents an element of the sub-group of the elliptic curve over prime the extension field [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as SError` [INFO] [stdout] --> src/group_elem_g2.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | use serde::ser::{Error as SError, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/group_elem_g2.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DENSE` [INFO] [stdout] --> src/extension_field_gt.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use super::ECCurve::fp12::{DENSE, FP12}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hash` [INFO] [stdout] --> src/extension_field_gt.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as SError` [INFO] [stdout] --> src/extension_field_gt.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | use serde::ser::{Error as SError, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromStr` and `SplitWhitespace` [INFO] [stdout] --> src/extension_field_gt.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | use std::str::{FromStr, SplitWhitespace}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::group_elem_g1::G1Vector` [INFO] [stdout] --> src/extension_field_gt.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | use crate::group_elem_g1::G1Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/extension_field_gt.rs:316:21 [INFO] [stdout] | [INFO] [stdout] 316 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DNLEN as curve_DNLEN` [INFO] [stdout] --> src/constants.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | BASEBITS, DNLEN as curve_DNLEN, MODBYTES as curve_MODBYTES, NLEN as curve_NLEN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GroupG1` [INFO] [stdout] --> src/utils.rs:10:42 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::types::{BigNum, DoubleBigNum, GroupG1, FP}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::SerzDeserzError` [INFO] [stdout] --> src/utils.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::errors::SerzDeserzError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sha3_256` [INFO] [stdout] --> src/utils.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use sha3::{Sha3_256, Shake256}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `amcl::arch::CHUNK` [INFO] [stdout] --> src/field_elem.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use amcl::arch::CHUNK; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as SError` [INFO] [stdout] --> src/field_elem.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | use serde::ser::{Error as SError, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FieldElementVector` [INFO] [stdout] --> src/group_elem.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::field_elem::{FieldElement, FieldElementVector}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude::*` [INFO] [stdout] --> src/group_elem.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/group_elem_g1.rs:203:1 [INFO] [stdout] | [INFO] [stdout] 203 | /// Represents an element of the sub-group of the elliptic curve over the prime field [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BigNum` [INFO] [stdout] --> src/group_elem_g1.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::types::{BigNum, GroupG1, FP}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as SError` [INFO] [stdout] --> src/group_elem_g1.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | use serde::ser::{Error as SError, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/group_elem_g2.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | /// Represents an element of the sub-group of the elliptic curve over prime the extension field [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as SError` [INFO] [stdout] --> src/group_elem_g2.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | use serde::ser::{Error as SError, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DENSE` [INFO] [stdout] --> src/extension_field_gt.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use super::ECCurve::fp12::{DENSE, FP12}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hash` [INFO] [stdout] --> src/extension_field_gt.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as SError` [INFO] [stdout] --> src/extension_field_gt.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | use serde::ser::{Error as SError, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromStr` and `SplitWhitespace` [INFO] [stdout] --> src/extension_field_gt.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | use std::str::{FromStr, SplitWhitespace}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `group_elem_g1::G1Vector::multi_scalar_mul_var_time_from_ref_vecs`: Please use the `multi_scalar_mul_var_time_without_precomputation` function instead [INFO] [stdout] --> src/group_elem.rs:744:23 [INFO] [stdout] | [INFO] [stdout] 744 | Self::multi_scalar_mul_var_time_from_ref_vecs(group_elems, field_elems) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g1.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | impl_group_elem_vec_product_ops!(G1, G1Vector, G1LookupTable); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_group_elem_vec_product_ops` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `group_elem_g2::G2Vector::multi_scalar_mul_var_time_from_ref_vecs`: Please use the `multi_scalar_mul_var_time_without_precomputation` function instead [INFO] [stdout] --> src/group_elem.rs:744:23 [INFO] [stdout] | [INFO] [stdout] 744 | Self::multi_scalar_mul_var_time_from_ref_vecs(group_elems, field_elems) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g2.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | impl_group_elem_vec_product_ops!(G2, G2Vector, G2LookupTable); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_group_elem_vec_product_ops` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/extension_field_gt.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `group_elem_g1::G1Vector::multi_scalar_mul_var_time_from_ref_vecs`: Please use the `multi_scalar_mul_var_time_without_precomputation` function instead [INFO] [stdout] --> src/group_elem.rs:744:23 [INFO] [stdout] | [INFO] [stdout] 744 | Self::multi_scalar_mul_var_time_from_ref_vecs(group_elems, field_elems) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g1.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | impl_group_elem_vec_product_ops!(G1, G1Vector, G1LookupTable); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_group_elem_vec_product_ops` (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] --> src/field_elem.rs:462:21 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn from_hex(mut s: String) -> Result { [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: use of deprecated associated function `group_elem_g2::G2Vector::multi_scalar_mul_var_time_from_ref_vecs`: Please use the `multi_scalar_mul_var_time_without_precomputation` function instead [INFO] [stdout] --> src/group_elem.rs:744:23 [INFO] [stdout] | [INFO] [stdout] 744 | Self::multi_scalar_mul_var_time_from_ref_vecs(group_elems, field_elems) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g2.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | impl_group_elem_vec_product_ops!(G2, G2Vector, G2LookupTable); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_group_elem_vec_product_ops` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/group_elem.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/extension_field_gt.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/field_elem.rs:462:21 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn from_hex(mut s: String) -> Result { [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: constant `BigNumBits` should have an upper case name [INFO] [stdout] --> src/constants.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const BigNumBits: usize = BASEBITS; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `BIG_NUM_BITS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FieldElement_SIZE` should have an upper case name [INFO] [stdout] --> src/constants.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const FieldElement_SIZE: usize = MODBYTES; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `FIELD_ELEMENT_SIZE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GroupG1_SIZE` should have an upper case name [INFO] [stdout] --> src/constants.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const GroupG1_SIZE: usize = 2 * MODBYTES + 1; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `GROUP_G1_SIZE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_seeded_RNG_with_rng` should have a snake case name [INFO] [stdout] --> src/utils.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_seeded_RNG_with_rng(entropy_size: usize, rng: &mut R) -> RAND { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_seeded_rng_with_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_seeded_RNG` should have a snake case name [INFO] [stdout] --> src/utils.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_seeded_RNG(entropy_size: usize) -> RAND { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_seeded_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_RAND` should have a snake case name [INFO] [stdout] --> src/utils.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn get_RAND(entropy_size: usize, entropy: &[u8]) -> RAND { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_big_num_from_RAND` should have a snake case name [INFO] [stdout] --> src/field_elem.rs:330:8 [INFO] [stdout] | [INFO] [stdout] 330 | fn get_big_num_from_RAND(r: &mut RAND) -> BigNum { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_big_num_from_rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/group_elem.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | let n = FieldElement::random(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | Self::generator().scalar_mul_const_time(&n) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/group_elem.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | let n = FieldElement::random_using_rng(rng); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | Self::generator().scalar_mul_const_time(&n) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/group_elem_g1.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | let mut P = GroupG1::map2point(&u[0]); [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P1` should have a snake case name [INFO] [stdout] --> src/group_elem_g1.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | let P1 = GroupG1::map2point(&u[1]); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/group_elem.rs:488:21 [INFO] [stdout] | [INFO] [stdout] 488 | fn from(A: &'a $group_element) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g1.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 201 | impl_group_element_lookup_table!(G1, G1LookupTable); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_group_element_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ai` should have a snake case name [INFO] [stdout] --> src/group_elem.rs:489:25 [INFO] [stdout] | [INFO] [stdout] 489 | let mut Ai: [$group_element; 8] = [ [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ai` [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g1.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 201 | impl_group_element_lookup_table!(G1, G1LookupTable); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_group_element_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A2` should have a snake case name [INFO] [stdout] --> src/group_elem.rs:499:21 [INFO] [stdout] | [INFO] [stdout] 499 | let A2 = A.double(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `a2` [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g1.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 201 | impl_group_element_lookup_table!(G1, G1LookupTable); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_group_element_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/commitment.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 26 | let mut combined_g: Vec = vec![]; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | let mut combined_f: Vec = vec![]; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | G1Vector::from(combined_g).inner_product_const_time(&combined_f) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/univar_poly.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | || Self::new_constant(FieldElement::one()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/univar_poly.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut remainder: UnivarPolynomial = dividend.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | let mut quotient = vec![]; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | let highest_degree_coeff_inv = divisor[divisor.degree()].inverse(); [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | UnivarPolynomial(FieldElementVector::from(quotient)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GroupG2_SIZE` should have an upper case name [INFO] [stdout] --> src/types_g2.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const GroupG2_SIZE: usize = 4 * MODBYTES + 1; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `GROUP_G2_SIZE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GroupGT_SIZE` should have an upper case name [INFO] [stdout] --> src/types_g2.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const GroupGT_SIZE: usize = (12 * MODBYTES) as usize; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `GROUP_GT_SIZE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_hex_as_FP2` should have a snake case name [INFO] [stdout] --> src/group_elem_g2.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn parse_hex_as_FP2(mut string: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_hex_as_fp2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/group_elem.rs:488:21 [INFO] [stdout] | [INFO] [stdout] 488 | fn from(A: &'a $group_element) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g2.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | impl_group_element_lookup_table!(G2, G2LookupTable); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_group_element_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ai` should have a snake case name [INFO] [stdout] --> src/group_elem.rs:489:25 [INFO] [stdout] | [INFO] [stdout] 489 | let mut Ai: [$group_element; 8] = [ [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ai` [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g2.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | impl_group_element_lookup_table!(G2, G2LookupTable); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_group_element_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A2` should have a snake case name [INFO] [stdout] --> src/group_elem.rs:499:21 [INFO] [stdout] | [INFO] [stdout] 499 | let A2 = A.double(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `a2` [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g2.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | impl_group_element_lookup_table!(G2, G2LookupTable); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_group_element_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/group_elem_g2.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | let mut P = GroupG2::map2point(&fp2_1); [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P1` should have a snake case name [INFO] [stdout] --> src/group_elem_g2.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let P1 = GroupG2::map2point(&fp2_2); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_hex_as_FP4` should have a snake case name [INFO] [stdout] --> src/extension_field_gt.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn parse_hex_as_FP4(mut string: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_hex_as_fp4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `amcl_wrapper` (lib) due to 6 previous errors; 42 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/group_elem.rs:1337:13 [INFO] [stdout] | [INFO] [stdout] 1337 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/univar_poly.rs:654:13 [INFO] [stdout] | [INFO] [stdout] 654 | let mut start = Instant::now(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BigNumBits` should have an upper case name [INFO] [stdout] --> src/constants.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const BigNumBits: usize = BASEBITS; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `BIG_NUM_BITS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FieldElement_SIZE` should have an upper case name [INFO] [stdout] --> src/constants.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const FieldElement_SIZE: usize = MODBYTES; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `FIELD_ELEMENT_SIZE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GroupG1_SIZE` should have an upper case name [INFO] [stdout] --> src/constants.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const GroupG1_SIZE: usize = 2 * MODBYTES + 1; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `GROUP_G1_SIZE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_seeded_RNG_with_rng` should have a snake case name [INFO] [stdout] --> src/utils.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_seeded_RNG_with_rng(entropy_size: usize, rng: &mut R) -> RAND { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_seeded_rng_with_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_seeded_RNG` should have a snake case name [INFO] [stdout] --> src/utils.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_seeded_RNG(entropy_size: usize) -> RAND { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_seeded_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_RAND` should have a snake case name [INFO] [stdout] --> src/utils.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn get_RAND(entropy_size: usize, entropy: &[u8]) -> RAND { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_big_num_from_RAND` should have a snake case name [INFO] [stdout] --> src/field_elem.rs:330:8 [INFO] [stdout] | [INFO] [stdout] 330 | fn get_big_num_from_RAND(r: &mut RAND) -> BigNum { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_big_num_from_rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/field_elem.rs:1479:17 [INFO] [stdout] | [INFO] [stdout] 1479 | let mut R = FieldElement::random(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/field_elem.rs:1495:22 [INFO] [stdout] | [INFO] [stdout] 1495 | .map(|_| FieldElement::random().to_bignum()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/field_elem.rs:1498:22 [INFO] [stdout] | [INFO] [stdout] 1498 | .map(|_| FieldElement::random().to_bignum()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/group_elem.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | let n = FieldElement::random(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | Self::generator().scalar_mul_const_time(&n) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/group_elem.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | let n = FieldElement::random_using_rng(rng); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | Self::generator().scalar_mul_const_time(&n) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/group_elem.rs:1248:25 [INFO] [stdout] | [INFO] [stdout] 1248 | let mut R = $group::random(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] ... [INFO] [stdout] 1274 | add_mul!(G1, "G1"); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `add_mul` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/group_elem.rs:1263:21 [INFO] [stdout] | [INFO] [stdout] 1263 | &points[i] * &fs[i]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the arithmetic operation produces a value [INFO] [stdout] ... [INFO] [stdout] 1274 | add_mul!(G1, "G1"); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `add_mul` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1263 | let _ = &points[i] * &fs[i]; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/group_elem.rs:1248:25 [INFO] [stdout] | [INFO] [stdout] 1248 | let mut R = $group::random(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] ... [INFO] [stdout] 1276 | add_mul!(G2, "G2"); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `add_mul` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/group_elem.rs:1263:21 [INFO] [stdout] | [INFO] [stdout] 1263 | &points[i] * &fs[i]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the arithmetic operation produces a value [INFO] [stdout] ... [INFO] [stdout] 1276 | add_mul!(G2, "G2"); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `add_mul` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1263 | let _ = &points[i] * &fs[i]; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/group_elem_g1.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | let mut P = GroupG1::map2point(&u[0]); [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P1` should have a snake case name [INFO] [stdout] --> src/group_elem_g1.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | let P1 = GroupG1::map2point(&u[1]); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/group_elem.rs:488:21 [INFO] [stdout] | [INFO] [stdout] 488 | fn from(A: &'a $group_element) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g1.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 201 | impl_group_element_lookup_table!(G1, G1LookupTable); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_group_element_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ai` should have a snake case name [INFO] [stdout] --> src/group_elem.rs:489:25 [INFO] [stdout] | [INFO] [stdout] 489 | let mut Ai: [$group_element; 8] = [ [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ai` [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g1.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 201 | impl_group_element_lookup_table!(G1, G1LookupTable); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_group_element_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A2` should have a snake case name [INFO] [stdout] --> src/group_elem.rs:499:21 [INFO] [stdout] | [INFO] [stdout] 499 | let A2 = A.double(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `a2` [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g1.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 201 | impl_group_element_lookup_table!(G1, G1LookupTable); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_group_element_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_parse_hex_for_FP` should have a snake case name [INFO] [stdout] --> src/group_elem_g1.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 225 | fn test_parse_hex_for_FP() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_parse_hex_for_fp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_parse_bad_hex_for_FP` should have a snake case name [INFO] [stdout] --> src/group_elem_g1.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 230 | fn test_parse_bad_hex_for_FP() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_parse_bad_hex_for_fp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/commitment.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 26 | let mut combined_g: Vec = vec![]; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | let mut combined_f: Vec = vec![]; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | G1Vector::from(combined_g).inner_product_const_time(&combined_f) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/univar_poly.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | || Self::new_constant(FieldElement::one()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/univar_poly.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut remainder: UnivarPolynomial = dividend.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | let mut quotient = vec![]; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | let highest_degree_coeff_inv = divisor[divisor.degree()].inverse(); [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | UnivarPolynomial(FieldElementVector::from(quotient)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GroupG2_SIZE` should have an upper case name [INFO] [stdout] --> src/types_g2.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const GroupG2_SIZE: usize = 4 * MODBYTES + 1; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `GROUP_G2_SIZE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GroupGT_SIZE` should have an upper case name [INFO] [stdout] --> src/types_g2.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const GroupGT_SIZE: usize = (12 * MODBYTES) as usize; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `GROUP_GT_SIZE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_hex_as_FP2` should have a snake case name [INFO] [stdout] --> src/group_elem_g2.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn parse_hex_as_FP2(mut string: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_hex_as_fp2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/group_elem.rs:488:21 [INFO] [stdout] | [INFO] [stdout] 488 | fn from(A: &'a $group_element) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g2.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | impl_group_element_lookup_table!(G2, G2LookupTable); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_group_element_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ai` should have a snake case name [INFO] [stdout] --> src/group_elem.rs:489:25 [INFO] [stdout] | [INFO] [stdout] 489 | let mut Ai: [$group_element; 8] = [ [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ai` [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g2.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | impl_group_element_lookup_table!(G2, G2LookupTable); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_group_element_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A2` should have a snake case name [INFO] [stdout] --> src/group_elem.rs:499:21 [INFO] [stdout] | [INFO] [stdout] 499 | let A2 = A.double(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `a2` [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g2.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | impl_group_element_lookup_table!(G2, G2LookupTable); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_group_element_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/group_elem_g2.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | let mut P = GroupG2::map2point(&fp2_1); [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P1` should have a snake case name [INFO] [stdout] --> src/group_elem_g2.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let P1 = GroupG2::map2point(&fp2_2); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_parse_hex_for_FP2` should have a snake case name [INFO] [stdout] --> src/group_elem_g2.rs:224:8 [INFO] [stdout] | [INFO] [stdout] 224 | fn test_parse_hex_for_FP2() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_parse_hex_for_fp2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_parse_bad_hex_for_FP2` should have a snake case name [INFO] [stdout] --> src/group_elem_g2.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 229 | fn test_parse_bad_hex_for_FP2() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_parse_bad_hex_for_fp2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_hex_as_FP4` should have a snake case name [INFO] [stdout] --> src/extension_field_gt.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn parse_hex_as_FP4(mut string: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_hex_as_fp4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 64 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `amcl_wrapper` (lib test) due to 8 previous errors; 64 warnings emitted [INFO] running `Command { std: "docker" "inspect" "58e1297107e094a5c515963f04536fa85384708d371c8b3e60ffb67003bdcdb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58e1297107e094a5c515963f04536fa85384708d371c8b3e60ffb67003bdcdb5", kill_on_drop: false }` [INFO] [stdout] 58e1297107e094a5c515963f04536fa85384708d371c8b3e60ffb67003bdcdb5