[INFO] fetching crate dalek-test-curve-docs 4.0.0-pre.5...
[INFO] checking dalek-test-curve-docs-4.0.0-pre.5 against master#b3bd7058c139e71bae0862ef8f8ac936208873e9 for pr-123752
[INFO] extracting crate dalek-test-curve-docs 4.0.0-pre.5 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate dalek-test-curve-docs 4.0.0-pre.5 on toolchain b3bd7058c139e71bae0862ef8f8ac936208873e9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate dalek-test-curve-docs 4.0.0-pre.5
[INFO] finished tweaking crates.io crate dalek-test-curve-docs 4.0.0-pre.5
[INFO] tweaked toml for crates.io crate dalek-test-curve-docs 4.0.0-pre.5 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 87 packages
[INFO] [stderr]       Adding anes v0.1.6 (latest: v0.2.0)
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding clap v3.2.25 (latest: v4.5.4)
[INFO] [stderr]       Adding clap_lex v0.2.4 (latest: v0.7.0)
[INFO] [stderr]       Adding criterion v0.4.0 (latest: v0.5.1)
[INFO] [stderr]       Adding fiat-crypto v0.1.20 (latest: v0.2.7)
[INFO] [stderr]       Adding generic-array v0.14.7 (latest: v1.0.0)
[INFO] [stderr]       Adding hashbrown v0.12.3 (latest: v0.14.3)
[INFO] [stderr]       Adding hermit-abi v0.1.19 (latest: v0.3.9)
[INFO] [stderr]       Adding indexmap v1.9.3 (latest: v2.2.6)
[INFO] [stderr]       Adding itertools v0.10.5 (latest: v0.12.1)
[INFO] [stderr]       Adding libm v0.1.4 (latest: v0.2.8)
[INFO] [stderr]       Adding os_str_bytes v6.6.1 (latest: v7.0.0)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded packed_simd_2 v0.3.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f93fbfd99898f622888cbd8eec1a7e84c5369c7687dccdb6b892cc035870ed2e
[INFO] running `Command { std: "docker" "start" "-a" "f93fbfd99898f622888cbd8eec1a7e84c5369c7687dccdb6b892cc035870ed2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f93fbfd99898f622888cbd8eec1a7e84c5369c7687dccdb6b892cc035870ed2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f93fbfd99898f622888cbd8eec1a7e84c5369c7687dccdb6b892cc035870ed2e", kill_on_drop: false }`
[INFO] [stdout] f93fbfd99898f622888cbd8eec1a7e84c5369c7687dccdb6b892cc035870ed2e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 943371bf12a6e2f532608735fd5740ec2a980854dd85196279924904dc92afc9
[INFO] running `Command { std: "docker" "start" "-a" "943371bf12a6e2f532608735fd5740ec2a980854dd85196279924904dc92afc9", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]     Checking either v1.10.0
[INFO] [stderr]    Compiling serde_json v1.0.115
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]     Checking os_str_bytes v6.6.1
[INFO] [stderr]     Checking regex-syntax v0.8.3
[INFO] [stderr]     Checking ryu v1.0.17
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking half v2.4.1
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]     Checking plotters-backend v0.3.5
[INFO] [stderr]     Checking ciborium-io v0.2.2
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking textwrap v0.16.1
[INFO] [stderr]     Checking cast v0.3.0
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking oorandom v11.1.3
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking anes v0.1.6
[INFO] [stderr]     Checking plotters-svg v0.3.5
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]     Checking zeroize v1.7.0
[INFO] [stderr]     Checking subtle v2.5.0
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking plotters v0.3.5
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking clap v3.2.25
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking getrandom v0.2.14
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling syn v2.0.58
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking dalek-test-curve-docs v4.0.0-pre.5 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking criterion-plot v0.5.0
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stdout] warning: the item `Eq` is imported redundantly
[INFO] [stdout]    --> src/scalar.rs:140:17
[INFO] [stdout]     |
[INFO] [stdout] 140 | use core::cmp::{Eq, PartialEq};
[INFO] [stdout]     |                 ^^
[INFO] [stdout]    --> /rustc/b3bd7058c139e71bae0862ef8f8ac936208873e9/library/core/src/prelude/mod.rs:57:13
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `Eq` is already defined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `PartialEq` is imported redundantly
[INFO] [stdout]    --> src/scalar.rs:140:21
[INFO] [stdout]     |
[INFO] [stdout] 140 | use core::cmp::{Eq, PartialEq};
[INFO] [stdout]     |                     ^^^^^^^^^
[INFO] [stdout]    --> /rustc/b3bd7058c139e71bae0862ef8f8ac936208873e9/library/core/src/prelude/mod.rs:57:13
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `PartialEq` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryInto` is imported redundantly
[INFO] [stdout]    --> src/scalar.rs:141:5
[INFO] [stdout]     |
[INFO] [stdout] 141 | use core::convert::TryInto;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    --> /rustc/b3bd7058c139e71bae0862ef8f8ac936208873e9/library/core/src/prelude/mod.rs:65:39
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `TryInto` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Iterator` is imported redundantly
[INFO] [stdout]   --> src/edwards.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 98 | use core::iter::Iterator;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/b3bd7058c139e71bae0862ef8f8ac936208873e9/library/core/src/prelude/mod.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Iterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `subtle` is imported redundantly
[INFO] [stdout]   --> src/traits.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use subtle;
[INFO] [stdout]    |     ^^^^^^ the item `subtle` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Eq` is imported redundantly
[INFO] [stdout]   --> src/field.rs:26:17
[INFO] [stdout]    |
[INFO] [stdout] 26 | use core::cmp::{Eq, PartialEq};
[INFO] [stdout]    |                 ^^
[INFO] [stdout]   --> /rustc/b3bd7058c139e71bae0862ef8f8ac936208873e9/library/core/src/prelude/mod.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Eq` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `PartialEq` is imported redundantly
[INFO] [stdout]   --> src/field.rs:26:21
[INFO] [stdout]    |
[INFO] [stdout] 26 | use core::cmp::{Eq, PartialEq};
[INFO] [stdout]    |                     ^^^^^^^^^
[INFO] [stdout]   --> /rustc/b3bd7058c139e71bae0862ef8f8ac936208873e9/library/core/src/prelude/mod.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `PartialEq` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::backend::serial::u64::field::*`
[INFO] [stdout]   --> src/field.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 65 |         pub use crate::backend::serial::u64::field::*;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stdout] warning: trait `ValidityCheck` is never used
[INFO] [stdout]    --> src/traits.rs:400:18
[INFO] [stdout]     |
[INFO] [stdout] 400 | pub(crate) trait ValidityCheck {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/ristretto.rs:950:77
[INFO] [stdout]     |
[INFO] [stdout] 950 |         let extended_points = points.into_iter().map(|opt_P| opt_P.map(|P| P.borrow().0));
[INFO] [stdout]     |                                                                             ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `RistrettoPoint` does not implement `Borrow`, so calling `borrow` on `&RistrettoPoint` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 950 -         let extended_points = points.into_iter().map(|opt_P| opt_P.map(|P| P.borrow().0));
[INFO] [stdout] 950 +         let extended_points = points.into_iter().map(|opt_P| opt_P.map(|P| P.0));
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `RistrettoPoint`, implement `Clone` for it
[INFO] [stdout]     |
[INFO] [stdout] 457 + #[derive(Clone)]
[INFO] [stdout] 458 | pub struct RistrettoPoint(pub(crate) EdwardsPoint);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking criterion v0.4.0
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout]   --> benches/dalek_benchmarks.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use curve25519_dalek::scalar::Scalar;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout]   --> benches/dalek_benchmarks.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     use curve25519_dalek::edwards::EdwardsPoint;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout]   --> benches/dalek_benchmarks.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |     use curve25519_dalek::edwards::EdwardsPoint;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout]   --> benches/dalek_benchmarks.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |     use curve25519_dalek::edwards::VartimeEdwardsPrecomputation;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout]   --> benches/dalek_benchmarks.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |     use curve25519_dalek::traits::MultiscalarMul;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout]   --> benches/dalek_benchmarks.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |     use curve25519_dalek::traits::VartimeMultiscalarMul;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout]   --> benches/dalek_benchmarks.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |     use curve25519_dalek::traits::VartimePrecomputedMultiscalarMul;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout]    --> benches/dalek_benchmarks.rs:246:9
[INFO] [stdout]     |
[INFO] [stdout] 246 |     use curve25519_dalek::ristretto::RistrettoPoint;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `curve25519_dalek`
[INFO] [stdout]   --> benches/dalek_benchmarks.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use curve25519_dalek::constants;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dalek-test-curve-docs` (bench "dalek_benchmarks") due to 10 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: the item `Eq` is imported redundantly
[INFO] [stdout]    --> src/scalar.rs:140:17
[INFO] [stdout]     |
[INFO] [stdout] 140 | use core::cmp::{Eq, PartialEq};
[INFO] [stdout]     |                 ^^
[INFO] [stdout]    --> /rustc/b3bd7058c139e71bae0862ef8f8ac936208873e9/library/core/src/prelude/mod.rs:57:13
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `Eq` is already defined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `PartialEq` is imported redundantly
[INFO] [stdout]    --> src/scalar.rs:140:21
[INFO] [stdout]     |
[INFO] [stdout] 140 | use core::cmp::{Eq, PartialEq};
[INFO] [stdout]     |                     ^^^^^^^^^
[INFO] [stdout]    --> /rustc/b3bd7058c139e71bae0862ef8f8ac936208873e9/library/core/src/prelude/mod.rs:57:13
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `PartialEq` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryInto` is imported redundantly
[INFO] [stdout]    --> src/scalar.rs:141:5
[INFO] [stdout]     |
[INFO] [stdout] 141 | use core::convert::TryInto;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    --> /rustc/b3bd7058c139e71bae0862ef8f8ac936208873e9/library/core/src/prelude/mod.rs:65:39
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `TryInto` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `constants` is imported redundantly
[INFO] [stdout]     --> src/scalar.rs:1232:9
[INFO] [stdout]      |
[INFO] [stdout] 1231 |     use super::*;
[INFO] [stdout]      |         -------- the item `constants` is already imported here
[INFO] [stdout] 1232 |     use crate::constants;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Iterator` is imported redundantly
[INFO] [stdout]   --> src/edwards.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 98 | use core::iter::Iterator;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/b3bd7058c139e71bae0862ef8f8ac936208873e9/library/core/src/prelude/mod.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Iterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `constants` is imported redundantly
[INFO] [stdout]     --> src/edwards.rs:1117:9
[INFO] [stdout]      |
[INFO] [stdout] 1116 |     use super::*;
[INFO] [stdout]      |         -------- the item `constants` is already imported here
[INFO] [stdout] 1117 |     use crate::constants;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `FieldElement` is imported redundantly
[INFO] [stdout]     --> src/edwards.rs:1118:9
[INFO] [stdout]      |
[INFO] [stdout] 1116 |     use super::*;
[INFO] [stdout]      |         -------- the item `FieldElement` is already imported here
[INFO] [stdout] 1117 |     use crate::constants;
[INFO] [stdout] 1118 |     use crate::field::FieldElement;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Scalar` is imported redundantly
[INFO] [stdout]     --> src/edwards.rs:1119:9
[INFO] [stdout]      |
[INFO] [stdout] 1116 |     use super::*;
[INFO] [stdout]      |         -------- the item `Scalar` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 1119 |     use crate::scalar::Scalar;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ConditionallySelectable` is imported redundantly
[INFO] [stdout]     --> src/edwards.rs:1120:9
[INFO] [stdout]      |
[INFO] [stdout] 1116 |     use super::*;
[INFO] [stdout]      |         -------- the item `ConditionallySelectable` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 1120 |     use subtle::ConditionallySelectable;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `constants` is imported redundantly
[INFO] [stdout]     --> src/ristretto.rs:1143:9
[INFO] [stdout]      |
[INFO] [stdout] 1142 |     use super::*;
[INFO] [stdout]      |         -------- the item `constants` is already imported here
[INFO] [stdout] 1143 |     use crate::constants;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Scalar` is imported redundantly
[INFO] [stdout]     --> src/ristretto.rs:1145:9
[INFO] [stdout]      |
[INFO] [stdout] 1142 |     use super::*;
[INFO] [stdout]      |         -------- the item `Scalar` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 1145 |     use crate::scalar::Scalar;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Identity` is imported redundantly
[INFO] [stdout]     --> src/ristretto.rs:1146:9
[INFO] [stdout]      |
[INFO] [stdout] 1142 |     use super::*;
[INFO] [stdout]      |         -------- the item `Identity` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 1146 |     use crate::traits::Identity;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `subtle` is imported redundantly
[INFO] [stdout]   --> src/traits.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use subtle;
[INFO] [stdout]    |     ^^^^^^ the item `subtle` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Eq` is imported redundantly
[INFO] [stdout]   --> src/field.rs:26:17
[INFO] [stdout]    |
[INFO] [stdout] 26 | use core::cmp::{Eq, PartialEq};
[INFO] [stdout]    |                 ^^
[INFO] [stdout]   --> /rustc/b3bd7058c139e71bae0862ef8f8ac936208873e9/library/core/src/prelude/mod.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Eq` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `PartialEq` is imported redundantly
[INFO] [stdout]   --> src/field.rs:26:21
[INFO] [stdout]    |
[INFO] [stdout] 26 | use core::cmp::{Eq, PartialEq};
[INFO] [stdout]    |                     ^^^^^^^^^
[INFO] [stdout]   --> /rustc/b3bd7058c139e71bae0862ef8f8ac936208873e9/library/core/src/prelude/mod.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `PartialEq` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::backend::serial::u64::field::*`
[INFO] [stdout]   --> src/field.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 65 |         pub use crate::backend::serial::u64::field::*;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ConditionallyNegatable` is imported redundantly
[INFO] [stdout]    --> src/field.rs:318:9
[INFO] [stdout]     |
[INFO] [stdout] 317 |     use crate::field::*;
[INFO] [stdout]     |         --------------- the item `ConditionallyNegatable` is already imported here
[INFO] [stdout] 318 |     use subtle::ConditionallyNegatable;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Scalar` is imported redundantly
[INFO] [stdout]    --> src/backend/serial/scalar_mul/pippenger.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |     use super::*;
[INFO] [stdout]     |         -------- the item `Scalar` is already imported here
[INFO] [stdout] 164 |     use crate::constants;
[INFO] [stdout] 165 |     use crate::scalar::Scalar;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/ristretto.rs:950:77
[INFO] [stdout]     |
[INFO] [stdout] 950 |         let extended_points = points.into_iter().map(|opt_P| opt_P.map(|P| P.borrow().0));
[INFO] [stdout]     |                                                                             ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `ristretto::RistrettoPoint` does not implement `Borrow`, so calling `borrow` on `&ristretto::RistrettoPoint` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 950 -         let extended_points = points.into_iter().map(|opt_P| opt_P.map(|P| P.borrow().0));
[INFO] [stdout] 950 +         let extended_points = points.into_iter().map(|opt_P| opt_P.map(|P| P.0));
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `ristretto::RistrettoPoint`, implement `Clone` for it
[INFO] [stdout]     |
[INFO] [stdout] 457 + #[derive(Clone)]
[INFO] [stdout] 458 | pub struct RistrettoPoint(pub(crate) EdwardsPoint);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 19 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "943371bf12a6e2f532608735fd5740ec2a980854dd85196279924904dc92afc9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "943371bf12a6e2f532608735fd5740ec2a980854dd85196279924904dc92afc9", kill_on_drop: false }`
[INFO] [stdout] 943371bf12a6e2f532608735fd5740ec2a980854dd85196279924904dc92afc9
[INFO] checking dalek-test-curve-docs-4.0.0-pre.5 against try#57fe1b734d9ff1c8a92bda60b85506b9648158d3 for pr-123752
[INFO] extracting crate dalek-test-curve-docs 4.0.0-pre.5 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate dalek-test-curve-docs 4.0.0-pre.5 on toolchain 57fe1b734d9ff1c8a92bda60b85506b9648158d3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57fe1b734d9ff1c8a92bda60b85506b9648158d3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate dalek-test-curve-docs 4.0.0-pre.5
[INFO] finished tweaking crates.io crate dalek-test-curve-docs 4.0.0-pre.5
[INFO] tweaked toml for crates.io crate dalek-test-curve-docs 4.0.0-pre.5 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57fe1b734d9ff1c8a92bda60b85506b9648158d3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 87 packages
[INFO] [stderr]       Adding anes v0.1.6 (latest: v0.2.0)
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding clap v3.2.25 (latest: v4.5.4)
[INFO] [stderr]       Adding clap_lex v0.2.4 (latest: v0.7.0)
[INFO] [stderr]       Adding criterion v0.4.0 (latest: v0.5.1)
[INFO] [stderr]       Adding fiat-crypto v0.1.20 (latest: v0.2.7)
[INFO] [stderr]       Adding generic-array v0.14.7 (latest: v1.0.0)
[INFO] [stderr]       Adding hashbrown v0.12.3 (latest: v0.14.3)
[INFO] [stderr]       Adding hermit-abi v0.1.19 (latest: v0.3.9)
[INFO] [stderr]       Adding indexmap v1.9.3 (latest: v2.2.6)
[INFO] [stderr]       Adding itertools v0.10.5 (latest: v0.12.1)
[INFO] [stderr]       Adding libm v0.1.4 (latest: v0.2.8)
[INFO] [stderr]       Adding os_str_bytes v6.6.1 (latest: v7.0.0)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57fe1b734d9ff1c8a92bda60b85506b9648158d3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+57fe1b734d9ff1c8a92bda60b85506b9648158d3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a5a5c17ffb1a7e7ede88d751b7a5e481b5323421ae3e1bfaad6ceeeda22d26c3
[INFO] running `Command { std: "docker" "start" "-a" "a5a5c17ffb1a7e7ede88d751b7a5e481b5323421ae3e1bfaad6ceeeda22d26c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a5a5c17ffb1a7e7ede88d751b7a5e481b5323421ae3e1bfaad6ceeeda22d26c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a5a5c17ffb1a7e7ede88d751b7a5e481b5323421ae3e1bfaad6ceeeda22d26c3", kill_on_drop: false }`
[INFO] [stdout] a5a5c17ffb1a7e7ede88d751b7a5e481b5323421ae3e1bfaad6ceeeda22d26c3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+57fe1b734d9ff1c8a92bda60b85506b9648158d3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3370560ee424b557ac34ef785167c2aa78e6cae8b2f536ccc138c28794e7293a
[INFO] running `Command { std: "docker" "start" "-a" "3370560ee424b557ac34ef785167c2aa78e6cae8b2f536ccc138c28794e7293a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]     Checking either v1.10.0
[INFO] [stderr]    Compiling serde_json v1.0.115
[INFO] [stderr]     Checking half v2.4.1
[INFO] [stderr]     Checking regex-syntax v0.8.3
[INFO] [stderr]     Checking plotters-backend v0.3.5
[INFO] [stderr]     Checking ryu v1.0.17
[INFO] [stderr]     Checking ciborium-io v0.2.2
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]     Checking os_str_bytes v6.6.1
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking textwrap v0.16.1
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking cast v0.3.0
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking plotters-svg v0.3.5
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]     Checking oorandom v11.1.3
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]     Checking anes v0.1.6
[INFO] [stderr]     Checking zeroize v1.7.0
[INFO] [stderr]     Checking subtle v2.5.0
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking plotters v0.3.5
[INFO] [stderr]     Checking clap v3.2.25
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling syn v2.0.58
[INFO] [stderr]     Checking getrandom v0.2.14
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking dalek-test-curve-docs v4.0.0-pre.5 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking criterion-plot v0.5.0
[INFO] [stdout] warning: the item `Eq` is imported redundantly
[INFO] [stdout]    --> src/scalar.rs:140:17
[INFO] [stdout]     |
[INFO] [stdout] 140 | use core::cmp::{Eq, PartialEq};
[INFO] [stdout]     |                 ^^
[INFO] [stdout]    --> /rustc/57fe1b734d9ff1c8a92bda60b85506b9648158d3/library/core/src/prelude/mod.rs:57:13
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `Eq` is already defined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `PartialEq` is imported redundantly
[INFO] [stdout]    --> src/scalar.rs:140:21
[INFO] [stdout]     |
[INFO] [stdout] 140 | use core::cmp::{Eq, PartialEq};
[INFO] [stdout]     |                     ^^^^^^^^^
[INFO] [stdout]    --> /rustc/57fe1b734d9ff1c8a92bda60b85506b9648158d3/library/core/src/prelude/mod.rs:57:13
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `PartialEq` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryInto` is imported redundantly
[INFO] [stdout]    --> src/scalar.rs:141:5
[INFO] [stdout]     |
[INFO] [stdout] 141 | use core::convert::TryInto;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    --> /rustc/57fe1b734d9ff1c8a92bda60b85506b9648158d3/library/core/src/prelude/mod.rs:65:39
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `TryInto` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Iterator` is imported redundantly
[INFO] [stdout]   --> src/edwards.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 98 | use core::iter::Iterator;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/57fe1b734d9ff1c8a92bda60b85506b9648158d3/library/core/src/prelude/mod.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Iterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `subtle` is imported redundantly
[INFO] [stdout]   --> src/traits.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use subtle;
[INFO] [stdout]    |     ^^^^^^ the item `subtle` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Eq` is imported redundantly
[INFO] [stdout]   --> src/field.rs:26:17
[INFO] [stdout]    |
[INFO] [stdout] 26 | use core::cmp::{Eq, PartialEq};
[INFO] [stdout]    |                 ^^
[INFO] [stdout]   --> /rustc/57fe1b734d9ff1c8a92bda60b85506b9648158d3/library/core/src/prelude/mod.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Eq` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `PartialEq` is imported redundantly
[INFO] [stdout]   --> src/field.rs:26:21
[INFO] [stdout]    |
[INFO] [stdout] 26 | use core::cmp::{Eq, PartialEq};
[INFO] [stdout]    |                     ^^^^^^^^^
[INFO] [stdout]   --> /rustc/57fe1b734d9ff1c8a92bda60b85506b9648158d3/library/core/src/prelude/mod.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `PartialEq` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::backend::serial::u64::field::*`
[INFO] [stdout]   --> src/field.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 65 |         pub use crate::backend::serial::u64::field::*;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stdout] warning: trait `ValidityCheck` is never used
[INFO] [stdout]    --> src/traits.rs:400:18
[INFO] [stdout]     |
[INFO] [stdout] 400 | pub(crate) trait ValidityCheck {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/ristretto.rs:950:77
[INFO] [stdout]     |
[INFO] [stdout] 950 |         let extended_points = points.into_iter().map(|opt_P| opt_P.map(|P| P.borrow().0));
[INFO] [stdout]     |                                                                             ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `RistrettoPoint` does not implement `Borrow`, so calling `borrow` on `&RistrettoPoint` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 950 -         let extended_points = points.into_iter().map(|opt_P| opt_P.map(|P| P.borrow().0));
[INFO] [stdout] 950 +         let extended_points = points.into_iter().map(|opt_P| opt_P.map(|P| P.0));
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `RistrettoPoint`, implement `Clone` for it
[INFO] [stdout]     |
[INFO] [stdout] 457 + #[derive(Clone)]
[INFO] [stdout] 458 | pub struct RistrettoPoint(pub(crate) EdwardsPoint);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking criterion v0.4.0
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout]   --> benches/dalek_benchmarks.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use curve25519_dalek::scalar::Scalar;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout]   --> benches/dalek_benchmarks.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     use curve25519_dalek::edwards::EdwardsPoint;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout]   --> benches/dalek_benchmarks.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |     use curve25519_dalek::edwards::EdwardsPoint;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout]   --> benches/dalek_benchmarks.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |     use curve25519_dalek::edwards::VartimeEdwardsPrecomputation;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout]   --> benches/dalek_benchmarks.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |     use curve25519_dalek::traits::MultiscalarMul;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout]   --> benches/dalek_benchmarks.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |     use curve25519_dalek::traits::VartimeMultiscalarMul;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout]   --> benches/dalek_benchmarks.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |     use curve25519_dalek::traits::VartimePrecomputedMultiscalarMul;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout]    --> benches/dalek_benchmarks.rs:246:9
[INFO] [stdout]     |
[INFO] [stdout] 246 |     use curve25519_dalek::ristretto::RistrettoPoint;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `curve25519_dalek`
[INFO] [stdout]   --> benches/dalek_benchmarks.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use curve25519_dalek::constants;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ use of undeclared crate or module `curve25519_dalek`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dalek-test-curve-docs` (bench "dalek_benchmarks") due to 10 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: the item `Eq` is imported redundantly
[INFO] [stdout]    --> src/scalar.rs:140:17
[INFO] [stdout]     |
[INFO] [stdout] 140 | use core::cmp::{Eq, PartialEq};
[INFO] [stdout]     |                 ^^
[INFO] [stdout]    --> /rustc/57fe1b734d9ff1c8a92bda60b85506b9648158d3/library/core/src/prelude/mod.rs:57:13
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `Eq` is already defined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `PartialEq` is imported redundantly
[INFO] [stdout]    --> src/scalar.rs:140:21
[INFO] [stdout]     |
[INFO] [stdout] 140 | use core::cmp::{Eq, PartialEq};
[INFO] [stdout]     |                     ^^^^^^^^^
[INFO] [stdout]    --> /rustc/57fe1b734d9ff1c8a92bda60b85506b9648158d3/library/core/src/prelude/mod.rs:57:13
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `PartialEq` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryInto` is imported redundantly
[INFO] [stdout]    --> src/scalar.rs:141:5
[INFO] [stdout]     |
[INFO] [stdout] 141 | use core::convert::TryInto;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    --> /rustc/57fe1b734d9ff1c8a92bda60b85506b9648158d3/library/core/src/prelude/mod.rs:65:39
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `TryInto` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `constants` is imported redundantly
[INFO] [stdout]     --> src/scalar.rs:1232:9
[INFO] [stdout]      |
[INFO] [stdout] 1231 |     use super::*;
[INFO] [stdout]      |         -------- the item `constants` is already imported here
[INFO] [stdout] 1232 |     use crate::constants;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Iterator` is imported redundantly
[INFO] [stdout]   --> src/edwards.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 98 | use core::iter::Iterator;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/57fe1b734d9ff1c8a92bda60b85506b9648158d3/library/core/src/prelude/mod.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Iterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `constants` is imported redundantly
[INFO] [stdout]     --> src/edwards.rs:1117:9
[INFO] [stdout]      |
[INFO] [stdout] 1116 |     use super::*;
[INFO] [stdout]      |         -------- the item `constants` is already imported here
[INFO] [stdout] 1117 |     use crate::constants;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `FieldElement` is imported redundantly
[INFO] [stdout]     --> src/edwards.rs:1118:9
[INFO] [stdout]      |
[INFO] [stdout] 1116 |     use super::*;
[INFO] [stdout]      |         -------- the item `FieldElement` is already imported here
[INFO] [stdout] 1117 |     use crate::constants;
[INFO] [stdout] 1118 |     use crate::field::FieldElement;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Scalar` is imported redundantly
[INFO] [stdout]     --> src/edwards.rs:1119:9
[INFO] [stdout]      |
[INFO] [stdout] 1116 |     use super::*;
[INFO] [stdout]      |         -------- the item `Scalar` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 1119 |     use crate::scalar::Scalar;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ConditionallySelectable` is imported redundantly
[INFO] [stdout]     --> src/edwards.rs:1120:9
[INFO] [stdout]      |
[INFO] [stdout] 1116 |     use super::*;
[INFO] [stdout]      |         -------- the item `ConditionallySelectable` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 1120 |     use subtle::ConditionallySelectable;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `constants` is imported redundantly
[INFO] [stdout]     --> src/ristretto.rs:1143:9
[INFO] [stdout]      |
[INFO] [stdout] 1142 |     use super::*;
[INFO] [stdout]      |         -------- the item `constants` is already imported here
[INFO] [stdout] 1143 |     use crate::constants;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Scalar` is imported redundantly
[INFO] [stdout]     --> src/ristretto.rs:1145:9
[INFO] [stdout]      |
[INFO] [stdout] 1142 |     use super::*;
[INFO] [stdout]      |         -------- the item `Scalar` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 1145 |     use crate::scalar::Scalar;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Identity` is imported redundantly
[INFO] [stdout]     --> src/ristretto.rs:1146:9
[INFO] [stdout]      |
[INFO] [stdout] 1142 |     use super::*;
[INFO] [stdout]      |         -------- the item `Identity` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 1146 |     use crate::traits::Identity;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `subtle` is imported redundantly
[INFO] [stdout]   --> src/traits.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use subtle;
[INFO] [stdout]    |     ^^^^^^ the item `subtle` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Eq` is imported redundantly
[INFO] [stdout]   --> src/field.rs:26:17
[INFO] [stdout]    |
[INFO] [stdout] 26 | use core::cmp::{Eq, PartialEq};
[INFO] [stdout]    |                 ^^
[INFO] [stdout]   --> /rustc/57fe1b734d9ff1c8a92bda60b85506b9648158d3/library/core/src/prelude/mod.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Eq` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `PartialEq` is imported redundantly
[INFO] [stdout]   --> src/field.rs:26:21
[INFO] [stdout]    |
[INFO] [stdout] 26 | use core::cmp::{Eq, PartialEq};
[INFO] [stdout]    |                     ^^^^^^^^^
[INFO] [stdout]   --> /rustc/57fe1b734d9ff1c8a92bda60b85506b9648158d3/library/core/src/prelude/mod.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `PartialEq` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::backend::serial::u64::field::*`
[INFO] [stdout]   --> src/field.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 65 |         pub use crate::backend::serial::u64::field::*;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ConditionallyNegatable` is imported redundantly
[INFO] [stdout]    --> src/field.rs:318:9
[INFO] [stdout]     |
[INFO] [stdout] 317 |     use crate::field::*;
[INFO] [stdout]     |         --------------- the item `ConditionallyNegatable` is already imported here
[INFO] [stdout] 318 |     use subtle::ConditionallyNegatable;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Scalar` is imported redundantly
[INFO] [stdout]    --> src/backend/serial/scalar_mul/pippenger.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |     use super::*;
[INFO] [stdout]     |         -------- the item `Scalar` is already imported here
[INFO] [stdout] 164 |     use crate::constants;
[INFO] [stdout] 165 |     use crate::scalar::Scalar;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/ristretto.rs:950:77
[INFO] [stdout]     |
[INFO] [stdout] 950 |         let extended_points = points.into_iter().map(|opt_P| opt_P.map(|P| P.borrow().0));
[INFO] [stdout]     |                                                                             ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `ristretto::RistrettoPoint` does not implement `Borrow`, so calling `borrow` on `&ristretto::RistrettoPoint` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 950 -         let extended_points = points.into_iter().map(|opt_P| opt_P.map(|P| P.borrow().0));
[INFO] [stdout] 950 +         let extended_points = points.into_iter().map(|opt_P| opt_P.map(|P| P.0));
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `ristretto::RistrettoPoint`, implement `Clone` for it
[INFO] [stdout]     |
[INFO] [stdout] 457 + #[derive(Clone)]
[INFO] [stdout] 458 | pub struct RistrettoPoint(pub(crate) EdwardsPoint);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 19 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "3370560ee424b557ac34ef785167c2aa78e6cae8b2f536ccc138c28794e7293a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3370560ee424b557ac34ef785167c2aa78e6cae8b2f536ccc138c28794e7293a", kill_on_drop: false }`
[INFO] [stdout] 3370560ee424b557ac34ef785167c2aa78e6cae8b2f536ccc138c28794e7293a
