Build Information
Failed to build sebbu-networking, reference main (87d744), with Swift 6.2 for macOS (SPM) on 22 Jun 2025 03:45:20 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MarSe32m/sebbu-networking.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MarSe32m/sebbu-networking
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 87d7443 Fix NetworkUtils implementation
Cloned https://github.com/MarSe32m/sebbu-networking.git
Revision (git rev-parse @):
87d74434d852d42b2accc9884c4136be1575c1a7
SUCCESS checkout https://github.com/MarSe32m/sebbu-networking.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/MarSe32m/sebbu-networking.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/42] Write sources
[1/42] Write swift-version-1EA4D86E10B52AF.txt
[2/42] Compiling darwin-proctitle.c
[3/42] Compiling threadpool.c
[4/42] Compiling thread-common.c
[5/42] Compiling random.c
[6/42] Compiling udp.c
[7/42] Compiling tty.c
[8/42] Compiling uv-common.c
[9/42] Compiling version.c
[10/42] Compiling thread.c
[11/42] Compiling tcp.c
[12/42] Compiling inet.c
[13/42] Compiling random-getentropy.c
[14/42] Compiling signal.c
[15/42] Compiling stream.c
[16/42] Compiling random-devurandom.c
[17/42] Compiling darwin.c
[18/42] Compiling proctitle.c
[19/42] Compiling poll.c
[20/42] Compiling pipe.c
[21/42] Compiling loop.c
[22/42] Compiling process.c
[23/42] Compiling loop-watcher.c
[24/42] Compiling getnameinfo.c
[25/42] Compiling kqueue.c
[26/42] Compiling getaddrinfo.c
[27/42] Compiling fsevents.c
[28/42] Compiling dl.c
[29/42] Compiling strtok.c
[30/42] Write sources
[32/42] Compiling uv-data-getter-setters.c
[33/42] Compiling timer.c
[34/42] Compiling bsd-ifaddrs.c
[35/42] Compiling fs.c
[36/42] Compiling async.c
[37/42] Compiling core.c
[38/42] Compiling CSebbuNetworking shim.c
[39/42] Compiling idna.c
[40/42] Compiling fs-poll.c
[41/56] Compiling strscpy.c
[43/56] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[44/57] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[45/57] Compiling InternalCollectionsUtilities Debugging.swift
[46/57] Compiling InternalCollectionsUtilities Descriptions.swift
[47/57] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[48/57] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[49/57] Compiling InternalCollectionsUtilities _SortedCollection.swift
[50/57] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[51/57] Compiling InternalCollectionsUtilities UInt+reversed.swift
[52/57] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[53/57] Compiling InternalCollectionsUtilities Integer rank.swift
[54/57] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[55/57] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[56/57] Emitting module InternalCollectionsUtilities
[57/57] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[58/73] Compiling DequeModule Deque+CustomReflectable.swift
[59/73] Compiling DequeModule Deque+Descriptions.swift
[60/74] Compiling DequeModule _DequeBuffer.swift
[61/74] Compiling DequeModule Deque+Equatable.swift
[62/74] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[63/74] Compiling DequeModule _DequeSlot.swift
[64/74] Compiling DequeModule _DequeBufferHeader.swift
[65/74] Compiling DequeModule _UnsafeWrappedBuffer.swift
[66/74] Compiling DequeModule Deque+Extras.swift
[67/74] Compiling DequeModule Deque+Hashable.swift
[68/74] Compiling DequeModule Deque+Testing.swift
[69/74] Compiling DequeModule Deque._Storage.swift
[70/74] Compiling DequeModule Deque._UnsafeHandle.swift
[71/74] Compiling DequeModule Deque.swift
[72/74] Compiling DequeModule Deque+Codable.swift
[73/74] Compiling DequeModule Deque+Collection.swift
[74/74] Emitting module DequeModule
error: emit-module command failed with exit code 1 (use -v to see invocation)
[75/95] Emitting module SebbuNetworking
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:44:30: error: 'Atomic' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
42 |
43 | @usableFromInline
44 | internal let callbackID: Atomic<Int> = .init(0)
| `- error: 'Atomic' is only available in macOS 15.0 or newer
45 |
46 | @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:44:45: error: 'init(_:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
42 |
43 | @usableFromInline
44 | internal let callbackID: Atomic<Int> = .init(0)
| `- error: 'init(_:)' is only available in macOS 15.0 or newer
45 |
46 | @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:65:37: error: 'Atomic' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
63 |
64 | @usableFromInline
65 | internal let notificationCount: Atomic<Int> = .init(0)
| `- error: 'Atomic' is only available in macOS 15.0 or newer
66 |
67 | @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:65:52: error: 'init(_:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
63 |
64 | @usableFromInline
65 | internal let notificationCount: Atomic<Int> = .init(0)
| `- error: 'init(_:)' is only available in macOS 15.0 or newer
66 |
67 | @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:84:27: error: 'Atomic' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
82 |
83 | @usableFromInline
84 | internal let running: Atomic<Bool> = .init(false)
| `- error: 'Atomic' is only available in macOS 15.0 or newer
85 |
86 | public convenience init(allocator: Allocator = MallocAllocator()) {
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:84:43: error: 'init(_:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
82 |
83 | @usableFromInline
84 | internal let running: Atomic<Bool> = .init(false)
| `- error: 'init(_:)' is only available in macOS 15.0 or newer
85 |
86 | public convenience init(allocator: Allocator = MallocAllocator()) {
[76/97] Compiling SebbuNetworking WebSocketClient.swift
[77/97] Compiling SebbuNetworking WebSocketServer.swift
[78/97] Compiling SebbuNetworking SystemUtils.swift
[79/97] Compiling SebbuNetworking Thread.swift
[80/97] Compiling SebbuNetworking Allocators.swift
[81/97] Compiling SebbuNetworking DebugOnly.swift
[82/97] Compiling SebbuNetworking ErrorMap.swift
[83/97] Compiling SebbuNetworking FileDescriptorLimit.swift
[84/97] Compiling SebbuNetworking Lock.swift
[85/97] Compiling SebbuNetworking AsyncTCPChannel.swift
[86/97] Compiling SebbuNetworking TCP.swift
[87/97] Compiling SebbuNetworking AsyncUDPChannel.swift
[88/97] Compiling SebbuNetworking UDP.swift
[89/97] Compiling SebbuNetworking UDPChannel.swift
[90/97] Compiling SebbuNetworking UDPChannelContext.swift
[91/97] Compiling SebbuNetworking TCPChannel.swift
[92/97] Compiling SebbuNetworking TCPChannelContext.swift
[93/97] Compiling SebbuNetworking NetworkUtils.swift
[94/97] Compiling SebbuNetworking StringUtils.swift
[95/97] Compiling SebbuNetworking EventLoop.swift
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:44:30: error: 'Atomic' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
42 |
43 | @usableFromInline
44 | internal let callbackID: Atomic<Int> = .init(0)
| `- error: 'Atomic' is only available in macOS 15.0 or newer
45 |
46 | @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:44:45: error: 'init(_:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
42 |
43 | @usableFromInline
44 | internal let callbackID: Atomic<Int> = .init(0)
| `- error: 'init(_:)' is only available in macOS 15.0 or newer
45 |
46 | @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:65:37: error: 'Atomic' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
63 |
64 | @usableFromInline
65 | internal let notificationCount: Atomic<Int> = .init(0)
| `- error: 'Atomic' is only available in macOS 15.0 or newer
66 |
67 | @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:65:52: error: 'init(_:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
63 |
64 | @usableFromInline
65 | internal let notificationCount: Atomic<Int> = .init(0)
| `- error: 'init(_:)' is only available in macOS 15.0 or newer
66 |
67 | @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:84:27: error: 'Atomic' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
82 |
83 | @usableFromInline
84 | internal let running: Atomic<Bool> = .init(false)
| `- error: 'Atomic' is only available in macOS 15.0 or newer
85 |
86 | public convenience init(allocator: Allocator = MallocAllocator()) {
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:84:43: error: 'init(_:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
82 |
83 | @usableFromInline
84 | internal let running: Atomic<Bool> = .init(false)
| `- error: 'init(_:)' is only available in macOS 15.0 or newer
85 |
86 | public convenience init(allocator: Allocator = MallocAllocator()) {
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:111:20: error: 'exchange(_:ordering:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
108 | }
109 |
110 | public func run(_ mode: RunMode = .default) {
| `- note: add @available attribute to enclosing instance method
111 | if running.exchange(true, ordering: .sequentiallyConsistent) { return }
| |- error: 'exchange(_:ordering:)' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
112 | defer { running.store(false, ordering: .sequentiallyConsistent) }
113 | _thread = uv_thread_self()
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:111:46: error: 'sequentiallyConsistent' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
108 | }
109 |
110 | public func run(_ mode: RunMode = .default) {
| `- note: add @available attribute to enclosing instance method
111 | if running.exchange(true, ordering: .sequentiallyConsistent) { return }
| |- error: 'sequentiallyConsistent' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
112 | defer { running.store(false, ordering: .sequentiallyConsistent) }
113 | _thread = uv_thread_self()
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:112:25: error: 'store(_:ordering:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
108 | }
109 |
110 | public func run(_ mode: RunMode = .default) {
| `- note: add @available attribute to enclosing instance method
111 | if running.exchange(true, ordering: .sequentiallyConsistent) { return }
112 | defer { running.store(false, ordering: .sequentiallyConsistent) }
| |- error: 'store(_:ordering:)' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
113 | _thread = uv_thread_self()
114 | defer { _thread = nil }
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:112:49: error: 'sequentiallyConsistent' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
108 | }
109 |
110 | public func run(_ mode: RunMode = .default) {
| `- note: add @available attribute to enclosing instance method
111 | if running.exchange(true, ordering: .sequentiallyConsistent) { return }
112 | defer { running.store(false, ordering: .sequentiallyConsistent) }
| |- error: 'sequentiallyConsistent' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
113 | _thread = uv_thread_self()
114 | defer { _thread = nil }
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:130:27: error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
127 | }
128 |
129 | public func notify() {
| `- note: add @available attribute to enclosing instance method
130 | notificationCount.wrappingAdd(1, ordering: .relaxed)
| |- error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
131 | _notify()
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:130:53: error: 'relaxed' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
127 | }
128 |
129 | public func notify() {
| `- note: add @available attribute to enclosing instance method
130 | notificationCount.wrappingAdd(1, ordering: .relaxed)
| |- error: 'relaxed' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
131 | _notify()
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:135:34: error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
132 | }
133 |
134 | private func registerWorkQueueDraining() {
| `- note: add @available attribute to enclosing instance method
135 | let (_, id) = callbackID.wrappingAdd(1, ordering: .relaxed)
| |- error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
136 | beforeLoopTickCallbacks.append((id, { [unowned(unsafe) self] in
137 | //TODO: Use MPSCQueue -> ditch the lock
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:135:60: error: 'relaxed' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
132 | }
133 |
134 | private func registerWorkQueueDraining() {
| `- note: add @available attribute to enclosing instance method
135 | let (_, id) = callbackID.wrappingAdd(1, ordering: .relaxed)
| |- error: 'relaxed' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
136 | beforeLoopTickCallbacks.append((id, { [unowned(unsafe) self] in
137 | //TODO: Use MPSCQueue -> ditch the lock
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:184:34: error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
181 | }
182 |
183 | public func registerAfterTickCallback(_ callback: @escaping () -> Void) -> Int {
| `- note: add @available attribute to enclosing instance method
184 | let (_, id) = callbackID.wrappingAdd(1, ordering: .relaxed)
| |- error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
185 | execute { self.afterLoopTickCallbacks.append((id, callback)) }
186 | return id
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:184:60: error: 'relaxed' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
181 | }
182 |
183 | public func registerAfterTickCallback(_ callback: @escaping () -> Void) -> Int {
| `- note: add @available attribute to enclosing instance method
184 | let (_, id) = callbackID.wrappingAdd(1, ordering: .relaxed)
| |- error: 'relaxed' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
185 | execute { self.afterLoopTickCallbacks.append((id, callback)) }
186 | return id
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:194:34: error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
191 | }
192 |
193 | public func registerBeforeTickCallback(_ callback: @escaping () -> Void) -> Int {
| `- note: add @available attribute to enclosing instance method
194 | let (_, id) = callbackID.wrappingAdd(1, ordering: .relaxed)
| |- error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
195 | execute { self.beforeLoopTickCallbacks.append((id, callback)) }
196 | return id
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:194:60: error: 'relaxed' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
191 | }
192 |
193 | public func registerBeforeTickCallback(_ callback: @escaping () -> Void) -> Int {
| `- note: add @available attribute to enclosing instance method
194 | let (_, id) = callbackID.wrappingAdd(1, ordering: .relaxed)
| |- error: 'relaxed' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
195 | execute { self.beforeLoopTickCallbacks.append((id, callback)) }
196 | return id
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:253:39: error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
244 | }
245 |
246 | private func registerNotification() {
| `- note: add @available attribute to enclosing instance method
247 | uv_async_init(_handle, notificationHandle) { handle in
248 | guard let notificationContext = handle?.pointee.data.assumingMemoryBound(to: CallbackContext.self) else { fatalError("unreachable") }
:
251 | notificationContext.initialize(to: .init(callback: { [weak self] in
252 | guard let self = self else { return }
253 | if self.notificationCount.wrappingAdd(1, ordering: .relaxed).newValue > 0 { self._notify() }
| |- error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
254 | }))
255 | notificationHandle.pointee.data = .init(notificationContext)
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:253:65: error: 'relaxed' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
244 | }
245 |
246 | private func registerNotification() {
| `- note: add @available attribute to enclosing instance method
247 | uv_async_init(_handle, notificationHandle) { handle in
248 | guard let notificationContext = handle?.pointee.data.assumingMemoryBound(to: CallbackContext.self) else { fatalError("unreachable") }
:
251 | notificationContext.initialize(to: .init(callback: { [weak self] in
252 | guard let self = self else { return }
253 | if self.notificationCount.wrappingAdd(1, ordering: .relaxed).newValue > 0 { self._notify() }
| |- error: 'relaxed' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
254 | }))
255 | notificationHandle.pointee.data = .init(notificationContext)
[96/97] Compiling SebbuNetworking EventLoopBound.swift
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:44:30: error: 'Atomic' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
42 |
43 | @usableFromInline
44 | internal let callbackID: Atomic<Int> = .init(0)
| `- error: 'Atomic' is only available in macOS 15.0 or newer
45 |
46 | @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:44:45: error: 'init(_:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
42 |
43 | @usableFromInline
44 | internal let callbackID: Atomic<Int> = .init(0)
| `- error: 'init(_:)' is only available in macOS 15.0 or newer
45 |
46 | @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:65:37: error: 'Atomic' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
63 |
64 | @usableFromInline
65 | internal let notificationCount: Atomic<Int> = .init(0)
| `- error: 'Atomic' is only available in macOS 15.0 or newer
66 |
67 | @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:65:52: error: 'init(_:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
63 |
64 | @usableFromInline
65 | internal let notificationCount: Atomic<Int> = .init(0)
| `- error: 'init(_:)' is only available in macOS 15.0 or newer
66 |
67 | @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:84:27: error: 'Atomic' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
82 |
83 | @usableFromInline
84 | internal let running: Atomic<Bool> = .init(false)
| `- error: 'Atomic' is only available in macOS 15.0 or newer
85 |
86 | public convenience init(allocator: Allocator = MallocAllocator()) {
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:84:43: error: 'init(_:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
82 |
83 | @usableFromInline
84 | internal let running: Atomic<Bool> = .init(false)
| `- error: 'init(_:)' is only available in macOS 15.0 or newer
85 |
86 | public convenience init(allocator: Allocator = MallocAllocator()) {
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:111:20: error: 'exchange(_:ordering:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
108 | }
109 |
110 | public func run(_ mode: RunMode = .default) {
| `- note: add @available attribute to enclosing instance method
111 | if running.exchange(true, ordering: .sequentiallyConsistent) { return }
| |- error: 'exchange(_:ordering:)' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
112 | defer { running.store(false, ordering: .sequentiallyConsistent) }
113 | _thread = uv_thread_self()
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:111:46: error: 'sequentiallyConsistent' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
108 | }
109 |
110 | public func run(_ mode: RunMode = .default) {
| `- note: add @available attribute to enclosing instance method
111 | if running.exchange(true, ordering: .sequentiallyConsistent) { return }
| |- error: 'sequentiallyConsistent' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
112 | defer { running.store(false, ordering: .sequentiallyConsistent) }
113 | _thread = uv_thread_self()
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:112:25: error: 'store(_:ordering:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
108 | }
109 |
110 | public func run(_ mode: RunMode = .default) {
| `- note: add @available attribute to enclosing instance method
111 | if running.exchange(true, ordering: .sequentiallyConsistent) { return }
112 | defer { running.store(false, ordering: .sequentiallyConsistent) }
| |- error: 'store(_:ordering:)' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
113 | _thread = uv_thread_self()
114 | defer { _thread = nil }
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:112:49: error: 'sequentiallyConsistent' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
108 | }
109 |
110 | public func run(_ mode: RunMode = .default) {
| `- note: add @available attribute to enclosing instance method
111 | if running.exchange(true, ordering: .sequentiallyConsistent) { return }
112 | defer { running.store(false, ordering: .sequentiallyConsistent) }
| |- error: 'sequentiallyConsistent' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
113 | _thread = uv_thread_self()
114 | defer { _thread = nil }
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:130:27: error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
127 | }
128 |
129 | public func notify() {
| `- note: add @available attribute to enclosing instance method
130 | notificationCount.wrappingAdd(1, ordering: .relaxed)
| |- error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
131 | _notify()
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:130:53: error: 'relaxed' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
127 | }
128 |
129 | public func notify() {
| `- note: add @available attribute to enclosing instance method
130 | notificationCount.wrappingAdd(1, ordering: .relaxed)
| |- error: 'relaxed' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
131 | _notify()
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:135:34: error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
132 | }
133 |
134 | private func registerWorkQueueDraining() {
| `- note: add @available attribute to enclosing instance method
135 | let (_, id) = callbackID.wrappingAdd(1, ordering: .relaxed)
| |- error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
136 | beforeLoopTickCallbacks.append((id, { [unowned(unsafe) self] in
137 | //TODO: Use MPSCQueue -> ditch the lock
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:135:60: error: 'relaxed' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
132 | }
133 |
134 | private func registerWorkQueueDraining() {
| `- note: add @available attribute to enclosing instance method
135 | let (_, id) = callbackID.wrappingAdd(1, ordering: .relaxed)
| |- error: 'relaxed' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
136 | beforeLoopTickCallbacks.append((id, { [unowned(unsafe) self] in
137 | //TODO: Use MPSCQueue -> ditch the lock
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:184:34: error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
181 | }
182 |
183 | public func registerAfterTickCallback(_ callback: @escaping () -> Void) -> Int {
| `- note: add @available attribute to enclosing instance method
184 | let (_, id) = callbackID.wrappingAdd(1, ordering: .relaxed)
| |- error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
185 | execute { self.afterLoopTickCallbacks.append((id, callback)) }
186 | return id
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:184:60: error: 'relaxed' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
181 | }
182 |
183 | public func registerAfterTickCallback(_ callback: @escaping () -> Void) -> Int {
| `- note: add @available attribute to enclosing instance method
184 | let (_, id) = callbackID.wrappingAdd(1, ordering: .relaxed)
| |- error: 'relaxed' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
185 | execute { self.afterLoopTickCallbacks.append((id, callback)) }
186 | return id
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:194:34: error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
191 | }
192 |
193 | public func registerBeforeTickCallback(_ callback: @escaping () -> Void) -> Int {
| `- note: add @available attribute to enclosing instance method
194 | let (_, id) = callbackID.wrappingAdd(1, ordering: .relaxed)
| |- error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
195 | execute { self.beforeLoopTickCallbacks.append((id, callback)) }
196 | return id
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:194:60: error: 'relaxed' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
191 | }
192 |
193 | public func registerBeforeTickCallback(_ callback: @escaping () -> Void) -> Int {
| `- note: add @available attribute to enclosing instance method
194 | let (_, id) = callbackID.wrappingAdd(1, ordering: .relaxed)
| |- error: 'relaxed' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
195 | execute { self.beforeLoopTickCallbacks.append((id, callback)) }
196 | return id
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:253:39: error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
244 | }
245 |
246 | private func registerNotification() {
| `- note: add @available attribute to enclosing instance method
247 | uv_async_init(_handle, notificationHandle) { handle in
248 | guard let notificationContext = handle?.pointee.data.assumingMemoryBound(to: CallbackContext.self) else { fatalError("unreachable") }
:
251 | notificationContext.initialize(to: .init(callback: { [weak self] in
252 | guard let self = self else { return }
253 | if self.notificationCount.wrappingAdd(1, ordering: .relaxed).newValue > 0 { self._notify() }
| |- error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
254 | }))
255 | notificationHandle.pointee.data = .init(notificationContext)
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:253:65: error: 'relaxed' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
244 | }
245 |
246 | private func registerNotification() {
| `- note: add @available attribute to enclosing instance method
247 | uv_async_init(_handle, notificationHandle) { handle in
248 | guard let notificationContext = handle?.pointee.data.assumingMemoryBound(to: CallbackContext.self) else { fatalError("unreachable") }
:
251 | notificationContext.initialize(to: .init(callback: { [weak self] in
252 | guard let self = self else { return }
253 | if self.notificationCount.wrappingAdd(1, ordering: .relaxed).newValue > 0 { self._notify() }
| |- error: 'relaxed' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
254 | }))
255 | notificationHandle.pointee.data = .init(notificationContext)
[97/97] Compiling SebbuNetworking IPAddress.swift
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:44:30: error: 'Atomic' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
42 |
43 | @usableFromInline
44 | internal let callbackID: Atomic<Int> = .init(0)
| `- error: 'Atomic' is only available in macOS 15.0 or newer
45 |
46 | @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:44:45: error: 'init(_:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
42 |
43 | @usableFromInline
44 | internal let callbackID: Atomic<Int> = .init(0)
| `- error: 'init(_:)' is only available in macOS 15.0 or newer
45 |
46 | @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:65:37: error: 'Atomic' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
63 |
64 | @usableFromInline
65 | internal let notificationCount: Atomic<Int> = .init(0)
| `- error: 'Atomic' is only available in macOS 15.0 or newer
66 |
67 | @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:65:52: error: 'init(_:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
63 |
64 | @usableFromInline
65 | internal let notificationCount: Atomic<Int> = .init(0)
| `- error: 'init(_:)' is only available in macOS 15.0 or newer
66 |
67 | @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:84:27: error: 'Atomic' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
82 |
83 | @usableFromInline
84 | internal let running: Atomic<Bool> = .init(false)
| `- error: 'Atomic' is only available in macOS 15.0 or newer
85 |
86 | public convenience init(allocator: Allocator = MallocAllocator()) {
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:84:43: error: 'init(_:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
82 |
83 | @usableFromInline
84 | internal let running: Atomic<Bool> = .init(false)
| `- error: 'init(_:)' is only available in macOS 15.0 or newer
85 |
86 | public convenience init(allocator: Allocator = MallocAllocator()) {
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:111:20: error: 'exchange(_:ordering:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
108 | }
109 |
110 | public func run(_ mode: RunMode = .default) {
| `- note: add @available attribute to enclosing instance method
111 | if running.exchange(true, ordering: .sequentiallyConsistent) { return }
| |- error: 'exchange(_:ordering:)' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
112 | defer { running.store(false, ordering: .sequentiallyConsistent) }
113 | _thread = uv_thread_self()
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:111:46: error: 'sequentiallyConsistent' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
108 | }
109 |
110 | public func run(_ mode: RunMode = .default) {
| `- note: add @available attribute to enclosing instance method
111 | if running.exchange(true, ordering: .sequentiallyConsistent) { return }
| |- error: 'sequentiallyConsistent' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
112 | defer { running.store(false, ordering: .sequentiallyConsistent) }
113 | _thread = uv_thread_self()
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:112:25: error: 'store(_:ordering:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
108 | }
109 |
110 | public func run(_ mode: RunMode = .default) {
| `- note: add @available attribute to enclosing instance method
111 | if running.exchange(true, ordering: .sequentiallyConsistent) { return }
112 | defer { running.store(false, ordering: .sequentiallyConsistent) }
| |- error: 'store(_:ordering:)' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
113 | _thread = uv_thread_self()
114 | defer { _thread = nil }
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:112:49: error: 'sequentiallyConsistent' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
108 | }
109 |
110 | public func run(_ mode: RunMode = .default) {
| `- note: add @available attribute to enclosing instance method
111 | if running.exchange(true, ordering: .sequentiallyConsistent) { return }
112 | defer { running.store(false, ordering: .sequentiallyConsistent) }
| |- error: 'sequentiallyConsistent' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
113 | _thread = uv_thread_self()
114 | defer { _thread = nil }
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:130:27: error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
127 | }
128 |
129 | public func notify() {
| `- note: add @available attribute to enclosing instance method
130 | notificationCount.wrappingAdd(1, ordering: .relaxed)
| |- error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
131 | _notify()
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:130:53: error: 'relaxed' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
127 | }
128 |
129 | public func notify() {
| `- note: add @available attribute to enclosing instance method
130 | notificationCount.wrappingAdd(1, ordering: .relaxed)
| |- error: 'relaxed' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
131 | _notify()
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:135:34: error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
132 | }
133 |
134 | private func registerWorkQueueDraining() {
| `- note: add @available attribute to enclosing instance method
135 | let (_, id) = callbackID.wrappingAdd(1, ordering: .relaxed)
| |- error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
136 | beforeLoopTickCallbacks.append((id, { [unowned(unsafe) self] in
137 | //TODO: Use MPSCQueue -> ditch the lock
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:135:60: error: 'relaxed' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
132 | }
133 |
134 | private func registerWorkQueueDraining() {
| `- note: add @available attribute to enclosing instance method
135 | let (_, id) = callbackID.wrappingAdd(1, ordering: .relaxed)
| |- error: 'relaxed' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
136 | beforeLoopTickCallbacks.append((id, { [unowned(unsafe) self] in
137 | //TODO: Use MPSCQueue -> ditch the lock
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:184:34: error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
181 | }
182 |
183 | public func registerAfterTickCallback(_ callback: @escaping () -> Void) -> Int {
| `- note: add @available attribute to enclosing instance method
184 | let (_, id) = callbackID.wrappingAdd(1, ordering: .relaxed)
| |- error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
185 | execute { self.afterLoopTickCallbacks.append((id, callback)) }
186 | return id
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:184:60: error: 'relaxed' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
181 | }
182 |
183 | public func registerAfterTickCallback(_ callback: @escaping () -> Void) -> Int {
| `- note: add @available attribute to enclosing instance method
184 | let (_, id) = callbackID.wrappingAdd(1, ordering: .relaxed)
| |- error: 'relaxed' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
185 | execute { self.afterLoopTickCallbacks.append((id, callback)) }
186 | return id
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:194:34: error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
191 | }
192 |
193 | public func registerBeforeTickCallback(_ callback: @escaping () -> Void) -> Int {
| `- note: add @available attribute to enclosing instance method
194 | let (_, id) = callbackID.wrappingAdd(1, ordering: .relaxed)
| |- error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
195 | execute { self.beforeLoopTickCallbacks.append((id, callback)) }
196 | return id
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:194:60: error: 'relaxed' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
191 | }
192 |
193 | public func registerBeforeTickCallback(_ callback: @escaping () -> Void) -> Int {
| `- note: add @available attribute to enclosing instance method
194 | let (_, id) = callbackID.wrappingAdd(1, ordering: .relaxed)
| |- error: 'relaxed' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
195 | execute { self.beforeLoopTickCallbacks.append((id, callback)) }
196 | return id
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:253:39: error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
244 | }
245 |
246 | private func registerNotification() {
| `- note: add @available attribute to enclosing instance method
247 | uv_async_init(_handle, notificationHandle) { handle in
248 | guard let notificationContext = handle?.pointee.data.assumingMemoryBound(to: CallbackContext.self) else { fatalError("unreachable") }
:
251 | notificationContext.initialize(to: .init(callback: { [weak self] in
252 | guard let self = self else { return }
253 | if self.notificationCount.wrappingAdd(1, ordering: .relaxed).newValue > 0 { self._notify() }
| |- error: 'wrappingAdd(_:ordering:)' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
254 | }))
255 | notificationHandle.pointee.data = .init(notificationContext)
/Users/admin/builder/spi-builder-workspace/Sources/SebbuNetworking/Common/EventLoop.swift:253:65: error: 'relaxed' is only available in macOS 15.0 or newer
2 | import Synchronization
3 |
4 | public final class EventLoop: @unchecked Sendable {
| `- note: add @available attribute to enclosing class
5 | @usableFromInline
6 | internal enum EventLoopType {
:
244 | }
245 |
246 | private func registerNotification() {
| `- note: add @available attribute to enclosing instance method
247 | uv_async_init(_handle, notificationHandle) { handle in
248 | guard let notificationContext = handle?.pointee.data.assumingMemoryBound(to: CallbackContext.self) else { fatalError("unreachable") }
:
251 | notificationContext.initialize(to: .init(callback: { [weak self] in
252 | guard let self = self else { return }
253 | if self.notificationCount.wrappingAdd(1, ordering: .relaxed).newValue > 0 { self._notify() }
| |- error: 'relaxed' is only available in macOS 15.0 or newer
| `- note: add 'if #available' version check
254 | }))
255 | notificationHandle.pointee.data = .init(notificationContext)
Fetching https://github.com/MarSe32m/sebbu-c-libuv.git
Fetching https://github.com/apple/swift-collections.git
[4/364] Fetching sebbu-c-libuv
[205/17004] Fetching sebbu-c-libuv, swift-collections
Fetched https://github.com/MarSe32m/sebbu-c-libuv.git from cache (1.63s)
Fetched https://github.com/apple/swift-collections.git from cache (1.63s)
Computing version for https://github.com/MarSe32m/sebbu-c-libuv.git
Computed https://github.com/MarSe32m/sebbu-c-libuv.git at 1.48.0 (2.30s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.50s)
Creating working copy for https://github.com/MarSe32m/sebbu-c-libuv.git
Working copy of https://github.com/MarSe32m/sebbu-c-libuv.git resolved at 1.48.0
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.0
BUILD FAILURE 6.2 macosSpm