Build Information
Failed to build swift-openapi-vapor, reference main (0a9c09), with Swift 6.4 for Wasm on 17 Oct 2026 21:27:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-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.0-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/swift-openapi-vapor.git
Reference: main
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/vapor/swift-openapi-vapor
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0a9c091 Support Vapor 5 (#34)
Cloned https://github.com/vapor/swift-openapi-vapor.git
Revision (git rev-parse @):
0a9c091b9cfbfb62ddecdb2179f055257526e922
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vapor/swift-openapi-vapor.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/vapor/swift-openapi-vapor.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-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.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-openapi-runtime.git
Fetching https://github.com/vapor/vapor.git
[1/7238] Fetching swift-openapi-runtime
[7239/90503] Fetching swift-openapi-runtime, vapor
Fetched https://github.com/apple/swift-openapi-runtime.git (1.62s)
Fetched https://github.com/vapor/vapor.git (1.63s)
Computing version for https://github.com/apple/swift-openapi-runtime.git
Computed https://github.com/apple/swift-openapi-runtime.git at 1.13.1 (1.80s)
Fetching https://github.com/apple/swift-http-types
[1/1961] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types (0.45s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (0.62s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 5.0.0-beta.4 (0.19s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/swift-server/swift-http-server.git
Fetching https://github.com/apple/swift-atomics.git
[1/2051] Fetching swift-asn1
[412/3940] Fetching swift-asn1, swift-atomics
[2676/8758] Fetching swift-asn1, swift-atomics, swift-http-server
[3990/16359] Fetching swift-asn1, swift-atomics, swift-http-server, swift-certificates
Fetched https://github.com/apple/swift-atomics.git (0.45s)
[8910/14470] Fetching swift-asn1, swift-http-server, swift-certificates
Fetching https://github.com/apple/swift-service-context.git
[14471/21793] Fetching swift-asn1, swift-http-server, swift-certificates, swift-system
Fetched https://github.com/swift-server/swift-http-server.git (0.69s)
Fetched https://github.com/apple/swift-system.git (0.69s)
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/apple/swift-collections
[1/1536] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git (0.40s)
Fetching https://github.com/apple/swift-nio-extras.git
[1/6385] Fetching multipart-kit
[2492/87187] Fetching multipart-kit, swift-syntax
[4109/116061] Fetching multipart-kit, swift-syntax, swift-collections
[5726/122766] Fetching multipart-kit, swift-syntax, swift-collections, swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git (0.55s)
Fetching https://github.com/apple/swift-nio-ssl.git
[20676/116061] Fetching multipart-kit, swift-syntax, swift-collections
Fetched https://github.com/vapor/multipart-kit.git (0.97s)
[62811/109676] Fetching swift-syntax, swift-collections
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetched https://github.com/apple/swift-collections (1.19s)
Fetching https://github.com/vapor/routing-kit.git
[63026/80802] Fetching swift-syntax
[64643/97691] Fetching swift-syntax, swift-nio-ssl
[89924/119246] Fetching swift-syntax, swift-nio-ssl, routing-kit
[114074/122120] Fetching swift-syntax, swift-nio-ssl, routing-kit, swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.93s)
Fetching https://github.com/apple/swift-metrics.git
Fetched https://github.com/vapor/routing-kit.git (0.87s)
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/apple/swift-nio-ssl.git (1.49s)
Fetching https://github.com/apple/swift-configuration.git
[1/3563] Fetching swift-metrics
Fetched https://github.com/apple/swift-metrics.git (0.44s)
Fetching https://github.com/vapor/console-kit.git
[1/18682] Fetching swift-crypto
[1122/22766] Fetching swift-crypto, swift-configuration
Fetched https://github.com/apple/swift-configuration.git (0.46s)
Fetching https://github.com/swift-server/async-http-client.git
[2242/18682] Fetching swift-crypto
[2430/25525] Fetching swift-crypto, console-kit
Fetched https://github.com/vapor/console-kit.git (0.46s)
[4297/18682] Fetching swift-crypto
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-asn1.git (3.79s)
Fetched https://github.com/apple/swift-certificates.git (3.79s)
Fetching https://github.com/apple/swift-algorithms.git
Fetched https://github.com/swiftlang/swift-syntax.git (3.81s)
Fetching https://github.com/apple/swift-distributed-tracing.git
[1/8305] Fetching swift-log
[3407/24778] Fetching swift-log, async-http-client
Fetched https://github.com/apple/swift-log.git (0.56s)
[10543/16473] Fetching async-http-client
Fetched https://github.com/apple/swift-crypto.git (1.31s)
[16474/22632] Fetching async-http-client, swift-algorithms
[16844/29288] Fetching async-http-client, swift-algorithms, swift-distributed-tracing
Fetched https://github.com/swift-server/async-http-client.git (0.92s)
[11351/12815] Fetching swift-algorithms, swift-distributed-tracing
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-algorithms.git (0.52s)
Fetched https://github.com/apple/swift-distributed-tracing.git (0.54s)
[1/86563] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (2.88s)
Computing version for https://github.com/swift-server/swift-http-server.git
Computed https://github.com/swift-server/swift-http-server.git at 0.3.0 (7.98s)
Fetching https://github.com/apple/swift-http-api-proposal.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/12294] Fetching swift-nio-http2
[2583/16325] Fetching swift-nio-http2, swift-http-api-proposal
Fetched https://github.com/apple/swift-http-api-proposal.git (0.89s)
Fetched https://github.com/apple/swift-nio-http2.git (0.89s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (1.84s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.6.0 (0.22s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.5.0 (0.14s)
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.38s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1284] Fetching swift-http-structured-headers
Fetched https://github.com/apple/swift-http-structured-headers.git (0.36s)
[1/6821] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.54s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.71s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.16s)
Fetching https://github.com/apple/swift-numerics.git
[1/6756] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.50s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.75s)
Computing version for https://github.com/apple/swift-http-api-proposal.git
Computed https://github.com/apple/swift-http-api-proposal.git at 0.2.1 (0.18s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.35.0 (0.15s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2867] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git (0.42s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.5 (0.59s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.13s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.2 (0.18s)
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.14s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.18s)
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.17s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (0.14s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.12s)
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.13s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (0.12s)
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 (0.13s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.13.0 (0.12s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.16s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.1 (0.21s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.12.0 (0.13s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 5.0.0-beta.2 (0.12s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 5.0.0-beta.2 (0.13s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 5.0.0-beta.3 (0.12s)
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-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
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-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-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-openapi-runtime.git
Working copy of https://github.com/apple/swift-openapi-runtime.git resolved at 1.13.1
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 5.0.0-beta.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/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 5.0.0-beta.4
Creating working copy for https://github.com/vapor/multipart-kit.git
Working copy of https://github.com/vapor/multipart-kit.git resolved at 5.0.0-beta.2
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.35.0
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.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.13.0
Creating working copy for https://github.com/swift-server/swift-http-server.git
Working copy of https://github.com/swift-server/swift-http-server.git resolved at 0.3.0
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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 5.0.0-beta.3
Creating working copy for https://github.com/apple/swift-http-api-proposal.git
Working copy of https://github.com/apple/swift-http-api-proposal.git resolved at 0.2.1
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.5.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.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/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-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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.1
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.2
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.12.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.5
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.8.0
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-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-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 / 2717]
[Planning 561 / 2717]
[Planning 1831 / 2717]
[Planning deferred tasks]
[Constructing 392 / 6677]
[Constructing 5865 / 6677]
[Starting]
[6 / 1703] HTTPAPIs-product
[411 / 1706]
[427 / 1738] SystemPackage
[431 / 1738] _NIOBase64
[451 / 1738] SystemPackage
[451 / 1738] SwiftASN1
[463 / 1738] SystemPackage
[471 / 1740] SystemPackage
[480 / 1741] _CertificateInternals
[484 / 1741] _NIODataStructures
[485 / 1741] _NIODataStructures
[492 / 1757] ServiceContextModule
[505 / 1758] SystemPackage
[511 / 1758] NetworkTypes
[531 / 1818] Atomics
[534 / 1829] CXKCP
[541 / 1829] CoreMetrics
[561 / 1829] CNIOPosix
[584 / 1829] CryptoBoringWrapper
[603 / 1829] CNIOBoringSSL
[604 / 1829] CNIOBoringSSLShims
[611 / 1829] CNIOBoringSSL
[616 / 1829] CNIOBoringSSL
[617 / 1829] Atomics
[618 / 1829] CNIOBoringSSL
[635 / 1829] CNIOBoringSSL
[636 / 1829] CNIOBoringSSL
[641 / 1829] CNIOBoringSSL
[644 / 1829] CNIOBoringSSL
[649 / 1829] CNIOBoringSSL
[654 / 1829] CNIOBoringSSL
[659 / 1829] CNIOBoringSSL
[661 / 1829] CNIOBoringSSL
[665 / 1829] CNIOBoringSSL
[668 / 1829] CNIOBoringSSL
[670 / 1829] CNIOBoringSSL
[676 / 1829] CNIOBoringSSL
[677 / 1829] CNIOBoringSSL
[683 / 1829] CNIOBoringSSL
[685 / 1829] CNIOBoringSSL
[686 / 1829] CNIOBoringSSL
[692 / 1829] CNIOBoringSSL
[693 / 1829] CNIOBoringSSL
[694 / 1829] CNIOBoringSSL
[697 / 1829] CNIOBoringSSL
[701 / 1829] CNIOBoringSSL
[703 / 1829] CNIOBoringSSL
[707 / 1829] CNIOBoringSSL
[710 / 1829] CNIOBoringSSL
[712 / 1829] CNIOBoringSSL
[714 / 1829] CNIOBoringSSL
[719 / 1829] CNIOBoringSSL
[720 / 1829] CNIOBoringSSL
[722 / 1829] CNIOBoringSSL
[726 / 1829] CNIOBoringSSL
[727 / 1829] CNIOBoringSSL
[730 / 1829] CNIOBoringSSL
[733 / 1829] CNIOBoringSSL
[1m/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc:30:10: [0m[0;1;31mfatal error: [0m[1m'netdb.h' file not found[0m
30 | #include <netdb.h>[0m
| [0;1;32m ^~~~~~~~~
[0m1 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