The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SurrealDB, reference main (046f7d), with Swift 6.2 for Wasm on 30 Apr 2026 01:46:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
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 046f7d5 docs: requirements for Surreal version to 3.x
Cloned https://github.com/surrealdb/surrealdb.swift.git
Revision (git rev-parse @):
046f7d5f2405672791acd9abf5d9e7556aa45331
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-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/outfoxx/PotentCodables.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/75040] Fetching swift-syntax
[13509/188987] Fetching swift-syntax, potentcodables
Fetched https://github.com/swiftlang/swift-syntax.git from cache (13.81s)
Fetched https://github.com/outfoxx/PotentCodables.git from cache (16.45s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (20.64s)
Computing version for https://github.com/outfoxx/PotentCodables.git
Computed https://github.com/outfoxx/PotentCodables.git at 3.5.3 (0.89s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/sharplet/Regex.git
Fetching https://github.com/SusanDoggie/Float16.git
Fetching https://github.com/attaswift/BigInt.git
[1/1254] Fetching regex
[127/6132] Fetching regex, bigint
[128/6442] Fetching regex, bigint, float16
[1518/30252] Fetching regex, bigint, float16, swift-collections
Fetched https://github.com/attaswift/BigInt.git from cache (1.20s)
[5487/25374] Fetching regex, float16, swift-collections
Fetched https://github.com/SusanDoggie/Float16.git from cache (1.81s)
Fetched https://github.com/sharplet/Regex.git from cache (1.86s)
[15239/23810] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (3.10s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (6.95s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (0.81s)
Fetching https://github.com/apple/swift-numerics
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.71s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (1.45s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.18s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.71s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
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/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/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
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
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.61s)
Building for debugging...
[0/90] Write sources
[1/90] Copying PotentCodables.docc
[1/90] Write sources
[20/90] Compiling _NumericsShims _NumericsShims.c
[21/90] Compiling fy-utils.c
[22/90] Compiling fy-docbuilder.c
[23/90] Compiling fy-dump.c
[24/90] Compiling fy-docstate.c
[25/90] Compiling xxhash.c
[26/90] Compiling fy-utf8.c
[27/90] Compiling fy-ctype.c
[28/90] Compiling fy-emit.c
[29/90] Write swift-version-24593BA9C3E375BF.txt
[30/90] Compiling fy-blob.c
[31/93] Compiling fy-path.c
[32/93] Compiling fy-types.c
[33/97] Compiling fy-input.c
[34/100] Compiling fy-doc.c
[35/111] Compiling fy-token.c
[36/129] Compiling fy-walk.c
[37/129] Compiling fy-event.c
[38/129] Compiling fy-diag.c
[39/129] Compiling fy-composer.c
[40/129] Compiling fy-parse.c
[41/129] Write sources
[43/129] Compiling CFloat16 float16.c
[43/129] Write sources
[43/129] Copying PotentCodables.docc
[43/129] Write sources
[58/129] Compiling fy-accel.c
[59/132] Compiling fy-atom.c
[61/178] Emitting module InternalCollectionsUtilities
[62/180] Emitting module Regex
[63/180] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[64/180] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[65/180] Compiling InternalCollectionsUtilities _SortedCollection.swift
[66/180] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[67/180] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[68/180] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[71/180] Compiling InternalCollectionsUtilities String+Padding.swift
[72/180] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[73/180] Compiling InternalCollectionsUtilities Integer rank.swift
[74/180] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[75/180] Compiling InternalCollectionsUtilities UInt+reversed.swift
[76/180] Emitting module BigInt
[79/184] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[80/184] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[83/184] Compiling InternalCollectionsUtilities Debugging.swift
[84/184] Compiling InternalCollectionsUtilities Descriptions.swift
[85/184] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[89/184] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[90/184] Compiling BigInt String Conversion.swift
[93/184] Compiling InternalCollectionsUtilities _SortedCollection.swift
[97/184] Emitting module InternalCollectionsUtilities
[101/184] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[102/184] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[103/184] Compiling InternalCollectionsUtilities Span+Extras.swift
[104/184] Emitting module RealModule
[105/185] Compiling RealModule RealFunctions.swift
[109/185] Compiling RealModule Real.swift
[114/186] Compiling RealModule Float16+Real.swift
[115/186] Compiling RealModule Float80+Real.swift
[123/187] Compiling RealModule RelaxedArithmetic.swift
[125/188] Write sources
[128/313] Compiling xxhash.c
[130/334] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[131/334] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[132/383] Compiling _RopeModule Rope+Builder.swift
[133/383] Compiling _RopeModule Rope+Debugging.swift
[134/383] Compiling _RopeModule Rope+Invariants.swift
[135/383] Compiling _RopeModule Rope+_Node.swift
[136/383] Compiling _RopeModule Rope+_Storage.swift
[137/383] Compiling _RopeModule Rope+_UnmanagedLeaf.swift
[138/383] Compiling _RopeModule Rope+_UnsafeHandle.swift
[139/390] Compiling _RopeModule BigString+Insert.swift
[140/390] Compiling _RopeModule BigString+Managing Breaks.swift
[141/390] Compiling _RopeModule BigString+RemoveSubrange.swift
[142/390] Compiling _RopeModule BigString+ReplaceSubrange.swift
[143/390] Compiling _RopeModule BigString+Split.swift
[144/390] Compiling _RopeModule Range+BigString.swift
[145/390] Compiling _RopeModule BigString+Chunk.swift
[146/390] Compiling _RopeModule BigString+BidirectionalCollection.swift
[147/390] Compiling Regex ThreadLocal.swift
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/ThreadLocal.swift:13:14: error: cannot find 'Thread' in scope
11 |   var value: T? {
12 |     get {
13 |       return Thread.current.threadDictionary[key] as? T
   |              `- error: cannot find 'Thread' in scope
14 |     }
15 |     set {
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/ThreadLocal.swift:16:7: error: cannot find 'Thread' in scope
14 |     }
15 |     set {
16 |       Thread.current.threadDictionary[key] = newValue
   |       `- error: cannot find 'Thread' in scope
17 |     }
18 |   }
[148/390] Compiling Regex Foundation+Ranges.swift
[149/390] Compiling _RopeModule BigString+Comparable.swift
[150/390] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[151/390] Compiling _RopeModule BigString+CustomStringConvertible.swift
[152/390] Compiling _RopeModule BigString+Equatable.swift
[153/390] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[154/390] Compiling _RopeModule BigString+Hashing.swift
[155/390] Compiling _RopeModule BigString+LosslessStringConvertible.swift
[156/390] Compiling _RopeModule BigString+RangeReplaceableCollection.swift
[157/390] Compiling _RopeModule BigString+UTF16View.swift
[158/390] Compiling _RopeModule BigString+UTF8View.swift
[159/390] Compiling _RopeModule BigString+UnicodeScalarView.swift
[160/390] Compiling _RopeModule BigSubstring+UTF16View.swift
[161/390] Compiling _RopeModule BigSubstring+UTF8View.swift
[162/390] Compiling _RopeModule BigSubstring+UnicodeScalarView.swift
[163/390] Compiling _RopeModule BigSubstring.swift
[164/390] Emitting module SurrealDBMacros
[165/390] Compiling _RopeModule BigString+Builder.swift
[166/390] Compiling _RopeModule BigString+Contents.swift
[167/390] Compiling _RopeModule BigString+Debugging.swift
[168/390] Compiling Regex Regex.swift
[169/390] Emitting module SurrealDBMacros
[170/390] Compiling Regex String+ReplaceMatching.swift
[171/390] Compiling _RopeModule BigString.swift
[172/390] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[173/390] Compiling _RopeModule BigString+Chunk+Breaks.swift
[174/390] Compiling _RopeModule BigString+Chunk+Character.swift
[175/390] Compiling _RopeModule BigString+Chunk+Counts.swift
[176/390] Compiling _RopeModule BigString+Chunk+Description.swift
[177/390] Compiling _RopeModule BigString+Chunk+Index.swift
[178/390] Compiling _RopeModule BigString+Chunk+RopeElement.swift
[179/390] Compiling _RopeModule BigString+Chunk+Splitting.swift
[180/390] Compiling _RopeModule BigString+Chunk+UTF16.swift
[181/390] Compiling _RopeModule BigString+Chunk+UTF8.swift
[182/390] Compiling _RopeModule BigString+Chunk+UnicodeScalar.swift
[183/390] Compiling _RopeModule BigString+Sequence.swift
[184/390] Compiling _RopeModule BigString+TextOutputStream.swift
[185/390] Compiling _RopeModule BigString+Append.swift
[186/390] Compiling _RopeModule BigString+Initializers.swift
[187/390] Compiling _RopeModule BigString+Metrics.swift
[188/390] Compiling _RopeModule BigString+Summary.swift
[190/390] Compiling _RopeModule BigString+Index.swift
[191/390] Compiling _RopeModule BigString+Ingester.swift
[192/390] Compiling _RopeModule BigString+Invariants.swift
[196/390] Emitting module Regex
[197/390] Compiling Regex Options.swift
[198/390] Compiling Regex MatchResult.swift
[199/391] Compiling Regex ThreadLocal.swift
[210/391] Compiling Regex MatchResult.swift
[211/391] Compiling Regex Foundation+Ranges.swift
[212/391] Compiling Regex Options.swift
[213/391] Compiling SurrealDBMacros QueryDSL.swift
[215/391] Compiling Regex Regex.swift
BUILD FAILURE 6.2 wasm