The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Phoenix, reference main (745c51), with Swift 6.3 for Linux on 22 Apr 2026 22:47:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build 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.3
Building package at path:  $PWD
https://github.com/shareup/phoenix-apple.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/shareup/synchronized.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/shareup/dispatch-timer.git
Fetching https://github.com/shareup/json-apple.git
Fetching https://github.com/shareup/async-extensions.git
Fetching https://github.com/shareup/websocket-apple.git
[1/142] Fetching json-apple
[9/368] Fetching json-apple, synchronized
[369/855] Fetching json-apple, synchronized, async-extensions
[813/960] Fetching json-apple, synchronized, async-extensions, dispatch-timer
[952/1689] Fetching json-apple, synchronized, async-extensions, dispatch-timer, websocket-apple
Fetched https://github.com/shareup/synchronized.git from cache (0.31s)
[1/23641] Fetching swift-collections
Fetched https://github.com/shareup/websocket-apple.git from cache (0.35s)
Fetched https://github.com/shareup/async-extensions.git from cache (0.35s)
Fetched https://github.com/shareup/json-apple.git from cache (20.85s)
Fetched https://github.com/shareup/dispatch-timer.git from cache (20.85s)
Fetched https://github.com/apple/swift-collections.git from cache (20.88s)
Computing version for https://github.com/shareup/websocket-apple.git
Computed https://github.com/shareup/websocket-apple.git at 4.1.1 (21.63s)
Computing version for https://github.com/shareup/synchronized.git
Computed https://github.com/shareup/synchronized.git at 4.0.1 (3.32s)
Computing version for https://github.com/shareup/dispatch-timer.git
Computed https://github.com/shareup/dispatch-timer.git at 3.0.1 (0.96s)
Computing version for https://github.com/shareup/json-apple.git
Computed https://github.com/shareup/json-apple.git at 1.4.2 (0.37s)
Computing version for https://github.com/shareup/async-extensions.git
Computed https://github.com/shareup/async-extensions.git at 4.4.0 (0.39s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.66s)
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/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/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/synchronized.git
Working copy of https://github.com/shareup/synchronized.git resolved at 4.0.1
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
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 String+Padding.swift
[22/43] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[23/43] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[24/43] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[25/43] Compiling InternalCollectionsUtilities Integer rank.swift
[26/43] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[27/43] Compiling InternalCollectionsUtilities UInt+reversed.swift
[28/43] Compiling InternalCollectionsUtilities Debugging.swift
[29/43] Compiling InternalCollectionsUtilities Descriptions.swift
[30/43] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[31/43] Compiling InternalCollectionsUtilities _SortedCollection.swift
[32/43] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[33/43] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[34/43] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[35/43] Emitting module InternalCollectionsUtilities
[36/43] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[37/43] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[39/300] Compiling _RopeModule BigString+Chunk+RopeElement.swift
[40/300] Compiling _RopeModule BigString+Chunk+Splitting.swift
[41/300] Compiling _RopeModule BigString+Chunk+UTF16.swift
[42/300] Compiling _RopeModule BigString+Chunk+UTF8.swift
[43/304] Compiling _RopeModule BigString+LosslessStringConvertible.swift
[44/304] Compiling _RopeModule BigString+RangeReplaceableCollection.swift
[45/308] Compiling _RopeModule BigString+Sequence.swift
[46/308] Compiling _RopeModule BigString+TextOutputStream.swift
[47/318] Compiling HeapModule Heap+Descriptions.swift
[48/327] Compiling _RopeModule BigString+CustomStringConvertible.swift
[49/327] Compiling _RopeModule BigString+Equatable.swift
[50/327] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[51/327] Compiling _RopeModule BigString+Hashing.swift
[52/343] Compiling _RopeModule BigString+Chunk+UnicodeScalar.swift
[53/343] Compiling _RopeModule BigString+Chunk.swift
[54/343] Compiling _RopeModule BigString+BidirectionalCollection.swift
[55/343] Compiling _RopeModule BigString+Comparable.swift
[56/343] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[57/343] Compiling HeapModule _HeapNode.swift
[58/343] Emitting module ContainersPreview
[59/343] Compiling HeapModule Heap.swift
[60/343] Compiling _RopeModule BigString+Append.swift
[61/343] Compiling _RopeModule BigString+Initializers.swift
[62/343] Compiling _RopeModule BigString+Insert.swift
[63/343] Compiling _RopeModule BigString+Managing Breaks.swift
[64/343] Compiling _RopeModule BigString+Invariants.swift
[65/343] Compiling _RopeModule BigString+Metrics.swift
[66/343] Compiling _RopeModule BigString+Summary.swift
[67/343] Compiling _RopeModule BigString.swift
[68/343] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[69/343] Compiling _RopeModule BigString+Chunk+Breaks.swift
[70/343] Compiling _RopeModule BigString+Chunk+Character.swift
[71/343] Compiling _RopeModule BigString+Chunk+Counts.swift
[72/343] Compiling _RopeModule BigString+Chunk+Description.swift
[73/343] Compiling _RopeModule BigString+Chunk+Index.swift
[74/343] Compiling _RopeModule BigString+Builder.swift
[75/343] Compiling _RopeModule BigString+Contents.swift
[76/343] Compiling _RopeModule BigString+Debugging.swift
[77/343] Compiling _RopeModule BigString+Index.swift
[78/343] Compiling _RopeModule BigString+Ingester.swift
[80/344] Compiling HeapModule Heap+Invariants.swift
[81/344] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[82/344] Compiling HeapModule Heap+UnsafeHandle.swift
[83/344] Emitting module HeapModule
[85/385] Compiling DequeModule RigidDeque.swift
[86/385] Compiling DequeModule UniqueDeque+Append.swift
[87/385] Compiling DequeModule UniqueDeque+Hashable.swift
[88/385] Compiling DequeModule UniqueDeque+Initializers.swift
[89/385] Compiling DequeModule UniqueDeque+Insertions.swift
[90/385] Compiling DequeModule UniqueDeque+Prepend.swift
[91/385] Compiling DequeModule UniqueDeque+Removals.swift
[92/385] Compiling _RopeModule RopeSummary.swift
[93/385] Compiling _RopeModule _RopeItem.swift
[94/385] Compiling _RopeModule _RopePath.swift
[95/385] Compiling _RopeModule _RopeVersion.swift
[96/385] Compiling _RopeModule Rope+Collection.swift
[97/385] Compiling _RopeModule Rope+Index.swift
[98/385] Compiling _RopeModule Rope+Sequence.swift
[99/392] Compiling DequeModule UniqueDeque+Consumption.swift
[100/392] Compiling DequeModule UniqueDeque+Container.swift
[101/392] Compiling DequeModule UniqueDeque+Descriptions.swift
[102/392] Compiling DequeModule UniqueDeque+Equatable.swift
[103/392] Compiling DequeModule UniqueDeque+Experimental.swift
[104/392] Compiling DequeModule RigidDeque+Removals.swift
[105/392] Compiling DequeModule RigidDeque+Replacements.swift
[106/392] Compiling DequeModule RigidDeque+Testing.swift
[107/392] Compiling _RopeModule BigSubstring.swift
[108/392] Compiling _RopeModule Rope+Builder.swift
[109/392] Compiling _RopeModule Rope+Debugging.swift
[110/392] Compiling _RopeModule Rope+Invariants.swift
[111/392] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[112/392] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[113/392] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[114/392] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[115/392] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[116/392] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[117/392] Compiling DequeModule Deque+Testing.swift
[118/392] Compiling DequeModule Deque._Storage.swift
[119/392] Compiling DequeModule Deque._UnsafeHandle.swift
[120/392] Compiling DequeModule Deque.swift
[121/392] Compiling DequeModule _DequeBuffer.swift
[122/392] Compiling DequeModule _DequeBufferHeader.swift
[123/392] Compiling DequeModule RigidDeque+Append.swift
[129/414] Emitting module BitCollections
[130/414] Compiling _RopeModule RopeMetric.swift
[137/414] Compiling BitCollections BitSet.swift
[138/414] Compiling BitCollections Range+Utilities.swift
[139/414] Compiling BitCollections Slice+Utilities.swift
[140/414] Compiling BitCollections UInt+Tricks.swift
[141/414] Compiling BitCollections _Word.swift
[142/414] Compiling OrderedCollections _UnsafeBitset.swift
[143/414] Compiling _RopeModule BigString+UnicodeScalarView.swift
[144/414] Compiling _RopeModule BigSubstring+UTF16View.swift
[145/414] Compiling _RopeModule BigSubstring+UTF8View.swift
[146/414] Compiling _RopeModule BigSubstring+UnicodeScalarView.swift
[150/414] Compiling DequeModule RigidDeque+Consumption.swift
[151/414] Compiling DequeModule RigidDeque+Container.swift
[152/414] Compiling DequeModule RigidDeque+Descriptions.swift
[153/414] Compiling DequeModule UniqueDeque+Replacements.swift
[154/414] Compiling DequeModule UniqueDeque.swift
[155/414] Compiling DequeModule _DequeSlot.swift
[156/414] Compiling DequeModule _UnsafeDequeHandle.swift
[157/414] Compiling DequeModule _UnsafeDequeSegments.swift
[158/414] Compiling _RopeModule Rope.swift
[159/414] Compiling _RopeModule RopeElement.swift
[164/414] Compiling DequeModule RigidDeque+Equatable.swift
[165/414] Compiling DequeModule RigidDeque+Experimental.swift
[166/414] Compiling DequeModule RigidDeque+Hashable.swift
[167/414] Compiling DequeModule RigidDeque+Initializers.swift
[168/414] Compiling DequeModule RigidDeque+Insertions.swift
[176/414] Compiling DequeModule RigidDeque+Prepend.swift
[212/414] Compiling BitCollections BitSet.Index.swift
[213/414] Compiling BitCollections BitSet._UnsafeHandle.swift
[229/414] Emitting module JSON
[230/423] Compiling _RopeModule String Utilities.swift
[231/423] Compiling _RopeModule String.Index+ABI.swift
[232/423] Compiling _RopeModule _CharacterRecognizer.swift
[233/423] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[234/423] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[235/423] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[236/423] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[237/423] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[238/423] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[239/423] Compiling HashTreeCollections TreeSet.swift
[240/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 | }
[241/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 | }
[242/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 |
[243/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
/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: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
 4 |     private final class Lock: ManagedBuffer<Element, os_unfair_lock> {
 5 |         deinit {
 6 |             withUnsafeMutablePointerToElements { lock in
   |             `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
 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: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
13 |
14 |     public init(_ element: Element) {
15 |         buffer = Lock.create(minimumCapacity: 1) { buffer in
   |                `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
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)
BUILD FAILURE 6.3 linux