The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BlockchainSwift, reference master (229e61), with Swift 6.2 for macOS (SPM) on 17 Jun 2025 17:40:12 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nevstad/blockchain-swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nevstad/blockchain-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 229e614 Merge pull request #4 from nevstad/feature/nio
Cloned https://github.com/nevstad/blockchain-swift.git
Revision (git rev-parse @):
229e61429a7d9adfeb5d835bee9f75fc1c8f8d2f
SUCCESS checkout https://github.com/nevstad/blockchain-swift.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/nevstad/blockchain-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/22] Write sources
[8/22] Copying PrivacyInfo.xcprivacy
[10/22] Write swift-version-1EA4D86E10B52AF.txt
[11/22] Write sources
[12/22] Compiling CNIOWindows WSAStartup.c
[12/22] Compiling CNIOWindows shim.c
[14/22] Compiling CNIOWASI CNIOWASI.c
[15/22] Write sources
[16/22] Compiling CNIOLinux shim.c
[17/22] Compiling CNIOLinux liburing_shims.c
[18/42] Compiling _AtomicsShims.c
[20/61] Emitting module _NIOBase64
[20/61] Compiling CNIODarwin shim.c
[22/61] Compiling _NIODataStructures PriorityQueue.swift
[23/61] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[24/61] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[25/61] Compiling InternalCollectionsUtilities Descriptions.swift
[26/61] Compiling InternalCollectionsUtilities Debugging.swift
[27/62] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[28/62] Emitting module _NIODataStructures
[29/62] Compiling _NIODataStructures _TinyArray.swift
[30/62] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[31/62] Compiling Atomics UnsafeAtomicLazyReference.swift
[32/62] Compiling Atomics IntegerOperations.swift
[33/62] Compiling Atomics OptionalRawRepresentable.swift
[34/62] Compiling Atomics RawRepresentable.swift
[35/62] Emitting module InternalCollectionsUtilities
[36/62] Compiling Atomics AtomicInteger.swift
[37/62] Compiling Atomics AtomicOptionalWrappable.swift
[38/62] Compiling Atomics ManagedAtomicLazyReference.swift
[39/62] Compiling Atomics UnsafeAtomic.swift
[44/62] Compiling Atomics AtomicReference.swift
[45/62] Compiling Atomics AtomicStorage.swift
[46/62] Compiling Atomics AtomicValue.swift
[47/62] Compiling Atomics AtomicMemoryOrderings.swift
[48/62] Compiling Atomics AtomicBool.swift
[49/62] Compiling Atomics IntegerConformances.swift
[50/63] Compiling _NIOBase64 Base64.swift
[51/63] Compiling _NIODataStructures Heap.swift
[52/79] Compiling Atomics Unmanaged extensions.swift
[53/79] Compiling Atomics DoubleWord.swift
[54/79] Compiling Atomics ManagedAtomic.swift
[55/79] Compiling DequeModule Deque+CustomReflectable.swift
[56/79] Compiling DequeModule Deque+Descriptions.swift
[57/79] Compiling DequeModule Deque+Extras.swift
[58/79] Compiling DequeModule Deque+Hashable.swift
[59/79] Compiling DequeModule Deque+Equatable.swift
[60/79] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[61/79] Emitting module Atomics
[62/79] Compiling DequeModule _DequeSlot.swift
[63/79] Compiling DequeModule Deque._UnsafeHandle.swift
[64/79] Compiling DequeModule Deque.swift
[65/80] Compiling DequeModule _DequeBufferHeader.swift
[66/80] Compiling DequeModule _DequeBuffer.swift
[71/80] Compiling DequeModule Deque+Testing.swift
[72/80] Compiling DequeModule Deque._Storage.swift
[75/80] Compiling DequeModule Deque+Codable.swift
[76/80] Compiling DequeModule Deque+Collection.swift
[77/80] Emitting module DequeModule
[78/80] Compiling DequeModule _UnsafeWrappedBuffer.swift
[78/80] Compiling c-nioatomics.c
[79/80] Compiling c-atomics.c
[81/86] Compiling NIOConcurrencyHelpers atomics.swift
[82/86] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[83/86] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[84/86] Compiling NIOConcurrencyHelpers NIOLock.swift
[85/86] Compiling NIOConcurrencyHelpers lock.swift
[86/86] Emitting module NIOConcurrencyHelpers
[87/148] Compiling NIOCore AddressedEnvelope.swift
[88/148] Compiling NIOCore AsyncAwaitSupport.swift
[89/148] Compiling NIOCore AsyncChannel.swift
[90/148] Compiling NIOCore AsyncChannelHandler.swift
[91/148] Compiling NIOCore AsyncChannelInboundStream.swift
[92/148] Compiling NIOCore AsyncChannelOutboundWriter.swift
[93/148] Compiling NIOCore NIOAsyncSequenceProducer.swift
[94/148] Compiling NIOCore GlobalSingletons.swift
[95/148] Compiling NIOCore IO.swift
[96/148] Compiling NIOCore IOData.swift
[97/148] Compiling NIOCore IPProtocol.swift
[98/148] Compiling NIOCore IntegerBitPacking.swift
[99/148] Compiling NIOCore IntegerTypes.swift
[100/148] Compiling NIOCore Interfaces.swift
[101/154] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[102/154] Compiling NIOCore NIOScheduledCallback.swift
[103/154] Compiling NIOCore NIOSendable.swift
[104/154] Compiling NIOCore RecvByteBufferAllocator.swift
[105/154] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[106/154] Compiling NIOCore SocketAddresses.swift
[107/154] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[108/154] Compiling NIOCore EventLoopFuture+Deprecated.swift
[109/154] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[110/154] Compiling NIOCore EventLoopFuture.swift
[111/154] Compiling NIOCore FileDescriptor.swift
[112/154] Compiling NIOCore FileHandle.swift
[113/154] Compiling NIOCore FileRegion.swift
[114/154] Compiling NIOCore SocketOptionProvider.swift
[115/154] Compiling NIOCore SystemCallHelpers.swift
[116/154] Compiling NIOCore TimeAmount+Duration.swift
[117/154] Compiling NIOCore TypeAssistedChannelHandler.swift
[118/154] Compiling NIOCore UniversalBootstrapSupport.swift
[119/154] Compiling NIOCore Utilities.swift
[120/154] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[121/154] Compiling NIOCore NIOAsyncWriter.swift
[122/154] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[123/154] Compiling NIOCore BSDSocketAPI.swift
[124/154] Compiling NIOCore ByteBuffer-aux.swift
[125/154] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[126/154] Compiling NIOCore ByteBuffer-conversions.swift
[127/154] Compiling NIOCore Channel.swift
[128/154] Compiling NIOCore ChannelHandler.swift
[129/154] Compiling NIOCore ChannelHandlers.swift
[130/154] Compiling NIOCore ChannelInvoker.swift
[131/154] Compiling NIOCore ChannelOption.swift
[132/154] Compiling NIOCore ChannelPipeline.swift
[133/154] Compiling NIOCore CircularBuffer.swift
[134/154] Compiling NIOCore Linux.swift
[135/154] Compiling NIOCore MarkedCircularBuffer.swift
[136/154] Compiling NIOCore MulticastChannel.swift
[137/154] Compiling NIOCore NIOAny.swift
[138/154] Compiling NIOCore NIOCloseOnErrorHandler.swift
[139/154] Compiling NIOCore NIOLoopBound.swift
[140/154] Compiling NIOCore Codec.swift
[141/154] Compiling NIOCore ConvenienceOptionSupport.swift
[142/154] Compiling NIOCore DeadChannel.swift
[143/154] Compiling NIOCore DispatchQueue+WithFuture.swift
[144/154] Compiling NIOCore EventLoop+Deprecated.swift
[145/154] Compiling NIOCore EventLoop+SerialExecutor.swift
[146/154] Compiling NIOCore EventLoop.swift
[147/154] Compiling NIOCore ByteBuffer-core.swift
[148/154] Compiling NIOCore ByteBuffer-hex.swift
[149/154] Compiling NIOCore ByteBuffer-int.swift
[150/154] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[151/154] Compiling NIOCore ByteBuffer-multi-int.swift
[152/154] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[153/154] Compiling NIOCore ByteBuffer-views.swift
[154/154] Emitting module NIOCore
[155/206] Emitting module NIOEmbedded
[156/206] Compiling NIOEmbedded Embedded.swift
[157/206] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[158/206] Compiling NIOEmbedded AsyncTestingChannel.swift
[159/206] Compiling NIOPosix Linux.swift
[160/206] Compiling NIOPosix LinuxCPUSet.swift
[161/206] Compiling NIOPosix LinuxUring.swift
[162/206] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[163/206] Compiling NIOPosix NIOThreadPool.swift
[164/206] Compiling NIOPosix Pool.swift
[165/206] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[166/206] Compiling NIOPosix PosixSingletons.swift
[167/206] Compiling NIOPosix RawSocketBootstrap.swift
[168/206] Compiling NIOPosix Resolver.swift
[169/211] Compiling NIOPosix Selectable.swift
[170/211] Compiling NIOPosix SelectableChannel.swift
[171/211] Compiling NIOPosix SelectableEventLoop.swift
[172/211] Compiling NIOPosix SelectorEpoll.swift
[173/211] Compiling NIOPosix SelectorGeneric.swift
[174/211] Compiling NIOPosix GetaddrinfoResolver.swift
[175/211] Compiling NIOPosix HappyEyeballs.swift
[176/211] Compiling NIOPosix IO.swift
[177/211] Compiling NIOPosix IntegerBitPacking.swift
[178/211] Compiling NIOPosix IntegerTypes.swift
[179/211] Compiling NIOPosix SelectorKqueue.swift
[180/211] Compiling NIOPosix SelectorUring.swift
[181/211] Compiling NIOPosix ServerSocket.swift
[182/211] Compiling NIOPosix Socket.swift
[183/211] Compiling NIOPosix SocketChannel.swift
[184/211] Compiling NIOPosix BSDSocketAPICommon.swift
[185/211] Compiling NIOPosix BSDSocketAPIPosix.swift
[186/211] Compiling NIOPosix BSDSocketAPIWindows.swift
[187/211] Compiling NIOPosix BaseSocket.swift
[188/211] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[189/211] Compiling NIOPosix BaseSocketChannel.swift
[190/211] Emitting module NIOPosix
[191/211] Compiling NIOPosix BaseStreamSocketChannel.swift
[192/211] Compiling NIOPosix Bootstrap.swift
[193/211] Compiling NIOPosix ControlMessage.swift
[194/211] Compiling NIOPosix DatagramVectorReadManager.swift
[195/211] Compiling NIOPosix Errors+Any.swift
[196/211] Compiling NIOPosix FileDescriptor.swift
[197/211] Compiling NIOPosix SocketProtocols.swift
[198/211] Compiling NIOPosix System.swift
[199/211] Compiling NIOPosix Thread.swift
[200/211] Compiling NIOPosix ThreadPosix.swift
[201/211] Compiling NIOPosix ThreadWindows.swift
[202/211] Compiling NIOPosix UnsafeTransfer.swift
[203/211] Compiling NIOPosix Utilities.swift
[204/211] Compiling NIOPosix VsockAddress.swift
[205/211] Compiling NIOPosix VsockChannelEvents.swift
[206/211] Compiling NIOPosix resource_bundle_accessor.swift
[207/211] Compiling NIOPosix NonBlockingFileIO.swift
[208/211] Compiling NIOPosix PendingDatagramWritesManager.swift
[209/211] Compiling NIOPosix PendingWritesManager.swift
[210/211] Compiling NIOPosix PipeChannel.swift
[211/211] Compiling NIOPosix PipePair.swift
[212/213] Emitting module NIO
[213/213] Compiling NIO Exports.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[214/231] Compiling BlockchainSwift Keygen.swift
[215/231] Compiling BlockchainSwift Keysign.swift
[216/231] Compiling BlockchainSwift Node.swift
[217/231] Compiling BlockchainSwift NodeAddress.swift
[218/231] Compiling BlockchainSwift TransationOutput.swift
[219/231] Compiling BlockchainSwift UnspentTransaction.swift
[220/231] Compiling BlockchainSwift QRCodeConvertible.swift
[221/231] Compiling BlockchainSwift SHA.swift
[222/231] Compiling BlockchainSwift Serialization.swift
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Core/Serialization.swift:25:33: warning: initialization of 'UnsafeBufferPointer<Self>' results in a dangling buffer pointer [#TemporaryPointers]
23 |     static func +(lhs: Data, rhs: Self) -> Data {
24 |         var value = rhs
25 |         let data = Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
   |                                 |                          |- note: implicit argument conversion from 'Self' to 'UnsafePointer<Self>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
   |                                 |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
   |                                 `- warning: initialization of 'UnsafeBufferPointer<Self>' results in a dangling buffer pointer [#TemporaryPointers]
26 |         return lhs + data
27 |     }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[223/231] Compiling BlockchainSwift Transaction.swift
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Core/Serialization.swift:25:33: warning: initialization of 'UnsafeBufferPointer<Self>' results in a dangling buffer pointer [#TemporaryPointers]
23 |     static func +(lhs: Data, rhs: Self) -> Data {
24 |         var value = rhs
25 |         let data = Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
   |                                 |                          |- note: implicit argument conversion from 'Self' to 'UnsafePointer<Self>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
   |                                 |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
   |                                 `- warning: initialization of 'UnsafeBufferPointer<Self>' results in a dangling buffer pointer [#TemporaryPointers]
26 |         return lhs + data
27 |     }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[224/231] Compiling BlockchainSwift TransactionInput.swift
[225/231] Compiling BlockchainSwift TransactionOutputReference.swift
[226/231] Compiling BlockchainSwift Block.swift
[227/231] Compiling BlockchainSwift Blockchain.swift
[228/231] Compiling BlockchainSwift ProofOfWork.swift
[229/231] Emitting module BlockchainSwift
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:119:27: error: 'NWListener' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
119 |     private var listener: NWListener?
    |                           `- error: 'NWListener' is only available in macOS 10.14 or newer
120 |     private var port: UInt32
121 |
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:169:52: error: 'NWConnection' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
167 |     }
168 |
169 |     private func handleConnection(_ newConnection: NWConnection) {
    |                  |                                 `- error: 'NWConnection' is only available in macOS 10.14 or newer
    |                  `- note: add @available attribute to enclosing instance method
170 |         newConnection.receiveMessage() { [weak self] (data, context, isComplete, error) in
171 |             if let data = data, let message = try? Message.deserialize(data), var strongSelf = self {
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:186:11: error: 'NWEndpoint' is only available in macOS 10.14 or newer
184 | }
185 |
186 | extension NWEndpoint {
    | |         `- error: 'NWEndpoint' is only available in macOS 10.14 or newer
    | `- note: add @available attribute to enclosing extension
187 |     var host: String? {
188 |         if case .hostPort(let host, _) = self {
[230/231] Compiling BlockchainSwift Messages.swift
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:119:27: error: 'NWListener' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
119 |     private var listener: NWListener?
    |                           `- error: 'NWListener' is only available in macOS 10.14 or newer
120 |     private var port: UInt32
121 |
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:169:52: error: 'NWConnection' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
167 |     }
168 |
169 |     private func handleConnection(_ newConnection: NWConnection) {
    |                  |                                 `- error: 'NWConnection' is only available in macOS 10.14 or newer
    |                  `- note: add @available attribute to enclosing instance method
170 |         newConnection.receiveMessage() { [weak self] (data, context, isComplete, error) in
171 |             if let data = data, let message = try? Message.deserialize(data), var strongSelf = self {
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:186:11: error: 'NWEndpoint' is only available in macOS 10.14 or newer
184 | }
185 |
186 | extension NWEndpoint {
    | |         `- error: 'NWEndpoint' is only available in macOS 10.14 or newer
    | `- note: add @available attribute to enclosing extension
187 |     var host: String? {
188 |         if case .hostPort(let host, _) = self {
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:133:25: error: 'NWListener' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
129 |     }
130 |
131 |     func start() {
    |          `- note: add @available attribute to enclosing instance method
132 |         listener = nil
133 |         listener = try! NWListener(using: .tcp, on: NWEndpoint.Port(rawValue: UInt16(port))!)
    |                         |- error: 'NWListener' is only available in macOS 10.14 or newer
    |                         `- note: add 'if #available' version check
134 |         listener?.stateUpdateHandler = { newState in
135 |             if case .ready = newState {
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:133:53: error: 'NWEndpoint' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
129 |     }
130 |
131 |     func start() {
    |          `- note: add @available attribute to enclosing instance method
132 |         listener = nil
133 |         listener = try! NWListener(using: .tcp, on: NWEndpoint.Port(rawValue: UInt16(port))!)
    |                                                     |- error: 'NWEndpoint' is only available in macOS 10.14 or newer
    |                                                     `- note: add 'if #available' version check
134 |         listener?.stateUpdateHandler = { newState in
135 |             if case .ready = newState {
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:24: error: 'NWEndpoint' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
149 |     }
150 |
151 |     internal func send(command: Message.Command, payload: Serializable, to: NodeAddress, completion: ((Bool) -> Void)? = nil) {
    |                   `- note: add @available attribute to enclosing instance method
152 |         let message = Message(command: command, payload: payload.serialized(), fromPort: port)
153 |         let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
    |                        |- error: 'NWEndpoint' is only available in macOS 10.14 or newer
    |                        `- note: add 'if #available' version check
154 |         let connection = NWConnection(to: endpoint, using: .tcp)
155 |         connection.start(queue: queue)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:50: error: 'NWEndpoint' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
149 |     }
150 |
151 |     internal func send(command: Message.Command, payload: Serializable, to: NodeAddress, completion: ((Bool) -> Void)? = nil) {
    |                   `- note: add @available attribute to enclosing instance method
152 |         let message = Message(command: command, payload: payload.serialized(), fromPort: port)
153 |         let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
    |                                                  |- error: 'NWEndpoint' is only available in macOS 10.14 or newer
    |                                                  `- note: add 'if #available' version check
154 |         let connection = NWConnection(to: endpoint, using: .tcp)
155 |         connection.start(queue: queue)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:82: error: 'NWEndpoint' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
149 |     }
150 |
151 |     internal func send(command: Message.Command, payload: Serializable, to: NodeAddress, completion: ((Bool) -> Void)? = nil) {
    |                   `- note: add @available attribute to enclosing instance method
152 |         let message = Message(command: command, payload: payload.serialized(), fromPort: port)
153 |         let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
    |                                                                                  |- error: 'NWEndpoint' is only available in macOS 10.14 or newer
    |                                                                                  `- note: add 'if #available' version check
154 |         let connection = NWConnection(to: endpoint, using: .tcp)
155 |         connection.start(queue: queue)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:154:26: error: 'NWConnection' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
149 |     }
150 |
151 |     internal func send(command: Message.Command, payload: Serializable, to: NodeAddress, completion: ((Bool) -> Void)? = nil) {
    |                   `- note: add @available attribute to enclosing instance method
152 |         let message = Message(command: command, payload: payload.serialized(), fromPort: port)
153 |         let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
154 |         let connection = NWConnection(to: endpoint, using: .tcp)
    |                          |- error: 'NWConnection' is only available in macOS 10.14 or newer
    |                          `- note: add 'if #available' version check
155 |         connection.start(queue: queue)
156 |         connection.send(content: message.serialized(), contentContext: .defaultStream, isComplete: false, completion: .contentProcessed({ (error) in
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:245:45: warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
243 |             .childChannelInitializer { channel in
244 |                 // Add handler that will buffer data until a full Message can be decoded
245 |                 channel.pipeline.addHandler(ByteToMessageHandler(MessageCodec())).flatMap { v in
    |                                             `- warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
246 |                     // It's important we use the same handler for all accepted channels. The MessageHandler is thread-safe!
247 |                     channel.pipeline.addHandler(self.messageHandler)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:507:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
505 |
506 | @available(*, unavailable)
507 | extension ByteToMessageHandler: Sendable {}
    | `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
508 |
509 | // MARK: ByteToMessageHandler: Test Helpers
[231/231] Compiling BlockchainSwift Network.swift
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:119:27: error: 'NWListener' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
119 |     private var listener: NWListener?
    |                           `- error: 'NWListener' is only available in macOS 10.14 or newer
120 |     private var port: UInt32
121 |
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:169:52: error: 'NWConnection' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
167 |     }
168 |
169 |     private func handleConnection(_ newConnection: NWConnection) {
    |                  |                                 `- error: 'NWConnection' is only available in macOS 10.14 or newer
    |                  `- note: add @available attribute to enclosing instance method
170 |         newConnection.receiveMessage() { [weak self] (data, context, isComplete, error) in
171 |             if let data = data, let message = try? Message.deserialize(data), var strongSelf = self {
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:186:11: error: 'NWEndpoint' is only available in macOS 10.14 or newer
184 | }
185 |
186 | extension NWEndpoint {
    | |         `- error: 'NWEndpoint' is only available in macOS 10.14 or newer
    | `- note: add @available attribute to enclosing extension
187 |     var host: String? {
188 |         if case .hostPort(let host, _) = self {
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:133:25: error: 'NWListener' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
129 |     }
130 |
131 |     func start() {
    |          `- note: add @available attribute to enclosing instance method
132 |         listener = nil
133 |         listener = try! NWListener(using: .tcp, on: NWEndpoint.Port(rawValue: UInt16(port))!)
    |                         |- error: 'NWListener' is only available in macOS 10.14 or newer
    |                         `- note: add 'if #available' version check
134 |         listener?.stateUpdateHandler = { newState in
135 |             if case .ready = newState {
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:133:53: error: 'NWEndpoint' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
129 |     }
130 |
131 |     func start() {
    |          `- note: add @available attribute to enclosing instance method
132 |         listener = nil
133 |         listener = try! NWListener(using: .tcp, on: NWEndpoint.Port(rawValue: UInt16(port))!)
    |                                                     |- error: 'NWEndpoint' is only available in macOS 10.14 or newer
    |                                                     `- note: add 'if #available' version check
134 |         listener?.stateUpdateHandler = { newState in
135 |             if case .ready = newState {
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:24: error: 'NWEndpoint' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
149 |     }
150 |
151 |     internal func send(command: Message.Command, payload: Serializable, to: NodeAddress, completion: ((Bool) -> Void)? = nil) {
    |                   `- note: add @available attribute to enclosing instance method
152 |         let message = Message(command: command, payload: payload.serialized(), fromPort: port)
153 |         let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
    |                        |- error: 'NWEndpoint' is only available in macOS 10.14 or newer
    |                        `- note: add 'if #available' version check
154 |         let connection = NWConnection(to: endpoint, using: .tcp)
155 |         connection.start(queue: queue)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:50: error: 'NWEndpoint' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
149 |     }
150 |
151 |     internal func send(command: Message.Command, payload: Serializable, to: NodeAddress, completion: ((Bool) -> Void)? = nil) {
    |                   `- note: add @available attribute to enclosing instance method
152 |         let message = Message(command: command, payload: payload.serialized(), fromPort: port)
153 |         let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
    |                                                  |- error: 'NWEndpoint' is only available in macOS 10.14 or newer
    |                                                  `- note: add 'if #available' version check
154 |         let connection = NWConnection(to: endpoint, using: .tcp)
155 |         connection.start(queue: queue)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:82: error: 'NWEndpoint' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
149 |     }
150 |
151 |     internal func send(command: Message.Command, payload: Serializable, to: NodeAddress, completion: ((Bool) -> Void)? = nil) {
    |                   `- note: add @available attribute to enclosing instance method
152 |         let message = Message(command: command, payload: payload.serialized(), fromPort: port)
153 |         let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
    |                                                                                  |- error: 'NWEndpoint' is only available in macOS 10.14 or newer
    |                                                                                  `- note: add 'if #available' version check
154 |         let connection = NWConnection(to: endpoint, using: .tcp)
155 |         connection.start(queue: queue)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:154:26: error: 'NWConnection' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
149 |     }
150 |
151 |     internal func send(command: Message.Command, payload: Serializable, to: NodeAddress, completion: ((Bool) -> Void)? = nil) {
    |                   `- note: add @available attribute to enclosing instance method
152 |         let message = Message(command: command, payload: payload.serialized(), fromPort: port)
153 |         let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
154 |         let connection = NWConnection(to: endpoint, using: .tcp)
    |                          |- error: 'NWConnection' is only available in macOS 10.14 or newer
    |                          `- note: add 'if #available' version check
155 |         connection.start(queue: queue)
156 |         connection.send(content: message.serialized(), contentContext: .defaultStream, isComplete: false, completion: .contentProcessed({ (error) in
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:245:45: warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
243 |             .childChannelInitializer { channel in
244 |                 // Add handler that will buffer data until a full Message can be decoded
245 |                 channel.pipeline.addHandler(ByteToMessageHandler(MessageCodec())).flatMap { v in
    |                                             `- warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
246 |                     // It's important we use the same handler for all accepted channels. The MessageHandler is thread-safe!
247 |                     channel.pipeline.addHandler(self.messageHandler)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:507:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
505 |
506 | @available(*, unavailable)
507 | extension ByteToMessageHandler: Sendable {}
    | `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
508 |
509 | // MARK: ByteToMessageHandler: Test Helpers
[232/232] Compiling BlockchainSwift Wallet.swift
Fetching https://github.com/apple/swift-nio.git
[1/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.64s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (5.70s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/4428] Fetching swift-system
[90/6225] Fetching swift-system, swift-atomics
[2195/22831] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.69s)
Fetched https://github.com/apple/swift-system.git from cache (1.69s)
Fetched https://github.com/apple/swift-collections.git from cache (1.69s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.17s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.45s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.53s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
BUILD FAILURE 6.2 macosSpm