[INFO] fetching crate scicrypt-he 0.7.1... [INFO] checking scicrypt-he-0.7.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate scicrypt-he 0.7.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate scicrypt-he 0.7.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate scicrypt-he 0.7.1 [INFO] finished tweaking crates.io crate scicrypt-he 0.7.1 [INFO] tweaked toml for crates.io crate scicrypt-he 0.7.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 88 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.18) [INFO] [stderr] Adding criterion v0.3.6 (available: v0.5.1) [INFO] [stderr] Adding criterion-plot v0.4.5 (available: v0.5.0) [INFO] [stderr] Adding half v1.8.3 (available: v2.4.1) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding textwrap v0.11.0 (available: v0.16.1) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scicrypt-numbertheory v0.7.1 [INFO] [stderr] Downloaded scicrypt-bigint v0.7.1 [INFO] [stderr] Downloaded scicrypt-traits v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfd70acac9457bb76bf61446873c80217d445c32ff015b4125fb5c877d96868c [INFO] running `Command { std: "docker" "start" "-a" "cfd70acac9457bb76bf61446873c80217d445c32ff015b4125fb5c877d96868c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfd70acac9457bb76bf61446873c80217d445c32ff015b4125fb5c877d96868c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfd70acac9457bb76bf61446873c80217d445c32ff015b4125fb5c877d96868c", kill_on_drop: false }` [INFO] [stdout] cfd70acac9457bb76bf61446873c80217d445c32ff015b4125fb5c877d96868c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4fd467065567269ac75a016333c8af3ed269864cb0ec2db49c008fe18b488d1 [INFO] running `Command { std: "docker" "start" "-a" "d4fd467065567269ac75a016333c8af3ed269864cb0ec2db49c008fe18b488d1", kill_on_drop: false }` [INFO] [stderr] Compiling gmp-mpfr-sys v1.6.4 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling rug v1.26.1 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Checking scicrypt-traits v0.7.1 [INFO] [stderr] Checking scicrypt-bigint v0.7.1 [INFO] [stderr] Checking scicrypt-numbertheory v0.7.1 [INFO] [stderr] Checking scicrypt-he v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rand_core::OsRng` [INFO] [stdout] --> src/cryptosystems/curve_el_gamal.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | use rand_core::OsRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `OsRng` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "getrandom")] pub use os::OsRng; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `getrandom` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "getrandom")] pub use os::OsRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand_core::OsRng` [INFO] [stdout] --> src/cryptosystems/integer_el_gamal.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | use rand_core::OsRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `OsRng` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "getrandom")] pub use os::OsRng; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `getrandom` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "getrandom")] pub use os::OsRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand_core::OsRng` [INFO] [stdout] --> src/cryptosystems/paillier.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | use rand_core::OsRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `OsRng` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "getrandom")] pub use os::OsRng; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `getrandom` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "getrandom")] pub use os::OsRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand_core::OsRng` [INFO] [stdout] --> src/cryptosystems/rsa.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | use rand_core::OsRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `OsRng` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "getrandom")] pub use os::OsRng; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `getrandom` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "getrandom")] pub use os::OsRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand_core::OsRng` [INFO] [stdout] --> src/threshold_cryptosystems/curve_el_gamal.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | use rand_core::OsRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `OsRng` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "getrandom")] pub use os::OsRng; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `getrandom` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "getrandom")] pub use os::OsRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand_core::OsRng` [INFO] [stdout] --> src/threshold_cryptosystems/integer_el_gamal.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | use rand_core::OsRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `OsRng` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "getrandom")] pub use os::OsRng; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `getrandom` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "getrandom")] pub use os::OsRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand_core::OsRng` [INFO] [stdout] --> src/threshold_cryptosystems/paillier.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | use rand_core::OsRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `OsRng` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "getrandom")] pub use os::OsRng; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `getrandom` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "getrandom")] pub use os::OsRng; [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/cryptosystems/curve_el_gamal.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | let secret_key = Scalar::random(rng.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::from_bytes_mod_order [INFO] [stdout] Scalar::from_bytes_mod_order_wide [INFO] [stdout] Scalar::batch_invert [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/curve25519-dalek-4.1.3/src/scalar.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn from_bytes_mod_order(bytes: [u8; 32]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn from_bytes_mod_order_wide(input: &[u8; 64]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | pub fn batch_invert(inputs: &mut [Scalar]) -> Scalar { [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/cryptosystems/curve_el_gamal.rs:118:34 [INFO] [stdout] | [INFO] [stdout] 118 | let randomness = Scalar::random(rng.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::from_bytes_mod_order [INFO] [stdout] Scalar::from_bytes_mod_order_wide [INFO] [stdout] Scalar::batch_invert [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/curve25519-dalek-4.1.3/src/scalar.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn from_bytes_mod_order(bytes: [u8; 32]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn from_bytes_mod_order_wide(input: &[u8; 64]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | pub fn batch_invert(inputs: &mut [Scalar]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `&Scalar` by `&&RistrettoBasepointTable` [INFO] [stdout] --> src/cryptosystems/curve_el_gamal.rs:129:44 [INFO] [stdout] | [INFO] [stdout] 129 | c1: ciphertext.c1 + randomness * &RISTRETTO_BASEPOINT_TABLE, [INFO] [stdout] | ^ no implementation for `&Scalar * &&RistrettoBasepointTable` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Mul<&&RistrettoBasepointTable>` is not implemented for `&Scalar` [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 129 - c1: ciphertext.c1 + randomness * &RISTRETTO_BASEPOINT_TABLE, [INFO] [stdout] 129 + c1: ciphertext.c1 + randomness * RISTRETTO_BASEPOINT_TABLE, [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/cryptosystems/curve_el_gamal.rs:171:34 [INFO] [stdout] | [INFO] [stdout] 171 | let randomness = Scalar::random(rng.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::from_bytes_mod_order [INFO] [stdout] Scalar::from_bytes_mod_order_wide [INFO] [stdout] Scalar::batch_invert [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/curve25519-dalek-4.1.3/src/scalar.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn from_bytes_mod_order(bytes: [u8; 32]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn from_bytes_mod_order_wide(input: &[u8; 64]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | pub fn batch_invert(inputs: &mut [Scalar]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `&Scalar` by `&&RistrettoBasepointTable` [INFO] [stdout] --> src/cryptosystems/curve_el_gamal.rs:182:44 [INFO] [stdout] | [INFO] [stdout] 182 | c1: ciphertext.c1 + randomness * &RISTRETTO_BASEPOINT_TABLE, [INFO] [stdout] | ^ no implementation for `&Scalar * &&RistrettoBasepointTable` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Mul<&&RistrettoBasepointTable>` is not implemented for `&Scalar` [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 182 - c1: ciphertext.c1 + randomness * &RISTRETTO_BASEPOINT_TABLE, [INFO] [stdout] 182 + c1: ciphertext.c1 + randomness * RISTRETTO_BASEPOINT_TABLE, [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/cryptosystems/curve_el_gamal.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | let secret_key = Scalar::random(rng.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::from_bytes_mod_order [INFO] [stdout] Scalar::from_bytes_mod_order_wide [INFO] [stdout] Scalar::batch_invert [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/curve25519-dalek-4.1.3/src/scalar.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn from_bytes_mod_order(bytes: [u8; 32]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn from_bytes_mod_order_wide(input: &[u8; 64]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | pub fn batch_invert(inputs: &mut [Scalar]) -> Scalar { [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/cryptosystems/curve_el_gamal.rs:118:34 [INFO] [stdout] | [INFO] [stdout] 118 | let randomness = Scalar::random(rng.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::from_bytes_mod_order [INFO] [stdout] Scalar::from_bytes_mod_order_wide [INFO] [stdout] Scalar::batch_invert [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/curve25519-dalek-4.1.3/src/scalar.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn from_bytes_mod_order(bytes: [u8; 32]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn from_bytes_mod_order_wide(input: &[u8; 64]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | pub fn batch_invert(inputs: &mut [Scalar]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `&Scalar` by `&&RistrettoBasepointTable` [INFO] [stdout] --> src/cryptosystems/curve_el_gamal.rs:129:44 [INFO] [stdout] | [INFO] [stdout] 129 | c1: ciphertext.c1 + randomness * &RISTRETTO_BASEPOINT_TABLE, [INFO] [stdout] | ^ no implementation for `&Scalar * &&RistrettoBasepointTable` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Mul<&&RistrettoBasepointTable>` is not implemented for `&Scalar` [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 129 - c1: ciphertext.c1 + randomness * &RISTRETTO_BASEPOINT_TABLE, [INFO] [stdout] 129 + c1: ciphertext.c1 + randomness * RISTRETTO_BASEPOINT_TABLE, [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/cryptosystems/curve_el_gamal.rs:171:34 [INFO] [stdout] | [INFO] [stdout] 171 | let randomness = Scalar::random(rng.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::from_bytes_mod_order [INFO] [stdout] Scalar::from_bytes_mod_order_wide [INFO] [stdout] Scalar::batch_invert [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/curve25519-dalek-4.1.3/src/scalar.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn from_bytes_mod_order(bytes: [u8; 32]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn from_bytes_mod_order_wide(input: &[u8; 64]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | pub fn batch_invert(inputs: &mut [Scalar]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `&Scalar` by `&&RistrettoBasepointTable` [INFO] [stdout] --> src/cryptosystems/curve_el_gamal.rs:182:44 [INFO] [stdout] | [INFO] [stdout] 182 | c1: ciphertext.c1 + randomness * &RISTRETTO_BASEPOINT_TABLE, [INFO] [stdout] | ^ no implementation for `&Scalar * &&RistrettoBasepointTable` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Mul<&&RistrettoBasepointTable>` is not implemented for `&Scalar` [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 182 - c1: ciphertext.c1 + randomness * &RISTRETTO_BASEPOINT_TABLE, [INFO] [stdout] 182 + c1: ciphertext.c1 + randomness * RISTRETTO_BASEPOINT_TABLE, [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/threshold_cryptosystems/curve_el_gamal.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | key: Scalar::random(rng.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::from_bytes_mod_order [INFO] [stdout] Scalar::from_bytes_mod_order_wide [INFO] [stdout] Scalar::batch_invert [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/curve25519-dalek-4.1.3/src/scalar.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn from_bytes_mod_order(bytes: [u8; 32]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn from_bytes_mod_order_wide(input: &[u8; 64]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | pub fn batch_invert(inputs: &mut [Scalar]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `&Scalar` by `&&RistrettoBasepointTable` [INFO] [stdout] --> src/threshold_cryptosystems/curve_el_gamal.rs:54:38 [INFO] [stdout] | [INFO] [stdout] 54 | let public_key = &master_key * &RISTRETTO_BASEPOINT_TABLE; [INFO] [stdout] | ^ no implementation for `&Scalar * &&RistrettoBasepointTable` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Mul<&&RistrettoBasepointTable>` is not implemented for `&Scalar` [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 54 - let public_key = &master_key * &RISTRETTO_BASEPOINT_TABLE; [INFO] [stdout] 54 + let public_key = &master_key * RISTRETTO_BASEPOINT_TABLE; [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/threshold_cryptosystems/curve_el_gamal.rs:118:34 [INFO] [stdout] | [INFO] [stdout] 118 | let master_key = Scalar::random(rng.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::from_bytes_mod_order [INFO] [stdout] Scalar::from_bytes_mod_order_wide [INFO] [stdout] Scalar::batch_invert [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/curve25519-dalek-4.1.3/src/scalar.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn from_bytes_mod_order(bytes: [u8; 32]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn from_bytes_mod_order_wide(input: &[u8; 64]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | pub fn batch_invert(inputs: &mut [Scalar]) -> Scalar { [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/threshold_cryptosystems/curve_el_gamal.rs:121:30 [INFO] [stdout] | [INFO] [stdout] 121 | .map(|_| Scalar::random(rng.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::from_bytes_mod_order [INFO] [stdout] Scalar::from_bytes_mod_order_wide [INFO] [stdout] Scalar::batch_invert [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/curve25519-dalek-4.1.3/src/scalar.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn from_bytes_mod_order(bytes: [u8; 32]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn from_bytes_mod_order_wide(input: &[u8; 64]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | pub fn batch_invert(inputs: &mut [Scalar]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `one` found for struct `Scalar` in the current scope [INFO] [stdout] --> src/threshold_cryptosystems/curve_el_gamal.rs:176:37 [INFO] [stdout] | [INFO] [stdout] 176 | let mut b = Scalar::one(); [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::from_bytes_mod_order [INFO] [stdout] Scalar::from_bytes_mod_order_wide [INFO] [stdout] Scalar::batch_invert [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/curve25519-dalek-4.1.3/src/scalar.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn from_bytes_mod_order(bytes: [u8; 32]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn from_bytes_mod_order_wide(input: &[u8; 64]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | pub fn batch_invert(inputs: &mut [Scalar]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/cmp.rs:261:5 [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/threshold_cryptosystems/curve_el_gamal.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | key: Scalar::random(rng.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::from_bytes_mod_order [INFO] [stdout] Scalar::from_bytes_mod_order_wide [INFO] [stdout] Scalar::batch_invert [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/curve25519-dalek-4.1.3/src/scalar.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn from_bytes_mod_order(bytes: [u8; 32]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn from_bytes_mod_order_wide(input: &[u8; 64]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | pub fn batch_invert(inputs: &mut [Scalar]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `&Scalar` by `&&RistrettoBasepointTable` [INFO] [stdout] --> src/threshold_cryptosystems/curve_el_gamal.rs:54:38 [INFO] [stdout] | [INFO] [stdout] 54 | let public_key = &master_key * &RISTRETTO_BASEPOINT_TABLE; [INFO] [stdout] | ^ no implementation for `&Scalar * &&RistrettoBasepointTable` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Mul<&&RistrettoBasepointTable>` is not implemented for `&Scalar` [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 54 - let public_key = &master_key * &RISTRETTO_BASEPOINT_TABLE; [INFO] [stdout] 54 + let public_key = &master_key * RISTRETTO_BASEPOINT_TABLE; [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/threshold_cryptosystems/curve_el_gamal.rs:118:34 [INFO] [stdout] | [INFO] [stdout] 118 | let master_key = Scalar::random(rng.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::from_bytes_mod_order [INFO] [stdout] Scalar::from_bytes_mod_order_wide [INFO] [stdout] Scalar::batch_invert [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/curve25519-dalek-4.1.3/src/scalar.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn from_bytes_mod_order(bytes: [u8; 32]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn from_bytes_mod_order_wide(input: &[u8; 64]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | pub fn batch_invert(inputs: &mut [Scalar]) -> Scalar { [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/threshold_cryptosystems/curve_el_gamal.rs:121:30 [INFO] [stdout] | [INFO] [stdout] 121 | .map(|_| Scalar::random(rng.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::from_bytes_mod_order [INFO] [stdout] Scalar::from_bytes_mod_order_wide [INFO] [stdout] Scalar::batch_invert [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/curve25519-dalek-4.1.3/src/scalar.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn from_bytes_mod_order(bytes: [u8; 32]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn from_bytes_mod_order_wide(input: &[u8; 64]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | pub fn batch_invert(inputs: &mut [Scalar]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `one` found for struct `Scalar` in the current scope [INFO] [stdout] --> src/threshold_cryptosystems/curve_el_gamal.rs:176:37 [INFO] [stdout] | [INFO] [stdout] 176 | let mut b = Scalar::one(); [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::from_bytes_mod_order [INFO] [stdout] Scalar::from_bytes_mod_order_wide [INFO] [stdout] Scalar::batch_invert [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/curve25519-dalek-4.1.3/src/scalar.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn from_bytes_mod_order(bytes: [u8; 32]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn from_bytes_mod_order_wide(input: &[u8; 64]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | pub fn batch_invert(inputs: &mut [Scalar]) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/cmp.rs:261:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `&Scalar` by `&&RistrettoBasepointTable` [INFO] [stdout] --> src/threshold_cryptosystems/curve_el_gamal.rs:223:46 [INFO] [stdout] | [INFO] [stdout] 223 | let plaintext = &Scalar::from(19u64) * &RISTRETTO_BASEPOINT_TABLE; [INFO] [stdout] | ^ no implementation for `&Scalar * &&RistrettoBasepointTable` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Mul<&&RistrettoBasepointTable>` is not implemented for `&Scalar` [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 223 - let plaintext = &Scalar::from(19u64) * &RISTRETTO_BASEPOINT_TABLE; [INFO] [stdout] 223 + let plaintext = &Scalar::from(19u64) * RISTRETTO_BASEPOINT_TABLE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `&Scalar` by `&&RistrettoBasepointTable` [INFO] [stdout] --> src/threshold_cryptosystems/curve_el_gamal.rs:244:46 [INFO] [stdout] | [INFO] [stdout] 244 | let plaintext = &Scalar::from(21u64) * &RISTRETTO_BASEPOINT_TABLE; [INFO] [stdout] | ^ no implementation for `&Scalar * &&RistrettoBasepointTable` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Mul<&&RistrettoBasepointTable>` is not implemented for `&Scalar` [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 244 - let plaintext = &Scalar::from(21u64) * &RISTRETTO_BASEPOINT_TABLE; [INFO] [stdout] 244 + let plaintext = &Scalar::from(21u64) * RISTRETTO_BASEPOINT_TABLE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [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 `scicrypt-he` (lib) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `scicrypt-he` (lib test) due to 20 previous errors [INFO] running `Command { std: "docker" "inspect" "d4fd467065567269ac75a016333c8af3ed269864cb0ec2db49c008fe18b488d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4fd467065567269ac75a016333c8af3ed269864cb0ec2db49c008fe18b488d1", kill_on_drop: false }` [INFO] [stdout] d4fd467065567269ac75a016333c8af3ed269864cb0ec2db49c008fe18b488d1