The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SurrealDB, reference main (12d748), with Swift 6.2 for Wasm on 7 Sep 2026 12:36:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-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

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/surrealdb/surrealdb.swift.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/surrealdb/surrealdb.swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 12d7480 chore: rename the `Spectron` module to `AgentMemory` (#8)
Cloned https://github.com/surrealdb/surrealdb.swift.git
Revision (git rev-parse @):
12d7480075dbfaf512146692d6960dad16c411e9
SUCCESS checkout https://github.com/surrealdb/surrealdb.swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/surrealdb/surrealdb.swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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:70428a4f4110aef5b17a27427e965f31cf3855e8cf1dfdc416ed61c780337965
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/outfoxx/PotentCodables.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/79648] Fetching swift-syntax
[71685/193595] Fetching swift-syntax, potentcodables
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.60s)
Fetched https://github.com/outfoxx/PotentCodables.git from cache (3.98s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (4.94s)
Computing version for https://github.com/outfoxx/PotentCodables.git
Computed https://github.com/outfoxx/PotentCodables.git at 3.5.3 (0.18s)
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/sharplet/Regex.git
Fetching https://github.com/SusanDoggie/Float16.git
Fetching https://github.com/apple/swift-collections.git
[1/310] Fetching float16
[51/1564] Fetching float16, regex
[412/6503] Fetching float16, regex, bigint
[6141/33639] Fetching float16, regex, bigint, swift-collections
Fetched https://github.com/SusanDoggie/Float16.git from cache (1.17s)
Fetched https://github.com/attaswift/BigInt.git from cache (1.17s)
Fetched https://github.com/sharplet/Regex.git from cache (1.17s)
Fetched https://github.com/apple/swift-collections.git from cache (1.18s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (2.04s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (0.16s)
Fetching https://github.com/apple/swift-numerics
[1/6592] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.60s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (0.74s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.13s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.23s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.7.0
Creating working copy for https://github.com/outfoxx/PotentCodables.git
Working copy of https://github.com/outfoxx/PotentCodables.git resolved at 3.5.3
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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Creating working copy for https://github.com/SusanDoggie/Float16.git
Working copy of https://github.com/SusanDoggie/Float16.git resolved at 1.1.1
Creating working copy for https://github.com/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.19s)
Building for debugging...
[0/92] Write sources
[19/92] Compiling _NumericsShims _NumericsShims.c
[19/92] Copying PotentCodables.docc
[21/92] Compiling fy-ctype.c
[22/92] Compiling fy-blob.c
[23/92] Compiling fy-utf8.c
[24/92] Compiling fy-utils.c
[25/92] Compiling xxhash.c
[26/92] Compiling fy-types.c
[27/92] Compiling fy-input.c
[28/92] Compiling fy-event.c
[29/92] Compiling fy-path.c
[30/92] Compiling fy-token.c
[31/92] Compiling fy-dump.c
[32/92] Compiling fy-docstate.c
[32/92] Compiling fy-walk.c
[34/92] Compiling fy-composer.c
[35/92] Compiling fy-docbuilder.c
[36/92] Write sources
[39/92] Compiling fy-emit.c
[39/92] Write sources
[39/92] Copying PotentCodables.docc
[39/92] Write sources
[57/92] Compiling CFloat16 float16.c
[58/92] Compiling fy-diag.c
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.c:18:10: fatal error: 'termios.h' file not found
   18 | #include <termios.h>
      |          ^~~~~~~~~~~
1 error generated.
[59/92] Compiling fy-utils.c
[59/92] Compiling xxhash.c
[59/92] Compiling fy-atom.c
[59/92] Compiling fy-utf8.c
[59/92] Compiling fy-accel.c
[59/92] Compiling fy-doc.c
[59/92] Compiling fy-parse.c
[59/92] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm