Build Information
Failed to build sebbu-networking, reference main (87d744), with Swift 6.3 for macOS (SPM) on 15 Apr 2026 02:13:06 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.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
[183/23901] Fetching sebbu-c-libuv, swift-collections
Fetched https://github.com/MarSe32m/sebbu-c-libuv.git from cache (0.92s)
[942/23537] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.16s)
Computing version for https://github.com/MarSe32m/sebbu-c-libuv.git
Computed https://github.com/MarSe32m/sebbu-c-libuv.git at 1.48.0 (3.01s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.69s)
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.4.1
========================================
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",
"traits": [
"default"
],
"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",
"traits": [
"default"
],
"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",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.4.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"traits": [
],
"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.75s)
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.51s)
Fetched https://github.com/MarSe32m/sebbu-c-libuv.git from cache (0.51s)
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.57s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.05s)
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.4.1
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.3
Building package at path: $PWD
https://github.com/MarSe32m/sebbu-networking.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/43] Write swift-version--6988338F2F200930.txt
[1/43] Write sources
[2/43] Compiling strtok.c
[3/43] Compiling threadpool.c
[4/43] Compiling uv-common.c
[5/43] Compiling strscpy.c
[6/43] Compiling timer.c
[7/43] Compiling uv-data-getter-setters.c
[8/43] Compiling core.c
[9/43] Compiling udp.c
[10/43] Compiling tty.c
[11/43] Compiling darwin.c
[12/43] Compiling tcp.c
[13/43] Compiling thread.c
[14/43] Compiling version.c
[15/43] Compiling stream.c
[16/43] Compiling darwin-proctitle.c
[17/43] Compiling signal.c
[18/43] Compiling random-getentropy.c
[19/43] Compiling random-devurandom.c
[20/43] Compiling proctitle.c
[21/43] Compiling bsd-ifaddrs.c
[22/43] Compiling random.c
[23/43] Compiling poll.c
[24/43] Compiling pipe.c
[25/43] Compiling loop.c
[26/43] Compiling loop-watcher.c
[27/43] Compiling process.c
[28/43] Compiling kqueue.c
[29/43] Compiling getnameinfo.c
[30/43] Write sources
[33/43] Compiling getaddrinfo.c
[34/43] Compiling thread-common.c
[34/43] Compiling dl.c
[36/43] Compiling CSebbuNetworking shim.c
[37/43] Compiling fsevents.c
[38/43] Compiling async.c
[39/43] Compiling inet.c
[40/43] Compiling idna.c
[41/43] Compiling fs-poll.c
[42/43] Compiling fs.c
[44/62] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[45/62] Compiling InternalCollectionsUtilities _SortedCollection.swift
[46/62] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[47/62] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[48/62] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[49/62] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[50/63] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[51/63] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[52/63] Compiling InternalCollectionsUtilities Debugging.swift
[53/63] Compiling InternalCollectionsUtilities Descriptions.swift
[54/63] Compiling InternalCollectionsUtilities Span+Extras.swift
[55/63] Compiling InternalCollectionsUtilities String+Padding.swift
[56/63] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[57/63] Compiling InternalCollectionsUtilities Integer rank.swift
[58/63] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[59/63] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[60/63] Emitting module InternalCollectionsUtilities
[61/63] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[62/63] Compiling InternalCollectionsUtilities UInt+reversed.swift
[63/63] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[64/97] Compiling ContainersPreview Producer+Filter.swift
[65/97] Compiling ContainersPreview Producer+Map.swift
[66/97] Compiling ContainersPreview Producer+Reduce.swift
[67/100] Compiling ContainersPreview Drain+Reduce.swift
[68/100] Compiling ContainersPreview Drain.swift
[69/100] Compiling ContainersPreview Producer+Collect.swift
[70/100] Compiling ContainersPreview RandomAccessContainer.swift
[71/100] Compiling ContainersPreview RangeExpression2.swift
[72/100] Compiling ContainersPreview RangeReplaceableContainer.swift
[73/100] Compiling ContainersPreview Drain+Map.swift
[74/100] Compiling ContainersPreview ContainerIterator.swift
[75/100] Compiling ContainersPreview DynamicContainer.swift
[76/100] Compiling ContainersPreview MutableContainer.swift
[77/100] Compiling ContainersPreview PermutableContainer.swift
[78/100] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[79/100] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[80/100] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[81/100] Compiling ContainersPreview BorrowingSequence.swift
[82/100] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[83/100] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[84/100] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[85/100] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[86/100] Compiling ContainersPreview Producer.swift
[87/100] Compiling ContainersPreview Borrow.swift
[88/100] Compiling ContainersPreview Box.swift
[89/100] Compiling ContainersPreview BidirectionalContainer.swift
[90/100] Compiling ContainersPreview Container+Filter.swift
[91/100] Compiling ContainersPreview Container+SpanwiseZip.swift
[92/100] Compiling ContainersPreview Container.swift
[93/100] Emitting module ContainersPreview
[94/100] Compiling ContainersPreview Inout.swift
[95/100] Compiling ContainersPreview InputSpan.swift
[96/100] Compiling ContainersPreview Shared.swift
[97/100] Compiling ContainersPreview OutputSpan+Extras.swift
[98/100] Compiling ContainersPreview TemporaryAllocation.swift
[99/100] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[100/100] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[101/141] Compiling DequeModule UniqueDeque+Equatable.swift
[102/141] Compiling DequeModule UniqueDeque+Experimental.swift
[103/141] Compiling DequeModule UniqueDeque+Hashable.swift
[104/141] Compiling DequeModule UniqueDeque+Initializers.swift
[105/145] Compiling DequeModule RigidDeque+Consumption.swift
[106/145] Compiling DequeModule RigidDeque+Container.swift
[107/145] Compiling DequeModule RigidDeque+Descriptions.swift
[108/145] Compiling DequeModule RigidDeque+Equatable.swift
[109/145] Compiling DequeModule RigidDeque+Experimental.swift
[110/145] Compiling DequeModule UniqueDeque+Append.swift
[111/145] Compiling DequeModule UniqueDeque+Consumption.swift
[112/145] Compiling DequeModule UniqueDeque+Container.swift
[113/145] Compiling DequeModule UniqueDeque+Descriptions.swift
[114/145] Compiling DequeModule RigidDeque+Hashable.swift
[115/145] Compiling DequeModule RigidDeque+Initializers.swift
[116/145] Compiling DequeModule RigidDeque+Insertions.swift
[117/145] Compiling DequeModule RigidDeque+Prepend.swift
[118/145] Compiling DequeModule RigidDeque+Removals.swift
[119/145] Compiling DequeModule RigidDeque+Replacements.swift
[120/145] Compiling DequeModule RigidDeque+Testing.swift
[121/145] Compiling DequeModule RigidDeque.swift
[122/145] Compiling DequeModule UniqueDeque+Insertions.swift
[123/145] Compiling DequeModule UniqueDeque+Prepend.swift
[124/145] Compiling DequeModule UniqueDeque+Removals.swift
[125/145] Compiling DequeModule UniqueDeque+Replacements.swift
[126/145] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[127/145] Compiling DequeModule Deque+Extras.swift
[128/145] Compiling DequeModule Deque+Hashable.swift
[129/145] Compiling DequeModule Deque+Testing.swift
[130/145] Compiling DequeModule Deque._Storage.swift
[131/145] Compiling DequeModule Deque._UnsafeHandle.swift
[132/145] Compiling DequeModule Deque.swift
[133/145] Compiling DequeModule _DequeBuffer.swift
[134/145] Compiling DequeModule _DequeBufferHeader.swift
[135/145] Compiling DequeModule RigidDeque+Append.swift
[136/145] Compiling DequeModule Deque+Codable.swift
[137/145] Compiling DequeModule Deque+Collection.swift
[138/145] Compiling DequeModule Deque+CustomReflectable.swift
[139/145] Compiling DequeModule Deque+Descriptions.swift
[140/145] Compiling DequeModule Deque+Equatable.swift
[141/145] Emitting module DequeModule
[142/145] Compiling DequeModule UniqueDeque.swift
[143/145] Compiling DequeModule _DequeSlot.swift
[144/145] Compiling DequeModule _UnsafeDequeHandle.swift
[145/145] Compiling DequeModule _UnsafeDequeSegments.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[146/166] 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()) {
[147/168] Compiling SebbuNetworking Allocators.swift
[148/168] Compiling SebbuNetworking DebugOnly.swift
[149/168] Compiling SebbuNetworking ErrorMap.swift
[150/168] Compiling SebbuNetworking WebSocketClient.swift
[151/168] Compiling SebbuNetworking WebSocketServer.swift
[152/168] Compiling SebbuNetworking AsyncUDPChannel.swift
[153/168] Compiling SebbuNetworking UDP.swift
[154/168] Compiling SebbuNetworking UDPChannel.swift
[155/168] Compiling SebbuNetworking UDPChannelContext.swift
[156/168] Compiling SebbuNetworking SystemUtils.swift
[157/168] Compiling SebbuNetworking Thread.swift
[158/168] Compiling SebbuNetworking AsyncTCPChannel.swift
[159/168] Compiling SebbuNetworking TCP.swift
[160/168] Compiling SebbuNetworking TCPChannel.swift
[161/168] Compiling SebbuNetworking TCPChannelContext.swift
[162/168] 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)
[163/168] 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)
[164/168] 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)
[165/168] Compiling SebbuNetworking FileDescriptorLimit.swift
[166/168] Compiling SebbuNetworking Lock.swift
[167/168] Compiling SebbuNetworking NetworkUtils.swift
[168/168] Compiling SebbuNetworking StringUtils.swift
BUILD FAILURE 6.3 macosSpm