[INFO] fetching crate dalek-test-curve-docs 4.0.0-pre.5... [INFO] testing dalek-test-curve-docs-4.0.0-pre.5 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate dalek-test-curve-docs 4.0.0-pre.5 into /workspace/builds/worker-5-tc2/source [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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dalek-test-curve-docs 4.0.0-pre.5 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 100 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding criterion v0.4.0 (available: v0.7.0) [INFO] [stderr] Adding fiat-crypto v0.1.20 (available: v0.3.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rand_core v0.6.4 (available: v0.9.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72c6ae263e1362ca167c2557c945d7ccb00c31a280320f96535b435debdb3f15 [INFO] running `Command { std: "docker" "start" "-a" "72c6ae263e1362ca167c2557c945d7ccb00c31a280320f96535b435debdb3f15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72c6ae263e1362ca167c2557c945d7ccb00c31a280320f96535b435debdb3f15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72c6ae263e1362ca167c2557c945d7ccb00c31a280320f96535b435debdb3f15", kill_on_drop: false }` [INFO] [stdout] 72c6ae263e1362ca167c2557c945d7ccb00c31a280320f96535b435debdb3f15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d14e898a0f49f53510c2901d3ac37456da7f5865ce1acf7ca210dc378ab93c2b [INFO] running `Command { std: "docker" "start" "-a" "d14e898a0f49f53510c2901d3ac37456da7f5865ce1acf7ca210dc378ab93c2b", kill_on_drop: false }` [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling dalek-test-curve-docs v4.0.0-pre.5 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.54s [INFO] running `Command { std: "docker" "inspect" "d14e898a0f49f53510c2901d3ac37456da7f5865ce1acf7ca210dc378ab93c2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d14e898a0f49f53510c2901d3ac37456da7f5865ce1acf7ca210dc378ab93c2b", kill_on_drop: false }` [INFO] [stdout] d14e898a0f49f53510c2901d3ac37456da7f5865ce1acf7ca210dc378ab93c2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 476ff14b389b96e905d55ff27d40d2273940921fce6e05bb2376fc36e96478aa [INFO] running `Command { std: "docker" "start" "-a" "476ff14b389b96e905d55ff27d40d2273940921fce6e05bb2376fc36e96478aa", kill_on_drop: false }` [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling dalek-test-curve-docs v4.0.0-pre.5 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling clap v3.2.25 [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)]` (part of `#[warn(unused)]`) 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] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.4.0 [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] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) 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 `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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 19.90s [INFO] running `Command { std: "docker" "inspect" "476ff14b389b96e905d55ff27d40d2273940921fce6e05bb2376fc36e96478aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "476ff14b389b96e905d55ff27d40d2273940921fce6e05bb2376fc36e96478aa", kill_on_drop: false }` [INFO] [stdout] 476ff14b389b96e905d55ff27d40d2273940921fce6e05bb2376fc36e96478aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0f72ffd69d2449521249c31072c8bfbee32224bda562ae1f7fecc0d4d65ec734 [INFO] running `Command { std: "docker" "start" "-a" "0f72ffd69d2449521249c31072c8bfbee32224bda562ae1f7fecc0d4d65ec734", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::backend::serial::u64::field::*` [INFO] [stderr] --> src/field.rs:65:17 [INFO] [stderr] | [INFO] [stderr] 65 | pub use crate::backend::serial::u64::field::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: trait `ValidityCheck` is never used [INFO] [stderr] --> src/traits.rs:400:18 [INFO] [stderr] | [INFO] [stderr] 400 | pub(crate) trait ValidityCheck { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/ristretto.rs:950:77 [INFO] [stderr] | [INFO] [stderr] 950 | let extended_points = points.into_iter().map(|opt_P| opt_P.map(|P| P.borrow().0)); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 950 - let extended_points = points.into_iter().map(|opt_P| opt_P.map(|P| P.borrow().0)); [INFO] [stderr] 950 + let extended_points = points.into_iter().map(|opt_P| opt_P.map(|P| P.0)); [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `RistrettoPoint`, implement `Clone` for it [INFO] [stderr] | [INFO] [stderr] 457 + #[derive(Clone)] [INFO] [stderr] 458 | pub struct RistrettoPoint(pub(crate) EdwardsPoint); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `dalek-test-curve-docs` (lib) generated 3 warnings (run `cargo fix --lib -p dalek-test-curve-docs` to apply 2 suggestions) [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/ristretto.rs:950:77 [INFO] [stderr] | [INFO] [stderr] 950 | let extended_points = points.into_iter().map(|opt_P| opt_P.map(|P| P.borrow().0)); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 950 - let extended_points = points.into_iter().map(|opt_P| opt_P.map(|P| P.borrow().0)); [INFO] [stderr] 950 + let extended_points = points.into_iter().map(|opt_P| opt_P.map(|P| P.0)); [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `ristretto::RistrettoPoint`, implement `Clone` for it [INFO] [stderr] | [INFO] [stderr] 457 + #[derive(Clone)] [INFO] [stderr] 458 | pub struct RistrettoPoint(pub(crate) EdwardsPoint); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `dalek-test-curve-docs` (lib test) generated 2 warnings (1 duplicate) (run `cargo fix --lib -p dalek-test-curve-docs --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dalek_test_curve_docs-cee89a6d8a32e48e) [INFO] [stdout] [INFO] [stdout] running 114 tests [INFO] [stdout] test backend::serial::u64::scalar::test::from_bytes_wide ... ok [INFO] [stdout] test backend::serial::u64::scalar::test::montgomery_square_max ... ok [INFO] [stdout] test backend::serial::u64::scalar::test::mul ... ok [INFO] [stdout] test backend::serial::u64::scalar::test::add ... ok [INFO] [stdout] test constants::test::test_eight_torsion ... ok [INFO] [stdout] test backend::serial::u64::scalar::test::sub ... ok [INFO] [stdout] test constants::test::test_sqrt_constants_sign ... ok [INFO] [stdout] test backend::serial::u64::scalar::test::montgomery_mul ... ok [INFO] [stdout] test backend::serial::u64::scalar::test::square_max ... ok [INFO] [stdout] test constants::test::test_d_vs_ratio ... ok [INFO] [stdout] test edwards::test::basepoint_double_vs_basepoint2 ... ok [INFO] [stdout] test edwards::test::basepoint16_vs_mul_by_pow_2_4 ... ok [INFO] [stdout] test edwards::test::basepoint_mult_by_basepoint_order ... ok [INFO] [stdout] test edwards::test::basepoint_decompression_compression ... ok [INFO] [stdout] test constants::test::test_two_torsion ... ok [INFO] [stdout] test edwards::test::basepoint_plus_basepoint_affine_niels_vs_basepoint2 ... ok [INFO] [stdout] test constants::test::test_sqrt_minus_one ... ok [INFO] [stdout] test backend::serial::u64::scalar::test::montgomery_mul_max ... ok [INFO] [stdout] test edwards::test::basepoint_projective_extended_round_trip ... ok [INFO] [stdout] test edwards::test::basepoint_mult_one_vs_basepoint ... ok [INFO] [stdout] test edwards::test::basepoint_table_basepoint_function_correct ... ok [INFO] [stdout] test edwards::test::basepoint_mult_two_vs_basepoint2 ... ok [INFO] [stdout] test edwards::test::basepoint_mult_vs_ed25519py ... ok [INFO] [stdout] test backend::serial::u64::scalar::test::mul_max ... ok [INFO] [stdout] test constants::test::test_sqrt_ad_minus_one ... ok [INFO] [stdout] test edwards::test::decompression_sign_handling ... ok [INFO] [stdout] test edwards::test::compressed_identity ... ok [INFO] [stdout] test edwards::test::is_small_order ... ok [INFO] [stdout] test edwards::test::conditional_assign_for_affine_niels_point ... ok [INFO] [stdout] test edwards::test::extended_point_equality_handles_scaling ... ok [INFO] [stdout] test edwards::test::elligator_signal_test_vectors ... ok [INFO] [stdout] test edwards::test::scalarmult_extended_point_works_both_ways ... ok [INFO] [stdout] test edwards::test::impl_sum ... ok [INFO] [stdout] test edwards::test::to_affine_niels_clears_denominators ... ok [INFO] [stdout] test edwards::test::vartime::double_scalar_mul_basepoint_vs_ed25519py ... ok [INFO] [stdout] test edwards::test::scalar_mul_vs_ed25519py ... ok [INFO] [stdout] test edwards::test::is_identity ... ok [INFO] [stdout] test edwards::test::test_precomputed_basepoint_mult ... ok [INFO] [stdout] test edwards::test::vartime::multiscalar_mul_vartime_vs_consttime ... ok [INFO] [stdout] test edwards::test::vartime::multiscalar_mul_vs_ed25519py ... ok [INFO] [stdout] test field::test::a_square2_vs_a_squared_constant ... ok [INFO] [stdout] test field::test::a_square_vs_a_squared_constant ... ok [INFO] [stdout] test field::test::batch_invert_a_matches_nonbatched ... ok [INFO] [stdout] test field::test::batch_invert_empty ... ok [INFO] [stdout] test field::test::conditional_negate ... ok [INFO] [stdout] test field::test::encoding_is_canonical ... ok [INFO] [stdout] test field::test::equality ... ok [INFO] [stdout] test field::test::from_bytes_highbit_is_ignored ... ok [INFO] [stdout] test field::test::sqrt_ratio_behavior ... ok [INFO] [stdout] test montgomery::test::basepoint_edwards_to_montgomery ... ok [INFO] [stdout] test field::test::a_invert_vs_inverse_of_a_constant ... ok [INFO] [stdout] test montgomery::test::basepoint_montgomery_to_edwards ... ok [INFO] [stdout] test montgomery::test::eq_defined_mod_p ... ok [INFO] [stdout] test montgomery::test::identity_in_different_coordinates ... ok [INFO] [stdout] test montgomery::test::identity_in_different_models ... ok [INFO] [stdout] test montgomery::test::montgomery_elligator_correct ... ok [INFO] [stdout] test montgomery::test::montgomery_elligator_zero_zero ... ok [INFO] [stdout] test montgomery::test::montgomery_to_edwards_rejects_twist ... ok [INFO] [stdout] test montgomery::test::montgomery_ladder_matches_edwards_scalarmult ... ok [INFO] [stdout] test ristretto::test::compress_id ... ok [INFO] [stdout] test field::test::a_mul_a_vs_a_squared_constant ... ok [INFO] [stdout] test field::test::a_p58_vs_ap58_constant ... ok [INFO] [stdout] test ristretto::test::decompress_negative_s_fails ... ok [INFO] [stdout] test constants::test::test_four_torsion ... ok [INFO] [stdout] test ristretto::test::decompress_id ... ok [INFO] [stdout] test ristretto::test::encodings_of_small_multiples_of_basepoint ... ok [INFO] [stdout] test ristretto::test::four_torsion_basepoint ... ok [INFO] [stdout] test ristretto::test::four_torsion_random ... ok [INFO] [stdout] test ristretto::test::basepoint_roundtrip ... ok [INFO] [stdout] test ristretto::test::impl_sum ... ok [INFO] [stdout] test ristretto::test::one_way_map ... ok [INFO] [stdout] test ristretto::test::scalarmult_ristrettopoint_works_both_ways ... ok [INFO] [stdout] test scalar::test::add_reduces ... ok [INFO] [stdout] test scalar::test::batch_invert_consistency ... ok [INFO] [stdout] test scalar::test::batch_invert_empty ... ok [INFO] [stdout] test ristretto::test::elligator_vs_ristretto_sage ... ok [INFO] [stdout] test scalar::test::canonical_decoding ... ok [INFO] [stdout] test scalar::test::from_bytes_mod_order_wide ... ok [INFO] [stdout] test scalar::test::from_u64 ... ok [INFO] [stdout] test scalar::test::fuzzer_testcase_reduction ... ok [INFO] [stdout] test scalar::test::impl_add ... ok [INFO] [stdout] test scalar::test::impl_mul ... ok [INFO] [stdout] test scalar::test::impl_product ... ok [INFO] [stdout] test scalar::test::impl_sum ... ok [INFO] [stdout] test scalar::test::invert ... ok [INFO] [stdout] test scalar::test::montgomery_reduce_matches_from_bytes_mod_order_wide ... ok [INFO] [stdout] test scalar::test::neg_twice_is_identity ... ok [INFO] [stdout] test scalar::test::batch_invert_with_a_zero_input_panics - should panic ... ok [INFO] [stdout] test scalar::test::non_adjacent_form_test_vector ... ok [INFO] [stdout] test scalar::test::quarkslab_scalar_overflow_does_not_occur ... ok [INFO] [stdout] test scalar::test::reduce ... ok [INFO] [stdout] test scalar::test::scalar_mul_by_one ... ok [INFO] [stdout] test scalar::test::square ... ok [INFO] [stdout] test scalar::test::sub_reduces ... ok [INFO] [stdout] test edwards::test::basepoint_plus_basepoint_projective_niels_vs_basepoint2 ... ok [INFO] [stdout] test scalar::test::test_read_le_u64_into ... ok [INFO] [stdout] test scalar::test::test_read_le_u64_into_should_panic_on_bad_input - should panic ... ok [INFO] [stdout] test scalar::test::test_scalar_from_int ... ok [INFO] [stdout] test scalar::test::to_bytes_from_bytes_roundtrips ... ok [INFO] [stdout] test edwards::test::basepoint_plus_basepoint_vs_basepoint2 ... ok [INFO] [stdout] test ristretto::test::random_roundtrip ... ok [INFO] [stdout] test ristretto::test::vartime_precomputed_vs_nonprecomputed_multiscalar ... ok [INFO] [stdout] test ristretto::test::double_and_compress_1024_random_points ... ok [INFO] [stdout] test edwards::test::basepoint_tables_unreduced_scalar ... ok [INFO] [stdout] test scalar::test::test_pippenger_radix ... ok [INFO] [stdout] test edwards::test::basepoint_tables ... ok [INFO] [stdout] test edwards::test::vartime_precomputed_vs_nonprecomputed_multiscalar ... ok [INFO] [stdout] test edwards::test::monte_carlo_overflow_underflow_debug_assert_test ... ok [INFO] [stdout] test backend::serial::scalar_mul::pippenger::test::test_vartime_pippenger ... ok [INFO] [stdout] test edwards::test::multiscalar_consistency_n_100 ... ok [INFO] [stdout] test scalar::test::non_adjacent_form_random ... ok [INFO] [stdout] test edwards::test::multiscalar_consistency_n_250 ... ok [INFO] [stdout] test edwards::test::multiscalar_consistency_n_500 ... ok [INFO] [stdout] test edwards::test::multiscalar_consistency_n_1000 ... ok [INFO] [stderr] Doc-tests dalek_test_curve_docs [INFO] [stdout] [INFO] [stdout] test result: ok. 114 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 34.72s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test src/ristretto.rs - ristretto::RistrettoPoint::double_and_compress_batch (line 504) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar (line 36) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::Scalar::as_bytes (line 672) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::Scalar::invert (line 712) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::Scalar::from_hash (line 619) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::Scalar::is_canonical (line 1121) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar (line 118) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::Scalar::random (line 567) ... FAILED [INFO] [stdout] test src/constants.rs - constants (line 18) ... FAILED [INFO] [stdout] test src/ristretto.rs - ristretto::RistrettoPoint::conditional_select (line 1068) ... FAILED [INFO] [stdout] test src/ristretto.rs - ristretto::RistrettoPoint::hash_from_bytes (line 703) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar (line 93) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::Scalar::from (line 522) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::Scalar::batch_invert (line 756) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::Scalar::hash_from_bytes (line 591) ... FAILED [INFO] [stdout] test src/traits.rs - traits::VartimeMultiscalarMul::optional_multiscalar_mul (line 141) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar (line 68) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar (line 48) ... FAILED [INFO] [stdout] test src/ristretto.rs - ristretto::RistrettoBasepointTable (line 1021) ... FAILED [INFO] [stdout] test src/edwards.rs - edwards::EdwardsPoint::is_torsion_free (line 1077) ... FAILED [INFO] [stdout] test src/traits.rs - traits::MultiscalarMul::multiscalar_mul (line 86) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::Scalar::to_bytes (line 657) ... FAILED [INFO] [stdout] test src/edwards.rs - edwards::EdwardsPoint::is_small_order (line 1047) ... FAILED [INFO] [stdout] test src/traits.rs - traits::VartimeMultiscalarMul::vartime_multiscalar_mul (line 207) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/ristretto.rs - ristretto::RistrettoPoint::double_and_compress_batch (line 504) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/ristretto.rs:505:5 [INFO] [stdout] | [INFO] [stdout] 2 | use curve25519_dalek::ristretto::RistrettoPoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scalar.rs - scalar (line 36) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/scalar.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 3 | use curve25519_dalek::scalar::Scalar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scalar.rs - scalar::Scalar::as_bytes (line 672) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/scalar.rs:673:5 [INFO] [stdout] | [INFO] [stdout] 3 | use curve25519_dalek::scalar::Scalar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scalar.rs - scalar::Scalar::invert (line 712) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/scalar.rs:713:5 [INFO] [stdout] | [INFO] [stdout] 3 | use curve25519_dalek::scalar::Scalar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scalar.rs - scalar::Scalar::from_hash (line 619) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/scalar.rs:620:5 [INFO] [stdout] | [INFO] [stdout] 2 | use curve25519_dalek::scalar::Scalar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/scalar.rs:621:5 [INFO] [stdout] | [INFO] [stdout] 3 | use curve25519_dalek::digest::Update; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: `CoreWrapper, ...>>` is not an iterator [INFO] [stdout] --> src/scalar.rs:628:6 [INFO] [stdout] | [INFO] [stdout] 9 | let mut h = Sha512::new() [INFO] [stdout] | _____________- [INFO] [stdout] 10 | | .chain("To really appreciate architecture, you may even need to commit a murder.") [INFO] [stdout] | | -^^^^^ `CoreWrapper, ...>>` is not an iterator [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/digest-0.10.7/src/core_api/wrapper.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CoreWrapper [INFO] [stdout] | ------------------------- doesn't satisfy `_: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `CoreWrapper, B0>, B0>, B0>, B0>, B0>, B0>, OidSha512>>: Iterator` [INFO] [stdout] which is required by `&mut CoreWrapper, B0>, B0>, B0>, B0>, B0>, B0>, OidSha512>>: Iterator` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestBCW06V/rust_out.long-type-7599722263356191486.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: trait `Update` which provides `chain` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use sha2::digest::Update; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scalar.rs - scalar::Scalar::is_canonical (line 1121) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/scalar.rs:1122:5 [INFO] [stdout] | [INFO] [stdout] 2 | use curve25519_dalek::scalar::Scalar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scalar.rs - scalar (line 118) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/scalar.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 3 | use curve25519_dalek::scalar::Scalar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scalar.rs - scalar::Scalar::random (line 567) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/scalar.rs:569:5 [INFO] [stdout] | [INFO] [stdout] 3 | use curve25519_dalek::scalar::Scalar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/constants.rs - constants (line 18) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/constants.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 4 | use curve25519_dalek::traits::IsIdentity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `curve25519_dalek` [INFO] [stdout] --> src/constants.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 3 | use curve25519_dalek::constants; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ristretto.rs - ristretto::RistrettoPoint::conditional_select (line 1068) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/ristretto.rs:1072:5 [INFO] [stdout] | [INFO] [stdout] 5 | use curve25519_dalek::traits::Identity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/ristretto.rs:1073:5 [INFO] [stdout] | [INFO] [stdout] 6 | use curve25519_dalek::ristretto::RistrettoPoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `curve25519_dalek` [INFO] [stdout] --> src/ristretto.rs:1074:5 [INFO] [stdout] | [INFO] [stdout] 7 | use curve25519_dalek::constants; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ristretto.rs - ristretto::RistrettoPoint::hash_from_bytes (line 703) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/ristretto.rs:704:5 [INFO] [stdout] | [INFO] [stdout] 2 | use curve25519_dalek::ristretto::RistrettoPoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scalar.rs - scalar (line 93) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/scalar.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 4 | use curve25519_dalek::scalar::Scalar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scalar.rs - scalar::Scalar::from (line 522) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/scalar.rs:523:5 [INFO] [stdout] | [INFO] [stdout] 3 | use curve25519_dalek::scalar::Scalar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scalar.rs - scalar::Scalar::batch_invert (line 756) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/scalar.rs:757:5 [INFO] [stdout] | [INFO] [stdout] 2 | use curve25519_dalek::scalar::Scalar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scalar.rs - scalar::Scalar::hash_from_bytes (line 591) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/scalar.rs:592:5 [INFO] [stdout] | [INFO] [stdout] 2 | use curve25519_dalek::scalar::Scalar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/traits.rs - traits::VartimeMultiscalarMul::optional_multiscalar_mul (line 141) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/traits.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 6 | use curve25519_dalek::traits::VartimeMultiscalarMul; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/traits.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 7 | use curve25519_dalek::ristretto::RistrettoPoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/traits.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 8 | use curve25519_dalek::scalar::Scalar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `curve25519_dalek` [INFO] [stdout] --> src/traits.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 5 | use curve25519_dalek::constants; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scalar.rs - scalar (line 68) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/scalar.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 3 | use curve25519_dalek::scalar::Scalar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scalar.rs - scalar (line 48) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/scalar.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 3 | use curve25519_dalek::scalar::Scalar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ristretto.rs - ristretto::RistrettoBasepointTable (line 1021) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/ristretto.rs:1023:5 [INFO] [stdout] | [INFO] [stdout] 4 | use curve25519_dalek::scalar::Scalar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `curve25519_dalek` [INFO] [stdout] --> src/ristretto.rs:1022:5 [INFO] [stdout] | [INFO] [stdout] 3 | use curve25519_dalek::constants; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/edwards.rs - edwards::EdwardsPoint::is_torsion_free (line 1077) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `curve25519_dalek` [INFO] [stdout] --> src/edwards.rs:1078:5 [INFO] [stdout] | [INFO] [stdout] 3 | use curve25519_dalek::constants; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/traits.rs - traits::MultiscalarMul::multiscalar_mul (line 86) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/traits.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 6 | use curve25519_dalek::traits::MultiscalarMul; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/traits.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 7 | use curve25519_dalek::ristretto::RistrettoPoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/traits.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 8 | use curve25519_dalek::scalar::Scalar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `curve25519_dalek` [INFO] [stdout] --> src/traits.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 5 | use curve25519_dalek::constants; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scalar.rs - scalar::Scalar::to_bytes (line 657) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/scalar.rs:658:5 [INFO] [stdout] | [INFO] [stdout] 3 | use curve25519_dalek::scalar::Scalar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/edwards.rs - edwards::EdwardsPoint::is_small_order (line 1047) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `curve25519_dalek` [INFO] [stdout] --> src/edwards.rs:1048:5 [INFO] [stdout] | [INFO] [stdout] 3 | use curve25519_dalek::constants; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/traits.rs - traits::VartimeMultiscalarMul::vartime_multiscalar_mul (line 207) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/traits.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 6 | use curve25519_dalek::traits::VartimeMultiscalarMul; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/traits.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 7 | use curve25519_dalek::ristretto::RistrettoPoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/traits.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 8 | use curve25519_dalek::scalar::Scalar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `curve25519_dalek` [INFO] [stdout] --> src/traits.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 5 | use curve25519_dalek::constants; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `curve25519_dalek`, use `cargo add curve25519_dalek` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/constants.rs - constants (line 18) [INFO] [stdout] src/edwards.rs - edwards::EdwardsPoint::is_small_order (line 1047) [INFO] [stdout] src/edwards.rs - edwards::EdwardsPoint::is_torsion_free (line 1077) [INFO] [stdout] src/ristretto.rs - ristretto::RistrettoBasepointTable (line 1021) [INFO] [stdout] src/ristretto.rs - ristretto::RistrettoPoint::conditional_select (line 1068) [INFO] [stdout] src/ristretto.rs - ristretto::RistrettoPoint::double_and_compress_batch (line 504) [INFO] [stdout] src/ristretto.rs - ristretto::RistrettoPoint::hash_from_bytes (line 703) [INFO] [stdout] src/scalar.rs - scalar (line 118) [INFO] [stdout] src/scalar.rs - scalar (line 36) [INFO] [stdout] src/scalar.rs - scalar (line 48) [INFO] [stdout] src/scalar.rs - scalar (line 68) [INFO] [stdout] src/scalar.rs - scalar (line 93) [INFO] [stdout] src/scalar.rs - scalar::Scalar::as_bytes (line 672) [INFO] [stdout] src/scalar.rs - scalar::Scalar::batch_invert (line 756) [INFO] [stdout] src/scalar.rs - scalar::Scalar::from (line 522) [INFO] [stdout] src/scalar.rs - scalar::Scalar::from_hash (line 619) [INFO] [stdout] src/scalar.rs - scalar::Scalar::hash_from_bytes (line 591) [INFO] [stdout] src/scalar.rs - scalar::Scalar::invert (line 712) [INFO] [stdout] src/scalar.rs - scalar::Scalar::is_canonical (line 1121) [INFO] [stdout] src/scalar.rs - scalar::Scalar::random (line 567) [INFO] [stdout] src/scalar.rs - scalar::Scalar::to_bytes (line 657) [INFO] [stdout] src/traits.rs - traits::MultiscalarMul::multiscalar_mul (line 86) [INFO] [stdout] src/traits.rs - traits::VartimeMultiscalarMul::optional_multiscalar_mul (line 141) [INFO] [stdout] src/traits.rs - traits::VartimeMultiscalarMul::vartime_multiscalar_mul (line 207) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 24 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.54s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0f72ffd69d2449521249c31072c8bfbee32224bda562ae1f7fecc0d4d65ec734", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f72ffd69d2449521249c31072c8bfbee32224bda562ae1f7fecc0d4d65ec734", kill_on_drop: false }` [INFO] [stdout] 0f72ffd69d2449521249c31072c8bfbee32224bda562ae1f7fecc0d4d65ec734