Build #189791 2019-10-07T04:37:50.447654+00:00
# rustc version
rustc 1.39.0-nightly (66bf391c3 2019-09-23)# docs.rs version
docsrs 0.6.0 (0868fa4 2019-10-01)# build log
[INFO] running `"docker" "create" "-v" "/home/cratesfyi/workspace/builds/zkp-elliptic-curve-crypto-0.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/zkp-elliptic-curve-crypto-0.1.0/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" "MAP_USER_ID=1001" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=-Z unstable-options --resource-suffix -20190923-1.39.0-nightly-66bf391c3 --static-root-path / --disable-per-crate-search --extern-html-root-url zkp_primefield=https://docs.rs/zkp-primefield/0.1.0 --extern-html-root-url itertools=https://docs.rs/itertools/0.8.0 --extern-html-root-url zkp_macros_decl=https://docs.rs/zkp-macros-decl/0.1.0 --extern-html-root-url zkp_u256=https://docs.rs/zkp-u256/0.1.0 --extern-html-root-url zkp_elliptic_curve=https://docs.rs/zkp-elliptic-curve/0.1.0 --extern-html-root-url tiny_keccak=https://docs.rs/tiny-keccak/1.5.0 --extern-html-root-url lazy_static=https://docs.rs/lazy_static/1.4.0 --extern-html-root-url no_std_compat=https://docs.rs/no-std-compat/0.1.1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2019-09-24" "doc" "--lib" "--no-deps" "--target" "x86_64-unknown-linux-gnu"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 9f9e36a2194a0f39f14ae57bfb3c15121c4f58f97bd4d8e01d56b2357532d45f
[INFO] running `"docker" "start" "-a" "9f9e36a2194a0f39f14ae57bfb3c15121c4f58f97bd4d8e01d56b2357532d45f"`
[INFO] [stderr] Compiling proc-macro2 v1.0.5
[INFO] [stderr] Compiling unicode-xid v0.2.0
[INFO] [stderr] Compiling syn v1.0.5
[INFO] [stderr] Compiling hex v0.4.0
[INFO] [stderr] Compiling crunchy v0.2.2
[INFO] [stderr] Checking either v1.5.3
[INFO] [stderr] Checking no-std-compat v0.1.1
[INFO] [stderr] Checking spin v0.5.2
[INFO] [stderr] Checking itertools v0.8.0
[INFO] [stderr] Checking lazy_static v1.4.0
[INFO] [stderr] Checking tiny-keccak v1.5.0
[INFO] [stderr] Compiling quote v1.0.2
[INFO] [stderr] Compiling zkp-macros-lib v0.1.0
[INFO] [stderr] Compiling proc-macro-hack v0.5.10
[INFO] [stderr] Compiling zkp-macros-impl v0.1.0
[INFO] [stderr] Checking zkp-macros-decl v0.1.0
[INFO] [stderr] Checking zkp-u256 v0.1.0
[INFO] [stderr] Checking zkp-primefield v0.1.0
[INFO] [stderr] Checking zkp-elliptic-curve v0.1.0
[INFO] [stderr] Documenting zkp-elliptic-curve-crypto v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: Missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:5:1
[INFO] [stderr] |
[INFO] [stderr] 5 | / #![cfg_attr(not(feature = "std"), no_std)]
[INFO] [stderr] 6 | | #![forbid(unsafe_code)]
[INFO] [stderr] 7 | | #![warn(
[INFO] [stderr] 8 | | // Enable sets of warnings
[INFO] [stderr] ... |
[INFO] [stderr] 181 | | }
[INFO] [stderr] 182 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] |
[INFO] [stderr] note: lint level defined here
[INFO] [stderr] --> src/lib.rs:29:5
[INFO] [stderr] |
[INFO] [stderr] 29 | missing_doc_code_examples,
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: Missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:60:1
[INFO] [stderr] |
[INFO] [stderr] 60 | / pub fn private_to_public(private_key: &U256) -> Affine {
[INFO] [stderr] 61 | | Affine::from(&base_mul(&*GENERATOR_TABLE, private_key % ORDER))
[INFO] [stderr] 62 | | }
[INFO] [stderr] | |_^
[INFO] [stderr]
[INFO] [stderr] warning: Missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:69:1
[INFO] [stderr] |
[INFO] [stderr] 69 | / pub fn sign(msg_hash: &U256, private_key: &U256) -> (U256, U256) {
[INFO] [stderr] 70 | | assert!(msg_hash.bits() <= 251);
[INFO] [stderr] 71 | | for i in 0..1000 {
[INFO] [stderr] 72 | | let k = U256::from_bytes_be(&sha3_256(
[INFO] [stderr] ... |
[INFO] [stderr] 97 | | panic!("Could not find k for ECDSA after 1000 tries.")
[INFO] [stderr] 98 | | }
[INFO] [stderr] | |_^
[INFO] [stderr]
[INFO] [stderr] warning: Missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:101:1
[INFO] [stderr] |
[INFO] [stderr] 101 | / pub fn verify(msg_hash: &U256, r: &U256, w: &U256, public_key: &Affine) -> bool {
[INFO] [stderr] 102 | | assert!(r != &U256::ZERO);
[INFO] [stderr] 103 | | assert!(r.bits() <= 251);
[INFO] [stderr] 104 | | assert!(w != &U256::ZERO);
[INFO] [stderr] ... |
[INFO] [stderr] 116 | | }
[INFO] [stderr] 117 | | }
[INFO] [stderr] | |_^
[INFO] [stderr]
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.48s
[INFO] running `"docker" "inspect" "9f9e36a2194a0f39f14ae57bfb3c15121c4f58f97bd4d8e01d56b2357532d45f"`
[INFO] running `"docker" "rm" "-f" "9f9e36a2194a0f39f14ae57bfb3c15121c4f58f97bd4d8e01d56b2357532d45f"`
[INFO] [stdout] 9f9e36a2194a0f39f14ae57bfb3c15121c4f58f97bd4d8e01d56b2357532d45f