Build Information
Failed to build SurrealDB, reference v1.0.0-alpha.2 (12d748), with Swift 6.2 for Wasm on 7 Sep 2026 21:36:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/surrealdb/surrealdb.swift.git
Reference: v1.0.0-alpha.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/surrealdb/surrealdb.swift
* tag v1.0.0-alpha.2 -> FETCH_HEAD
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 v1.0.0-alpha.2
========================================
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-54344844-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.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/swiftlang/swift-syntax.git
Fetching https://github.com/outfoxx/PotentCodables.git
[1/79651] Fetching swift-syntax
[50978/193598] Fetching swift-syntax, potentcodables
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.66s)
Fetched https://github.com/outfoxx/PotentCodables.git from cache (3.67s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (4.63s)
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/SusanDoggie/Float16.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/sharplet/Regex.git
[1/310] Fetching float16
[311/1564] Fetching float16, regex
[324/6503] Fetching float16, regex, bigint
[6116/33639] Fetching float16, regex, bigint, swift-collections
Fetched https://github.com/SusanDoggie/Float16.git from cache (0.71s)
Fetched https://github.com/attaswift/BigInt.git from cache (0.71s)
Fetched https://github.com/sharplet/Regex.git from cache (0.71s)
[5699/27136] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.06s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (1.94s)
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.64s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (0.78s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.14s)
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/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/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
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/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.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
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.32s)
Building for debugging...
[0/92] Write sources
[10/92] Compiling fy-ctype.c
[11/92] Write sources
[12/92] Compiling fy-utf8.c
[13/92] Write sources
[15/92] Copying PotentCodables.docc
[16/92] Write sources
[25/92] Compiling fy-blob.c
[26/92] Compiling _NumericsShims _NumericsShims.c
[27/92] Compiling fy-types.c
[28/92] Compiling fy-utils.c
[29/92] Compiling xxhash.c
[30/92] Compiling fy-token.c
[31/92] Compiling fy-path.c
[32/92] Compiling fy-emit.c
[33/92] Write swift-version-24593BA9C3E375BF.txt
[34/92] Compiling fy-docstate.c
[35/92] Compiling fy-input.c
[36/92] Compiling fy-walk.c
[37/92] Compiling fy-event.c
[38/95] Compiling fy-dump.c
[39/138] Compiling fy-docbuilder.c
[40/152] Compiling fy-parse.c
[41/152] Compiling fy-diag.c
[42/152] Compiling fy-doc.c
[43/152] Compiling fy-composer.c
[44/152] Compiling fy-atom.c
[45/152] Compiling CFloat16 float16.c
[46/152] Write sources
[49/152] Emitting module InternalCollectionsUtilities
[49/175] Compiling fy-accel.c
[50/175] Write sources
[53/182] Emitting module SurrealDBMacros
[54/182] Emitting module Regex
[55/182] Emitting module BigInt
[56/184] Compiling BigInt Addition.swift
[57/184] Compiling BigInt BigInt.swift
[58/184] Compiling BigInt BigUInt.swift
[59/184] Compiling BigInt Hashable.swift
[60/184] Compiling BigInt Integer Conversion.swift
[61/184] Compiling BigInt Square Root.swift
[62/184] Compiling BigInt Strideable.swift
[63/184] Compiling BigInt Floating Point Conversion.swift
[64/184] Compiling BigInt GCD.swift
[65/184] Compiling BigInt Bitwise Ops.swift
[66/184] Compiling BigInt Codable.swift
[67/184] Compiling BigInt Comparable.swift
[68/184] Compiling BigInt Data Conversion.swift
[69/184] Compiling BigInt Division.swift
[70/184] Compiling BigInt Exponentiation.swift
[73/185] Compiling RealModule RealFunctions.swift
[74/185] Compiling BigInt Multiplication.swift
[75/185] Compiling BigInt Prime Test.swift
[76/185] Compiling BigInt Random.swift
[77/185] Compiling BigInt Shifts.swift
[78/186] Compiling RealModule Float16+Real.swift
[79/186] Compiling RealModule RelaxedArithmetic.swift
[81/186] Compiling RealModule Float80+Real.swift
[82/186] Compiling RealModule Real.swift
[86/186] Emitting module RealModule
[88/186] Write sources
[88/186] Copying PotentCodables.docc
[88/186] Write sources
[106/187] Compiling BigInt String Conversion.swift
[109/257] Compiling xxhash.c
[111/314] Compiling OrderedCollections _HashTable+Testing.swift
[112/314] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[113/314] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[114/314] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[115/314] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[116/314] Compiling OrderedCollections OrderedDictionary+Move.swift
[117/314] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[118/314] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[119/314] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[120/314] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[121/321] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[122/321] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[123/321] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[124/321] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[125/321] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[126/321] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[127/321] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[128/321] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[129/321] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[130/321] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[131/321] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[132/321] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[133/321] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[134/321] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[135/321] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[136/321] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[137/321] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[138/321] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[139/321] Compiling OrderedCollections OrderedDictionary+Elements.swift
[140/321] Compiling OrderedCollections OrderedDictionary+Codable.swift
[141/321] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[142/321] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[149/321] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[150/321] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[151/321] Emitting module AgentMemory
/host/spi-builder-workspace/Sources/AgentMemory/Transport.swift:31:1: error: type 'URLSession' does not conform to protocol 'HTTPClient'
5 |
6 | public protocol HTTPClient: Sendable {
7 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- note: protocol requires function 'data(for:)' with type '(URLRequest) async throws -> (Data, URLResponse)'
8 |
9 | /// Streams the response body as a sequence of lines. Used for Server-Sent
:
29 | // FoundationNetworking's URLSession may not expose `bytes(for:)`; rely on the
30 | // buffering default from the protocol extension.
31 | extension URLSession: HTTPClient {}
| |- error: type 'URLSession' does not conform to protocol 'HTTPClient'
| `- note: add stubs for conformance
32 | #else
33 | extension URLSession: HTTPClient {
[152/323] Compiling Regex ThreadLocal.swift
[163/323] Compiling Regex Regex.swift
[164/323] Compiling Regex Options.swift
[167/324] Compiling OrderedCollections _HashTable+Bucket.swift
[168/324] Compiling Regex MatchResult.swift
[169/324] Compiling OrderedCollections OrderedDictionary+Values.swift
[170/324] Compiling OrderedCollections OrderedDictionary.swift
[171/324] Compiling OrderedCollections OrderedSet+Codable.swift
[172/324] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[173/324] Compiling OrderedCollections OrderedSet+Descriptions.swift
[174/324] Compiling OrderedCollections OrderedSet+Diffing.swift
[175/324] Compiling OrderedCollections OrderedSet+Equatable.swift
[176/324] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[177/324] Compiling Regex String+ReplaceMatching.swift
[178/342] Compiling Regex Foundation+Ranges.swift
[179/343] Emitting module SurrealDBMacros
[181/343] Compiling AgentMemory Streaming.swift
/host/spi-builder-workspace/Sources/AgentMemory/Transport.swift:31:1: error: type 'URLSession' does not conform to protocol 'HTTPClient'
5 |
6 | public protocol HTTPClient: Sendable {
7 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- note: protocol requires function 'data(for:)' with type '(URLRequest) async throws -> (Data, URLResponse)'
8 |
9 | /// Streams the response body as a sequence of lines. Used for Server-Sent
:
29 | // FoundationNetworking's URLSession may not expose `bytes(for:)`; rely on the
30 | // buffering default from the protocol extension.
31 | extension URLSession: HTTPClient {}
| |- error: type 'URLSession' does not conform to protocol 'HTTPClient'
| `- note: add stubs for conformance
32 | #else
33 | extension URLSession: HTTPClient {
[182/343] Compiling AgentMemory Transport.swift
/host/spi-builder-workspace/Sources/AgentMemory/Transport.swift:31:1: error: type 'URLSession' does not conform to protocol 'HTTPClient'
5 |
6 | public protocol HTTPClient: Sendable {
7 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- note: protocol requires function 'data(for:)' with type '(URLRequest) async throws -> (Data, URLResponse)'
8 |
9 | /// Streams the response body as a sequence of lines. Used for Server-Sent
:
29 | // FoundationNetworking's URLSession may not expose `bytes(for:)`; rely on the
30 | // buffering default from the protocol extension.
31 | extension URLSession: HTTPClient {}
| |- error: type 'URLSession' does not conform to protocol 'HTTPClient'
| `- note: add stubs for conformance
32 | #else
33 | extension URLSession: HTTPClient {
[185/343] Compiling OrderedCollections _HashTable.swift
[186/343] Compiling OrderedCollections _Hashtable+Header.swift
[193/359] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[194/359] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[195/359] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[196/359] Compiling InternalCollectionsUtilities Span+Extras.swift
[197/359] Compiling InternalCollectionsUtilities String+Padding.swift
[198/359] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[199/361] Compiling HeapModule Heap+Descriptions.swift
[200/361] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[201/361] Compiling InternalCollectionsUtilities Debugging.swift
[202/361] Compiling InternalCollectionsUtilities _SortedCollection.swift
[203/361] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[204/361] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[206/361] Emitting module HeapModule
[207/361] Compiling HeapModule _HeapNode.swift
[209/361] Compiling InternalCollectionsUtilities Descriptions.swift
[210/361] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[211/361] Compiling InternalCollectionsUtilities Integer rank.swift
[212/361] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[213/361] Compiling InternalCollectionsUtilities UInt+reversed.swift
[214/361] Compiling SurrealDBMacros SurrealValue.swift
[215/361] Compiling SurrealDBMacros QueryDSL.swift
[216/361] Compiling OrderedCollections OrderedSet+Hashable.swift
[217/361] Compiling OrderedCollections OrderedSet+Initializers.swift
[218/361] Compiling OrderedCollections OrderedSet+Insertions.swift
[219/361] Compiling OrderedCollections OrderedSet+Invariants.swift
[220/361] Compiling OrderedCollections OrderedSet+Move.swift
[221/361] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[222/361] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[223/361] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[226/362] Compiling HeapModule Heap.swift
[228/374] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[229/374] Compiling OrderedCollections OrderedSet.swift
[230/374] Compiling OrderedCollections _UnsafeBitset.swift
[231/374] Compiling _RopeModule Rope+Sequence.swift
[232/374] Compiling _RopeModule Rope+Append.swift
[233/374] Compiling _RopeModule Rope+Extract.swift
[234/374] Compiling _RopeModule Rope+Find.swift
[235/374] Compiling _RopeModule Rope+ForEachWhile.swift
[236/374] Compiling _RopeModule Rope+Insert.swift
[245/400] Compiling HeapModule Heap+UnsafeHandle.swift
[246/400] Compiling HeapModule Heap+Invariants.swift
[248/439] Compiling HashTreeCollections TreeSet+Codable.swift
[249/439] Compiling HashTreeCollections TreeSet+Collection.swift
[250/439] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[251/439] Compiling HashTreeCollections TreeSet+Debugging.swift
[252/439] Compiling HashTreeCollections TreeSet+Descriptions.swift
[253/439] Compiling HashTreeCollections TreeSet+Equatable.swift
[254/439] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[255/441] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[256/441] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[257/441] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[258/441] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[259/441] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[260/441] Compiling HashTreeCollections _HashNode+Structural merge.swift
[261/441] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[262/441] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[263/441] Emitting module InternalCollectionsUtilities
[264/441] Compiling HashTreeCollections _HashNode+Structural filter.swift
[266/441] Compiling HashTreeCollections _HashNode+Storage.swift
[267/441] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[268/442] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[269/442] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[270/442] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[279/442] Emitting module _RopeModule
[280/446] Compiling HashTreeCollections TreeSet+Hashable.swift
[281/446] Compiling HashTreeCollections TreeSet+Sendable.swift
[282/446] Compiling HashTreeCollections TreeSet+Sequence.swift
[283/446] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[284/446] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[285/446] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[286/446] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[287/446] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[288/446] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[289/446] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[290/456] Compiling HashTreeCollections _Hash.swift
[291/456] Compiling HashTreeCollections _HashLevel.swift
[292/456] Compiling HashTreeCollections _HashNode+Builder.swift
[293/456] Emitting module SurrealDBMacroPlugin
[294/456] Compiling HashTreeCollections _AncestorHashSlots.swift
[295/456] Compiling HashTreeCollections _Bitmap.swift
[296/456] Compiling HashTreeCollections _Bucket.swift
[297/456] Compiling HashTreeCollections _HashNode+Debugging.swift
[298/456] Compiling HashTreeCollections _HashNode+Initializers.swift
[299/456] Compiling HashTreeCollections _HashNode+Invariants.swift
[300/456] Compiling SurrealDBMacroPlugin SurrealDBMacroPlugin.swift
[301/457] Compiling HashTreeCollections _HashNodeHeader.swift
[302/457] Compiling HashTreeCollections _HashSlot.swift
[303/457] Compiling HashTreeCollections _HashStack.swift
[304/457] Compiling HashTreeCollections _HashTreeIterator.swift
[305/457] Compiling HashTreeCollections _HashTreeStatistics.swift
[306/457] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[307/457] Compiling HashTreeCollections _RawHashNode.swift
[308/457] Compiling HashTreeCollections _UnmanagedHashNode.swift
[309/457] Compiling HashTreeCollections _UnsafePath.swift
[310/457] Compiling HashTreeCollections TreeDictionary+Codable.swift
BUILD FAILURE 6.2 wasm