Build Information
Failed to build JSONSchema, reference 1.3.1 (4c6f24
), with Swift 6.2 (beta) for Wasm on 28 Aug 2025 18:32:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattt/JSONSchema.git
Reference: 1.3.1
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/mattt/JSONSchema
* tag 1.3.1 -> FETCH_HEAD
HEAD is now at 4c6f246 Bump minimum Swift Collections version to 1.1.0 (#14)
Cloned https://github.com/mattt/JSONSchema.git
Revision (git rev-parse @):
4c6f2467d5bc72b062c7a9b7e4cd77a09635ea8b
SUCCESS checkout https://github.com/mattt/JSONSchema.git at 1.3.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/mattt/JSONSchema.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-collections.git
[1/17371] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.16s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (2.56s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/18] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[6/19] Compiling InternalCollectionsUtilities Descriptions.swift
[7/19] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[8/19] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[9/19] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[10/19] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[11/19] Compiling InternalCollectionsUtilities _SortedCollection.swift
[12/19] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[13/19] Compiling InternalCollectionsUtilities Debugging.swift
[14/19] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[15/19] Compiling InternalCollectionsUtilities Integer rank.swift
[16/19] Emitting module InternalCollectionsUtilities
[17/19] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[18/19] Compiling InternalCollectionsUtilities UInt+reversed.swift
[19/19] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[21/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[22/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[23/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[24/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[25/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[26/75] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[27/75] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[28/75] Compiling OrderedCollections OrderedDictionary.swift
[29/75] Compiling OrderedCollections OrderedSet+Codable.swift
[30/75] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[31/75] Compiling OrderedCollections OrderedSet+Descriptions.swift
[32/75] Compiling OrderedCollections OrderedSet+Diffing.swift
[33/75] Compiling OrderedCollections OrderedSet+Equatable.swift
[34/75] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[35/75] Compiling OrderedCollections OrderedSet+Hashable.swift
[36/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[37/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[38/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[39/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[40/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[41/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[42/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[43/82] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[44/82] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[45/82] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[46/82] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[47/82] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[48/82] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[49/82] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[50/82] Compiling OrderedCollections OrderedDictionary+Values.swift
[51/82] Compiling OrderedCollections OrderedSet+Initializers.swift
[52/82] Compiling OrderedCollections OrderedSet+Insertions.swift
[53/82] Compiling OrderedCollections OrderedSet+Invariants.swift
[54/82] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[55/82] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[56/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[57/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[58/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[59/82] Compiling OrderedCollections OrderedDictionary+Codable.swift
[60/82] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[61/82] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[62/82] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[63/82] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[64/82] Compiling OrderedCollections OrderedDictionary+Elements.swift
[65/82] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[66/82] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[67/82] Compiling OrderedCollections _HashTable+Bucket.swift
[68/82] Compiling OrderedCollections _HashTable+BucketIterator.swift
[69/82] Compiling OrderedCollections _HashTable+Constants.swift
[70/82] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[71/82] Compiling OrderedCollections _HashTable+Testing.swift
[72/82] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[73/82] Compiling OrderedCollections _HashTable.swift
[74/82] Compiling OrderedCollections _Hashtable+Header.swift
[75/82] Emitting module OrderedCollections
[76/82] Compiling OrderedCollections OrderedSet+Sendable.swift
[77/82] Compiling OrderedCollections OrderedSet+SubSequence.swift
[78/82] Compiling OrderedCollections OrderedSet+Testing.swift
[79/82] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[80/82] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[81/82] Compiling OrderedCollections OrderedSet.swift
[82/82] Compiling OrderedCollections _UnsafeBitset.swift
[84/86] Compiling JSONSchema JSONValue.swift
/host/spi-builder-workspace/Sources/JSONSchema/JSONSchema.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | import OrderedCollections
3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[85/86] Emitting module JSONSchema
/host/spi-builder-workspace/Sources/JSONSchema/JSONSchema.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | import OrderedCollections
3 |
[86/86] Compiling JSONSchema JSONSchema.swift
/host/spi-builder-workspace/Sources/JSONSchema/JSONSchema.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | import OrderedCollections
3 |
BUILD FAILURE 6.2 wasm