The Swift Package Index logo.Swift Package Index

Build Information

Failed to build razorpay-kit, reference 1.0.0-beta.2 (eb3a05), with Swift 6.4 for Wasm on 23 Oct 2026 04:38:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vamsii777/razorpay-kit.git
Reference: 1.0.0-beta.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/vamsii777/razorpay-kit
 * tag               1.0.0-beta.2 -> FETCH_HEAD
HEAD is now at eb3a05b Settlement webhook, settlement/IIN deprecations, DocC for billing + settlements (#92)
Cloned https://github.com/vamsii777/razorpay-kit.git
Revision (git rev-parse @):
eb3a05b371040603ff9f90a27a1a9700cb4c82ed
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vamsii777/razorpay-kit.git at 1.0.0-beta.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/vamsii777/razorpay-kit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:7a2e5502d3bb6640f9b2bbb1dadf9967024364ce9ed0ed0bd80cf1b699d193fd
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-nio.git
[1/18761] Fetching swift-crypto
[3566/35278] Fetching swift-crypto, async-http-client
[9556/121906] Fetching swift-crypto, async-http-client, swift-nio
Fetched https://github.com/apple/swift-crypto.git (1.83s)
[75425/103145] Fetching async-http-client, swift-nio
Fetched https://github.com/swift-server/async-http-client.git (4.39s)
Fetched https://github.com/apple/swift-nio.git (4.42s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (5.41s)
Fetching https://github.com/apple/swift-asn1.git
[1/2051] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.41s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.61s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.27s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/1889] Fetching swift-atomics
[1890/9262] Fetching swift-atomics, swift-system
[9263/38541] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (0.65s)
[2182/31168] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git (1.41s)
Fetched https://github.com/apple/swift-collections.git (1.42s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.60s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.18s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.4 (0.24s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.36.2 (0.19s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-configuration.git
[1/4119] Fetching swift-configuration
Fetched https://github.com/apple/swift-configuration.git (0.47s)
Fetching https://github.com/apple/swift-nio-ssl.git
[1/6689] Fetching swift-distributed-tracing
[403/18983] Fetching swift-distributed-tracing, swift-nio-http2
[9272/25142] Fetching swift-distributed-tracing, swift-nio-http2, swift-algorithms
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-algorithms.git (0.76s)
[18615/18983] Fetching swift-distributed-tracing, swift-nio-http2
Fetching https://github.com/apple/swift-nio-transport-services.git
[18984/35877] Fetching swift-distributed-tracing, swift-nio-http2, swift-nio-ssl
[20505/37417] Fetching swift-distributed-tracing, swift-nio-http2, swift-nio-ssl, swift-service-context
Fetched https://github.com/apple/swift-distributed-tracing.git (1.09s)
[14446/30728] Fetching swift-nio-http2, swift-nio-ssl, swift-service-context
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-nio-http2.git (1.09s)
[2321/18434] Fetching swift-nio-ssl, swift-service-context
[3275/26807] Fetching swift-nio-ssl, swift-service-context, swift-log
[3276/29674] Fetching swift-nio-ssl, swift-service-context, swift-log, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git (0.47s)
[14813/26807] Fetching swift-nio-ssl, swift-service-context, swift-log
Fetched https://github.com/apple/swift-service-context.git (0.55s)
[14624/25267] Fetching swift-nio-ssl, swift-log
Fetched https://github.com/apple/swift-log.git (0.55s)
[6420/16894] Fetching swift-nio-ssl
[16895/23603] Fetching swift-nio-ssl, swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git (0.64s)
Fetched https://github.com/apple/swift-nio-ssl.git (1.58s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.96s)
Fetching https://github.com/apple/swift-numerics.git
[1/6756] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.78s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.94s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.16s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.5.1 (0.15s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.7.2 (0.15s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.3.0 (0.21s)
Fetching https://github.com/swift-server/swift-service-lifecycle
[1/2880] Fetching swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle (0.58s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.13.0 (0.73s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6821] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.55s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.74s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (0.15s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.16s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.19s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (0.27s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-certificates.git
[1/1961] Fetching swift-http-types
[119/3245] Fetching swift-http-types, swift-http-structured-headers
Fetched https://github.com/apple/swift-http-structured-headers.git (0.44s)
[1/7601] Fetching swift-certificates
Fetched https://github.com/apple/swift-http-types.git (1.26s)
Fetched https://github.com/apple/swift-certificates.git (1.27s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (1.42s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.18s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.21s)
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.7
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.4
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.36.2
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.13.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.2
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.7.2
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 2836]
[Planning 1 / 2836]
[Planning 1120 / 2836]
[Planning 1667 / 2836]
[Planning 2132 / 2836]
[Planning 2589 / 2836]
[Planning deferred tasks]
[Constructing 1 / 6440]
[Constructing 1635 / 6440]
[Starting]
[128 / 1561] RazorpayPartners
[294 / 1561] CXKCPShims
[358 / 1568] _NumericsShims
[368 / 1583] Logging
[372 / 1618] SystemPackage
[374 / 1618] _NIOBase64
[385 / 1618] _NIODataStructures
[395 / 1618] _NIOBase64
[398 / 1618] Logging
[410 / 1618] SystemPackage
[411 / 1618] SystemPackage
[413 / 1618] SystemPackage
[417 / 1618] SystemPackage
[419 / 1619] SystemPackage-product
[420 / 1619] SystemPackage
[422 / 1619] RealModule
[426 / 1620] _NIOBase64
[431 / 1620] RealModule
[434 / 1620] Logging
[437 / 1620] Logging
[440 / 1621] RealModule
[442 / 1621] Logging
[446 / 1621] InternalCollectionsUtilities
[449 / 1621] InternalCollectionsUtilities
[453 / 1622] SpanPreview
[457 / 1622] Instrumentation
[461 / 1622]
[463 / 1623]
[466 / 1627] SpanPreview
[469 / 1629]
[478 / 1640] SpanPreview
[480 / 1640] NIOConcurrencyHelpers
[487 / 1650] ServiceContextModule
[493 / 1650] SpanPreview
[495 / 1651] ServiceContextModule
[499 / 1651] NIOConcurrencyHelpers
[502 / 1652] Logging
[509 / 1652] NIOConcurrencyHelpers
[517 / 1652] NIOConcurrencyHelpers-product
[519 / 1653] NIOConcurrencyHelpers-product
[522 / 1653] NIOConcurrencyHelpers
[529 / 1663] CSystem
[530 / 1663] CryptoBoringWrapper
[533 / 1663] Tracing
[534 / 1663] Tracing
[535 / 1663] Tracing
[536 / 1663] Tracing
[542 / 1663] Tracing
[544 / 1663] Tracing-product
[548 / 1665] CNIOWindows
[553 / 1683] CNIOPosix
[558 / 1683] CryptoBoringWrapper
[562 / 1684] DequeModule
[562 / 1685] DequeModule
[564 / 1685] DequeModule
[566 / 1685] DequeModule
[568 / 1685] CryptoBoringWrapper
[570 / 1685] CryptoBoringWrapper
[574 / 1685] Atomics
[574 / 1685] CXKCP
[577 / 1685] Atomics
[578 / 1685]
[583 / 1688] CNIOFreeBSD
[594 / 1688] CNIOExtrasZlib
[598 / 1688] CNIOExtrasZlib
[603 / 1688] CNIOBoringSSL
[603 / 1688] CNIOBoringSSLShims
[607 / 1688] CNIOBoringSSL
[608 / 1688] CNIOBoringSSL
[609 / 1689] CNIOBoringSSL
[617 / 1689] CNIOBoringSSL
[619 / 1689] CNIOBoringSSL
[620 / 1689] CNIOBoringSSL
[621 / 1689] CNIOBoringSSL
[622 / 1689] CNIOBoringSSL
[625 / 1689] CNIOBoringSSL
[629 / 1689] CNIOBoringSSL
[631 / 1689] CNIOBoringSSL
[631 / 1689] Atomics
[634 / 1690] CNIOBoringSSL
[635 / 1690] CNIOBoringSSL
[636 / 1690] DequeModule
[638 / 1690] DequeModule
[642 / 1690] CNIOBoringSSL
[644 / 1690] CNIOBoringSSL
[645 / 1690] CNIOBoringSSL
[648 / 1690] CNIOBoringSSL
[650 / 1690] CNIOBoringSSL
[653 / 1690] CNIOBoringSSL
[657 / 1690] CNIOBoringSSL
[661 / 1690] CNIOBoringSSL
[665 / 1690] CNIOBoringSSL
[666 / 1690] CNIOBoringSSL
[668 / 1690] CNIOBoringSSL
[669 / 1690] CNIOBoringSSL
[670 / 1690] CNIOBoringSSL
[671 / 1690] CNIOBoringSSL
[674 / 1690] CNIOBoringSSL
[675 / 1690] CNIOBoringSSL
[676 / 1690] CNIOBoringSSL
[678 / 1690] CNIOBoringSSL
[680 / 1690] CNIOBoringSSL
[682 / 1690] CNIOBoringSSL
[684 / 1690] CNIOBoringSSL
[686 / 1690] CNIOBoringSSL
[687 / 1690] CNIOBoringSSL
[689 / 1690] CNIOBoringSSL
[692 / 1690] CNIOBoringSSL
[693 / 1690] CNIOBoringSSL
[696 / 1690] CNIOBoringSSL
[697 / 1690] CNIOBoringSSL
[698 / 1690] CNIOBoringSSL
[701 / 1690] CNIOBoringSSL
[702 / 1690] CNIOBoringSSL
[706 / 1690] CNIOBoringSSL
[708 / 1690] CNIOBoringSSL
[710 / 1690] CNIOBoringSSL
[711 / 1690] CNIOBoringSSL
[712 / 1690] CNIOBoringSSL
[713 / 1690] CNIOBoringSSL
[716 / 1690] CNIOBoringSSL
[718 / 1690] CNIOBoringSSL
[720 / 1690] CNIOBoringSSL
[722 / 1690] CNIOBoringSSL
[723 / 1690] CNIOBoringSSL
[724 / 1690] CNIOBoringSSL
[728 / 1690] CNIOBoringSSL
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc:30:10: fatal error: 'netdb.h' file not found
   30 | #include <netdb.h>
      |          ^~~~~~~~~
1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/socket_helper.o /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc normal wasm32 c++ com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp

    /usr/bin/clang -x c++ -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body --sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/socket_helper.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/socket_helper.dia -c /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/socket_helper.o
error: Build failed
BUILD FAILURE 6.4 wasm