Build Information
Failed to build SurrealDB, reference main (12d748), with Swift 6.1 for Wasm on 7 Sep 2026 12:38:05 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build 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.1
Building package at path: $PWD
https://github.com/surrealdb/surrealdb.swift.git
https://github.com/surrealdb/surrealdb.swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/outfoxx/PotentCodables.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/79648] Fetching swift-syntax
[42215/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.61s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (4.62s)
Computing version for https://github.com/outfoxx/PotentCodables.git
Computed https://github.com/outfoxx/PotentCodables.git at 3.5.3 (0.25s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/sharplet/Regex.git
Fetching https://github.com/SusanDoggie/Float16.git
[1/4939] Fetching bigint
[100/6193] Fetching bigint, regex
[943/6503] Fetching bigint, regex, float16
Fetched https://github.com/SusanDoggie/Float16.git from cache (0.46s)
[3039/6193] Fetching bigint, regex
[5831/33329] Fetching bigint, regex, swift-collections
Fetched https://github.com/attaswift/BigInt.git from cache (1.13s)
Fetched https://github.com/sharplet/Regex.git from cache (1.13s)
Fetched https://github.com/apple/swift-collections.git from cache (1.13s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (2.06s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (0.23s)
Fetching https://github.com/apple/swift-numerics
[1/6592] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.58s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (0.79s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.20s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.31s)
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/SusanDoggie/Float16.git
Working copy of https://github.com/SusanDoggie/Float16.git resolved at 1.1.1
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/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.1
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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Building for debugging...
[0/123] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-composer.c:21:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-parse.h:21:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
19 | #include <termios.h>
| ^~~~~~~~~~~
1 error generated.
[16/123] Compiling fy-composer.c
[16/123] Compiling fy-diag.c
[16/123] Compiling fy-dump.c
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-diag.c:25:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-parse.h:21:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
19 | #include <termios.h>
| ^~~~~~~~~~~
1 error generated.
[16/123] Compiling fy-diag.c
[16/123] Compiling fy-atom.c
[16/123] Compiling fy-accel.c
[16/123] Write swift-version-24593BA9C3E375BF.txt
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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/107] Write sources
[27/107] Compiling _SwiftSyntaxCShims dummy.c
[27/107] Copying PotentCodables.docc
[29/107] Compiling _NumericsShims _NumericsShims.c
[30/107] Compiling fy-ctype.c
[31/107] Compiling fy-blob.c
[32/107] Compiling fy-utf8.c
[33/107] Compiling fy-utils.c
[34/107] Compiling xxhash.c
[35/107] Compiling fy-types.c
[36/107] Compiling fy-path.c
[37/107] Compiling fy-token.c
[38/107] Compiling fy-input.c
[39/107] Compiling fy-event.c
[40/107] Compiling fy-dump.c
[41/107] Compiling fy-walk.c
[42/107] Compiling fy-docstate.c
[43/107] Compiling fy-docbuilder.c
[44/107] Compiling CFloat16 float16.c
[45/107] Write sources
[47/107] Compiling fy-emit.c
[47/107] Write sources
[47/107] Copying PotentCodables.docc
[51/107] Write sources
[58/107] Compiling fy-composer.c
[59/107] Compiling fy-diag.c
[60/107] Compiling fy-accel.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.
[61/107] Compiling fy-utils.c
[61/107] Compiling fy-doc.c
[61/107] Compiling fy-parse.c
[61/107] Compiling fy-ctype.c
[61/107] Compiling xxhash.c
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.c:16:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
19 | #include <termios.h>
| ^~~~~~~~~~~
[61/107] Compiling fy-atom.c
[61/107] Compiling fy-utf8.c
[61/107] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm