Build Information
Failed to build PayPal, reference 0.3.2 (54e8cf), with Swift 6.4 for Wasm on 16 Sep 2026 15:52:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/skelpo/paypal.git
Reference: 0.3.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/skelpo/paypal
* tag 0.3.2 -> FETCH_HEAD
HEAD is now at 54e8cf3 Merge pull request #9 from skelpo/develop
Cloned https://github.com/skelpo/paypal.git
Revision (git rev-parse @):
54e8cf3b6e0e28789b3e27af7737893c30b95176
SUCCESS checkout https://github.com/skelpo/paypal.git at 0.3.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/skelpo/paypal.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/twostraws/SwiftGD.git
Fetching https://github.com/skelpo/JSON.git
Fetching https://github.com/skelpo/Failable.git
Fetching https://github.com/vapor/vapor.git
Fetching https://github.com/skelpo/Countries.git
[1/747] Fetching failable
[465/2070] Fetching failable, json
[2071/2344] Fetching failable, json, countries
Fetched https://github.com/skelpo/Countries.git (0.57s)
[1/491] Fetching swiftgd
[36/81890] Fetching swiftgd, vapor
Fetched https://github.com/twostraws/SwiftGD.git (1.04s)
[1628/81399] Fetching vapor
Fetched https://github.com/skelpo/Failable.git (2.09s)
Fetched https://github.com/skelpo/JSON.git (2.09s)
Fetched https://github.com/vapor/vapor.git (2.10s)
Computing version for https://github.com/skelpo/JSON.git
Computed https://github.com/skelpo/JSON.git at 0.13.1 (3.19s)
Computing version for https://github.com/skelpo/Countries.git
Computed https://github.com/skelpo/Countries.git at 0.9.1 (0.18s)
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
Fetched https://github.com/vapor/core.git (0.74s)
Computing version for https://github.com/skelpo/Failable.git
Computed https://github.com/skelpo/Failable.git at 0.4.0 (1.79s)
Computing version for https://github.com/twostraws/SwiftGD.git
Computed https://github.com/twostraws/SwiftGD.git at 2.6.0 (0.19s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.3 (0.19s)
Fetching https://github.com/vapor/multipart.git
Fetching https://github.com/vapor/crypto.git
Fetching https://github.com/vapor/websocket.git
Fetching https://github.com/vapor/service.git
Fetching https://github.com/vapor/template-kit.git
Fetching https://github.com/vapor/validation.git
[1/2786] Fetching crypto
[1645/3365] Fetching crypto, validation
Fetched https://github.com/vapor/validation.git (0.45s)
[1/1282] Fetching template-kit
Fetching https://github.com/vapor/http.git
Fetched https://github.com/vapor/crypto.git (0.46s)
Fetching https://github.com/vapor/routing.git
[245/7560] Fetching template-kit, multipart
[2916/10230] Fetching template-kit, multipart, websocket
[3531/35697] Fetching template-kit, multipart, websocket, http
[9661/57247] Fetching template-kit, multipart, websocket, http, routing
Fetched https://github.com/vapor/websocket.git (0.92s)
[11241/54577] Fetching template-kit, multipart, http, routing
Fetching https://github.com/vapor/url-encoded-form.git
[42548/55496] Fetching template-kit, multipart, http, routing, service
Fetched https://github.com/vapor/template-kit.git (1.14s)
[51620/54214] Fetching multipart, http, routing, service
Fetched https://github.com/vapor/service.git (1.14s)
[51015/53295] Fetching multipart, http, routing
Fetching https://github.com/vapor/database-kit.git
Fetching https://github.com/vapor/console.git
Fetched https://github.com/vapor/multipart.git (1.28s)
Fetched https://github.com/vapor/http.git (0.85s)
[1/381] Fetching url-encoded-form
Fetched https://github.com/vapor/routing.git (0.88s)
Fetched https://github.com/vapor/url-encoded-form.git (0.44s)
[1/1181] Fetching database-kit
[1182/8024] Fetching database-kit, console
Fetched https://github.com/vapor/database-kit.git (0.63s)
Fetched https://github.com/vapor/console.git (0.63s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (1.96s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/16064] Fetching swift-nio-ssl
[16065/102011] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git (1.04s)
[6876/85947] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (3.16s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (3.36s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.18s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.20s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.41s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (0.57s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.1.0 (0.17s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.2 (0.17s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.4.0 (0.18s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
[1/16] Fetching swift-nio-ssl-support
Fetched https://github.com/apple/swift-nio-ssl-support.git (0.45s)
Computing version for https://github.com/apple/swift-nio-ssl-support.git
Computed https://github.com/apple/swift-nio-ssl-support.git at 1.0.0 (0.62s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.18s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.18s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (0.17s)
Computing version for https://github.com/vapor/url-encoded-form.git
Computed https://github.com/vapor/url-encoded-form.git at 1.1.0 (0.17s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.5.0 (0.17s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.1.3 (0.17s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.17s)
Creating working copy for https://github.com/vapor/template-kit.git
Working copy of https://github.com/vapor/template-kit.git resolved at 1.5.0
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
Creating working copy for https://github.com/vapor/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.1.3
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.4.1
Creating working copy for https://github.com/vapor/url-encoded-form.git
Working copy of https://github.com/vapor/url-encoded-form.git resolved at 1.1.0
Creating working copy for https://github.com/skelpo/Countries.git
Working copy of https://github.com/skelpo/Countries.git resolved at 0.9.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/apple/swift-nio-ssl-support.git
Working copy of https://github.com/apple/swift-nio-ssl-support.git resolved at 1.0.0
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 1.4.0
Creating working copy for https://github.com/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.1.1
Creating working copy for https://github.com/vapor/validation.git
Working copy of https://github.com/vapor/validation.git resolved at 2.1.1
Creating working copy for https://github.com/vapor/database-kit.git
Working copy of https://github.com/vapor/database-kit.git resolved at 1.3.3
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.3.3
Creating working copy for https://github.com/skelpo/Failable.git
Working copy of https://github.com/skelpo/Failable.git resolved at 0.4.0
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/vapor/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.4.0
Creating working copy for https://github.com/skelpo/JSON.git
Working copy of https://github.com/skelpo/JSON.git resolved at 0.13.1
Creating working copy for https://github.com/vapor/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.2
Creating working copy for https://github.com/vapor/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.1.0
Creating working copy for https://github.com/vapor/websocket.git
Working copy of https://github.com/vapor/websocket.git resolved at 1.1.2
Creating working copy for https://github.com/twostraws/SwiftGD.git
Working copy of https://github.com/twostraws/SwiftGD.git resolved at 2.6.0
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: 'swiftgd': you may be able to install gdlib using your system-packager:
apt-get install libgd-dev
warning: 'swift-nio-ssl-support': couldn't find pc file for openssl
Building for debugging...
[Computing dependencies]
[Provisioning 2 / 76]
[Pre-planning 1 / 1325]
[Planning 836 / 1325]
[Planning deferred tasks]
[Starting]
[43 / 458] TemplateKit
[215 / 467] NIOPriorityQueue
[1m/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOSHA1/c_nio_sha1.c:47:10: [0m[0;1;31mfatal error: [0m[1m'sys/cdefs.h' file not found[0m
47 | #include <sys/cdefs.h>[0m
| [0;1;32m ^~~~~~~~~~~~~
[0m1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio.build/Debug-webassembly-wasm32/CNIOSHA1-t.build/Objects-normal/wasm32/c_nio_sha1.o /host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOSHA1/c_nio_sha1.c 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.build/Debug-webassembly-wasm32/CNIOSHA1-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-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-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 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio.build/Debug-webassembly-wasm32/CNIOSHA1-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio.build/Debug-webassembly-wasm32/CNIOSHA1-t.build/Objects-normal/wasm32/c_nio_sha1.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio.build/Debug-webassembly-wasm32/CNIOSHA1-t.build/Objects-normal/wasm32/c_nio_sha1.dia -c /host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOSHA1/c_nio_sha1.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio.build/Debug-webassembly-wasm32/CNIOSHA1-t.build/Objects-normal/wasm32/c_nio_sha1.o
error: Build failed
BUILD FAILURE 6.4 wasm