k256 0.5.7

secp256k1 elliptic curve library written in pure Rust with support for ECDSA signing/verification (including Ethereum-style signatures with public-key recovery), Elliptic Curve Diffie-Hellman (ECDH), and general purpose secp256k1 curve arithmetic useful for implementing arbitrary group-based protocols.
Build #301303 2020-10-08T19:16:12.073488+00:00
# rustc version
rustc 1.49.0-nightly (91a79fb29 2020-10-07)
# docs.rs version
docsrs 0.6.0 (0abe413 2020-10-08)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/k256-0.5.7/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/k256-0.5.7/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--cpus" "2" "--user" "1001:1001" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "--features" "ecdh ecdsa sha256 keccak256" "-j2" "--" "--cfg" "docsrs" "-Z" "unstable-options" "--extern-html-root-url" "proptest=https://docs.rs/proptest/0.10.1" "--extern-html-root-url" "hex=https://docs.rs/hex/0.4.2" "--extern-html-root-url" "num_traits=https://docs.rs/num-traits/0.2.12" "--extern-html-root-url" "ecdsa=https://docs.rs/ecdsa/0.8.3" "--extern-html-root-url" "cfg_if=https://docs.rs/cfg-if/0.1.10" "--extern-html-root-url" "hex_literal=https://docs.rs/hex-literal/0.2.1" "--extern-html-root-url" "num_bigint=https://docs.rs/num-bigint/0.3.0" "--extern-html-root-url" "criterion=https://docs.rs/criterion/0.3.3" "--extern-html-root-url" "elliptic_curve=https://docs.rs/elliptic-curve/0.6.4" "--extern-html-root-url" "rand_core=https://docs.rs/rand_core/0.5.1" "--resource-suffix" "-20201007-1.49.0-nightly-91a79fb29" "--static-root-path" "/" "--cap-lints" "warn" "--disable-per-crate-search", kill_on_drop: false }`
[INFO] [stdout] 0e41f5422b0a04df606e26b3e499c7222843b66e89fcb36a6d27ce231c61b084
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "0e41f5422b0a04df606e26b3e499c7222843b66e89fcb36a6d27ce231c61b084", kill_on_drop: false }`
[INFO] [stderr] /opt/crates-build-env/entrypoint.sh: line 7: /etc/hosts: Permission denied
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling libc v0.2.79
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling radium v0.4.1
[INFO] [stderr]     Checking subtle v2.3.0
[INFO] [stderr]     Checking funty v1.0.1
[INFO] [stderr]     Checking wyz v0.2.0
[INFO] [stderr]     Checking block-padding v0.2.1
[INFO] [stderr]     Checking zeroize v1.1.1
[INFO] [stderr]     Checking const-oid v0.1.0
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking cpuid-bool v0.1.2
[INFO] [stderr]     Checking keccak v0.1.0
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]     Checking bitvec v0.18.4
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking crypto-mac v0.9.1
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking signature v1.2.2
[INFO] [stderr]     Checking hmac v0.9.0
[INFO] [stderr]     Checking sha3 v0.9.1
[INFO] [stderr]     Checking sha2 v0.9.1
[INFO] [stderr]     Checking ff v0.8.0
[INFO] [stderr]     Checking group v0.8.0
[INFO] [stderr]     Checking elliptic-curve v0.6.4
[INFO] [stderr] error[E0277]: cannot multiply `&NonZeroScalar<C>` to `<C as ProjectiveArithmetic>::ProjectivePoint`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/elliptic-curve-0.6.4/src/ecdh.rs:76:42
[INFO] [stderr]    |
[INFO] [stderr] 76 |         (C::ProjectivePoint::generator() * &self.scalar)
[INFO] [stderr]    |                                          ^ no implementation for `<C as ProjectiveArithmetic>::ProjectivePoint * &NonZeroScalar<C>`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `Mul<&NonZeroScalar<C>>` is not implemented for `<C as ProjectiveArithmetic>::ProjectivePoint`
[INFO] [stderr] help: consider further restricting the associated type
[INFO] [stderr]    |
[INFO] [stderr] 75 |     pub fn public_key(&self) -> PublicKey<C> where <C as ProjectiveArithmetic>::ProjectivePoint: Mul<&NonZeroScalar<C>> {
[INFO] [stderr]    |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to previous error
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0277`.
[INFO] [stderr] error: could not compile `elliptic-curve`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "0e41f5422b0a04df606e26b3e499c7222843b66e89fcb36a6d27ce231c61b084", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e41f5422b0a04df606e26b3e499c7222843b66e89fcb36a6d27ce231c61b084", kill_on_drop: false }`
[INFO] [stdout] 0e41f5422b0a04df606e26b3e499c7222843b66e89fcb36a6d27ce231c61b084