secp256k1 0.30.0

Rust wrapper library for Pieter Wuille's `libsecp256k1`. Implements ECDSA and BIP 340 signatures for the SECG elliptic curve group secp256k1 and related utilities.
Documentation
Build #1384844 2024-10-09T03:27:35.595995+00:00
# rustc version
rustc 1.83.0-nightly (6f4ae0f34 2024-10-08)# docs.rs version
docsrs 0.6.0 (d5a37845 2024-09-24)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/secp256k1-0.30.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/secp256k1-0.30.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241008-1.83.0-nightly-6f4ae0f34\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-pc-windows-msvc", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 85a41e7e4f2a128208b83fcfaad2ec89bf0dd57ac3cae6a7c6611be297972eea
[INFO] running `Command { std: "docker" "start" "-a" "85a41e7e4f2a128208b83fcfaad2ec89bf0dd57ac3cae6a7c6611be297972eea", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: generate_keys, sign_verify, sign_verify_recovery
[INFO] [stderr]     If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr]     to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]     Checking hex-conservative v0.2.1
[INFO] [stderr]     Checking rand_chacha v0.3.0
[INFO] [stderr]    Compiling secp256k1-sys v0.10.1
[INFO] [stderr] The following warnings were emitted during compilation:
[INFO] [stderr] 
[INFO] [stderr] warning: secp256k1-sys@0.10.1: /usr/bin/ld: cannot open output file a.out: Read-only file system
[INFO] [stderr] warning: secp256k1-sys@0.10.1: collect2: error: ld returned 1 exit status
[INFO] [stderr] warning: secp256k1-sys@0.10.1: /usr/bin/ld: cannot open output file a.out: Read-only file system
[INFO] [stderr] warning: secp256k1-sys@0.10.1: collect2: error: ld returned 1 exit status
[INFO] [stderr] 
[INFO] [stderr] error: failed to run custom build command for `secp256k1-sys v0.10.1`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/secp256k1-sys-a2e2961fcc3bdb5f/build-script-build` (exit status: 101)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   TARGET = Some("x86_64-pc-windows-msvc")
[INFO] [stderr]   OPT_LEVEL = Some("0")
[INFO] [stderr]   HOST = Some("x86_64-unknown-linux-gnu")
[INFO] [stderr]   CC_x86_64-pc-windows-msvc = None
[INFO] [stderr]   CC_x86_64_pc_windows_msvc = None
[INFO] [stderr]   TARGET_CC = None
[INFO] [stderr]   CC = None
[INFO] [stderr]   CROSS_COMPILE = None
[INFO] [stderr]   CFLAGS_x86_64-pc-windows-msvc = None
[INFO] [stderr]   CFLAGS_x86_64_pc_windows_msvc = None
[INFO] [stderr]   TARGET_CFLAGS = None
[INFO] [stderr]   CFLAGS = None
[INFO] [stderr]   DEBUG = Some("true")
[INFO] [stderr]   CC_x86_64-pc-windows-msvc = None
[INFO] [stderr]   CC_x86_64_pc_windows_msvc = None
[INFO] [stderr]   TARGET_CC = None
[INFO] [stderr]   CC = None
[INFO] [stderr]   CROSS_COMPILE = None
[INFO] [stderr]   CFLAGS_x86_64-pc-windows-msvc = None
[INFO] [stderr]   CFLAGS_x86_64_pc_windows_msvc = None
[INFO] [stderr]   TARGET_CFLAGS = None
[INFO] [stderr]   CFLAGS = None
[INFO] [stderr]   CC_x86_64-pc-windows-msvc = None
[INFO] [stderr]   CC_x86_64_pc_windows_msvc = None
[INFO] [stderr]   TARGET_CC = None
[INFO] [stderr]   CC = None
[INFO] [stderr]   CROSS_COMPILE = None
[INFO] [stderr]   CFLAGS_x86_64-pc-windows-msvc = None
[INFO] [stderr]   CFLAGS_x86_64_pc_windows_msvc = None
[INFO] [stderr]   TARGET_CFLAGS = None
[INFO] [stderr]   CFLAGS = None
[INFO] [stderr]   running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "depend/secp256k1/" "-I" "depend/secp256k1/include" "-I" "depend/secp256k1/src" "-Wall" "-Wextra" "-DSECP256K1_API=" "-DENABLE_MODULE_ECDH=1" "-DENABLE_MODULE_SCHNORRSIG=1" "-DENABLE_MODULE_EXTRAKEYS=1" "-DENABLE_MODULE_ELLSWIFT=1" "-Dprintf(...)=" "-DECMULT_WINDOW_SIZE=4" "-DECMULT_GEN_PREC_BITS=2" "-DUSE_EXTERNAL_DEFAULT_CALLBACKS=1" "-DENABLE_MODULE_RECOVERY=1" "/Fo/opt/rustwide/target/x86_64-pc-windows-msvc/debug/build/secp256k1-sys-394a737da4a0398a/out/depend/secp256k1/contrib/lax_der_parsing.o" "/c" "depend/secp256k1/contrib/lax_der_parsing.c"
[INFO] [stderr]   cargo:warning=/usr/bin/ld: cannot open output file a.out: Read-only file system
[INFO] [stderr]   cargo:warning=collect2: error: ld returned 1 exit status
[INFO] [stderr]   exit status: 1
[INFO] [stderr]   running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "depend/secp256k1/" "-I" "depend/secp256k1/include" "-I" "depend/secp256k1/src" "-I" "wasm/wasm-sysroot" "-Wall" "-Wextra" "-DSECP256K1_API=" "-DENABLE_MODULE_ECDH=1" "-DENABLE_MODULE_SCHNORRSIG=1" "-DENABLE_MODULE_EXTRAKEYS=1" "-DENABLE_MODULE_ELLSWIFT=1" "-Dprintf(...)=" "-DECMULT_WINDOW_SIZE=4" "-DECMULT_GEN_PREC_BITS=2" "-DUSE_EXTERNAL_DEFAULT_CALLBACKS=1" "-DENABLE_MODULE_RECOVERY=1" "/Fo/opt/rustwide/target/x86_64-pc-windows-msvc/debug/build/secp256k1-sys-394a737da4a0398a/out/depend/secp256k1/contrib/lax_der_parsing.o" "/c" "depend/secp256k1/contrib/lax_der_parsing.c"
[INFO] [stderr]   cargo:warning=/usr/bin/ld: cannot open output file a.out: Read-only file system
[INFO] [stderr]   cargo:warning=collect2: error: ld returned 1 exit status
[INFO] [stderr]   exit status: 1
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr]   thread 'main' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cc-1.0.28/src/lib.rs:2314:5:
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   Internal error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "depend/secp256k1/" "-I" "depend/secp256k1/include" "-I" "depend/secp256k1/src" "-I" "wasm/wasm-sysroot" "-Wall" "-Wextra" "-DSECP256K1_API=" "-DENABLE_MODULE_ECDH=1" "-DENABLE_MODULE_SCHNORRSIG=1" "-DENABLE_MODULE_EXTRAKEYS=1" "-DENABLE_MODULE_ELLSWIFT=1" "-Dprintf(...)=" "-DECMULT_WINDOW_SIZE=4" "-DECMULT_GEN_PREC_BITS=2" "-DUSE_EXTERNAL_DEFAULT_CALLBACKS=1" "-DENABLE_MODULE_RECOVERY=1" "/Fo/opt/rustwide/target/x86_64-pc-windows-msvc/debug/build/secp256k1-sys-394a737da4a0398a/out/depend/secp256k1/contrib/lax_der_parsing.o" "/c" "depend/secp256k1/contrib/lax_der_parsing.c" with args "cc" did not execute successfully (status code exit status: 1).
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "85a41e7e4f2a128208b83fcfaad2ec89bf0dd57ac3cae6a7c6611be297972eea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "85a41e7e4f2a128208b83fcfaad2ec89bf0dd57ac3cae6a7c6611be297972eea", kill_on_drop: false }`
[INFO] [stdout] 85a41e7e4f2a128208b83fcfaad2ec89bf0dd57ac3cae6a7c6611be297972eea