[INFO] cloning repository https://github.com/0xWOLAND/zkvm-pairings [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xWOLAND/zkvm-pairings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xWOLAND%2Fzkvm-pairings", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xWOLAND%2Fzkvm-pairings'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 205eb4302f0f90078d63146c1b3d0e571324b876 [INFO] testing 0xWOLAND/zkvm-pairings/205eb4302f0f90078d63146c1b3d0e571324b876 against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xWOLAND%2Fzkvm-pairings" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/0xWOLAND/zkvm-pairings on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/0xWOLAND/zkvm-pairings [INFO] finished tweaking git repo https://github.com/0xWOLAND/zkvm-pairings [INFO] tweaked toml for git repo https://github.com/0xWOLAND/zkvm-pairings written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/0xWOLAND/zkvm-pairings 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/succinctlabs/sp1` [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] [stderr] Adding sp1-derive v1.0.1 (https://github.com/succinctlabs/sp1?branch=bhargav%2Ffp-precompile#71e0b20f) [INFO] [stderr] Adding sp1-lib v1.0.1 (https://github.com/succinctlabs/sp1?branch=bhargav%2Ffp-precompile#71e0b20f) [INFO] [stderr] Adding sp1-zkvm v1.0.1 (https://github.com/succinctlabs/sp1?branch=bhargav%2Ffp-precompile#71e0b20f) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rang v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da8d8d4f6315ab1df669a2c97c4356c8e8657e80d36ee567db9c680ea98cef89 [INFO] running `Command { std: "docker" "start" "-a" "da8d8d4f6315ab1df669a2c97c4356c8e8657e80d36ee567db9c680ea98cef89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da8d8d4f6315ab1df669a2c97c4356c8e8657e80d36ee567db9c680ea98cef89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da8d8d4f6315ab1df669a2c97c4356c8e8657e80d36ee567db9c680ea98cef89", kill_on_drop: false }` [INFO] [stdout] da8d8d4f6315ab1df669a2c97c4356c8e8657e80d36ee567db9c680ea98cef89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b13d75c31a35265aafc756ed530de280ea0acd93437a9cad96c486a22d604485 [INFO] running `Command { std: "docker" "start" "-a" "b13d75c31a35265aafc756ed530de280ea0acd93437a9cad96c486a22d604485", kill_on_drop: false }` [INFO] [stderr] warning: zkvm-pairings v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `rang` which is missing a lib target [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling sp1-derive v1.0.1 (https://github.com/succinctlabs/sp1?branch=bhargav%2Ffp-precompile#71e0b20f) [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling sp1-lib v1.0.1 (https://github.com/succinctlabs/sp1?branch=bhargav%2Ffp-precompile#71e0b20f) [INFO] [stderr] Compiling sp1-zkvm v1.0.1 (https://github.com/succinctlabs/sp1?branch=bhargav%2Ffp-precompile#71e0b20f) [INFO] [stderr] Compiling zkvm-pairings v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `zeroize` [INFO] [stdout] --> src/fp.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "zeroize")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `zeroize` 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: `pairings` [INFO] [stdout] --> src/fp12.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "pairings")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `pairings` 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: `zeroize` [INFO] [stdout] --> src/fp12.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg(feature = "zeroize")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `zeroize` 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: `zeroize` [INFO] [stdout] --> src/fp12.rs:802:7 [INFO] [stdout] | [INFO] [stdout] 802 | #[cfg(feature = "zeroize")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `zeroize` 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: `pairings` [INFO] [stdout] --> src/fp12.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[cfg(feature = "pairings")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `pairings` 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: `zeroize` [INFO] [stdout] --> src/fp2.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(feature = "zeroize")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `zeroize` 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: `zeroize` [INFO] [stdout] --> src/fp2.rs:485:7 [INFO] [stdout] | [INFO] [stdout] 485 | #[cfg(feature = "zeroize")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `zeroize` 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: `pairings` [INFO] [stdout] --> src/fp6.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "pairings")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `pairings` 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: `zeroize` [INFO] [stdout] --> src/fp6.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | #[cfg(feature = "zeroize")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `zeroize` 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: `zeroize` [INFO] [stdout] --> src/fr.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg(feature = "zeroize")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `zeroize` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bls12381Curve` [INFO] [stdout] --> src/fr.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::common::{Bls12381Curve, Curve}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FieldElement` is more private than the item `AffinePoint::Dtype` [INFO] [stdout] --> src/common.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | type Dtype: FieldElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ associated type `AffinePoint::Dtype` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `FieldElement` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/common.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / pub(crate) trait FieldElement: [INFO] [stdout] 7 | | Add + AddAssign + Sub + SubAssign + Mul + MulAssign + Div + DivAssign + Debug + Sync + Sized [INFO] [stdout] | |________________________________________________________________________________________________^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mac` is never used [INFO] [stdout] --> src/utils.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | pub const fn mac(a: u64, b: u64, c: u64, carry: u64) -> (u64, u64) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random` is never used [INFO] [stdout] --> src/fp6.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 70 | impl Fp6 { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub(crate) fn random(mut rng: impl RngCore) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.94s [INFO] running `Command { std: "docker" "inspect" "b13d75c31a35265aafc756ed530de280ea0acd93437a9cad96c486a22d604485", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b13d75c31a35265aafc756ed530de280ea0acd93437a9cad96c486a22d604485", kill_on_drop: false }` [INFO] [stdout] b13d75c31a35265aafc756ed530de280ea0acd93437a9cad96c486a22d604485 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46cd2fe4d33068a41160bc359a4aebf68722c5e46a0b495d3b0a3c1fcd8b4317 [INFO] running `Command { std: "docker" "start" "-a" "46cd2fe4d33068a41160bc359a4aebf68722c5e46a0b495d3b0a3c1fcd8b4317", kill_on_drop: false }` [INFO] [stderr] warning: zkvm-pairings v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `rang` which is missing a lib target [INFO] [stderr] Compiling zkvm-pairings v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `zeroize` [INFO] [stdout] --> src/fp.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "zeroize")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `zeroize` 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: `pairings` [INFO] [stdout] --> src/fp12.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "pairings")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `pairings` 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: `zeroize` [INFO] [stdout] --> src/fp12.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg(feature = "zeroize")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `zeroize` 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: `zeroize` [INFO] [stdout] --> src/fp12.rs:802:7 [INFO] [stdout] | [INFO] [stdout] 802 | #[cfg(feature = "zeroize")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `zeroize` 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: `pairings` [INFO] [stdout] --> src/fp12.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[cfg(feature = "pairings")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `pairings` 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: `zeroize` [INFO] [stdout] --> src/fp2.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(feature = "zeroize")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `zeroize` 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: `zeroize` [INFO] [stdout] --> src/fp2.rs:485:7 [INFO] [stdout] | [INFO] [stdout] 485 | #[cfg(feature = "zeroize")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `zeroize` 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: `pairings` [INFO] [stdout] --> src/fp6.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "pairings")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `pairings` 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: `zeroize` [INFO] [stdout] --> src/fp6.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | #[cfg(feature = "zeroize")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `zeroize` 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: `zeroize` [INFO] [stdout] --> src/fr.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg(feature = "zeroize")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `zeroize` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bls12381Curve` [INFO] [stdout] --> src/fr.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::common::{Bls12381Curve, Curve}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FieldElement` is more private than the item `AffinePoint::Dtype` [INFO] [stdout] --> src/common.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | type Dtype: FieldElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ associated type `AffinePoint::Dtype` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `FieldElement` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/common.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / pub(crate) trait FieldElement: [INFO] [stdout] 7 | | Add + AddAssign + Sub + SubAssign + Mul + MulAssign + Div + DivAssign + Debug + Sync + Sized [INFO] [stdout] | |________________________________________________________________________________________________^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mac` is never used [INFO] [stdout] --> src/utils.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | pub const fn mac(a: u64, b: u64, c: u64, carry: u64) -> (u64, u64) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random` is never used [INFO] [stdout] --> src/fp6.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 70 | impl Fp6 { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub(crate) fn random(mut rng: impl RngCore) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `zeroize` [INFO] [stdout] --> src/fp.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "zeroize")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `zeroize` 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: `pairings` [INFO] [stdout] --> src/fp12.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "pairings")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `pairings` 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: `zeroize` [INFO] [stdout] --> src/fp12.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg(feature = "zeroize")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `zeroize` 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: `zeroize` [INFO] [stdout] --> src/fp12.rs:802:7 [INFO] [stdout] | [INFO] [stdout] 802 | #[cfg(feature = "zeroize")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `zeroize` 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: `pairings` [INFO] [stdout] --> src/fp12.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[cfg(feature = "pairings")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `pairings` 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: `zeroize` [INFO] [stdout] --> src/fp2.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(feature = "zeroize")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `zeroize` 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: `zeroize` [INFO] [stdout] --> src/fp2.rs:485:7 [INFO] [stdout] | [INFO] [stdout] 485 | #[cfg(feature = "zeroize")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `zeroize` 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: `pairings` [INFO] [stdout] --> src/fp6.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "pairings")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `pairings` 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: `zeroize` [INFO] [stdout] --> src/fp6.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | #[cfg(feature = "zeroize")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `zeroize` 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: `zeroize` [INFO] [stdout] --> src/fp6.rs:759:11 [INFO] [stdout] | [INFO] [stdout] 759 | #[cfg(feature = "zeroize")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `zeroize` 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: `zeroize` [INFO] [stdout] --> src/fr.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg(feature = "zeroize")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `zeroize` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bls12381Curve` [INFO] [stdout] --> src/fr.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::common::{Bls12381Curve, Curve}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/fr.rs:602:11 [INFO] [stdout] | [INFO] [stdout] 602 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` 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: `zeroize` [INFO] [stdout] --> src/fr.rs:989:11 [INFO] [stdout] | [INFO] [stdout] 989 | #[cfg(feature = "zeroize")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `zeroize` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/fr.rs:544:9 [INFO] [stdout] | [INFO] [stdout] 544 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_bigint::BigUint` [INFO] [stdout] --> src/fr.rs:546:9 [INFO] [stdout] | [INFO] [stdout] 546 | use num_bigint::BigUint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/g1.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | let a = G1Affine::::new( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/g1.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | let mut b = G1Affine::::new( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_double` [INFO] [stdout] --> src/g1.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | let b_double = G1Affine::::new( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_double` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/g1.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | let mut b = G1Affine::::new( [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: trait `FieldElement` is more private than the item `common::AffinePoint::Dtype` [INFO] [stdout] --> src/common.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | type Dtype: FieldElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ associated type `common::AffinePoint::Dtype` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `FieldElement` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/common.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / pub(crate) trait FieldElement: [INFO] [stdout] 7 | | Add + AddAssign + Sub + SubAssign + Mul + MulAssign + Div + DivAssign + Debug + Sync + Sized [INFO] [stdout] | |________________________________________________________________________________________________^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mac` is never used [INFO] [stdout] --> src/utils.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | pub const fn mac(a: u64, b: u64, c: u64, carry: u64) -> (u64, u64) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random` is never used [INFO] [stdout] --> src/fp6.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 70 | impl Fp6 { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub(crate) fn random(mut rng: impl RngCore) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fp2_rand` is never used [INFO] [stdout] --> src/g1.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | fn fp2_rand() -> G1Affine { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.90s [INFO] running `Command { std: "docker" "inspect" "46cd2fe4d33068a41160bc359a4aebf68722c5e46a0b495d3b0a3c1fcd8b4317", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46cd2fe4d33068a41160bc359a4aebf68722c5e46a0b495d3b0a3c1fcd8b4317", kill_on_drop: false }` [INFO] [stdout] 46cd2fe4d33068a41160bc359a4aebf68722c5e46a0b495d3b0a3c1fcd8b4317 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4f7906ce93fb277bcf9c1521441e45bea0bb035e7ed56f3ad758adfda2714797 [INFO] running `Command { std: "docker" "start" "-a" "4f7906ce93fb277bcf9c1521441e45bea0bb035e7ed56f3ad758adfda2714797", kill_on_drop: false }` [INFO] [stderr] warning: zkvm-pairings v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `rang` which is missing a lib target [INFO] [stderr] warning: unexpected `cfg` condition value: `zeroize` [INFO] [stderr] --> src/fp.rs:49:7 [INFO] [stderr] | [INFO] [stderr] 49 | #[cfg(feature = "zeroize")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `zeroize` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `pairings` [INFO] [stderr] --> src/fp12.rs:9:7 [INFO] [stderr] | [INFO] [stderr] 9 | #[cfg(feature = "pairings")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `pairings` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `zeroize` [INFO] [stderr] --> src/fp12.rs:66:7 [INFO] [stderr] | [INFO] [stderr] 66 | #[cfg(feature = "zeroize")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `zeroize` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `zeroize` [INFO] [stderr] --> src/fp12.rs:802:7 [INFO] [stderr] | [INFO] [stderr] 802 | #[cfg(feature = "zeroize")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `zeroize` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `pairings` [INFO] [stderr] --> src/fp12.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | #[cfg(feature = "pairings")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `pairings` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `zeroize` [INFO] [stderr] --> src/fp2.rs:29:7 [INFO] [stderr] | [INFO] [stderr] 29 | #[cfg(feature = "zeroize")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `zeroize` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `zeroize` [INFO] [stderr] --> src/fp2.rs:485:7 [INFO] [stderr] | [INFO] [stderr] 485 | #[cfg(feature = "zeroize")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `zeroize` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `pairings` [INFO] [stderr] --> src/fp6.rs:9:7 [INFO] [stderr] | [INFO] [stderr] 9 | #[cfg(feature = "pairings")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `pairings` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `zeroize` [INFO] [stderr] --> src/fp6.rs:59:7 [INFO] [stderr] | [INFO] [stderr] 59 | #[cfg(feature = "zeroize")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `zeroize` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `zeroize` [INFO] [stderr] --> src/fr.rs:128:7 [INFO] [stderr] | [INFO] [stderr] 128 | #[cfg(feature = "zeroize")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `zeroize` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused import: `Bls12381Curve` [INFO] [stderr] --> src/fr.rs:13:21 [INFO] [stderr] | [INFO] [stderr] 13 | use crate::common::{Bls12381Curve, Curve}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait `FieldElement` is more private than the item `AffinePoint::Dtype` [INFO] [stderr] --> src/common.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | type Dtype: FieldElement; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ associated type `AffinePoint::Dtype` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but trait `FieldElement` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/common.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | / pub(crate) trait FieldElement: [INFO] [stderr] 7 | | Add + AddAssign + Sub + SubAssign + Mul + MulAssign + Div + DivAssign + Debug + Sync + Sized [INFO] [stderr] | |________________________________________________________________________________________________^ [INFO] [stderr] = note: `#[warn(private_bounds)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `mac` is never used [INFO] [stderr] --> src/utils.rs:17:14 [INFO] [stderr] | [INFO] [stderr] 17 | pub const fn mac(a: u64, b: u64, c: u64, carry: u64) -> (u64, u64) { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `random` is never used [INFO] [stderr] --> src/fp6.rs:94:19 [INFO] [stderr] | [INFO] [stderr] 70 | impl Fp6 { [INFO] [stderr] | --------------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 94 | pub(crate) fn random(mut rng: impl RngCore) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `zeroize` [INFO] [stderr] --> src/fp6.rs:759:11 [INFO] [stderr] | [INFO] [stderr] 759 | #[cfg(feature = "zeroize")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `zeroize` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `std` [INFO] [stderr] --> src/fr.rs:602:11 [INFO] [stderr] | [INFO] [stderr] 602 | #[cfg(feature = "std")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `zeroize` [INFO] [stderr] --> src/fr.rs:989:11 [INFO] [stderr] | [INFO] [stderr] 989 | #[cfg(feature = "zeroize")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `zeroize` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::str::FromStr` [INFO] [stderr] --> src/fr.rs:544:9 [INFO] [stderr] | [INFO] [stderr] 544 | use std::str::FromStr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `num_bigint::BigUint` [INFO] [stderr] --> src/fr.rs:546:9 [INFO] [stderr] | [INFO] [stderr] 546 | use num_bigint::BigUint; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> src/g1.rs:239:13 [INFO] [stderr] | [INFO] [stderr] 239 | let a = G1Affine::::new( [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b` [INFO] [stderr] --> src/g1.rs:303:17 [INFO] [stderr] | [INFO] [stderr] 303 | let mut b = G1Affine::::new( [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b_double` [INFO] [stderr] --> src/g1.rs:323:13 [INFO] [stderr] | [INFO] [stderr] 323 | let b_double = G1Affine::::new( [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_double` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/g1.rs:303:13 [INFO] [stderr] | [INFO] [stderr] 303 | let mut b = G1Affine::::new( [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait `FieldElement` is more private than the item `common::AffinePoint::Dtype` [INFO] [stderr] --> src/common.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | type Dtype: FieldElement; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ associated type `common::AffinePoint::Dtype` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but trait `FieldElement` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/common.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | / pub(crate) trait FieldElement: [INFO] [stderr] 7 | | Add + AddAssign + Sub + SubAssign + Mul + MulAssign + Div + DivAssign + Debug + Sync + Sized [INFO] [stderr] | |________________________________________________________________________________________________^ [INFO] [stderr] = note: `#[warn(private_bounds)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `fp2_rand` is never used [INFO] [stderr] --> src/g1.rs:209:8 [INFO] [stderr] | [INFO] [stderr] 209 | fn fp2_rand() -> G1Affine { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `zkvm-pairings` (lib) generated 14 warnings (run `cargo fix --lib -p zkvm-pairings` to apply 1 suggestion) [INFO] [stderr] warning: `zkvm-pairings` (lib test) generated 24 warnings (13 duplicates) (run `cargo fix --lib -p zkvm-pairings --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zkvm_pairings-74c3308f78eea505) [INFO] [stdout] [INFO] [stdout] running 63 tests [INFO] [stdout] test fp12::test::test_sqrt ... ok [INFO] [stdout] test fp2::test::test_add_equality ... ok [INFO] [stdout] test fp2::test::test_inequality ... ok [INFO] [stdout] test fp2::test::test_addition_subtraction ... ok [INFO] [stdout] test fp2::test::test_equality ... ok [INFO] [stdout] test fp12::test::test_add_equality ... ok [INFO] [stdout] test fp12::test::test_inequality ... ok [INFO] [stdout] test fp2::test::test_square_equality ... ok [INFO] [stdout] test fp6::test::test_equality ... ok [INFO] [stdout] test fp6::test::test_inequality ... ok [INFO] [stdout] test fp2::test::test_multiplication ... ok [INFO] [stdout] test fp6::test::test_sqrt ... ok [INFO] [stdout] test fp6::test::test_add_equality ... ok [INFO] [stdout] test fp::test::test_add_equality ... ok [INFO] [stdout] test fp::test::test_addition_subtraction ... ok [INFO] [stdout] test fp6::test::test_square_equality ... ok [INFO] [stdout] test fp::test::test_equality ... ok [INFO] [stdout] test fp::test::test_inequality ... ok [INFO] [stdout] test fp6::test::test_addition_subtraction ... ok [INFO] [stdout] test fp::test::test_multiplication ... ok [INFO] [stdout] test fp::test::test_sqrt ... ok [INFO] [stdout] test fp::test::test_square_equality ... ok [INFO] [stdout] test fp12::test::test_addition_subtraction ... ok [INFO] [stdout] test fr::test::test_addition ... ok [INFO] [stdout] test fr::test::test_double ... ok [INFO] [stdout] test fr::test::test_equality ... ok [INFO] [stdout] test fp6::test::test_arithmetic ... ok [INFO] [stdout] test fr::test::test_from_bytes ... ok [INFO] [stdout] test fr::test::test_from_bytes_wide_negative_one ... ok [INFO] [stdout] test fr::test::test_from_bytes_wide_r ... ok [INFO] [stdout] test fr::test::test_from_u512_r ... ok [INFO] [stdout] test fr::test::test_from_u512_zero ... ok [INFO] [stdout] test fr::test::test_inv ... ok [INFO] [stdout] test fp12::test::test_square_equality ... ok [INFO] [stdout] test fr::test::test_multiplication ... ok [INFO] [stdout] test fr::test::test_constants ... ok [INFO] [stdout] test fr::test::test_negation ... ok [INFO] [stdout] test fr::test::test_squaring ... ok [INFO] [stdout] test fr::test::test_subtraction ... ok [INFO] [stdout] test fr::test::test_to_bytes ... ok [INFO] [stdout] test fr::test::test_zero ... ok [INFO] [stdout] test fp::test::test_pow_equality ... ok [INFO] [stdout] test g1::test::test_equality ... ok [INFO] [stdout] test fp6::test::test_multiplication ... ok [INFO] [stdout] test fr::test::test_inversion ... ok [INFO] [stdout] test g2::test::test_doubling ... ok [INFO] [stdout] test fp12::test::test_arithmetic ... ok [INFO] [stdout] test g2::test::test_affine_addition ... ok [INFO] [stdout] test fp2::test::test_inversion ... ok [INFO] [stdout] test fr::test::test_invert_is_pow ... ok [INFO] [stdout] test fp12::test::test_multiplication ... ok [INFO] [stdout] test fp::test::test_div ... ok [INFO] [stdout] test fp2::test::test_pow_equality ... ok [INFO] [stdout] test fp2::test::test_div ... ok [INFO] [stdout] test fp6::test::test_div ... ok [INFO] [stdout] test fp2::test::test_sqrt ... ok [INFO] [stdout] test fp12::test::test_div ... ok [INFO] [stdout] test fr::test::test_sqrt ... ok [INFO] [stdout] test g2::test::test_torsion_free ... ok [INFO] [stdout] test g2::test::test_scalar_multiplication ... ok [INFO] [stdout] test g1::test::test_valid_point ... ok [INFO] [stdout] test fp12::test::test_pow_equality ... ok [INFO] [stdout] test g1::test::test_double ... ok [INFO] [stderr] Doc-tests zkvm_pairings [INFO] [stdout] [INFO] [stdout] test result: ok. 63 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 24.59s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4f7906ce93fb277bcf9c1521441e45bea0bb035e7ed56f3ad758adfda2714797", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f7906ce93fb277bcf9c1521441e45bea0bb035e7ed56f3ad758adfda2714797", kill_on_drop: false }` [INFO] [stdout] 4f7906ce93fb277bcf9c1521441e45bea0bb035e7ed56f3ad758adfda2714797