Build Information
Failed to build SchemaSwift, reference main (fa68a7), with Swift 6.2 for Wasm on 11 Jul 2026 02:31:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/khanlou/SchemaSwift.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/khanlou/SchemaSwift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at fa68a7d add a trimTrailingWhitespace flag
Cloned https://github.com/khanlou/SchemaSwift.git
Revision (git rev-parse @):
fa68a7d3541db29f23a417e12a9feac7737c12bb
SUCCESS checkout https://github.com/khanlou/SchemaSwift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/khanlou/SchemaSwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:dc8dffc38f1d92eca7ee5312617822470123661393ed20672e77964f9dcaaffb
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/vapor/postgres-kit.git
Fetching https://github.com/apple/swift-async-algorithms
Fetching https://github.com/apple/swift-argument-parser
[1/6584] Fetching swift-async-algorithms
[67/24608] Fetching swift-async-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-async-algorithms from cache (0.51s)
[9012/18024] Fetching swift-argument-parser
[18025/23498] Fetching swift-argument-parser, postgres-kit
Fetched https://github.com/vapor/postgres-kit.git from cache (0.68s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.69s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.5 (0.91s)
Fetching https://github.com/apple/swift-collections.git
[1/25985] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (0.96s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (1.20s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.15s)
Computing version for https://github.com/vapor/postgres-kit.git
Computed https://github.com/vapor/postgres-kit.git at 2.15.1 (0.13s)
Fetching https://github.com/vapor/sql-kit.git
Fetching https://github.com/vapor/postgres-nio.git
Fetching https://github.com/vapor/async-kit.git
[1/2496] Fetching async-kit
[2497/8746] Fetching async-kit, sql-kit
[8747/22971] Fetching async-kit, sql-kit, postgres-nio
Fetched https://github.com/vapor/async-kit.git from cache (0.67s)
Fetched https://github.com/vapor/sql-kit.git from cache (0.67s)
Fetched https://github.com/vapor/postgres-nio.git from cache (0.67s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.22.0 (0.82s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
[1/7644] Fetching swift-log
[2906/13718] Fetching swift-log, swift-algorithms
[13719/98238] Fetching swift-log, swift-algorithms, swift-nio
Fetched https://github.com/apple/swift-algorithms.git from cache (2.74s)
Fetched https://github.com/apple/swift-log.git from cache (2.74s)
Fetched https://github.com/apple/swift-nio.git from cache (2.78s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (3.65s)
Fetching https://github.com/apple/swift-numerics.git
[1/6441] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.95s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.36.0 (1.11s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.14s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.14.0 (0.16s)
Computing version for https://github.com/vapor/postgres-nio.git
Computed https://github.com/vapor/postgres-nio.git at 1.33.0 (0.16s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-crypto.git
[1/1868] Fetching swift-atomics
[20/5236] Fetching swift-atomics, swift-metrics
[249/8096] Fetching swift-atomics, swift-metrics, swift-nio-transport-services
[1065/10866] Fetching swift-atomics, swift-metrics, swift-nio-transport-services, swift-service-lifecycle
Fetched https://github.com/apple/swift-metrics.git from cache (0.46s)
[7413/7498] Fetching swift-atomics, swift-nio-transport-services, swift-service-lifecycle
[7499/25278] Fetching swift-atomics, swift-nio-transport-services, swift-service-lifecycle, swift-crypto
[8388/40867] Fetching swift-atomics, swift-nio-transport-services, swift-service-lifecycle, swift-crypto, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.31s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.32s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.32s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.32s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.33s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.48s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.101.2 (0.34s)
Fetching https://github.com/apple/swift-system.git
[1/6160] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.58s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (0.73s)
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.15s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.11.0 (0.14s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.7.4 (0.17s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.1 (0.18s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.0 (1.15s)
Fetching https://github.com/apple/swift-asn1.git
[1/1914] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.42s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.1 (0.60s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.14.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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.22.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.6.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/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
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.1
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/vapor/postgres-nio.git
Working copy of https://github.com/vapor/postgres-nio.git resolved at 1.33.0
Creating working copy for https://github.com/vapor/sql-kit.git
Working copy of https://github.com/vapor/sql-kit.git resolved at 3.36.0
Creating working copy for https://github.com/vapor/postgres-kit.git
Working copy of https://github.com/vapor/postgres-kit.git resolved at 2.15.1
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.1.5
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.11.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.7.4
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.101.2
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.11.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 2.37.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/880] Compiling printf.cc
[3/880] Compiling bio_mem.cc
[3/880] Compiling blake2.cc
[3/880] Write sources
[3/880] Compiling base64.cc
[3/880] Write sources
/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.
[16/880] Compiling socket_helper.cc
[16/880] Compiling _AtomicsShims.c
[16/880] Compiling _NumericsShims _NumericsShims.c
[16/880] Write sources
[16/880] Compiling asn1_par.cc
[60/880] Compiling socket.cc
[201/880] Compiling bio.cc
[832/880] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm