[INFO] fetching crate elgamal_ristretto 0.2.3...
[INFO] checking elgamal_ristretto-0.2.3 against master#b0696a5160711c068cb1f01b7437db7990d15750 for pr-121848
[INFO] extracting crate elgamal_ristretto 0.2.3 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate elgamal_ristretto 0.2.3 on toolchain b0696a5160711c068cb1f01b7437db7990d15750
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate elgamal_ristretto 0.2.3
[INFO] finished tweaking crates.io crate elgamal_ristretto 0.2.3
[INFO] tweaked toml for crates.io crate elgamal_ristretto 0.2.3 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded zkp v0.7.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d53aa16a0829ebc879c08930844f1e8437089241a638264f87597aeed9c4362a
[INFO] running `Command { std: "docker" "start" "-a" "d53aa16a0829ebc879c08930844f1e8437089241a638264f87597aeed9c4362a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d53aa16a0829ebc879c08930844f1e8437089241a638264f87597aeed9c4362a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d53aa16a0829ebc879c08930844f1e8437089241a638264f87597aeed9c4362a", kill_on_drop: false }`
[INFO] [stdout] d53aa16a0829ebc879c08930844f1e8437089241a638264f87597aeed9c4362a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5b86759e53b825b29fa48dd20cde70fae439c891982abdb8ece968fe37906c10
[INFO] running `Command { std: "docker" "start" "-a" "5b86759e53b825b29fa48dd20cde70fae439c891982abdb8ece968fe37906c10", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.52
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling semver v1.0.22
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]     Checking either v1.10.0
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]    Compiling clear_on_drop v0.2.5
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]     Checking keccak v0.1.5
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking subtle v2.5.0
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking itertools v0.8.2
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking rand_xoshiro v0.1.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]    Compiling cast v0.2.7
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]     Checking criterion-plot v0.3.1
[INFO] [stderr]     Checking generic-array v0.12.4
[INFO] [stderr]     Checking rayon v1.9.0
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking sha2 v0.8.2
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]     Checking zeroize v1.7.0
[INFO] [stderr]     Checking merlin v2.0.1
[INFO] [stderr]     Checking serde v1.0.197
[INFO] [stderr]     Checking serde_json v1.0.114
[INFO] [stderr]     Checking curve25519-dalek v2.1.3
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking csv v1.3.0
[INFO] [stderr]     Checking zkp v0.7.0
[INFO] [stderr]     Checking elgamal_ristretto v0.2.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stdout] warning: `dleq` is ambiguous
[INFO] [stdout]    --> src/private.rs:101:26
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let (proof, _) = dleq::prove_compact(
[INFO] [stdout]     |                          ^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `dleq` could refer to the module imported here
[INFO] [stdout]    --> src/private.rs:12:5
[INFO] [stdout]     |
[INFO] [stdout] 12  | use crate::ciphertext::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `dleq` to disambiguate
[INFO] [stdout] note: `dleq` could also refer to the module imported here
[INFO] [stdout]    --> src/private.rs:13:5
[INFO] [stdout]     |
[INFO] [stdout] 13  | use crate::public::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `dleq` to disambiguate
[INFO] [stdout]     = note: `#[warn(ambiguous_glob_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `dleq` is ambiguous
[INFO] [stdout]    --> src/private.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |             dleq::ProveAssignments {
[INFO] [stdout]     |             ^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `dleq` could refer to the module imported here
[INFO] [stdout]    --> src/private.rs:12:5
[INFO] [stdout]     |
[INFO] [stdout] 12  | use crate::ciphertext::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `dleq` to disambiguate
[INFO] [stdout] note: `dleq` could also refer to the module imported here
[INFO] [stdout]    --> src/private.rs:13:5
[INFO] [stdout]     |
[INFO] [stdout] 13  | use crate::public::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `dleq` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking criterion v0.2.11
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `RISTRETTO_BASEPOINT_POINT` is imported redundantly
[INFO] [stdout]    --> src/ciphertext.rs:189:9
[INFO] [stdout]     |
[INFO] [stdout] 187 |     use super::*;
[INFO] [stdout]     |         -------- the item `RISTRETTO_BASEPOINT_POINT` is already imported here
[INFO] [stdout] 188 |     use crate::private::SecretKey;
[INFO] [stdout] 189 |     use curve25519_dalek::constants::RISTRETTO_BASEPOINT_POINT;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `dleq` is ambiguous
[INFO] [stdout]    --> src/private.rs:101:26
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let (proof, _) = dleq::prove_compact(
[INFO] [stdout]     |                          ^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `dleq` could refer to the module imported here
[INFO] [stdout]    --> src/private.rs:12:5
[INFO] [stdout]     |
[INFO] [stdout] 12  | use crate::ciphertext::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `dleq` to disambiguate
[INFO] [stdout] note: `dleq` could also refer to the module imported here
[INFO] [stdout]    --> src/private.rs:13:5
[INFO] [stdout]     |
[INFO] [stdout] 13  | use crate::public::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `dleq` to disambiguate
[INFO] [stdout]     = note: `#[warn(ambiguous_glob_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `dleq` is ambiguous
[INFO] [stdout]    --> src/private.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |             dleq::ProveAssignments {
[INFO] [stdout]     |             ^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `dleq` could refer to the module imported here
[INFO] [stdout]    --> src/private.rs:12:5
[INFO] [stdout]     |
[INFO] [stdout] 12  | use crate::ciphertext::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `dleq` to disambiguate
[INFO] [stdout] note: `dleq` could also refer to the module imported here
[INFO] [stdout]    --> src/private.rs:13:5
[INFO] [stdout]     |
[INFO] [stdout] 13  | use crate::public::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `dleq` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `CompressedRistretto` is imported redundantly
[INFO] [stdout]    --> src/public.rs:232:9
[INFO] [stdout]     |
[INFO] [stdout] 230 |     use super::*;
[INFO] [stdout]     |         -------- the item `CompressedRistretto` is already imported here
[INFO] [stdout] 231 |     use crate::private::SecretKey;
[INFO] [stdout] 232 |     use curve25519_dalek::ristretto::CompressedRistretto;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> benches/elgamal-ristretto.rs:24:24
[INFO] [stdout]    |
[INFO] [stdout] 24 |             pk.encrypt(ptxt);
[INFO] [stdout]    |                ------- ^^^^ expected `&RistrettoPoint`, found `RistrettoPoint`
[INFO] [stdout]    |                |
[INFO] [stdout]    |                arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/public.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn encrypt(self, message: &RistrettoPoint) -> Ciphertext {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 24 |             pk.encrypt(&ptxt);
[INFO] [stdout]    |                        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> benches/elgamal-ristretto.rs:37:31
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let ctxt = pk.encrypt(ptxt);
[INFO] [stdout]    |                       ------- ^^^^ expected `&RistrettoPoint`, found `RistrettoPoint`
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/public.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn encrypt(self, message: &RistrettoPoint) -> Ciphertext {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let ctxt = pk.encrypt(&ptxt);
[INFO] [stdout]    |                               +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> benches/elgamal-ristretto.rs:40:24
[INFO] [stdout]    |
[INFO] [stdout] 40 |             sk.decrypt(ctxt);
[INFO] [stdout]    |                ------- ^^^^ expected `&Ciphertext`, found `Ciphertext`
[INFO] [stdout]    |                |
[INFO] [stdout]    |                arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/private.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn decrypt(&self, ciphertext: &Ciphertext) -> RistrettoPoint {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 40 |             sk.decrypt(&ctxt);
[INFO] [stdout]    |                        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> benches/elgamal-ristretto.rs:54:21
[INFO] [stdout]    |
[INFO] [stdout] 54 |             sk.sign(msg);
[INFO] [stdout]    |                ---- ^^^ expected `&RistrettoPoint`, found `RistrettoPoint`
[INFO] [stdout]    |                |
[INFO] [stdout]    |                arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/private.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn sign(&self, message: &RistrettoPoint) -> (Scalar, RistrettoPoint) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 54 |             sk.sign(&msg);
[INFO] [stdout]    |                     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> benches/elgamal-ristretto.rs:67:33
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let signature = sk.sign(msg);
[INFO] [stdout]    |                            ---- ^^^ expected `&RistrettoPoint`, found `RistrettoPoint`
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/private.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn sign(&self, message: &RistrettoPoint) -> (Scalar, RistrettoPoint) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let signature = sk.sign(&msg);
[INFO] [stdout]    |                                 +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> benches/elgamal-ristretto.rs:83:32
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let ctxt1 = pk.encrypt(ptxt1);
[INFO] [stdout]    |                        ------- ^^^^^ expected `&RistrettoPoint`, found `RistrettoPoint`
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/public.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn encrypt(self, message: &RistrettoPoint) -> Ciphertext {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let ctxt1 = pk.encrypt(&ptxt1);
[INFO] [stdout]    |                                +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> benches/elgamal-ristretto.rs:84:32
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let ctxt2 = pk.encrypt(ptxt2);
[INFO] [stdout]    |                        ------- ^^^^^ expected `&RistrettoPoint`, found `RistrettoPoint`
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/public.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn encrypt(self, message: &RistrettoPoint) -> Ciphertext {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let ctxt2 = pk.encrypt(&ptxt2);
[INFO] [stdout]    |                                +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `elgamal_ristretto` (bench "elgamal-ristretto") due to 8 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5b86759e53b825b29fa48dd20cde70fae439c891982abdb8ece968fe37906c10", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b86759e53b825b29fa48dd20cde70fae439c891982abdb8ece968fe37906c10", kill_on_drop: false }`
[INFO] [stdout] 5b86759e53b825b29fa48dd20cde70fae439c891982abdb8ece968fe37906c10
[INFO] checking elgamal_ristretto-0.2.3 against try#bfe97fcae016881ad333f0ff8cea2cadb9cf136c for pr-121848
[INFO] extracting crate elgamal_ristretto 0.2.3 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate elgamal_ristretto 0.2.3 on toolchain bfe97fcae016881ad333f0ff8cea2cadb9cf136c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate elgamal_ristretto 0.2.3
[INFO] finished tweaking crates.io crate elgamal_ristretto 0.2.3
[INFO] tweaked toml for crates.io crate elgamal_ristretto 0.2.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4befc9606fcf60bd69c03c085d2fd52aa6f264e0230011ffbec63ff0c598be93
[INFO] running `Command { std: "docker" "start" "-a" "4befc9606fcf60bd69c03c085d2fd52aa6f264e0230011ffbec63ff0c598be93", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4befc9606fcf60bd69c03c085d2fd52aa6f264e0230011ffbec63ff0c598be93", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4befc9606fcf60bd69c03c085d2fd52aa6f264e0230011ffbec63ff0c598be93", kill_on_drop: false }`
[INFO] [stdout] 4befc9606fcf60bd69c03c085d2fd52aa6f264e0230011ffbec63ff0c598be93
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 845cb4da9c39c3f60de66c445946b9517112d09e6c167c5f64390b124721e439
[INFO] running `Command { std: "docker" "start" "-a" "845cb4da9c39c3f60de66c445946b9517112d09e6c167c5f64390b124721e439", kill_on_drop: false }`
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling semver v1.0.22
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]     Checking either v1.10.0
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling syn v2.0.52
[INFO] [stderr]    Compiling clear_on_drop v0.2.5
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]     Checking subtle v2.5.0
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking keccak v0.1.5
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking itertools v0.8.2
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking rand_xoshiro v0.1.0
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]    Compiling cast v0.2.7
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]     Checking criterion-plot v0.3.1
[INFO] [stderr]     Checking rayon v1.9.0
[INFO] [stderr]     Checking generic-array v0.12.4
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking sha2 v0.8.2
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]     Checking zeroize v1.7.0
[INFO] [stderr]     Checking merlin v2.0.1
[INFO] [stderr]     Checking serde v1.0.197
[INFO] [stderr]     Checking serde_json v1.0.114
[INFO] [stderr]     Checking curve25519-dalek v2.1.3
[INFO] [stderr]     Checking csv v1.3.0
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking zkp v0.7.0
[INFO] [stderr]     Checking elgamal_ristretto v0.2.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stdout] warning: `dleq` is ambiguous
[INFO] [stdout]    --> src/private.rs:101:26
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let (proof, _) = dleq::prove_compact(
[INFO] [stdout]     |                          ^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `dleq` could refer to the module imported here
[INFO] [stdout]    --> src/private.rs:12:5
[INFO] [stdout]     |
[INFO] [stdout] 12  | use crate::ciphertext::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `dleq` to disambiguate
[INFO] [stdout] note: `dleq` could also refer to the module imported here
[INFO] [stdout]    --> src/private.rs:13:5
[INFO] [stdout]     |
[INFO] [stdout] 13  | use crate::public::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `dleq` to disambiguate
[INFO] [stdout]     = note: `#[warn(ambiguous_glob_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `dleq` is ambiguous
[INFO] [stdout]    --> src/private.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |             dleq::ProveAssignments {
[INFO] [stdout]     |             ^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `dleq` could refer to the module imported here
[INFO] [stdout]    --> src/private.rs:12:5
[INFO] [stdout]     |
[INFO] [stdout] 12  | use crate::ciphertext::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `dleq` to disambiguate
[INFO] [stdout] note: `dleq` could also refer to the module imported here
[INFO] [stdout]    --> src/private.rs:13:5
[INFO] [stdout]     |
[INFO] [stdout] 13  | use crate::public::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `dleq` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking criterion v0.2.11
[INFO] [stdout] warning: the item `RISTRETTO_BASEPOINT_POINT` is imported redundantly
[INFO] [stdout]    --> src/ciphertext.rs:189:9
[INFO] [stdout]     |
[INFO] [stdout] 187 |     use super::*;
[INFO] [stdout]     |         -------- the item `RISTRETTO_BASEPOINT_POINT` is already imported here
[INFO] [stdout] 188 |     use crate::private::SecretKey;
[INFO] [stdout] 189 |     use curve25519_dalek::constants::RISTRETTO_BASEPOINT_POINT;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `dleq` is ambiguous
[INFO] [stdout]    --> src/private.rs:101:26
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let (proof, _) = dleq::prove_compact(
[INFO] [stdout]     |                          ^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `dleq` could refer to the module imported here
[INFO] [stdout]    --> src/private.rs:12:5
[INFO] [stdout]     |
[INFO] [stdout] 12  | use crate::ciphertext::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `dleq` to disambiguate
[INFO] [stdout] note: `dleq` could also refer to the module imported here
[INFO] [stdout]    --> src/private.rs:13:5
[INFO] [stdout]     |
[INFO] [stdout] 13  | use crate::public::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `dleq` to disambiguate
[INFO] [stdout]     = note: `#[warn(ambiguous_glob_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `dleq` is ambiguous
[INFO] [stdout]    --> src/private.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |             dleq::ProveAssignments {
[INFO] [stdout]     |             ^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #114095 <https://github.com/rust-lang/rust/issues/114095>
[INFO] [stdout]     = note: ambiguous because of multiple glob imports of a name in the same module
[INFO] [stdout] note: `dleq` could refer to the module imported here
[INFO] [stdout]    --> src/private.rs:12:5
[INFO] [stdout]     |
[INFO] [stdout] 12  | use crate::ciphertext::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `dleq` to disambiguate
[INFO] [stdout] note: `dleq` could also refer to the module imported here
[INFO] [stdout]    --> src/private.rs:13:5
[INFO] [stdout]     |
[INFO] [stdout] 13  | use crate::public::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `dleq` to disambiguate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `CompressedRistretto` is imported redundantly
[INFO] [stdout]    --> src/public.rs:232:9
[INFO] [stdout]     |
[INFO] [stdout] 230 |     use super::*;
[INFO] [stdout]     |         -------- the item `CompressedRistretto` is already imported here
[INFO] [stdout] 231 |     use crate::private::SecretKey;
[INFO] [stdout] 232 |     use curve25519_dalek::ristretto::CompressedRistretto;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> benches/elgamal-ristretto.rs:24:24
[INFO] [stdout]    |
[INFO] [stdout] 24 |             pk.encrypt(ptxt);
[INFO] [stdout]    |                ------- ^^^^ expected `&RistrettoPoint`, found `RistrettoPoint`
[INFO] [stdout]    |                |
[INFO] [stdout]    |                arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/public.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn encrypt(self, message: &RistrettoPoint) -> Ciphertext {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 24 |             pk.encrypt(&ptxt);
[INFO] [stdout]    |                        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> benches/elgamal-ristretto.rs:37:31
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let ctxt = pk.encrypt(ptxt);
[INFO] [stdout]    |                       ------- ^^^^ expected `&RistrettoPoint`, found `RistrettoPoint`
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/public.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn encrypt(self, message: &RistrettoPoint) -> Ciphertext {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let ctxt = pk.encrypt(&ptxt);
[INFO] [stdout]    |                               +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> benches/elgamal-ristretto.rs:40:24
[INFO] [stdout]    |
[INFO] [stdout] 40 |             sk.decrypt(ctxt);
[INFO] [stdout]    |                ------- ^^^^ expected `&Ciphertext`, found `Ciphertext`
[INFO] [stdout]    |                |
[INFO] [stdout]    |                arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/private.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn decrypt(&self, ciphertext: &Ciphertext) -> RistrettoPoint {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 40 |             sk.decrypt(&ctxt);
[INFO] [stdout]    |                        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> benches/elgamal-ristretto.rs:54:21
[INFO] [stdout]    |
[INFO] [stdout] 54 |             sk.sign(msg);
[INFO] [stdout]    |                ---- ^^^ expected `&RistrettoPoint`, found `RistrettoPoint`
[INFO] [stdout]    |                |
[INFO] [stdout]    |                arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/private.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn sign(&self, message: &RistrettoPoint) -> (Scalar, RistrettoPoint) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 54 |             sk.sign(&msg);
[INFO] [stdout]    |                     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> benches/elgamal-ristretto.rs:67:33
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let signature = sk.sign(msg);
[INFO] [stdout]    |                            ---- ^^^ expected `&RistrettoPoint`, found `RistrettoPoint`
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/private.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn sign(&self, message: &RistrettoPoint) -> (Scalar, RistrettoPoint) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let signature = sk.sign(&msg);
[INFO] [stdout]    |                                 +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> benches/elgamal-ristretto.rs:83:32
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let ctxt1 = pk.encrypt(ptxt1);
[INFO] [stdout]    |                        ------- ^^^^^ expected `&RistrettoPoint`, found `RistrettoPoint`
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/public.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn encrypt(self, message: &RistrettoPoint) -> Ciphertext {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let ctxt1 = pk.encrypt(&ptxt1);
[INFO] [stdout]    |                                +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> benches/elgamal-ristretto.rs:84:32
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let ctxt2 = pk.encrypt(ptxt2);
[INFO] [stdout]    |                        ------- ^^^^^ expected `&RistrettoPoint`, found `RistrettoPoint`
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/public.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn encrypt(self, message: &RistrettoPoint) -> Ciphertext {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let ctxt2 = pk.encrypt(&ptxt2);
[INFO] [stdout]    |                                +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `elgamal_ristretto` (bench "elgamal-ristretto") due to 8 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "845cb4da9c39c3f60de66c445946b9517112d09e6c167c5f64390b124721e439", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "845cb4da9c39c3f60de66c445946b9517112d09e6c167c5f64390b124721e439", kill_on_drop: false }`
[INFO] [stdout] 845cb4da9c39c3f60de66c445946b9517112d09e6c167c5f64390b124721e439
