Build Information
Failed to build Phoenix, reference v10.0.2 (745c51), with Swift 6.2 for Wasm on 22 Apr 2026 22:48:58 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/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shareup/phoenix-apple.git
Reference: v10.0.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/shareup/phoenix-apple
* tag v10.0.2 -> FETCH_HEAD
HEAD is now at 745c515 Fix Phoenix socket reconnection (#52)
Cloned https://github.com/shareup/phoenix-apple.git
Revision (git rev-parse @):
745c51587d390394b409545125abc5bfe09359c0
SUCCESS checkout https://github.com/shareup/phoenix-apple.git at v10.0.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/shareup/phoenix-apple.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/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/apple/swift-collections.git
Fetching https://github.com/shareup/websocket-apple.git
Fetching https://github.com/shareup/async-extensions.git
Fetching https://github.com/shareup/synchronized.git
[1/226] Fetching synchronized
Fetched https://github.com/shareup/synchronized.git from cache (0.46s)
[1/487] Fetching async-extensions
[279/1216] Fetching async-extensions, websocket-apple
[1198/24857] Fetching async-extensions, websocket-apple, swift-collections
Fetched https://github.com/shareup/websocket-apple.git from cache (0.75s)
Fetched https://github.com/shareup/async-extensions.git from cache (0.76s)
[710/23641] Fetching swift-collections
Fetching https://github.com/shareup/dispatch-timer.git
Fetching https://github.com/shareup/json-apple.git
Fetched https://github.com/apple/swift-collections.git from cache (2.71s)
[1/105] Fetching dispatch-timer
[106/247] Fetching dispatch-timer, json-apple
Fetched https://github.com/shareup/json-apple.git from cache (1.52s)
Fetched https://github.com/shareup/dispatch-timer.git from cache (1.52s)
Computing version for https://github.com/shareup/websocket-apple.git
Computed https://github.com/shareup/websocket-apple.git at 4.1.1 (4.60s)
Computing version for https://github.com/shareup/synchronized.git
Computed https://github.com/shareup/synchronized.git at 4.0.1 (4.65s)
Computing version for https://github.com/shareup/dispatch-timer.git
Computed https://github.com/shareup/dispatch-timer.git at 3.0.1 (2.00s)
Computing version for https://github.com/shareup/json-apple.git
Computed https://github.com/shareup/json-apple.git at 1.4.2 (0.58s)
Computing version for https://github.com/shareup/async-extensions.git
Computed https://github.com/shareup/async-extensions.git at 4.4.0 (0.60s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.33s)
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/shareup/async-extensions.git
Working copy of https://github.com/shareup/async-extensions.git resolved at 4.4.0
Creating working copy for https://github.com/shareup/json-apple.git
Working copy of https://github.com/shareup/json-apple.git resolved at 1.4.2
Creating working copy for https://github.com/shareup/synchronized.git
Working copy of https://github.com/shareup/synchronized.git resolved at 4.0.1
Creating working copy for https://github.com/shareup/dispatch-timer.git
Working copy of https://github.com/shareup/dispatch-timer.git resolved at 3.0.1
Creating working copy for https://github.com/shareup/websocket-apple.git
Working copy of https://github.com/shareup/websocket-apple.git resolved at 4.1.1
Building for debugging...
[0/16] Write sources
[15/16] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/41] Emitting module Synchronized
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Lock.swift:4:47: error: cannot find type 'os_unfair_lock' in scope
2 |
3 | public final class Lock {
4 | private var backing: UnsafeMutablePointer<os_unfair_lock>
| `- error: cannot find type 'os_unfair_lock' in scope
5 |
6 | public init() {
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Locked.swift:4:54: error: cannot find type 'os_unfair_lock' in scope
2 |
3 | public struct Locked<Element> {
4 | private final class Lock: ManagedBuffer<Element, os_unfair_lock> {
| `- error: cannot find type 'os_unfair_lock' in scope
5 | deinit {
6 | withUnsafeMutablePointerToElements { lock in
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Locked.swift:12:48: error: cannot find type 'os_unfair_lock' in scope
10 | }
11 |
12 | private let buffer: ManagedBuffer<Element, os_unfair_lock>
| `- error: cannot find type 'os_unfair_lock' in scope
13 |
14 | public init(_ element: Element) {
[18/41] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[19/41] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[20/41] Compiling InternalCollectionsUtilities Span+Extras.swift
[21/43] Compiling InternalCollectionsUtilities Integer rank.swift
[22/43] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[23/43] Compiling InternalCollectionsUtilities UInt+reversed.swift
[24/43] Compiling InternalCollectionsUtilities _SortedCollection.swift
[25/43] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[26/43] Emitting module InternalCollectionsUtilities
[27/43] Compiling InternalCollectionsUtilities Debugging.swift
[28/43] Compiling InternalCollectionsUtilities Descriptions.swift
[29/43] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[30/43] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[31/43] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[32/43] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[33/43] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[34/43] Compiling InternalCollectionsUtilities String+Padding.swift
[35/43] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[36/43] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[37/43] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[39/287] Compiling HashTreeCollections _UnsafePath.swift
[40/287] Compiling HashTreeCollections TreeDictionary+Codable.swift
[41/287] Compiling HashTreeCollections TreeDictionary+Collection.swift
[42/287] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[43/287] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[44/287] Compiling ContainersPreview Producer+Map.swift
[45/287] Compiling ContainersPreview Producer+Reduce.swift
[46/287] Compiling ContainersPreview Producer.swift
[47/287] Compiling ContainersPreview Borrow.swift
[48/294] Compiling HeapModule Heap+Descriptions.swift
[49/339] Compiling HeapModule _HeapNode.swift
[50/339] Compiling HashTreeCollections _HashSlot.swift
[51/339] Compiling HashTreeCollections _HashStack.swift
[52/339] Compiling HashTreeCollections _AncestorHashSlots.swift
[53/339] Compiling HashTreeCollections _Bitmap.swift
[54/339] Compiling HashTreeCollections _Bucket.swift
[55/339] Compiling HashTreeCollections _Hash.swift
[56/339] Compiling HashTreeCollections _HashLevel.swift
[57/339] Compiling HashTreeCollections _HashNode+Builder.swift
[58/343] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[59/343] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[60/343] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[61/343] Compiling HashTreeCollections _HashNode+Structural union.swift
[62/343] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[63/343] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[64/343] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[65/343] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[66/343] Compiling HashTreeCollections _HashNode.swift
[67/343] Compiling HashTreeCollections _HashNodeHeader.swift
[68/343] Compiling HeapModule Heap.swift
[69/343] Compiling ContainersPreview Box.swift
[70/343] Compiling ContainersPreview Inout.swift
[71/343] Compiling ContainersPreview InputSpan.swift
[72/343] Compiling ContainersPreview Shared.swift
[73/343] Compiling HeapModule Heap+Invariants.swift
[74/343] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[75/343] Compiling HeapModule Heap+UnsafeHandle.swift
[76/343] Emitting module ContainersPreview
[77/343] Compiling HashTreeCollections _HashTreeIterator.swift
[78/343] Compiling HashTreeCollections _HashTreeStatistics.swift
[79/343] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[80/343] Compiling HashTreeCollections _RawHashNode.swift
[81/343] Compiling HashTreeCollections _UnmanagedHashNode.swift
[91/391] Emitting module HeapModule
[93/392] Compiling DequeModule RigidDeque+Removals.swift
[94/392] Compiling DequeModule RigidDeque+Replacements.swift
[95/392] Compiling DequeModule RigidDeque+Testing.swift
[96/392] Compiling DequeModule RigidDeque.swift
[97/392] Compiling DequeModule UniqueDeque+Append.swift
[98/392] Compiling DequeModule UniqueDeque+Consumption.swift
[99/392] Compiling DequeModule UniqueDeque+Container.swift
[100/392] Compiling DequeModule UniqueDeque+Descriptions.swift
[101/392] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[102/392] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[103/392] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[104/392] Compiling HashTreeCollections _HashNode+Structural merge.swift
[105/392] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[106/392] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[107/392] Compiling HashTreeCollections TreeDictionary+Filter.swift
[108/392] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[109/392] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[110/392] Compiling HashTreeCollections TreeDictionary+Keys.swift
[111/392] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[112/392] Compiling HashTreeCollections TreeDictionary+Merge.swift
[113/392] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[114/392] Compiling BitCollections BitSet.Index.swift
[118/399] Compiling DequeModule UniqueDeque+Equatable.swift
[119/399] Compiling DequeModule UniqueDeque+Experimental.swift
[120/404] Compiling OrderedCollections OrderedSet+SubSequence.swift
[121/404] Compiling OrderedCollections OrderedSet+Testing.swift
[122/404] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[123/404] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[124/404] Compiling OrderedCollections OrderedSet.swift
[125/404] Compiling OrderedCollections _UnsafeBitset.swift
[126/404] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[127/404] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[128/404] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[129/404] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[130/414] Compiling DequeModule UniqueDeque+Hashable.swift
[131/414] Compiling DequeModule UniqueDeque+Initializers.swift
[132/414] Compiling DequeModule UniqueDeque+Insertions.swift
[133/414] Compiling DequeModule UniqueDeque+Prepend.swift
[134/414] Compiling DequeModule UniqueDeque+Removals.swift
[142/414] Compiling JSON JSON.swift
/host/spi-builder-workspace/.build/checkouts/json-apple/Sources/JSON/JSON.swift:673:9: error: cannot find 'CFBooleanGetTypeID' in scope
671 | private extension NSNumber {
672 | var isBool: Bool {
673 | CFBooleanGetTypeID() == CFGetTypeID(self)
| `- error: cannot find 'CFBooleanGetTypeID' in scope
674 | }
675 | }
/host/spi-builder-workspace/.build/checkouts/json-apple/Sources/JSON/JSON.swift:673:33: error: cannot find 'CFGetTypeID' in scope
671 | private extension NSNumber {
672 | var isBool: Bool {
673 | CFBooleanGetTypeID() == CFGetTypeID(self)
| `- error: cannot find 'CFGetTypeID' in scope
674 | }
675 | }
[143/414] Compiling Synchronized RecursiveLock.swift
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/RecursiveLock.swift:11:15: error: cannot find 'pthread_mutexattr_init' in scope
9 |
10 | var attributes = pthread_mutexattr_t()
11 | guard pthread_mutexattr_init(&attributes) == 0
| `- error: cannot find 'pthread_mutexattr_init' in scope
12 | else { preconditionFailure() }
13 |
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/RecursiveLock.swift:14:15: error: cannot find 'pthread_mutexattr_settype' in scope
12 | else { preconditionFailure() }
13 |
14 | guard pthread_mutexattr_settype(&attributes, PTHREAD_MUTEX_RECURSIVE) == 0
| `- error: cannot find 'pthread_mutexattr_settype' in scope
15 | else { preconditionFailure() }
16 |
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/RecursiveLock.swift:14:54: error: cannot find 'PTHREAD_MUTEX_RECURSIVE' in scope
12 | else { preconditionFailure() }
13 |
14 | guard pthread_mutexattr_settype(&attributes, PTHREAD_MUTEX_RECURSIVE) == 0
| `- error: cannot find 'PTHREAD_MUTEX_RECURSIVE' in scope
15 | else { preconditionFailure() }
16 |
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/RecursiveLock.swift:17:15: error: cannot find 'pthread_mutex_init' in scope
15 | else { preconditionFailure() }
16 |
17 | guard pthread_mutex_init(backing, &attributes) == 0
| `- error: cannot find 'pthread_mutex_init' in scope
18 | else { preconditionFailure() }
19 |
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/RecursiveLock.swift:20:9: error: cannot find 'pthread_mutexattr_destroy' in scope
18 | else { preconditionFailure() }
19 |
20 | pthread_mutexattr_destroy(&attributes)
| `- error: cannot find 'pthread_mutexattr_destroy' in scope
21 | }
22 |
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/RecursiveLock.swift:24:9: error: cannot find 'pthread_mutex_destroy' in scope
22 |
23 | deinit {
24 | pthread_mutex_destroy(backing)
| `- error: cannot find 'pthread_mutex_destroy' in scope
25 | backing.deinitialize(count: 1)
26 | backing.deallocate()
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/RecursiveLock.swift:30:19: error: cannot find 'pthread_mutex_lock' in scope
28 |
29 | public func locked<T>(_ block: () throws -> T) rethrows -> T {
30 | let ret = pthread_mutex_lock(backing)
| `- error: cannot find 'pthread_mutex_lock' in scope
31 | // https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man3/pthread_mutex_lock.3.html
32 | precondition(ret == 0, "Could not acquire lock: '\(ret)'")
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/RecursiveLock.swift:33:17: error: cannot find 'pthread_mutex_unlock' in scope
31 | // https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man3/pthread_mutex_lock.3.html
32 | precondition(ret == 0, "Could not acquire lock: '\(ret)'")
33 | defer { pthread_mutex_unlock(backing) }
| `- error: cannot find 'pthread_mutex_unlock' in scope
34 | return try block()
35 | }
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/RecursiveLock.swift:39:12: error: cannot find 'pthread_mutex_trylock' in scope
37 | public func tryLocked(_ block: () throws -> Void) rethrows -> Bool {
38 | // https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man3/pthread_mutex_trylock.3.html#//apple_ref/doc/man/3/pthread_mutex_trylock
39 | if pthread_mutex_trylock(backing) == 0 {
| `- error: cannot find 'pthread_mutex_trylock' in scope
40 | defer { pthread_mutex_unlock(backing) }
41 | try block()
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/RecursiveLock.swift:40:21: error: cannot find 'pthread_mutex_unlock' in scope
38 | // https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man3/pthread_mutex_trylock.3.html#//apple_ref/doc/man/3/pthread_mutex_trylock
39 | if pthread_mutex_trylock(backing) == 0 {
40 | defer { pthread_mutex_unlock(backing) }
| `- error: cannot find 'pthread_mutex_unlock' in scope
41 | try block()
42 | return true
[144/414] Emitting module JSON
[145/414] Compiling JSON Dictionary+JSON.swift
/host/spi-builder-workspace/.build/checkouts/json-apple/Sources/JSON/Dictionary+JSON.swift:73:9: error: cannot find 'CFBooleanGetTypeID' in scope
71 | private extension NSNumber {
72 | var isBool: Bool {
73 | CFBooleanGetTypeID() == CFGetTypeID(self)
| `- error: cannot find 'CFBooleanGetTypeID' in scope
74 | }
75 | }
/host/spi-builder-workspace/.build/checkouts/json-apple/Sources/JSON/Dictionary+JSON.swift:73:33: error: cannot find 'CFGetTypeID' in scope
71 | private extension NSNumber {
72 | var isBool: Bool {
73 | CFBooleanGetTypeID() == CFGetTypeID(self)
| `- error: cannot find 'CFGetTypeID' in scope
74 | }
75 | }
[146/414] Compiling DequeModule RigidDeque+Equatable.swift
[147/414] Compiling DequeModule RigidDeque+Experimental.swift
[148/414] Compiling DequeModule RigidDeque+Hashable.swift
[149/414] Compiling DequeModule RigidDeque+Initializers.swift
[150/414] Compiling DequeModule RigidDeque+Insertions.swift
[151/414] Compiling DequeModule RigidDeque+Prepend.swift
[152/414] Compiling DequeModule RigidDeque+Container.swift
[153/414] Compiling DequeModule RigidDeque+Descriptions.swift
[160/414] Compiling DequeModule Deque+Testing.swift
[161/414] Compiling DequeModule Deque._Storage.swift
[162/414] Compiling DequeModule Deque._UnsafeHandle.swift
[163/414] Compiling DequeModule Deque.swift
[164/414] Compiling DequeModule _DequeBuffer.swift
[165/414] Compiling DequeModule _DequeBufferHeader.swift
[166/414] Compiling DequeModule RigidDeque+Append.swift
[167/414] Compiling DequeModule RigidDeque+Consumption.swift
[175/414] Compiling DequeModule UniqueDeque+Replacements.swift
[184/414] Emitting module BitCollections
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Locked.swift:4:54: error: cannot find type 'os_unfair_lock' in scope
2 |
3 | public struct Locked<Element> {
4 | private final class Lock: ManagedBuffer<Element, os_unfair_lock> {
| `- error: cannot find type 'os_unfair_lock' in scope
5 | deinit {
6 | withUnsafeMutablePointerToElements { lock in
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Locked.swift:12:48: error: cannot find type 'os_unfair_lock' in scope
10 | }
11 |
12 | private let buffer: ManagedBuffer<Element, os_unfair_lock>
| `- error: cannot find type 'os_unfair_lock' in scope
13 |
14 | public init(_ element: Element) {
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Locked.swift:6:13: error: type of expression is ambiguous without a type annotation
4 | private final class Lock: ManagedBuffer<Element, os_unfair_lock> {
5 | deinit {
6 | withUnsafeMutablePointerToElements { lock in
| `- error: type of expression is ambiguous without a type annotation
7 | _ = lock.deinitialize(count: 1)
8 | }
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Locked.swift:17:35: error: cannot find 'os_unfair_lock' in scope
15 | buffer = Lock.create(minimumCapacity: 1) { buffer in
16 | buffer.withUnsafeMutablePointerToElements {
17 | $0.initialize(to: os_unfair_lock())
| `- error: cannot find 'os_unfair_lock' in scope
18 | }
19 | return element
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Locked.swift:15:16: error: type of expression is ambiguous without a type annotation
13 |
14 | public init(_ element: Element) {
15 | buffer = Lock.create(minimumCapacity: 1) { buffer in
| `- error: type of expression is ambiguous without a type annotation
16 | buffer.withUnsafeMutablePointerToElements {
17 | $0.initialize(to: os_unfair_lock())
BUILD FAILURE 6.2 wasm