Build Information
Failed to build sebbu-networking, reference main (87d744
), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 06:22:09 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.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
Fetching https://github.com/MarSe32m/sebbu-c-libuv.git
Fetching https://github.com/apple/swift-collections.git
[1/364] Fetching sebbu-c-libuv
[180/15839] Fetching sebbu-c-libuv, swift-collections
Fetched https://github.com/MarSe32m/sebbu-c-libuv.git from cache (1.88s)
Fetched https://github.com/apple/swift-collections.git from cache (1.88s)
Computing version for https://github.com/MarSe32m/sebbu-c-libuv.git
Computed https://github.com/MarSe32m/sebbu-c-libuv.git at 1.48.0 (0.55s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (3.47s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "sebbu-networking",
"name": "sebbu-networking",
"url": "https://github.com/MarSe32m/sebbu-networking.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/sebbu-networking",
"dependencies": [
{
"identity": "sebbu-c-libuv",
"name": "sebbu-c-libuv",
"url": "https://github.com/MarSe32m/sebbu-c-libuv.git",
"version": "1.48.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/sebbu-c-libuv",
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.1.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/MarSe32m/sebbu-networking.git
[1/474] Fetching sebbu-networking
Fetched https://github.com/MarSe32m/sebbu-networking.git from cache (0.86s)
Fetching https://github.com/MarSe32m/sebbu-c-libuv.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.60s)
Fetched https://github.com/MarSe32m/sebbu-c-libuv.git from cache (0.60s)
Computing version for https://github.com/MarSe32m/sebbu-c-libuv.git
Computed https://github.com/MarSe32m/sebbu-c-libuv.git at 1.48.0 (0.03s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.03s)
Creating working copy for https://github.com/MarSe32m/sebbu-networking.git
Working copy of https://github.com/MarSe32m/sebbu-networking.git resolved at main (87d7443)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
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
warning: '.resolve-product-dependencies': dependency 'sebbu-networking' is not used by any target
Found 2 product dependencies
- sebbu-c-libuv
- swift-collections
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/MarSe32m/sebbu-networking.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/42] Write swift-version--7754E27361AE5C74.txt
[0/42] Write sources
[2/42] Compiling strtok.c
[3/42] Compiling uv-data-getter-setters.c
[4/42] Compiling random.c
[5/42] Compiling timer.c
[6/42] Compiling threadpool.c
[7/42] Compiling tty.c
[8/42] Compiling inet.c
[9/42] Compiling udp.c
[10/42] Compiling thread.c
[11/42] Compiling version.c
[12/42] Compiling uv-common.c
[13/42] Compiling core.c
[14/42] Compiling thread-common.c
[15/42] Compiling strscpy.c
[16/42] Compiling tcp.c
[17/42] Compiling async.c
[18/42] Compiling signal.c
[19/42] Compiling stream.c
[20/42] Compiling random-getentropy.c
[21/42] Compiling proctitle.c
[22/42] Compiling random-devurandom.c
[23/42] Compiling poll.c
[24/42] Compiling process.c
[25/42] Compiling pipe.c
[26/42] Compiling loop.c
[27/42] Compiling loop-watcher.c
[28/42] Compiling getnameinfo.c
[29/42] Compiling getaddrinfo.c
[30/42] Compiling kqueue.c
[30/42] Write sources
[33/42] Compiling CSebbuNetworking shim.c
[34/42] Compiling dl.c
[35/42] Compiling fsevents.c
[36/42] Compiling darwin.c
[37/42] Compiling darwin-proctitle.c
[38/42] Compiling bsd-ifaddrs.c
[39/42] Compiling fs-poll.c
[39/42] Compiling idna.c
[41/42] Compiling fs.c
[43/60] Compiling InternalCollectionsUtilities Debugging.swift
[44/60] Compiling InternalCollectionsUtilities Descriptions.swift
[45/61] Compiling InternalCollectionsUtilities _SortedCollection.swift
[46/61] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[47/61] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[48/61] Compiling InternalCollectionsUtilities Specialize.swift
[49/61] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[50/61] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[51/61] Compiling InternalCollectionsUtilities Integer rank.swift
[52/61] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[53/61] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[54/61] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[55/61] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[56/61] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[57/61] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[58/61] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[59/61] Compiling InternalCollectionsUtilities UInt+reversed.swift
[60/61] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[61/61] Emitting module InternalCollectionsUtilities
[62/77] Compiling DequeModule _DequeSlot.swift
[63/78] Compiling DequeModule Deque+Extras.swift
[64/78] Compiling DequeModule Deque+Hashable.swift
[65/78] Compiling DequeModule _UnsafeWrappedBuffer.swift
[66/78] Compiling DequeModule Deque+Codable.swift
[67/78] Compiling DequeModule Deque+Collection.swift
[68/78] Compiling DequeModule Deque._UnsafeHandle.swift
[69/78] Compiling DequeModule Deque.swift
[70/78] Compiling DequeModule _DequeBuffer.swift
[71/78] Compiling DequeModule Deque+Testing.swift
[72/78] Compiling DequeModule Deque._Storage.swift
[73/78] Compiling DequeModule Deque+Equatable.swift
[74/78] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[75/78] Compiling DequeModule _DequeBufferHeader.swift
[76/78] Compiling DequeModule Deque+CustomReflectable.swift
[77/78] Compiling DequeModule Deque+Descriptions.swift
[78/78] Emitting module DequeModule
error: emit-module command failed with exit code 1 (use -v to see invocation)
[79/99] 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()) {
[80/101] Compiling SebbuNetworking AsyncUDPChannel.swift
[81/101] Compiling SebbuNetworking UDP.swift
[82/101] Compiling SebbuNetworking WebSocketClient.swift
[83/101] Compiling SebbuNetworking WebSocketServer.swift
[84/101] 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)
[85/101] 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)
[86/101] 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)
[87/101] Compiling SebbuNetworking TCPChannel.swift
[88/101] Compiling SebbuNetworking TCPChannelContext.swift
[89/101] Compiling SebbuNetworking SystemUtils.swift
[90/101] Compiling SebbuNetworking Thread.swift
[91/101] Compiling SebbuNetworking AsyncTCPChannel.swift
[92/101] Compiling SebbuNetworking TCP.swift
[93/101] Compiling SebbuNetworking FileDescriptorLimit.swift
[94/101] Compiling SebbuNetworking Lock.swift
[95/101] Compiling SebbuNetworking UDPChannel.swift
[96/101] Compiling SebbuNetworking UDPChannelContext.swift
[97/101] Compiling SebbuNetworking Allocators.swift
[98/101] Compiling SebbuNetworking DebugOnly.swift
[99/101] Compiling SebbuNetworking ErrorMap.swift
[100/101] Compiling SebbuNetworking NetworkUtils.swift
[101/101] Compiling SebbuNetworking StringUtils.swift
BUILD FAILURE 6.0 macosSpm