[INFO] fetching crate signature_core 0.37.0... [INFO] testing signature_core-0.37.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate signature_core 0.37.0 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate signature_core 0.37.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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.16.0) [INFO] [stderr] Adding heapless v0.7.17 (available: v0.9.1) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [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" "+b83b707f97d809763b7861afa7638871f3339a33" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1988078557e44a823d7ad81b8db7fca89fe4c32bf758e22644a90c516c9345a [INFO] running `Command { std: "docker" "start" "-a" "d1988078557e44a823d7ad81b8db7fca89fe4c32bf758e22644a90c516c9345a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1988078557e44a823d7ad81b8db7fca89fe4c32bf758e22644a90c516c9345a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1988078557e44a823d7ad81b8db7fca89fe4c32bf758e22644a90c516c9345a", kill_on_drop: false }` [INFO] [stdout] d1988078557e44a823d7ad81b8db7fca89fe4c32bf758e22644a90c516c9345a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a839f0ae531685370a52a4de7438321bfc55c7146558e2ae34b37b9196bd920 [INFO] running `Command { std: "docker" "start" "-a" "8a839f0ae531685370a52a4de7438321bfc55c7146558e2ae34b37b9196bd920", 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 version_check v0.9.5 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling ff v0.12.1 [INFO] [stderr] Compiling ff v0.10.1 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling group v0.10.0 [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] Compiling spin v0.9.8 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling serde-big-array v0.3.3 [INFO] [stderr] Compiling bls12_381_plus v0.5.5 [INFO] [stderr] Compiling 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] [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] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `signature_core` (lib) due to 5 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "8a839f0ae531685370a52a4de7438321bfc55c7146558e2ae34b37b9196bd920", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a839f0ae531685370a52a4de7438321bfc55c7146558e2ae34b37b9196bd920", kill_on_drop: false }` [INFO] [stdout] 8a839f0ae531685370a52a4de7438321bfc55c7146558e2ae34b37b9196bd920