ink 5.1.0

[ink!] Rust based eDSL for writing smart contracts for Substrate
Documentation
Build #1567013 2024-11-28T11:55:37.700151+00:00
# rustc version
rustc 1.85.0-nightly (6b6a867ae 2024-11-27)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/ink-5.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/ink-5.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" "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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241127-1.85.0-nightly-6b6a867ae\", \"--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-apple-darwin\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-apple-darwin", kill_on_drop: false }`
[INFO] [stdout] 3c5c33db9b765bce28242b0d03d4313dc20b689f02a1b89df529ee0c5b5b38b4
[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" "3c5c33db9b765bce28242b0d03d4313dc20b689f02a1b89df529ee0c5b5b38b4", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]     Checking parity-scale-codec v3.7.0
[INFO] [stderr]     Checking serde_json v1.0.133
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling secp256k1-sys v0.9.2
[INFO] [stderr]     Checking integer-sqrt v0.1.5
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking linkme v0.3.31
[INFO] [stderr] warning: secp256k1-sys@0.9.2: cc: error: unrecognized command-line option '-arch'
[INFO] [stderr] warning: secp256k1-sys@0.9.2: cc: error: unrecognized command-line option '-mmacosx-version-min=10.7'
[INFO] [stderr] warning: secp256k1-sys@0.9.2: cc: error: unrecognized command-line option '-arch'
[INFO] [stderr] warning: secp256k1-sys@0.9.2: cc: error: unrecognized command-line option '-mmacosx-version-min=10.7'
[INFO] [stderr] error: failed to run custom build command for `secp256k1-sys v0.9.2`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/secp256k1-sys-e3f508cba4b61cf9/build-script-build` (exit status: 1)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   OUT_DIR = Some(/opt/rustwide/target/x86_64-apple-darwin/debug/build/secp256k1-sys-77756c7972ae0cbe/out)
[INFO] [stderr]   OPT_LEVEL = Some(0)
[INFO] [stderr]   TARGET = Some(x86_64-apple-darwin)
[INFO] [stderr]   HOST = Some(x86_64-unknown-linux-gnu)
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64-apple-darwin
[INFO] [stderr]   CC_x86_64-apple-darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64_apple_darwin
[INFO] [stderr]   CC_x86_64_apple_darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CC
[INFO] [stderr]   TARGET_CC = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC
[INFO] [stderr]   CC = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CROSS_COMPILE
[INFO] [stderr]   CROSS_COMPILE = None
[INFO] [stderr]   RUSTC_LINKER = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[INFO] [stderr]   RUSTC_WRAPPER = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[INFO] [stderr]   CRATE_CC_NO_DEFAULTS = None
[INFO] [stderr]   DEBUG = Some(true)
[INFO] [stderr]   CARGO_CFG_TARGET_FEATURE = Some(cmpxchg16b,fxsr,lahfsahf,sse,sse2,sse3,sse4.1,ssse3)
[INFO] [stderr]   cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
[INFO] [stderr]   MACOSX_DEPLOYMENT_TARGET = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64-apple-darwin
[INFO] [stderr]   CFLAGS_x86_64-apple-darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64_apple_darwin
[INFO] [stderr]   CFLAGS_x86_64_apple_darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CFLAGS
[INFO] [stderr]   TARGET_CFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS
[INFO] [stderr]   CFLAGS = None
[INFO] [stderr]   OUT_DIR = Some(/opt/rustwide/target/x86_64-apple-darwin/debug/build/secp256k1-sys-77756c7972ae0cbe/out)
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[INFO] [stderr]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[INFO] [stderr]   CRATE_CC_NO_DEFAULTS = None
[INFO] [stderr]   TARGET = Some(x86_64-apple-darwin)
[INFO] [stderr]   CARGO_CFG_TARGET_FEATURE = Some(cmpxchg16b,fxsr,lahfsahf,sse,sse2,sse3,sse4.1,ssse3)
[INFO] [stderr]   cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
[INFO] [stderr]   MACOSX_DEPLOYMENT_TARGET = None
[INFO] [stderr]   HOST = Some(x86_64-unknown-linux-gnu)
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64-apple-darwin
[INFO] [stderr]   CFLAGS_x86_64-apple-darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64_apple_darwin
[INFO] [stderr]   CFLAGS_x86_64_apple_darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CFLAGS
[INFO] [stderr]   TARGET_CFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS
[INFO] [stderr]   CFLAGS = None
[INFO] [stderr]   OUT_DIR = Some(/opt/rustwide/target/x86_64-apple-darwin/debug/build/secp256k1-sys-77756c7972ae0cbe/out)
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[INFO] [stderr]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[INFO] [stderr]   CRATE_CC_NO_DEFAULTS = None
[INFO] [stderr]   TARGET = Some(x86_64-apple-darwin)
[INFO] [stderr]   CARGO_CFG_TARGET_FEATURE = Some(cmpxchg16b,fxsr,lahfsahf,sse,sse2,sse3,sse4.1,ssse3)
[INFO] [stderr]   cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
[INFO] [stderr]   MACOSX_DEPLOYMENT_TARGET = None
[INFO] [stderr]   HOST = Some(x86_64-unknown-linux-gnu)
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64-apple-darwin
[INFO] [stderr]   CFLAGS_x86_64-apple-darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64_apple_darwin
[INFO] [stderr]   CFLAGS_x86_64_apple_darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CFLAGS
[INFO] [stderr]   TARGET_CFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS
[INFO] [stderr]   CFLAGS = None
[INFO] [stderr]   cargo:warning=cc: error: unrecognized command-line option '-arch'
[INFO] [stderr]   cargo:warning=cc: error: unrecognized command-line option '-mmacosx-version-min=10.7'
[INFO] [stderr]   cargo:warning=cc: error: unrecognized command-line option '-arch'
[INFO] [stderr]   cargo:warning=cc: error: unrecognized command-line option '-mmacosx-version-min=10.7'
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-mmacosx-version-min=10.7" "-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_GEN_PREC_BITS=4" "-DECMULT_WINDOW_SIZE=15" "-DUSE_EXTERNAL_DEFAULT_CALLBACKS=1" "-DENABLE_MODULE_RECOVERY=1" "-o" "/opt/rustwide/target/x86_64-apple-darwin/debug/build/secp256k1-sys-77756c7972ae0cbe/out/84f2453a56d059fc-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] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "3c5c33db9b765bce28242b0d03d4313dc20b689f02a1b89df529ee0c5b5b38b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c5c33db9b765bce28242b0d03d4313dc20b689f02a1b89df529ee0c5b5b38b4", kill_on_drop: false }`
[INFO] [stdout] 3c5c33db9b765bce28242b0d03d4313dc20b689f02a1b89df529ee0c5b5b38b4