Build Information
Failed to build swift-utilities, reference main (79aa88), with Swift 6.3 for Wasm on 21 Apr 2026 16:28:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/danthorpe/swift-utilities.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/danthorpe/swift-utilities
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 79aa888 bot: bump github.com/pointfreeco/xctest-dynamic-overlay from 1.5.1 to 1.5.2 (#63)
Cloned https://github.com/danthorpe/swift-utilities.git
Revision (git rev-parse @):
79aa8887a2549c0dfea61952c2b69a0438c38279
SUCCESS checkout https://github.com/danthorpe/swift-utilities.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/danthorpe/swift-utilities.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching http://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-docc-plugin
[1/2277] Fetching swift-docc-plugin
[229/3233] Fetching swift-docc-plugin, swift-concurrency-extras
[660/26816] Fetching swift-docc-plugin, swift-concurrency-extras, swift-collections
[689/32539] Fetching swift-docc-plugin, swift-concurrency-extras, swift-collections, xctest-dynamic-overlay
[1450/39321] Fetching swift-docc-plugin, swift-concurrency-extras, swift-collections, xctest-dynamic-overlay, swift-dependencies
[8383/44785] Fetching swift-docc-plugin, swift-concurrency-extras, swift-collections, xctest-dynamic-overlay, swift-dependencies, swift-custom-dump
Fetched https://github.com/apple/swift-docc-plugin from cache (1.27s)
Fetching https://github.com/apple/swift-async-algorithms
[18516/42508] Fetching swift-concurrency-extras, swift-collections, xctest-dynamic-overlay, swift-dependencies, swift-custom-dump
[26237/48755] Fetching swift-concurrency-extras, swift-collections, xctest-dynamic-overlay, swift-dependencies, swift-custom-dump, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms from cache (0.97s)
[35198/42508] Fetching swift-concurrency-extras, swift-collections, xctest-dynamic-overlay, swift-dependencies, swift-custom-dump
Fetching https://github.com/apple/swift-argument-parser
[42509/59932] Fetching swift-concurrency-extras, swift-collections, xctest-dynamic-overlay, swift-dependencies, swift-custom-dump, swift-argument-parser
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (3.76s)
Fetched http://github.com/pointfreeco/xctest-dynamic-overlay from cache (3.77s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (3.78s)
Fetched https://github.com/pointfreeco/swift-dependencies from cache (3.79s)
Fetched https://github.com/apple/swift-collections from cache (3.84s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.73s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.2 (4.48s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (2.79s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.18s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.28s)
Computing version for http://github.com/pointfreeco/xctest-dynamic-overlay
Computed http://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (0.47s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.3 (1.42s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.12.0 (0.51s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-clocks
[1/1317] Fetching swift-clocks
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.40s)
[1/74981] Fetching swift-syntax
Fetching https://github.com/pointfreeco/combine-schedulers
Fetched https://github.com/swiftlang/swift-syntax from cache (8.08s)
[1/2606] Fetching combine-schedulers
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.57s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (9.15s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.2.0 (0.50s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8284] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (0.71s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (1.40s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.4.1 (1.14s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.91s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.5.0 (0.81s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.0 (1.31s)
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.1.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.2.0
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.12.0
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.2
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.0
Creating working copy for http://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of http://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.9.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.6
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.43s)
warning: 'spi-builder-workspace': dependency 'swift-concurrency-extras' is not used by any target
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/34] Write sources
[25/34] Write swift-version-24593BA9C3E375BF.txt
[28/72] Emitting module InternalCollectionsUtilities
[29/74] Emitting module Protected
[30/74] Emitting module IssueReportingPackageSupport
[31/74] Compiling IssueReportingPackageSupport _Test.swift
[32/75] Emitting module ConcurrencyExtras
[34/76] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[35/76] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[36/76] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[37/76] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[38/76] Compiling InternalCollectionsUtilities Integer rank.swift
[39/76] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[40/76] Compiling InternalCollectionsUtilities UInt+reversed.swift
[41/76] Compiling InternalCollectionsUtilities Debugging.swift
[42/76] Compiling InternalCollectionsUtilities Descriptions.swift
[43/76] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[44/76] Compiling InternalCollectionsUtilities _SortedCollection.swift
[45/76] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[46/76] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[47/76] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[48/76] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[49/76] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[50/76] Compiling InternalCollectionsUtilities Span+Extras.swift
[51/76] Compiling InternalCollectionsUtilities String+Padding.swift
[52/76] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[52/76] Wrapping AST for IssueReportingPackageSupport for debugging
[55/94] Compiling ConcurrencyExtras UncheckedSendable.swift
[56/177] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[57/177] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[58/177] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[59/177] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[60/178] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[61/178] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[62/178] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[63/178] Compiling OrderedCollections OrderedSet+Initializers.swift
[64/187] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[65/187] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[66/187] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[67/187] Compiling OrderedCollections OrderedDictionary+Values.swift
[68/192] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[69/192] Compiling OrderedCollections _HashTable.swift
[70/192] Compiling OrderedCollections _Hashtable+Header.swift
[71/192] Compiling OrderedCollections OrderedDictionary+Codable.swift
[72/192] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[73/192] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[74/192] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[75/192] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[76/192] Compiling OrderedCollections OrderedDictionary+Elements.swift
[77/192] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[78/192] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[79/192] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[80/192] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[81/192] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[82/192] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[83/192] Compiling ContainersPreview Box.swift
[84/192] Compiling ContainersPreview Inout.swift
[85/192] Compiling ContainersPreview InputSpan.swift
[86/192] Compiling ContainersPreview Shared.swift
[94/194] Emitting module ContainersPreview
[95/194] Compiling OrderedCollections _HashTable+Bucket.swift
[96/194] Compiling OrderedCollections _HashTable+BucketIterator.swift
[97/194] Compiling OrderedCollections _HashTable+Constants.swift
[98/194] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[99/194] Compiling OrderedCollections _HashTable+Testing.swift
[101/195] Emitting module IssueReportingTestSupport
[102/196] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[103/196] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[104/196] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[105/196] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[106/196] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[107/196] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[108/196] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[109/242] Compiling DequeModule RigidDeque+Replacements.swift
[110/242] Compiling DequeModule RigidDeque+Testing.swift
[111/242] Compiling DequeModule RigidDeque.swift
[112/242] Compiling DequeModule UniqueDeque+Append.swift
[113/242] Compiling DequeModule UniqueDeque+Consumption.swift
[114/242] Compiling DequeModule UniqueDeque+Container.swift
[115/242] Compiling DequeModule UniqueDeque+Descriptions.swift
[116/242] Compiling DequeModule UniqueDeque+Equatable.swift
[117/242] Compiling DequeModule UniqueDeque+Experimental.swift
[118/242] Compiling DequeModule _DequeBuffer.swift
[119/242] Compiling DequeModule _DequeBufferHeader.swift
[120/242] Compiling DequeModule RigidDeque+Append.swift
[121/242] Compiling DequeModule RigidDeque+Consumption.swift
[122/242] Compiling DequeModule RigidDeque+Container.swift
[123/242] Compiling DequeModule RigidDeque+Descriptions.swift
[124/242] Emitting module IssueReporting
[125/242] Compiling DequeModule UniqueDeque+Initializers.swift
[126/242] Compiling DequeModule UniqueDeque+Insertions.swift
[127/242] Compiling OrderedCollections OrderedDictionary.swift
[128/242] Compiling OrderedCollections OrderedSet+Codable.swift
[129/242] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[130/242] Compiling OrderedCollections OrderedSet+Descriptions.swift
[131/242] Compiling OrderedCollections OrderedSet+Diffing.swift
[132/242] Compiling OrderedCollections OrderedSet+Equatable.swift
[133/242] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[134/242] Compiling OrderedCollections OrderedSet+Hashable.swift
[135/242] Compiling DequeModule RigidDeque+Insertions.swift
[136/242] Compiling DequeModule RigidDeque+Prepend.swift
[137/242] Compiling DequeModule UniqueDeque+Hashable.swift
[140/242] Compiling DequeModule UniqueDeque+Prepend.swift
[141/242] Compiling DequeModule UniqueDeque+Removals.swift
[142/242] Compiling DequeModule RigidDeque+Removals.swift
[143/242] Compiling Protected Protected.swift
/host/spi-builder-workspace/Sources/Protected/Protected.swift:68:5: error: cannot find 'pthread_mutexattr_init' in scope
66 | init() {
67 | var attr: pthread_mutexattr_t = pthread_mutexattr_t()
68 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
69 | #if DEBUG
70 | pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_RECURSIVE))
/host/spi-builder-workspace/Sources/Protected/Protected.swift:70:5: error: cannot find 'pthread_mutexattr_settype' in scope
68 | pthread_mutexattr_init(&attr)
69 | #if DEBUG
70 | pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_RECURSIVE))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
71 | #endif
72 |
/host/spi-builder-workspace/Sources/Protected/Protected.swift:70:44: error: cannot find 'PTHREAD_MUTEX_RECURSIVE' in scope
68 | pthread_mutexattr_init(&attr)
69 | #if DEBUG
70 | pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_RECURSIVE))
| `- error: cannot find 'PTHREAD_MUTEX_RECURSIVE' in scope
71 | #endif
72 |
/host/spi-builder-workspace/Sources/Protected/Protected.swift:73:15: error: cannot find 'pthread_mutex_init' in scope
71 | #endif
72 |
73 | let err = pthread_mutex_init(self.mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
74 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
75 | }
/host/spi-builder-workspace/Sources/Protected/Protected.swift:78:15: error: cannot find 'pthread_mutex_destroy' in scope
76 |
77 | deinit {
78 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
79 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
80 | mutex.deallocate()
/host/spi-builder-workspace/Sources/Protected/Protected.swift:84:15: error: cannot find 'pthread_mutex_lock' in scope
82 |
83 | fileprivate func lock() {
84 | let err = pthread_mutex_lock(self.mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
85 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/Protected/Protected.swift:89:15: error: cannot find 'pthread_mutex_unlock' in scope
87 |
88 | fileprivate func unlock() {
89 | let err = pthread_mutex_unlock(self.mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
90 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
91 | }
[144/242] Compiling DependenciesMacrosPlugin DependencyEndpointMacro.swift
[145/242] Compiling DequeModule Deque+Testing.swift
[146/242] Compiling DequeModule Deque._Storage.swift
[147/242] Compiling DequeModule Deque._UnsafeHandle.swift
[148/242] Compiling DequeModule Deque.swift
[149/242] Compiling DequeModule RigidDeque+Equatable.swift
[150/242] Compiling DequeModule RigidDeque+Experimental.swift
[151/242] Compiling DequeModule RigidDeque+Hashable.swift
[152/242] Compiling DequeModule RigidDeque+Initializers.swift
[158/242] Compiling DequeModule Deque+Codable.swift
[159/242] Compiling DequeModule Deque+Collection.swift
[160/242] Emitting module DependenciesMacrosPlugin
BUILD FAILURE 6.3 wasm