[INFO] fetching crate test-curve25519-dalek 4.0.0-rc.1... [INFO] testing test-curve25519-dalek-4.0.0-rc.1 against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628-retry-1 [INFO] extracting crate test-curve25519-dalek 4.0.0-rc.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate test-curve25519-dalek 4.0.0-rc.1 [INFO] finished tweaking crates.io crate test-curve25519-dalek 4.0.0-rc.1 [INFO] tweaked toml for crates.io crate test-curve25519-dalek 4.0.0-rc.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate test-curve25519-dalek 4.0.0-rc.1 on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 101 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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17a126521cd17a26ecdb763f3e698208149deef808ecb10a7d5b5455b37940a0 [INFO] running `Command { std: "docker" "start" "-a" "17a126521cd17a26ecdb763f3e698208149deef808ecb10a7d5b5455b37940a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17a126521cd17a26ecdb763f3e698208149deef808ecb10a7d5b5455b37940a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17a126521cd17a26ecdb763f3e698208149deef808ecb10a7d5b5455b37940a0", kill_on_drop: false }` [INFO] [stdout] 17a126521cd17a26ecdb763f3e698208149deef808ecb10a7d5b5455b37940a0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b001ade865f8406ce60d287e30af1b1ffe482aa80f9dcee30a20abc59a815345 [INFO] running `Command { std: "docker" "start" "-a" "b001ade865f8406ce60d287e30af1b1ffe482aa80f9dcee30a20abc59a815345", kill_on_drop: false }` [INFO] [stderr] Compiling platforms v3.6.0 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling test-curve25519-dalek v4.0.0-rc.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> build.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(all(not(curve25519_dalek_bits = "64"), not(curve25519_dalek_bits = "32")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> build.rs:11:50 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(all(not(curve25519_dalek_bits = "64"), not(curve25519_dalek_bits = "32")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("32"))'] } [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> build.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg_attr(curve25519_dalek_bits = "64", allow(dead_code))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> build.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg_attr(curve25519_dalek_bits = "32", allow(dead_code))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("32"))'] } [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> build.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(curve25519_dalek_bits = "32")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("32"))'] } [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> build.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(curve25519_dalek_bits = "64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> build.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(all(not(curve25519_dalek_bits = "64"), not(curve25519_dalek_bits = "32")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> build.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(all(not(curve25519_dalek_bits = "64"), not(curve25519_dalek_bits = "32")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("32"))'] } [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/lib.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | #![cfg_attr(curve25519_dalek_backend = "simd", feature(stdsimd))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("simd"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"simd\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/scalar.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 175 | if #[cfg(curve25519_dalek_backend = "fiat")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("fiat"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"fiat\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> src/scalar.rs:197:21 [INFO] [stdout] | [INFO] [stdout] 197 | } else if #[cfg(curve25519_dalek_bits = "64")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_bits, values(\"64\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/edwards.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | curve25519_dalek_backend = "simd", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("simd"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"simd\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/edwards.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | curve25519_dalek_backend = "simd", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("simd"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"simd\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/ristretto.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | curve25519_dalek_backend = "simd", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("simd"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"simd\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/constants.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | if #[cfg(curve25519_dalek_backend = "fiat")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("fiat"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"fiat\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> src/constants.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(curve25519_dalek_bits = "32")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("32"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_bits, values(\"32\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> src/constants.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(curve25519_dalek_bits = "64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_bits, values(\"64\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/field.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | if #[cfg(curve25519_dalek_backend = "fiat")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("fiat"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"fiat\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> src/field.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | } else if #[cfg(curve25519_dalek_bits = "64")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_bits, values(\"64\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/backend/mod.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg(any(curve25519_dalek_backend = "simd", docsrs))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("simd"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"simd\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/backend/serial/mod.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | curve25519_dalek_backend = "simd", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("simd"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"simd\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/backend/serial/mod.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | if #[cfg(curve25519_dalek_backend = "fiat")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("fiat"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"fiat\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> src/backend/serial/mod.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(curve25519_dalek_bits = "32")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("32"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_bits, values(\"32\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> src/backend/serial/mod.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(curve25519_dalek_bits = "64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_bits, values(\"64\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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:991:77 [INFO] [stdout] | [INFO] [stdout] 991 | 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] 991 - let extended_points = points.into_iter().map(|opt_P| opt_P.map(|P| P.borrow().0)); [INFO] [stdout] 991 + 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] 473 + #[derive(Clone)] [INFO] [stdout] 474 | pub struct RistrettoPoint(pub(crate) EdwardsPoint); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 2.93s [INFO] running `Command { std: "docker" "inspect" "b001ade865f8406ce60d287e30af1b1ffe482aa80f9dcee30a20abc59a815345", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b001ade865f8406ce60d287e30af1b1ffe482aa80f9dcee30a20abc59a815345", kill_on_drop: false }` [INFO] [stdout] b001ade865f8406ce60d287e30af1b1ffe482aa80f9dcee30a20abc59a815345 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0631f0ee9ec5f904f838017bc9e171fe027956119519b291e9f5abf2412a1b15 [INFO] running `Command { std: "docker" "start" "-a" "0631f0ee9ec5f904f838017bc9e171fe027956119519b291e9f5abf2412a1b15", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> build.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(all(not(curve25519_dalek_bits = "64"), not(curve25519_dalek_bits = "32")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> build.rs:11:50 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(all(not(curve25519_dalek_bits = "64"), not(curve25519_dalek_bits = "32")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("32"))'] } [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> build.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg_attr(curve25519_dalek_bits = "64", allow(dead_code))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> build.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg_attr(curve25519_dalek_bits = "32", allow(dead_code))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("32"))'] } [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> build.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(curve25519_dalek_bits = "32")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("32"))'] } [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> build.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(curve25519_dalek_bits = "64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> build.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(all(not(curve25519_dalek_bits = "64"), not(curve25519_dalek_bits = "32")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> build.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(all(not(curve25519_dalek_bits = "64"), not(curve25519_dalek_bits = "32")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("32"))'] } [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/lib.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | #![cfg_attr(curve25519_dalek_backend = "simd", feature(stdsimd))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("simd"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"simd\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/scalar.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 175 | if #[cfg(curve25519_dalek_backend = "fiat")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("fiat"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"fiat\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> src/scalar.rs:197:21 [INFO] [stdout] | [INFO] [stdout] 197 | } else if #[cfg(curve25519_dalek_bits = "64")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_bits, values(\"64\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/edwards.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | curve25519_dalek_backend = "simd", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("simd"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"simd\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/edwards.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | curve25519_dalek_backend = "simd", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("simd"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"simd\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/ristretto.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | curve25519_dalek_backend = "simd", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("simd"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"simd\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/constants.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | if #[cfg(curve25519_dalek_backend = "fiat")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("fiat"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"fiat\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> src/constants.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(curve25519_dalek_bits = "32")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("32"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_bits, values(\"32\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> src/constants.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(curve25519_dalek_bits = "64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_bits, values(\"64\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/field.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | if #[cfg(curve25519_dalek_backend = "fiat")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("fiat"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"fiat\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> src/field.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | } else if #[cfg(curve25519_dalek_bits = "64")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_bits, values(\"64\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/backend/mod.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg(any(curve25519_dalek_backend = "simd", docsrs))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("simd"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"simd\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/backend/serial/mod.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | curve25519_dalek_backend = "simd", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("simd"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"simd\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/backend/serial/mod.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | if #[cfg(curve25519_dalek_backend = "fiat")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("fiat"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"fiat\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> src/backend/serial/mod.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(curve25519_dalek_bits = "32")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("32"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_bits, values(\"32\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> src/backend/serial/mod.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(curve25519_dalek_bits = "64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_bits, values(\"64\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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:991:77 [INFO] [stdout] | [INFO] [stdout] 991 | 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] 991 - let extended_points = points.into_iter().map(|opt_P| opt_P.map(|P| P.borrow().0)); [INFO] [stdout] 991 + 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] 473 + #[derive(Clone)] [INFO] [stdout] 474 | pub struct RistrettoPoint(pub(crate) EdwardsPoint); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling regex v1.11.2 [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] [stderr] Compiling test-curve25519-dalek v4.0.0-rc.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/lib.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | #![cfg_attr(curve25519_dalek_backend = "simd", feature(stdsimd))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("simd"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"simd\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/scalar.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 175 | if #[cfg(curve25519_dalek_backend = "fiat")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("fiat"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"fiat\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> src/scalar.rs:197:21 [INFO] [stdout] | [INFO] [stdout] 197 | } else if #[cfg(curve25519_dalek_bits = "64")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_bits, values(\"64\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/edwards.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | curve25519_dalek_backend = "simd", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("simd"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"simd\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/edwards.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | curve25519_dalek_backend = "simd", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("simd"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"simd\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/ristretto.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | curve25519_dalek_backend = "simd", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("simd"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"simd\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/constants.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | if #[cfg(curve25519_dalek_backend = "fiat")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("fiat"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"fiat\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> src/constants.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(curve25519_dalek_bits = "32")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("32"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_bits, values(\"32\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> src/constants.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(curve25519_dalek_bits = "64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_bits, values(\"64\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> src/constants.rs:161:15 [INFO] [stdout] | [INFO] [stdout] 161 | #[cfg(all(curve25519_dalek_bits = "32", not(curve25519_dalek_backend = "fiat")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("32"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_bits, values(\"32\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/constants.rs:161:49 [INFO] [stdout] | [INFO] [stdout] 161 | #[cfg(all(curve25519_dalek_bits = "32", not(curve25519_dalek_backend = "fiat")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("fiat"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"fiat\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> src/constants.rs:174:15 [INFO] [stdout] | [INFO] [stdout] 174 | #[cfg(all(curve25519_dalek_bits = "64", not(curve25519_dalek_backend = "fiat")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_bits, values(\"64\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/constants.rs:174:49 [INFO] [stdout] | [INFO] [stdout] 174 | #[cfg(all(curve25519_dalek_bits = "64", not(curve25519_dalek_backend = "fiat")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("fiat"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"fiat\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/field.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | if #[cfg(curve25519_dalek_backend = "fiat")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("fiat"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"fiat\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> src/field.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | } else if #[cfg(curve25519_dalek_bits = "64")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_bits, values(\"64\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/backend/mod.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg(any(curve25519_dalek_backend = "simd", docsrs))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("simd"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"simd\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/backend/serial/mod.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | curve25519_dalek_backend = "simd", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("simd"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"simd\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stdout] --> src/backend/serial/mod.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | if #[cfg(curve25519_dalek_backend = "fiat")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("fiat"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"fiat\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> src/backend/serial/mod.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(curve25519_dalek_bits = "32")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("32"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_bits, values(\"32\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stdout] --> src/backend/serial/mod.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(curve25519_dalek_bits = "64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_bits, values(\"64\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/ristretto.rs:991:77 [INFO] [stdout] | [INFO] [stdout] 991 | 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] 991 - let extended_points = points.into_iter().map(|opt_P| opt_P.map(|P| P.borrow().0)); [INFO] [stdout] 991 + 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] 473 + #[derive(Clone)] [INFO] [stdout] 474 | pub struct RistrettoPoint(pub(crate) EdwardsPoint); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 53.21s [INFO] running `Command { std: "docker" "inspect" "0631f0ee9ec5f904f838017bc9e171fe027956119519b291e9f5abf2412a1b15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0631f0ee9ec5f904f838017bc9e171fe027956119519b291e9f5abf2412a1b15", kill_on_drop: false }` [INFO] [stdout] 0631f0ee9ec5f904f838017bc9e171fe027956119519b291e9f5abf2412a1b15 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dc0210c9bd070895348a4f49286da71831db6c3f06fa7815ef3986d592332457 [INFO] running `Command { std: "docker" "start" "-a" "dc0210c9bd070895348a4f49286da71831db6c3f06fa7815ef3986d592332457", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stderr] --> build.rs:11:15 [INFO] [stderr] | [INFO] [stderr] 11 | #[cfg(all(not(curve25519_dalek_bits = "64"), not(curve25519_dalek_bits = "32")))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stderr] --> build.rs:11:50 [INFO] [stderr] | [INFO] [stderr] 11 | #[cfg(all(not(curve25519_dalek_bits = "64"), not(curve25519_dalek_bits = "32")))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("32"))'] } [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stderr] --> build.rs:5:16 [INFO] [stderr] | [INFO] [stderr] 5 | #[cfg_attr(curve25519_dalek_bits = "64", allow(dead_code))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stderr] --> build.rs:7:16 [INFO] [stderr] | [INFO] [stderr] 7 | #[cfg_attr(curve25519_dalek_bits = "32", allow(dead_code))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("32"))'] } [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stderr] --> build.rs:35:11 [INFO] [stderr] | [INFO] [stderr] 35 | #[cfg(curve25519_dalek_bits = "32")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("32"))'] } [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stderr] --> build.rs:38:11 [INFO] [stderr] | [INFO] [stderr] 38 | #[cfg(curve25519_dalek_bits = "64")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stderr] --> build.rs:41:19 [INFO] [stderr] | [INFO] [stderr] 41 | #[cfg(all(not(curve25519_dalek_bits = "64"), not(curve25519_dalek_bits = "32")))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stderr] --> build.rs:41:54 [INFO] [stderr] | [INFO] [stderr] 41 | #[cfg(all(not(curve25519_dalek_bits = "64"), not(curve25519_dalek_bits = "32")))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("32"))'] } [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `test-curve25519-dalek` (build script) generated 8 warnings [INFO] [stderr] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stderr] --> src/lib.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | #![cfg_attr(curve25519_dalek_backend = "simd", feature(stdsimd))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("simd"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"simd\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stderr] --> src/scalar.rs:175:14 [INFO] [stderr] | [INFO] [stderr] 175 | if #[cfg(curve25519_dalek_backend = "fiat")] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("fiat"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"fiat\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stderr] --> src/scalar.rs:197:21 [INFO] [stderr] | [INFO] [stderr] 197 | } else if #[cfg(curve25519_dalek_bits = "64")] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_bits, values(\"64\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stderr] --> src/edwards.rs:148:5 [INFO] [stderr] | [INFO] [stderr] 148 | curve25519_dalek_backend = "simd", [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("simd"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"simd\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stderr] --> src/edwards.rs:153:5 [INFO] [stderr] | [INFO] [stderr] 153 | curve25519_dalek_backend = "simd", [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("simd"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"simd\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stderr] --> src/ristretto.rs:209:9 [INFO] [stderr] | [INFO] [stderr] 209 | curve25519_dalek_backend = "simd", [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("simd"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"simd\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stderr] --> src/constants.rs:43:14 [INFO] [stderr] | [INFO] [stderr] 43 | if #[cfg(curve25519_dalek_backend = "fiat")] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("fiat"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"fiat\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stderr] --> src/constants.rs:49:15 [INFO] [stderr] | [INFO] [stderr] 49 | #[cfg(curve25519_dalek_bits = "32")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("32"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_bits, values(\"32\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stderr] --> src/constants.rs:51:15 [INFO] [stderr] | [INFO] [stderr] 51 | #[cfg(curve25519_dalek_bits = "64")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_bits, values(\"64\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stderr] --> src/field.rs:39:14 [INFO] [stderr] | [INFO] [stderr] 39 | if #[cfg(curve25519_dalek_backend = "fiat")] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("fiat"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"fiat\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stderr] --> src/field.rs:64:21 [INFO] [stderr] | [INFO] [stderr] 64 | } else if #[cfg(curve25519_dalek_bits = "64")] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_bits, values(\"64\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [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: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stderr] --> src/backend/mod.rs:39:11 [INFO] [stderr] | [INFO] [stderr] 39 | #[cfg(any(curve25519_dalek_backend = "simd", docsrs))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("simd"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"simd\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stderr] --> src/backend/serial/mod.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | curve25519_dalek_backend = "simd", [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("simd"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"simd\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stderr] --> src/backend/serial/mod.rs:24:14 [INFO] [stderr] | [INFO] [stderr] 24 | if #[cfg(curve25519_dalek_backend = "fiat")] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("fiat"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"fiat\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stderr] --> src/backend/serial/mod.rs:34:15 [INFO] [stderr] | [INFO] [stderr] 34 | #[cfg(curve25519_dalek_bits = "32")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("32"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_bits, values(\"32\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stderr] --> src/backend/serial/mod.rs:37:15 [INFO] [stderr] | [INFO] [stderr] 37 | #[cfg(curve25519_dalek_bits = "64")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_bits, values(\"64\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [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:991:77 [INFO] [stderr] | [INFO] [stderr] 991 | 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] 991 - let extended_points = points.into_iter().map(|opt_P| opt_P.map(|P| P.borrow().0)); [INFO] [stderr] 991 + 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] 473 + #[derive(Clone)] [INFO] [stderr] 474 | pub struct RistrettoPoint(pub(crate) EdwardsPoint); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `test-curve25519-dalek` (lib) generated 19 warnings (run `cargo fix --lib -p test-curve25519-dalek` to apply 2 suggestions) [INFO] [stderr] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stderr] --> src/constants.rs:161:15 [INFO] [stderr] | [INFO] [stderr] 161 | #[cfg(all(curve25519_dalek_bits = "32", not(curve25519_dalek_backend = "fiat")))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("32"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_bits, values(\"32\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stderr] --> src/constants.rs:161:49 [INFO] [stderr] | [INFO] [stderr] 161 | #[cfg(all(curve25519_dalek_bits = "32", not(curve25519_dalek_backend = "fiat")))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("fiat"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"fiat\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `curve25519_dalek_bits` [INFO] [stderr] --> src/constants.rs:174:15 [INFO] [stderr] | [INFO] [stderr] 174 | #[cfg(all(curve25519_dalek_bits = "64", not(curve25519_dalek_backend = "fiat")))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_bits, values("64"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_bits, values(\"64\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `curve25519_dalek_backend` [INFO] [stderr] --> src/constants.rs:174:49 [INFO] [stderr] | [INFO] [stderr] 174 | #[cfg(all(curve25519_dalek_bits = "64", not(curve25519_dalek_backend = "fiat")))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(curve25519_dalek_backend, values("fiat"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(curve25519_dalek_backend, values(\"fiat\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/ristretto.rs:991:77 [INFO] [stderr] | [INFO] [stderr] 991 | 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] 991 - let extended_points = points.into_iter().map(|opt_P| opt_P.map(|P| P.borrow().0)); [INFO] [stderr] 991 + 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] 473 + #[derive(Clone)] [INFO] [stderr] 474 | pub struct RistrettoPoint(pub(crate) EdwardsPoint); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `test-curve25519-dalek` (lib test) generated 22 warnings (17 duplicates) (run `cargo fix --lib -p test-curve25519-dalek --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/test_curve25519_dalek-284a24462798e93f) [INFO] [stdout] [INFO] [stdout] running 112 tests [INFO] [stdout] test backend::serial::u64::scalar::test::montgomery_mul ... ok [INFO] [stdout] test backend::serial::u64::scalar::test::montgomery_square_max ... ok [INFO] [stdout] test backend::serial::u64::scalar::test::montgomery_mul_max ... ok [INFO] [stdout] test backend::serial::u64::scalar::test::add ... ok [INFO] [stdout] test backend::serial::u64::scalar::test::mul ... ok [INFO] [stdout] test backend::serial::u64::scalar::test::mul_max ... ok [INFO] [stdout] test backend::serial::u64::scalar::test::square_max ... ok [INFO] [stdout] test backend::serial::u64::scalar::test::sub ... ok [INFO] [stdout] test constants::test::test_eight_torsion ... ok [INFO] [stdout] test constants::test::test_sqrt_ad_minus_one ... ok [INFO] [stdout] test constants::test::test_four_torsion ... ok [INFO] [stdout] test constants::test::test_sqrt_constants_sign ... ok [INFO] [stdout] test constants::test::test_sqrt_minus_one ... ok [INFO] [stdout] test constants::test::test_two_torsion ... ok [INFO] [stdout] test edwards::test::basepoint16_vs_mul_by_pow_2_4 ... ok [INFO] [stdout] test edwards::test::basepoint_decompression_compression ... ok [INFO] [stdout] test edwards::test::basepoint_double_vs_basepoint2 ... ok [INFO] [stdout] test edwards::test::basepoint_mult_by_basepoint_order ... ok [INFO] [stdout] test edwards::test::basepoint_mult_one_vs_basepoint ... ok [INFO] [stdout] test edwards::test::basepoint_mult_two_vs_basepoint2 ... ok [INFO] [stdout] test edwards::test::basepoint_plus_basepoint_affine_niels_vs_basepoint2 ... ok [INFO] [stdout] test edwards::test::basepoint_mult_vs_ed25519py ... ok [INFO] [stdout] test edwards::test::basepoint_plus_basepoint_vs_basepoint2 ... ok [INFO] [stdout] test edwards::test::basepoint_projective_extended_round_trip ... ok [INFO] [stdout] test edwards::test::basepoint_plus_basepoint_projective_niels_vs_basepoint2 ... ok [INFO] [stdout] test edwards::test::basepoint_table_basepoint_function_correct ... ok [INFO] [stdout] test edwards::test::compressed_identity ... ok [INFO] [stdout] test edwards::test::decompression_sign_handling ... ok [INFO] [stdout] test edwards::test::impl_sum ... 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::scalar_mul_vs_ed25519py ... ok [INFO] [stdout] test edwards::test::to_affine_niels_clears_denominators ... ok [INFO] [stdout] test edwards::test::scalarmult_extended_point_works_both_ways ... 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_invert_vs_inverse_of_a_constant ... ok [INFO] [stdout] test edwards::test::test_precomputed_basepoint_mult ... 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 field::test::a_square2_vs_a_squared_constant ... ok [INFO] [stdout] test field::test::a_square_vs_a_squared_constant ... ok [INFO] [stdout] test edwards::test::vartime::double_scalar_mul_basepoint_vs_ed25519py ... 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 constants::test::test_d_vs_ratio ... ok [INFO] [stdout] test montgomery::test::basepoint_edwards_to_montgomery ... 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 field::test::sqrt_ratio_behavior ... ok [INFO] [stdout] test backend::serial::u64::scalar::test::from_bytes_wide ... ok [INFO] [stdout] test montgomery::test::montgomery_elligator_correct ... ok [INFO] [stdout] test montgomery::test::identity_in_different_models ... 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 ristretto::test::compress_id ... ok [INFO] [stdout] test ristretto::test::encodings_of_small_multiples_of_basepoint ... ok [INFO] [stdout] test ristretto::test::decompress_negative_s_fails ... ok [INFO] [stdout] test ristretto::test::decompress_id ... ok [INFO] [stdout] test ristretto::test::four_torsion_basepoint ... ok [INFO] [stdout] test ristretto::test::elligator_vs_ristretto_sage ... 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::four_torsion_random ... 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 ristretto::test::random_roundtrip ... ok [INFO] [stdout] test scalar::test::impl_add ... ok [INFO] [stdout] test scalar::test::fuzzer_testcase_reduction ... ok [INFO] [stdout] test scalar::test::impl_product ... ok [INFO] [stdout] test scalar::test::impl_mul ... 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::impl_sum ... ok [INFO] [stdout] test edwards::test::is_identity ... ok [INFO] [stdout] test edwards::test::is_small_order ... ok [INFO] [stdout] test ristretto::test::basepoint_roundtrip ... 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::neg_twice_is_identity ... ok [INFO] [stdout] test scalar::test::sub_reduces ... ok [INFO] [stdout] test scalar::test::scalar_mul_by_one ... ok [INFO] [stdout] test scalar::test::square ... ok [INFO] [stdout] test scalar::test::test_read_le_u64_into ... ok [INFO] [stdout] test scalar::test::test_scalar_from_int ... ok [INFO] [stdout] test scalar::test::batch_invert_with_a_zero_input_panics - should panic ... ok [INFO] [stdout] test scalar::test::to_bytes_from_bytes_roundtrips ... 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_clamp ... ok [INFO] [stdout] test scalar::test::test_pippenger_radix ... ok [INFO] [stdout] test edwards::test::basepoint_tables ... ok [INFO] [stdout] test backend::serial::scalar_mul::pippenger::test::test_vartime_pippenger ... ok [INFO] [stdout] test edwards::test::basepoint_tables_unreduced_scalar ... 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 scalar::test::non_adjacent_form_random ... ok [INFO] [stdout] test ristretto::test::vartime_precomputed_vs_nonprecomputed_multiscalar ... ok [INFO] [stdout] test edwards::test::multiscalar_consistency_n_100 ... 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 test_curve25519_dalek [INFO] [stdout] [INFO] [stdout] test result: ok. 112 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.63s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test src/ristretto.rs - ristretto::RistrettoPoint::double_and_compress_batch (line 520) ... ignored [INFO] [stdout] test src/scalar.rs - scalar (line 91) ... ignored [INFO] [stdout] test src/scalar.rs - scalar::Scalar::to_bytes (line 713) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::Scalar::as_bytes (line 728) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::Scalar::invert (line 753) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::Scalar::is_canonical (line 1158) ... FAILED [INFO] [stdout] test src/constants.rs - constants (line 18) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::Scalar::from (line 561) ... 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::RistrettoPoint::conditional_select (line 1114) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar (line 120) ... FAILED [INFO] [stdout] test src/traits.rs - traits::VartimeMultiscalarMul::vartime_multiscalar_mul (line 207) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar::Scalar::batch_invert (line 797) ... FAILED [INFO] [stdout] test src/scalar.rs - scalar (line 36) ... FAILED [INFO] [stdout] test src/edwards.rs - edwards::EdwardsPoint::is_torsion_free (line 1187) ... FAILED [INFO] [stdout] test src/ristretto.rs - ristretto::RistrettoBasepointTable (line 1062) ... FAILED [INFO] [stdout] test src/traits.rs - traits::MultiscalarMul::multiscalar_mul (line 86) ... FAILED [INFO] [stdout] test src/edwards.rs - edwards::EdwardsPoint::is_small_order (line 1157) ... FAILED [INFO] [stdout] test src/traits.rs - traits::VartimeMultiscalarMul::optional_multiscalar_mul (line 141) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/scalar.rs - scalar::Scalar::to_bytes (line 713) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/scalar.rs:714: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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use test_curve25519_dalek::scalar::Scalar; [INFO] [stdout] | +++++ [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 728) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/scalar.rs:729: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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use test_curve25519_dalek::scalar::Scalar; [INFO] [stdout] | +++++ [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 753) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/scalar.rs:754: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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use test_curve25519_dalek::scalar::Scalar; [INFO] [stdout] | +++++ [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::is_canonical (line 1158) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/scalar.rs:1159: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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 | use test_curve25519_dalek::scalar::Scalar; [INFO] [stdout] | +++++ [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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use test_curve25519_dalek::traits::IsIdentity; [INFO] [stdout] | +++++ [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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use test_curve25519_dalek::constants; [INFO] [stdout] | +++++ [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/scalar.rs - scalar::Scalar::from (line 561) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/scalar.rs:562: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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use test_curve25519_dalek::scalar::Scalar; [INFO] [stdout] | +++++ [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 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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use test_curve25519_dalek::scalar::Scalar; [INFO] [stdout] | +++++ [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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use test_curve25519_dalek::scalar::Scalar; [INFO] [stdout] | +++++ [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::RistrettoPoint::conditional_select (line 1114) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/ristretto.rs:1118: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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use test_curve25519_dalek::traits::Identity; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/ristretto.rs:1119: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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use test_curve25519_dalek::ristretto::RistrettoPoint; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `curve25519_dalek` [INFO] [stdout] --> src/ristretto.rs:1120: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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 7 | use test_curve25519_dalek::constants; [INFO] [stdout] | +++++ [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/scalar.rs - scalar (line 120) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/scalar.rs:121: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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use test_curve25519_dalek::scalar::Scalar; [INFO] [stdout] | +++++ [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::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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use test_curve25519_dalek::traits::VartimeMultiscalarMul; [INFO] [stdout] | +++++ [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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 7 | use test_curve25519_dalek::ristretto::RistrettoPoint; [INFO] [stdout] | +++++ [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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 | use test_curve25519_dalek::scalar::Scalar; [INFO] [stdout] | +++++ [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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use test_curve25519_dalek::constants; [INFO] [stdout] | +++++ [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::batch_invert (line 797) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/scalar.rs:798: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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 | use test_curve25519_dalek::scalar::Scalar; [INFO] [stdout] | +++++ [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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use test_curve25519_dalek::scalar::Scalar; [INFO] [stdout] | +++++ [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_torsion_free (line 1187) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `curve25519_dalek` [INFO] [stdout] --> src/edwards.rs:1188: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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use test_curve25519_dalek::constants; [INFO] [stdout] | +++++ [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/ristretto.rs - ristretto::RistrettoBasepointTable (line 1062) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/ristretto.rs:1063:5 [INFO] [stdout] | [INFO] [stdout] 3 | use curve25519_dalek::constants::RISTRETTO_BASEPOINT_TABLE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use test_curve25519_dalek::constants::RISTRETTO_BASEPOINT_TABLE; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `curve25519_dalek` [INFO] [stdout] --> src/ristretto.rs:1064: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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use test_curve25519_dalek::scalar::Scalar; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [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::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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use test_curve25519_dalek::traits::MultiscalarMul; [INFO] [stdout] | +++++ [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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 7 | use test_curve25519_dalek::ristretto::RistrettoPoint; [INFO] [stdout] | +++++ [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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 | use test_curve25519_dalek::scalar::Scalar; [INFO] [stdout] | +++++ [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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use test_curve25519_dalek::constants; [INFO] [stdout] | +++++ [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/edwards.rs - edwards::EdwardsPoint::is_small_order (line 1157) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `curve25519_dalek` [INFO] [stdout] --> src/edwards.rs:1158: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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use test_curve25519_dalek::constants; [INFO] [stdout] | +++++ [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::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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use test_curve25519_dalek::traits::VartimeMultiscalarMul; [INFO] [stdout] | +++++ [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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 7 | use test_curve25519_dalek::ristretto::RistrettoPoint; [INFO] [stdout] | +++++ [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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 | use test_curve25519_dalek::scalar::Scalar; [INFO] [stdout] | +++++ [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: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use test_curve25519_dalek::constants; [INFO] [stdout] | +++++ [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 1157) [INFO] [stdout] src/edwards.rs - edwards::EdwardsPoint::is_torsion_free (line 1187) [INFO] [stdout] src/ristretto.rs - ristretto::RistrettoBasepointTable (line 1062) [INFO] [stdout] src/ristretto.rs - ristretto::RistrettoPoint::conditional_select (line 1114) [INFO] [stdout] src/scalar.rs - scalar (line 120) [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::Scalar::as_bytes (line 728) [INFO] [stdout] src/scalar.rs - scalar::Scalar::batch_invert (line 797) [INFO] [stdout] src/scalar.rs - scalar::Scalar::from (line 561) [INFO] [stdout] src/scalar.rs - scalar::Scalar::invert (line 753) [INFO] [stdout] src/scalar.rs - scalar::Scalar::is_canonical (line 1158) [INFO] [stdout] src/scalar.rs - scalar::Scalar::to_bytes (line 713) [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; 18 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "dc0210c9bd070895348a4f49286da71831db6c3f06fa7815ef3986d592332457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc0210c9bd070895348a4f49286da71831db6c3f06fa7815ef3986d592332457", kill_on_drop: false }` [INFO] [stdout] dc0210c9bd070895348a4f49286da71831db6c3f06fa7815ef3986d592332457