[INFO] fetching crate signature_core 0.37.0... [INFO] checking signature_core-0.37.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate signature_core 0.37.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate signature_core 0.37.0 [INFO] finished tweaking crates.io crate signature_core 0.37.0 [INFO] tweaked toml for crates.io crate signature_core 0.37.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate signature_core 0.37.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 51 packages to latest compatible versions [INFO] [stderr] Adding blake2 v0.9.2 (available: v0.10.6) [INFO] [stderr] Adding bls12_381_plus v0.5.5 (available: v0.8.18) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] [stderr] Adding ff v0.10.1 (available: v0.13.1) [INFO] [stderr] Adding group v0.10.0 (available: v0.13.0) [INFO] [stderr] Adding hashbrown v0.11.2 (available: v0.15.4) [INFO] [stderr] Adding heapless v0.7.17 (available: v0.8.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] [stderr] Adding rand_core v0.6.4 (available: v0.9.3) [INFO] [stderr] Adding serde-big-array v0.3.3 (available: v0.5.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `subtle` dependency) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d121cd006bacd63808f57de8e573f17383f3acb825c4d52dbcbf952077087f9 [INFO] running `Command { std: "docker" "start" "-a" "7d121cd006bacd63808f57de8e573f17383f3acb825c4d52dbcbf952077087f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d121cd006bacd63808f57de8e573f17383f3acb825c4d52dbcbf952077087f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d121cd006bacd63808f57de8e573f17383f3acb825c4d52dbcbf952077087f9", kill_on_drop: false }` [INFO] [stdout] 7d121cd006bacd63808f57de8e573f17383f3acb825c4d52dbcbf952077087f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43cba0524ac7292f11cf878b17f866172bc245c21d94d614c1c4a2628281e0d3 [INFO] running `Command { std: "docker" "start" "-a" "43cba0524ac7292f11cf878b17f866172bc245c21d94d614c1c4a2628281e0d3", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `subtle` dependency) [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking ff v0.10.1 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Checking group v0.10.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking blake2 v0.9.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking bls12_381_plus v0.5.5 [INFO] [stderr] Checking serde-big-array v0.3.3 [INFO] [stderr] Checking signature_core v0.37.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/lib.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #![cfg_attr(not(feature = "std"), no_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] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/lib.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[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: `alloc` [INFO] [stdout] --> src/lib.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(feature = "alloc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `alloc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `Scalar` in the current scope [INFO] [stdout] --> src/proof_committed_builder.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | let r = Scalar::random(rng); [INFO] [stdout] | ^^^^^^ function or associated item not found in `Scalar` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Scalar` consider using one of the following associated functions: [INFO] [stdout] Scalar::zero [INFO] [stdout] Scalar::one [INFO] [stdout] Scalar::from_bytes_wide [INFO] [stdout] Scalar::from_okm [INFO] [stdout] Scalar::from_raw [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381_plus-0.5.5/src/scalar.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub const fn zero() -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub const fn one() -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn from_bytes_wide(bytes: &[u8; 64]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn from_okm(bytes: &[u8; 48]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | pub const fn from_raw(val: [u64; 4]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: there are multiple different versions of crate `ff` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.12.1/src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / pub trait Field: [INFO] [stdout] 37 | | Sized [INFO] [stdout] 38 | | + Eq [INFO] [stdout] 39 | | + Copy [INFO] [stdout] ... | [INFO] [stdout] 59 | | + for<'a> AddAssign<&'a Self> [INFO] [stdout] 60 | | + for<'a> SubAssign<&'a Self> [INFO] [stdout] | |__________________________________^ this is the trait that is needed [INFO] [stdout] ... [INFO] [stdout] 63 | fn random(rng: impl RngCore) -> Self; [INFO] [stdout] | ------------------------------------- the associated function is available for `Scalar` here [INFO] [stdout] | [INFO] [stdout] ::: src/proof_committed_builder.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ff::Field; [INFO] [stdout] | --------- `Field` imported here doesn't correspond to the right version of crate `ff` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.10.1/src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / pub trait Field: [INFO] [stdout] 37 | | Sized [INFO] [stdout] 38 | | + Eq [INFO] [stdout] 39 | | + Copy [INFO] [stdout] ... | [INFO] [stdout] 58 | | + for<'a> AddAssign<&'a Self> [INFO] [stdout] 59 | | + for<'a> SubAssign<&'a Self> [INFO] [stdout] | |_________________________________- this is the trait that was imported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bls12_381_plus::Scalar::zero`: Use ZERO instead. [INFO] [stdout] --> src/challenge.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | Challenge(Scalar::zero()) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `Scalar` in the current scope [INFO] [stdout] --> src/message.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | Self(Scalar::random(rng)) [INFO] [stdout] | ^^^^^^ function or associated item not found in `Scalar` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Scalar` consider using one of the following associated functions: [INFO] [stdout] Scalar::zero [INFO] [stdout] Scalar::one [INFO] [stdout] Scalar::from_bytes_wide [INFO] [stdout] Scalar::from_okm [INFO] [stdout] Scalar::from_raw [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381_plus-0.5.5/src/scalar.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub const fn zero() -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub const fn one() -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn from_bytes_wide(bytes: &[u8; 64]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn from_okm(bytes: &[u8; 48]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | pub const fn from_raw(val: [u64; 4]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: there are multiple different versions of crate `ff` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.12.1/src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / pub trait Field: [INFO] [stdout] 37 | | Sized [INFO] [stdout] 38 | | + Eq [INFO] [stdout] 39 | | + Copy [INFO] [stdout] ... | [INFO] [stdout] 59 | | + for<'a> AddAssign<&'a Self> [INFO] [stdout] 60 | | + for<'a> SubAssign<&'a Self> [INFO] [stdout] | |__________________________________^ this is the trait that is needed [INFO] [stdout] ... [INFO] [stdout] 63 | fn random(rng: impl RngCore) -> Self; [INFO] [stdout] | ------------------------------------- the associated function is available for `Scalar` here [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ff::Field; [INFO] [stdout] | --------- `Field` imported here doesn't correspond to the right version of crate `ff` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.10.1/src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / pub trait Field: [INFO] [stdout] 37 | | Sized [INFO] [stdout] 38 | | + Eq [INFO] [stdout] 39 | | + Copy [INFO] [stdout] ... | [INFO] [stdout] 58 | | + for<'a> AddAssign<&'a Self> [INFO] [stdout] 59 | | + for<'a> SubAssign<&'a Self> [INFO] [stdout] | |_________________________________- this is the trait that was imported [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `signature_core` (lib) due to 5 previous errors; 4 warnings emitted [INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `Scalar` in the current scope [INFO] [stdout] --> src/nonce.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | Self(Scalar::random(rng)) [INFO] [stdout] | ^^^^^^ function or associated item not found in `Scalar` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Scalar` consider using one of the following associated functions: [INFO] [stdout] Scalar::zero [INFO] [stdout] Scalar::one [INFO] [stdout] Scalar::from_bytes_wide [INFO] [stdout] Scalar::from_okm [INFO] [stdout] Scalar::from_raw [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381_plus-0.5.5/src/scalar.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub const fn zero() -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub const fn one() -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn from_bytes_wide(bytes: &[u8; 64]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn from_okm(bytes: &[u8; 48]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | pub const fn from_raw(val: [u64; 4]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: there are multiple different versions of crate `ff` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.12.1/src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / pub trait Field: [INFO] [stdout] 37 | | Sized [INFO] [stdout] 38 | | + Eq [INFO] [stdout] 39 | | + Copy [INFO] [stdout] ... | [INFO] [stdout] 59 | | + for<'a> AddAssign<&'a Self> [INFO] [stdout] 60 | | + for<'a> SubAssign<&'a Self> [INFO] [stdout] | |__________________________________^ this is the trait that is needed [INFO] [stdout] ... [INFO] [stdout] 63 | fn random(rng: impl RngCore) -> Self; [INFO] [stdout] | ------------------------------------- the associated function is available for `Scalar` here [INFO] [stdout] | [INFO] [stdout] ::: src/nonce.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ff::Field; [INFO] [stdout] | --------- `Field` imported here doesn't correspond to the right version of crate `ff` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.10.1/src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / pub trait Field: [INFO] [stdout] 37 | | Sized [INFO] [stdout] 38 | | + Eq [INFO] [stdout] 39 | | + Copy [INFO] [stdout] ... | [INFO] [stdout] 58 | | + for<'a> AddAssign<&'a Self> [INFO] [stdout] 59 | | + for<'a> SubAssign<&'a Self> [INFO] [stdout] | |_________________________________- this is the trait that was imported [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `to_affine` found for struct `G1Projective` in the current scope [INFO] [stdout] --> src/commitment.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | self.0.to_affine().to_compressed() [INFO] [stdout] | ^^^^^^^^^ method not found in `G1Projective` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `group` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/group-0.12.1/src/lib.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 97 | Group + GroupOps<::AffineRepr> + GroupOpsOwned<::AffineRepr> [INFO] [stdout] | ^ this is the trait that is needed [INFO] [stdout] ... [INFO] [stdout] 113 | fn to_affine(&self) -> Self::AffineRepr; [INFO] [stdout] | ---------------------------------------- the method is available for `G1Projective` here [INFO] [stdout] | [INFO] [stdout] ::: src/commitment.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use group::Curve; [INFO] [stdout] | ------------ `Curve` imported here doesn't correspond to the right version of crate `group` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/group-0.10.0/src/lib.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | / pub trait Curve: [INFO] [stdout] 97 | | Group + GroupOps<::AffineRepr> + GroupOpsOwned<::AffineRepr> [INFO] [stdout] | |______________________________________________________________________________________________- this is the trait that was imported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `Scalar` in the current scope [INFO] [stdout] --> src/signature_blinding.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | Self(Scalar::random(rng)) [INFO] [stdout] | ^^^^^^ function or associated item not found in `Scalar` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Scalar` consider using one of the following associated functions: [INFO] [stdout] Scalar::zero [INFO] [stdout] Scalar::one [INFO] [stdout] Scalar::from_bytes_wide [INFO] [stdout] Scalar::from_okm [INFO] [stdout] Scalar::from_raw [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381_plus-0.5.5/src/scalar.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub const fn zero() -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub const fn one() -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn from_bytes_wide(bytes: &[u8; 64]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn from_okm(bytes: &[u8; 48]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | pub const fn from_raw(val: [u64; 4]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: there are multiple different versions of crate `ff` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.12.1/src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / pub trait Field: [INFO] [stdout] 37 | | Sized [INFO] [stdout] 38 | | + Eq [INFO] [stdout] 39 | | + Copy [INFO] [stdout] ... | [INFO] [stdout] 59 | | + for<'a> AddAssign<&'a Self> [INFO] [stdout] 60 | | + for<'a> SubAssign<&'a Self> [INFO] [stdout] | |__________________________________^ this is the trait that is needed [INFO] [stdout] ... [INFO] [stdout] 63 | fn random(rng: impl RngCore) -> Self; [INFO] [stdout] | ------------------------------------- the associated function is available for `Scalar` here [INFO] [stdout] | [INFO] [stdout] ::: src/signature_blinding.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ff::Field; [INFO] [stdout] | --------- `Field` imported here doesn't correspond to the right version of crate `ff` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.10.1/src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / pub trait Field: [INFO] [stdout] 37 | | Sized [INFO] [stdout] 38 | | + Eq [INFO] [stdout] 39 | | + Copy [INFO] [stdout] ... | [INFO] [stdout] 58 | | + for<'a> AddAssign<&'a Self> [INFO] [stdout] 59 | | + for<'a> SubAssign<&'a Self> [INFO] [stdout] | |_________________________________- this is the trait that was imported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/lib.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #![cfg_attr(not(feature = "std"), no_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] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/lib.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[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: `alloc` [INFO] [stdout] --> src/lib.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(feature = "alloc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `alloc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_zero` found for struct `Scalar` in the current scope [INFO] [stdout] --> src/util.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 174 | assert!(s.is_zero()); [INFO] [stdout] | ^^^^^^^ method not found in `Scalar` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Field` which provides `is_zero` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 129 + use ff::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bls12_381_plus::G1Projective::generator`: Use GENERATOR instead. [INFO] [stdout] --> src/util.rs:189:35 [INFO] [stdout] | [INFO] [stdout] 189 | let point = G1Projective::generator(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bls12_381_plus::G1Projective::identity`: Use IDENTITY instead. [INFO] [stdout] --> src/util.rs:193:34 [INFO] [stdout] | [INFO] [stdout] 193 | assert_ne!(G1Projective::identity(), sum); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `Scalar` in the current scope [INFO] [stdout] --> src/proof_committed_builder.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | let r = Scalar::random(rng); [INFO] [stdout] | ^^^^^^ function or associated item not found in `Scalar` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Scalar` consider using one of the following associated functions: [INFO] [stdout] Scalar::zero [INFO] [stdout] Scalar::one [INFO] [stdout] Scalar::from_bytes_wide [INFO] [stdout] Scalar::from_okm [INFO] [stdout] Scalar::from_raw [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381_plus-0.5.5/src/scalar.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub const fn zero() -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub const fn one() -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn from_bytes_wide(bytes: &[u8; 64]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn from_okm(bytes: &[u8; 48]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | pub const fn from_raw(val: [u64; 4]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: there are multiple different versions of crate `ff` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.12.1/src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / pub trait Field: [INFO] [stdout] 37 | | Sized [INFO] [stdout] 38 | | + Eq [INFO] [stdout] 39 | | + Copy [INFO] [stdout] ... | [INFO] [stdout] 59 | | + for<'a> AddAssign<&'a Self> [INFO] [stdout] 60 | | + for<'a> SubAssign<&'a Self> [INFO] [stdout] | |__________________________________^ this is the trait that is needed [INFO] [stdout] ... [INFO] [stdout] 63 | fn random(rng: impl RngCore) -> Self; [INFO] [stdout] | ------------------------------------- the associated function is available for `Scalar` here [INFO] [stdout] | [INFO] [stdout] ::: src/proof_committed_builder.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ff::Field; [INFO] [stdout] | --------- `Field` imported here doesn't correspond to the right version of crate `ff` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.10.1/src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / pub trait Field: [INFO] [stdout] 37 | | Sized [INFO] [stdout] 38 | | + Eq [INFO] [stdout] 39 | | + Copy [INFO] [stdout] ... | [INFO] [stdout] 58 | | + for<'a> AddAssign<&'a Self> [INFO] [stdout] 59 | | + for<'a> SubAssign<&'a Self> [INFO] [stdout] | |_________________________________- this is the trait that was imported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G1Projective: Curve` is not satisfied [INFO] [stdout] --> src/proof_committed_builder.rs:158:22 [INFO] [stdout] | [INFO] [stdout] 158 | let mut pb = ProofCommittedBuilder::::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Curve` is not implemented for `G1Projective` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `group` in the dependency graph [INFO] [stdout] | [INFO] [stdout] ::: src/proof_committed_builder.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use group::{Curve, GroupEncoding}; [INFO] [stdout] | ----- one version of crate `group` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/util.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bls12_381_plus::{G1Projective, Scalar}; [INFO] [stdout] | -------------- one version of crate `group` used here, as a dependency of crate `bls12_381_plus` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381_plus-0.5.5/src/g1.rs:433:1 [INFO] [stdout] | [INFO] [stdout] 433 | pub struct G1Projective { [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/group-0.12.1/src/cofactor.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / pub trait CofactorGroup: [INFO] [stdout] 11 | | Group [INFO] [stdout] 12 | | + GroupEncoding [INFO] [stdout] 13 | | + GroupOps<::Subgroup> [INFO] [stdout] 14 | | + GroupOpsOwned<::Subgroup> [INFO] [stdout] | |______________________________________________________- this is the found trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/group-0.10.0/src/lib.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | / pub trait Curve: [INFO] [stdout] 97 | | Group + GroupOps<::AffineRepr> + GroupOpsOwned<::AffineRepr> [INFO] [stdout] | |______________________________________________________________________________________________^ this is the required trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ProofCommittedBuilder` [INFO] [stdout] --> src/proof_committed_builder.rs:58:75 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct ProofCommittedBuilder [INFO] [stdout] | --------------------- required by a bound in this struct [INFO] [stdout] 57 | where [INFO] [stdout] 58 | B: Clone + Copy + Debug + Default + ConstantTimeEq + PartialEq + Eq + Curve, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ProofCommittedBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G1Affine: GroupEncoding` is not satisfied [INFO] [stdout] --> src/proof_committed_builder.rs:158:22 [INFO] [stdout] | [INFO] [stdout] 158 | let mut pb = ProofCommittedBuilder::::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `GroupEncoding` is not implemented for `G1Affine` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `group` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/group-0.10.0/src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | pub trait GroupEncoding: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/proof_committed_builder.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use group::{Curve, GroupEncoding}; [INFO] [stdout] | ----- one version of crate `group` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/util.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bls12_381_plus::{G1Projective, Scalar}; [INFO] [stdout] | -------------- one version of crate `group` used here, as a dependency of crate `bls12_381_plus` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381_plus-0.5.5/src/g1.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct G1Affine { [INFO] [stdout] | ------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/group-0.12.1/src/cofactor.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / pub trait CofactorGroup: [INFO] [stdout] 11 | | Group [INFO] [stdout] 12 | | + GroupEncoding [INFO] [stdout] 13 | | + GroupOps<::Subgroup> [INFO] [stdout] 14 | | + GroupOpsOwned<::Subgroup> [INFO] [stdout] | |______________________________________________________- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ProofCommittedBuilder` [INFO] [stdout] --> src/proof_committed_builder.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct ProofCommittedBuilder [INFO] [stdout] | --------------------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 59 | C: GroupEncoding + Debug, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `ProofCommittedBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `ProofCommittedBuilder`, but its trait bounds were not satisfied [INFO] [stdout] --> src/proof_committed_builder.rs:158:77 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct ProofCommittedBuilder [INFO] [stdout] | ---------------------------------------------------------------------- doesn't satisfy 6 bounds [INFO] [stdout] ... [INFO] [stdout] 158 | let mut pb = ProofCommittedBuilder::::new( [INFO] [stdout] | ^^^ function or associated item cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381_plus-0.5.5/src/g1.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct G1Affine { [INFO] [stdout] | ------------------- doesn't satisfy `G1Affine: GroupEncoding` [INFO] [stdout] ... [INFO] [stdout] 433 | pub struct G1Projective { [INFO] [stdout] | ----------------------- doesn't satisfy `G1Projective: Curve` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] `G1Affine: GroupEncoding` [INFO] [stdout] `G1Projective: Curve` [INFO] [stdout] --> src/proof_committed_builder.rs:79:75 [INFO] [stdout] | [INFO] [stdout] 77 | impl ProofCommittedBuilder [INFO] [stdout] | --------------------------------- [INFO] [stdout] 78 | where [INFO] [stdout] 79 | B: Clone + Copy + Debug + Default + ConstantTimeEq + PartialEq + Eq + Curve, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] 80 | C: GroupEncoding + Debug, [INFO] [stdout] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ProofCommittedBuilder: Update` [INFO] [stdout] which is required by `ProofCommittedBuilder: Digest` [INFO] [stdout] `ProofCommittedBuilder: FixedOutput` [INFO] [stdout] which is required by `ProofCommittedBuilder: Digest` [INFO] [stdout] `ProofCommittedBuilder: Reset` [INFO] [stdout] which is required by `ProofCommittedBuilder: Digest` [INFO] [stdout] `ProofCommittedBuilder: core::clone::Clone` [INFO] [stdout] which is required by `ProofCommittedBuilder: Digest` [INFO] [stdout] `ProofCommittedBuilder: core::default::Default` [INFO] [stdout] which is required by `ProofCommittedBuilder: Digest` [INFO] [stdout] `&ProofCommittedBuilder: Update` [INFO] [stdout] which is required by `&ProofCommittedBuilder: Digest` [INFO] [stdout] `&ProofCommittedBuilder: FixedOutput` [INFO] [stdout] which is required by `&ProofCommittedBuilder: Digest` [INFO] [stdout] `&ProofCommittedBuilder: Reset` [INFO] [stdout] which is required by `&ProofCommittedBuilder: Digest` [INFO] [stdout] `&ProofCommittedBuilder: core::default::Default` [INFO] [stdout] which is required by `&ProofCommittedBuilder: Digest` [INFO] [stdout] `&mut ProofCommittedBuilder: Update` [INFO] [stdout] which is required by `&mut ProofCommittedBuilder: Digest` [INFO] [stdout] `&mut ProofCommittedBuilder: FixedOutput` [INFO] [stdout] which is required by `&mut ProofCommittedBuilder: Digest` [INFO] [stdout] `&mut ProofCommittedBuilder: Reset` [INFO] [stdout] which is required by `&mut ProofCommittedBuilder: Digest` [INFO] [stdout] `&mut ProofCommittedBuilder: core::clone::Clone` [INFO] [stdout] which is required by `&mut ProofCommittedBuilder: Digest` [INFO] [stdout] `&mut ProofCommittedBuilder: core::default::Default` [INFO] [stdout] which is required by `&mut ProofCommittedBuilder: Digest` [INFO] [stdout] note: the traits `FixedOutput`, `Reset`, and `Update` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/digest-0.9.0/src/lib.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub trait Update { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub trait Reset { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/digest-0.9.0/src/fixed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait FixedOutput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider annotating `ProofCommittedBuilder` with `#[derive(Clone, Default)]` [INFO] [stdout] | [INFO] [stdout] 56 + #[derive(Clone, Default)] [INFO] [stdout] 57 | pub struct ProofCommittedBuilder [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bls12_381_plus::G1Projective::identity`: Use IDENTITY instead. [INFO] [stdout] --> src/proof_committed_builder.rs:166:33 [INFO] [stdout] | [INFO] [stdout] 166 | pb.commit(G1Projective::identity(), Scalar::from(2)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bls12_381_plus::Scalar::zero`: Use ZERO instead. [INFO] [stdout] --> src/challenge.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | Challenge(Scalar::zero()) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `Scalar` in the current scope [INFO] [stdout] --> src/message.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | Self(Scalar::random(rng)) [INFO] [stdout] | ^^^^^^ function or associated item not found in `Scalar` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Scalar` consider using one of the following associated functions: [INFO] [stdout] Scalar::zero [INFO] [stdout] Scalar::one [INFO] [stdout] Scalar::from_bytes_wide [INFO] [stdout] Scalar::from_okm [INFO] [stdout] Scalar::from_raw [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381_plus-0.5.5/src/scalar.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub const fn zero() -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub const fn one() -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn from_bytes_wide(bytes: &[u8; 64]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn from_okm(bytes: &[u8; 48]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | pub const fn from_raw(val: [u64; 4]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: there are multiple different versions of crate `ff` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.12.1/src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / pub trait Field: [INFO] [stdout] 37 | | Sized [INFO] [stdout] 38 | | + Eq [INFO] [stdout] 39 | | + Copy [INFO] [stdout] ... | [INFO] [stdout] 59 | | + for<'a> AddAssign<&'a Self> [INFO] [stdout] 60 | | + for<'a> SubAssign<&'a Self> [INFO] [stdout] | |__________________________________^ this is the trait that is needed [INFO] [stdout] ... [INFO] [stdout] 63 | fn random(rng: impl RngCore) -> Self; [INFO] [stdout] | ------------------------------------- the associated function is available for `Scalar` here [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ff::Field; [INFO] [stdout] | --------- `Field` imported here doesn't correspond to the right version of crate `ff` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.10.1/src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / pub trait Field: [INFO] [stdout] 37 | | Sized [INFO] [stdout] 38 | | + Eq [INFO] [stdout] 39 | | + Copy [INFO] [stdout] ... | [INFO] [stdout] 58 | | + for<'a> AddAssign<&'a Self> [INFO] [stdout] 59 | | + for<'a> SubAssign<&'a Self> [INFO] [stdout] | |_________________________________- this is the trait that was imported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `Scalar` in the current scope [INFO] [stdout] --> src/nonce.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | Self(Scalar::random(rng)) [INFO] [stdout] | ^^^^^^ function or associated item not found in `Scalar` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Scalar` consider using one of the following associated functions: [INFO] [stdout] Scalar::zero [INFO] [stdout] Scalar::one [INFO] [stdout] Scalar::from_bytes_wide [INFO] [stdout] Scalar::from_okm [INFO] [stdout] Scalar::from_raw [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381_plus-0.5.5/src/scalar.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub const fn zero() -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub const fn one() -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn from_bytes_wide(bytes: &[u8; 64]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn from_okm(bytes: &[u8; 48]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | pub const fn from_raw(val: [u64; 4]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: there are multiple different versions of crate `ff` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.12.1/src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / pub trait Field: [INFO] [stdout] 37 | | Sized [INFO] [stdout] 38 | | + Eq [INFO] [stdout] 39 | | + Copy [INFO] [stdout] ... | [INFO] [stdout] 59 | | + for<'a> AddAssign<&'a Self> [INFO] [stdout] 60 | | + for<'a> SubAssign<&'a Self> [INFO] [stdout] | |__________________________________^ this is the trait that is needed [INFO] [stdout] ... [INFO] [stdout] 63 | fn random(rng: impl RngCore) -> Self; [INFO] [stdout] | ------------------------------------- the associated function is available for `Scalar` here [INFO] [stdout] | [INFO] [stdout] ::: src/nonce.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ff::Field; [INFO] [stdout] | --------- `Field` imported here doesn't correspond to the right version of crate `ff` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.10.1/src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / pub trait Field: [INFO] [stdout] 37 | | Sized [INFO] [stdout] 38 | | + Eq [INFO] [stdout] 39 | | + Copy [INFO] [stdout] ... | [INFO] [stdout] 58 | | + for<'a> AddAssign<&'a Self> [INFO] [stdout] 59 | | + for<'a> SubAssign<&'a Self> [INFO] [stdout] | |_________________________________- this is the trait that was imported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_affine` found for struct `G1Projective` in the current scope [INFO] [stdout] --> src/commitment.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | self.0.to_affine().to_compressed() [INFO] [stdout] | ^^^^^^^^^ method not found in `G1Projective` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `group` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/group-0.12.1/src/lib.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 97 | Group + GroupOps<::AffineRepr> + GroupOpsOwned<::AffineRepr> [INFO] [stdout] | ^ this is the trait that is needed [INFO] [stdout] ... [INFO] [stdout] 113 | fn to_affine(&self) -> Self::AffineRepr; [INFO] [stdout] | ---------------------------------------- the method is available for `G1Projective` here [INFO] [stdout] | [INFO] [stdout] ::: src/commitment.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use group::Curve; [INFO] [stdout] | ------------ `Curve` imported here doesn't correspond to the right version of crate `group` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/group-0.10.0/src/lib.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | / pub trait Curve: [INFO] [stdout] 97 | | Group + GroupOps<::AffineRepr> + GroupOpsOwned<::AffineRepr> [INFO] [stdout] | |______________________________________________________________________________________________- this is the trait that was imported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `Scalar` in the current scope [INFO] [stdout] --> src/signature_blinding.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | Self(Scalar::random(rng)) [INFO] [stdout] | ^^^^^^ function or associated item not found in `Scalar` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Scalar` consider using one of the following associated functions: [INFO] [stdout] Scalar::zero [INFO] [stdout] Scalar::one [INFO] [stdout] Scalar::from_bytes_wide [INFO] [stdout] Scalar::from_okm [INFO] [stdout] Scalar::from_raw [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381_plus-0.5.5/src/scalar.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub const fn zero() -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub const fn one() -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn from_bytes_wide(bytes: &[u8; 64]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn from_okm(bytes: &[u8; 48]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | pub const fn from_raw(val: [u64; 4]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: there are multiple different versions of crate `ff` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.12.1/src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / pub trait Field: [INFO] [stdout] 37 | | Sized [INFO] [stdout] 38 | | + Eq [INFO] [stdout] 39 | | + Copy [INFO] [stdout] ... | [INFO] [stdout] 59 | | + for<'a> AddAssign<&'a Self> [INFO] [stdout] 60 | | + for<'a> SubAssign<&'a Self> [INFO] [stdout] | |__________________________________^ this is the trait that is needed [INFO] [stdout] ... [INFO] [stdout] 63 | fn random(rng: impl RngCore) -> Self; [INFO] [stdout] | ------------------------------------- the associated function is available for `Scalar` here [INFO] [stdout] | [INFO] [stdout] ::: src/signature_blinding.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ff::Field; [INFO] [stdout] | --------- `Field` imported here doesn't correspond to the right version of crate `ff` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.10.1/src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / pub trait Field: [INFO] [stdout] 37 | | Sized [INFO] [stdout] 38 | | + Eq [INFO] [stdout] 39 | | + Copy [INFO] [stdout] ... | [INFO] [stdout] 58 | | + for<'a> AddAssign<&'a Self> [INFO] [stdout] 59 | | + for<'a> SubAssign<&'a Self> [INFO] [stdout] | |_________________________________- this is the trait that was imported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `signature_core` (lib test) due to 9 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "43cba0524ac7292f11cf878b17f866172bc245c21d94d614c1c4a2628281e0d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43cba0524ac7292f11cf878b17f866172bc245c21d94d614c1c4a2628281e0d3", kill_on_drop: false }` [INFO] [stdout] 43cba0524ac7292f11cf878b17f866172bc245c21d94d614c1c4a2628281e0d3