Build Information
Failed to build Phoenix, reference main (745c51), with Swift 6.0 for Linux on 22 Apr 2026 22:48:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shareup/phoenix-apple.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/shareup/phoenix-apple
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/shareup/phoenix-apple.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:6ccbc5e7995f6c524368c1828f9c677d1727c16390a603fc668217aec5f5123a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest
Fetching https://github.com/shareup/websocket-apple.git
Fetching https://github.com/shareup/async-extensions.git
Fetching https://github.com/shareup/dispatch-timer.git
Fetching https://github.com/shareup/json-apple.git
Fetching https://github.com/shareup/synchronized.git
Fetching https://github.com/apple/swift-collections.git
[1/142] Fetching json-apple
[11/629] Fetching json-apple, async-extensions
[630/855] Fetching json-apple, async-extensions, synchronized
[856/1584] Fetching json-apple, async-extensions, synchronized, websocket-apple
[1585/25225] Fetching json-apple, async-extensions, synchronized, websocket-apple, swift-collections
[3240/25330] Fetching json-apple, async-extensions, synchronized, websocket-apple, swift-collections, dispatch-timer
Fetched https://github.com/shareup/async-extensions.git from cache (2.30s)
Fetched https://github.com/shareup/dispatch-timer.git from cache (2.30s)
Fetched https://github.com/shareup/json-apple.git from cache (2.30s)
Fetched https://github.com/shareup/websocket-apple.git from cache (2.30s)
Fetched https://github.com/shareup/synchronized.git from cache (2.52s)
Fetched https://github.com/apple/swift-collections.git from cache (2.57s)
Computing version for https://github.com/shareup/websocket-apple.git
Computed https://github.com/shareup/websocket-apple.git at 4.1.1 (0.92s)
Computing version for https://github.com/shareup/synchronized.git
Computed https://github.com/shareup/synchronized.git at 4.0.1 (3.57s)
Computing version for https://github.com/shareup/dispatch-timer.git
Computed https://github.com/shareup/dispatch-timer.git at 3.0.1 (0.89s)
Computing version for https://github.com/shareup/json-apple.git
Computed https://github.com/shareup/json-apple.git at 1.4.2 (0.99s)
Computing version for https://github.com/shareup/async-extensions.git
Computed https://github.com/shareup/async-extensions.git at 4.4.0 (0.97s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.30s)
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
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/synchronized.git
Working copy of https://github.com/shareup/synchronized.git resolved at 4.0.1
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/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/dispatch-timer.git
Working copy of https://github.com/shareup/dispatch-timer.git resolved at 3.0.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] Emitting module JSON
[19/41] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[20/41] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[21/43] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[22/43] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[23/43] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[24/43] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[25/43] Compiling InternalCollectionsUtilities String+Padding.swift
[26/43] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[27/43] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[28/43] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[29/43] Compiling InternalCollectionsUtilities Span+Extras.swift
[30/43] Compiling InternalCollectionsUtilities Debugging.swift
[31/43] Compiling InternalCollectionsUtilities Descriptions.swift
[32/43] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[33/43] Compiling InternalCollectionsUtilities Integer rank.swift
[34/43] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[35/43] Compiling InternalCollectionsUtilities UInt+reversed.swift
[36/43] Emitting module InternalCollectionsUtilities
[37/43] Compiling InternalCollectionsUtilities _SortedCollection.swift
[38/43] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[40/305] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[41/305] Compiling HashTreeCollections _HashNode.swift
[42/305] Compiling HashTreeCollections _HashNodeHeader.swift
[43/305] Compiling HashTreeCollections _HashSlot.swift
[44/314] Compiling HashTreeCollections _HashNode+Invariants.swift
[45/314] Compiling HashTreeCollections _HashNode+Lookups.swift
[46/314] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[47/314] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[48/314] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[49/314] Compiling HashTreeCollections _HashNode+Structural merge.swift
[50/314] Compiling HashTreeCollections _AncestorHashSlots.swift
[51/314] Compiling HashTreeCollections _Bitmap.swift
[52/314] Compiling HashTreeCollections _Bucket.swift
[53/315] Compiling HashTreeCollections _HashNode+Structural union.swift
[54/315] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[55/315] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[56/315] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[57/316] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[58/335] Compiling HeapModule Heap+Descriptions.swift
[59/342] Emitting module ContainersPreview
[60/343] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[61/343] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[62/343] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[63/343] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[64/343] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[65/343] Compiling HashTreeCollections _Hash.swift
[66/343] Compiling HashTreeCollections _HashLevel.swift
[67/343] Compiling HashTreeCollections _HashNode+Builder.swift
[68/343] Compiling HashTreeCollections _HashNode+Debugging.swift
[69/343] Compiling HashTreeCollections _HashNode+Initializers.swift
[70/343] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[71/343] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[72/343] Compiling HashTreeCollections _HashNode+Storage.swift
[73/343] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[74/343] Compiling HashTreeCollections _HashNode+Structural filter.swift
[95/352] Compiling ContainersPreview Box.swift
[96/352] Compiling ContainersPreview Inout.swift
[97/352] Compiling ContainersPreview InputSpan.swift
[98/352] Compiling ContainersPreview Shared.swift
[99/353] Compiling HeapModule _HeapNode.swift
[100/353] Compiling HeapModule Heap.swift
[110/360] Compiling HeapModule Heap+Invariants.swift
[111/360] Compiling HeapModule Heap+UnsafeHandle.swift
[112/360] Emitting module HeapModule
[117/361] Compiling HashTreeCollections _RawHashNode.swift
[118/361] Compiling HashTreeCollections _UnmanagedHashNode.swift
[119/361] Compiling HashTreeCollections _UnsafePath.swift
[121/368] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[122/368] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[123/368] Compiling HashTreeCollections TreeDictionary+Keys.swift
[124/368] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[125/368] Compiling HashTreeCollections TreeDictionary+Merge.swift
[126/368] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[127/368] Compiling BitCollections BitSet.Index.swift
[128/408] Compiling HashTreeCollections TreeSet+Hashable.swift
[129/408] Compiling HashTreeCollections TreeSet+Sendable.swift
[130/408] Compiling HashTreeCollections TreeSet+Sequence.swift
[131/408] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[132/408] Compiling _RopeModule Rope+Join.swift
[133/408] Compiling _RopeModule Rope+MutatingForEach.swift
[134/408] Compiling _RopeModule Rope+Remove.swift
[135/408] Compiling _RopeModule Rope+RemoveSubrange.swift
[136/408] Compiling _RopeModule Rope+Split.swift
[137/408] Compiling _RopeModule Optional Utilities.swift
[138/418] Emitting module BitCollections
[139/418] Compiling DequeModule UniqueDeque+Consumption.swift
[140/418] Compiling DequeModule UniqueDeque+Container.swift
[141/418] Compiling DequeModule UniqueDeque+Descriptions.swift
[142/418] Compiling DequeModule UniqueDeque+Equatable.swift
[143/418] Compiling DequeModule UniqueDeque+Experimental.swift
[144/418] Compiling DequeModule UniqueDeque+Hashable.swift
[145/418] Compiling DequeModule UniqueDeque+Initializers.swift
[146/418] Compiling DequeModule UniqueDeque+Insertions.swift
[147/418] Compiling DequeModule UniqueDeque+Prepend.swift
[148/418] Compiling DequeModule UniqueDeque+Removals.swift
[149/423] Compiling DequeModule RigidDeque+Equatable.swift
[150/423] Compiling DequeModule RigidDeque+Experimental.swift
[151/423] Compiling DequeModule RigidDeque+Hashable.swift
[152/423] Compiling DequeModule RigidDeque+Initializers.swift
[153/423] Compiling DequeModule RigidDeque+Insertions.swift
[154/423] Compiling DequeModule RigidDeque+Prepend.swift
[155/423] Compiling DequeModule RigidDeque+Removals.swift
[156/423] Compiling DequeModule RigidDeque+Replacements.swift
[157/423] Compiling DequeModule RigidDeque+Testing.swift
[158/423] Compiling DequeModule RigidDeque.swift
[159/423] Compiling DequeModule UniqueDeque+Append.swift
[167/423] Compiling HashTreeCollections TreeDictionary+Filter.swift
[174/423] Compiling DequeModule UniqueDeque+Replacements.swift
[175/423] Compiling DequeModule UniqueDeque.swift
[176/423] Compiling DequeModule _DequeSlot.swift
[177/423] Compiling DequeModule _UnsafeDequeHandle.swift
[178/423] Compiling DequeModule _UnsafeDequeSegments.swift
[179/423] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[180/423] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[181/423] Compiling DequeModule _DequeBuffer.swift
[182/423] Compiling DequeModule _DequeBufferHeader.swift
[183/423] Compiling DequeModule RigidDeque+Append.swift
[184/423] Compiling DequeModule RigidDeque+Consumption.swift
[185/423] Compiling DequeModule RigidDeque+Container.swift
[186/423] Compiling DequeModule RigidDeque+Descriptions.swift
[195/423] Compiling DequeModule Deque+CustomReflectable.swift
[196/423] Compiling DequeModule Deque+Descriptions.swift
[197/423] Compiling DequeModule Deque+Equatable.swift
[198/423] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[205/423] Compiling DequeModule Deque+Extras.swift
[206/423] Compiling DequeModule Deque+Hashable.swift
[207/423] Compiling DequeModule Deque+Testing.swift
[208/423] Compiling DequeModule Deque._Storage.swift
[209/423] Compiling DequeModule Deque._UnsafeHandle.swift
[210/423] Compiling DequeModule Deque.swift
[217/423] Compiling DequeModule Deque+Codable.swift
[218/423] Compiling DequeModule Deque+Collection.swift
[219/423] Compiling OrderedCollections OrderedSet+SubSequence.swift
[220/423] Compiling OrderedCollections OrderedSet+Testing.swift
[221/423] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[222/423] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[223/423] Compiling OrderedCollections OrderedSet.swift
[224/423] Compiling OrderedCollections _UnsafeBitset.swift
[225/423] Compiling HashTreeCollections TreeSet+Equatable.swift
[226/423] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[227/423] Compiling HashTreeCollections TreeSet+Extras.swift
[228/423] Compiling HashTreeCollections TreeSet+Filter.swift
[239/423] Compiling OrderedCollections OrderedSet+Sendable.swift
[257/423] Compiling Synchronized RecursiveLock.swift
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/RecursiveLock.swift:14:54: error: cannot convert value of type 'Int' to expected argument type 'Int32'
12 | else { preconditionFailure() }
13 |
14 | guard pthread_mutexattr_settype(&attributes, PTHREAD_MUTEX_RECURSIVE) == 0
| `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
15 | else { preconditionFailure() }
16 |
[258/423] Compiling Synchronized Lock.swift
/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/Lock.swift:7:40: error: cannot find type 'os_unfair_lock' in scope
5 |
6 | public init() {
7 | backing = UnsafeMutablePointer<os_unfair_lock>.allocate(capacity: 1)
| `- error: cannot find type 'os_unfair_lock' in scope
8 | backing.initialize(to: os_unfair_lock())
9 | }
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Lock.swift:8:32: error: cannot find 'os_unfair_lock' in scope
6 | public init() {
7 | backing = UnsafeMutablePointer<os_unfair_lock>.allocate(capacity: 1)
8 | backing.initialize(to: os_unfair_lock())
| `- error: cannot find 'os_unfair_lock' in scope
9 | }
10 |
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Lock.swift:18:9: error: cannot find 'os_unfair_lock_lock' in scope
16 | public func locked<T>(_ block: () throws -> T) rethrows -> T {
17 | // https://developer.apple.com/documentation/os/1646466-os_unfair_lock_lock
18 | os_unfair_lock_lock(backing)
| `- error: cannot find 'os_unfair_lock_lock' in scope
19 | defer { os_unfair_lock_unlock(backing) }
20 | return try block()
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Lock.swift:19:17: error: cannot find 'os_unfair_lock_unlock' in scope
17 | // https://developer.apple.com/documentation/os/1646466-os_unfair_lock_lock
18 | os_unfair_lock_lock(backing)
19 | defer { os_unfair_lock_unlock(backing) }
| `- error: cannot find 'os_unfair_lock_unlock' in scope
20 | return try block()
21 | }
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Lock.swift:25:12: error: cannot find 'os_unfair_lock_trylock' in scope
23 | public func tryLocked(_ block: () throws -> Void) rethrows -> Bool {
24 | // https://developer.apple.com/documentation/os/1646469-os_unfair_lock_trylock
25 | if os_unfair_lock_trylock(backing) {
| `- error: cannot find 'os_unfair_lock_trylock' in scope
26 | defer { os_unfair_lock_unlock(backing) }
27 | try block()
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Lock.swift:26:21: error: cannot find 'os_unfair_lock_unlock' in scope
24 | // https://developer.apple.com/documentation/os/1646469-os_unfair_lock_trylock
25 | if os_unfair_lock_trylock(backing) {
26 | defer { os_unfair_lock_unlock(backing) }
| `- error: cannot find 'os_unfair_lock_unlock' in scope
27 | try block()
28 | return true
[259/423] 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 | }
[260/423] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[261/423] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[262/423] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[263/423] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[264/423] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[265/423] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[266/423] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[267/423] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[268/423] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[269/423] Compiling HashTreeCollections TreeSet.swift
[270/423] Compiling Synchronized Locked.swift
/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())
/host/spi-builder-workspace/.build/checkouts/synchronized/Sources/Synchronized/Locked.swift:25:13: error: cannot find 'os_unfair_lock_lock' in scope
23 | public func access<Return>(_ block: (inout Element) throws -> Return) rethrows -> Return {
24 | try buffer.withUnsafeMutablePointers { element, lock in
25 | os_unfair_lock_lock(lock)
| `- error: cannot find 'os_unfair_lock_lock' in scope
26 | defer { os_unfair_lock_unlock(lock) }
27 | return try block(&element.pointee)
[271/423] 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 | }
BUILD FAILURE 6.0 linux