Build Information
Failed to build BlockchainSwift with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nevstad/blockchain-swift.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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: 5.10
Building package at path: $workDir
https://github.com/nevstad/blockchain-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/20] Write sources
[9/20] Compiling CNIOWindows shim.c
[10/20] Compiling CNIOWindows WSAStartup.c
[10/20] Write sources
[13/20] Compiling CNIOLinux shim.c
[14/20] Compiling CNIOLinux liburing_shims.c
[15/20] Write swift-version--423B1241ED78D482.txt
[16/43] Compiling _AtomicsShims.c
[17/43] Compiling CNIODarwin shim.c
[19/43] Emitting module _NIOBase64
[20/62] Compiling Atomics AtomicMemoryOrderings.swift
[21/62] Compiling Atomics DoubleWord.swift
[22/64] Compiling Atomics AtomicInteger.swift
[23/64] Compiling Atomics AtomicOptionalWrappable.swift
[24/64] Compiling Atomics IntegerConformances.swift
[25/64] Compiling Atomics PointerConformances.swift
[26/64] Compiling Atomics Primitives.native.swift
[27/64] Compiling Atomics AtomicBool.swift
[28/64] Compiling Atomics UnsafeAtomic.swift
[29/64] Compiling Atomics OptionalRawRepresentable.swift
[30/64] Compiling Atomics RawRepresentable.swift
[31/64] Compiling Atomics UnsafeAtomicLazyReference.swift
[32/64] Compiling Atomics Primitives.shims.swift
[33/64] Compiling _CollectionsUtilities UnsafeBufferPointer+Extras.swift
[34/64] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[35/64] Compiling Atomics AtomicReference.swift
[36/64] Compiling Atomics AtomicStorage.swift
[37/64] Compiling Atomics AtomicValue.swift
[38/64] Emitting module _CollectionsUtilities
[39/64] Compiling _NIOBase64 Base64.swift
[42/82] Compiling _NIODataStructures PriorityQueue.swift
[43/82] Compiling DequeModule Deque+Descriptions.swift
[44/82] Compiling DequeModule Deque+Equatable.swift
[45/82] Compiling DequeModule _DequeBuffer.swift
[46/82] Compiling DequeModule _DequeBufferHeader.swift
[47/82] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[48/82] Compiling DequeModule Deque+Extras.swift
[50/82] Compiling DequeModule Deque+Hashable.swift
[51/82] Compiling DequeModule Deque+Sendable.swift
[52/82] Compiling DequeModule Deque+Testing.swift
[53/82] Compiling DequeModule Deque._Storage.swift
[54/82] Compiling DequeModule Deque._UnsafeHandle.swift
[55/82] Compiling DequeModule Deque.swift
[56/82] Compiling _NIODataStructures _TinyArray.swift
[57/82] Emitting module _NIODataStructures
[58/82] Compiling _NIODataStructures Heap.swift
[69/84] Compiling Atomics IntegerOperations.swift
[70/84] Compiling Atomics Unmanaged extensions.swift
[73/84] Compiling DequeModule Deque+Codable.swift
[74/84] Compiling DequeModule Deque+Collection.swift
[75/84] Compiling DequeModule Deque+CustomReflectable.swift
[76/84] Compiling DequeModule _DequeSlot.swift
[77/84] Compiling DequeModule _UnsafeWrappedBuffer.swift
[78/84] Emitting module DequeModule
[79/84] Emitting module Atomics
[82/84] Compiling c-nioatomics.c
[83/84] Compiling c-atomics.c
[85/90] Compiling NIOConcurrencyHelpers lock.swift
[86/90] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[87/90] Compiling NIOConcurrencyHelpers NIOLock.swift
[88/90] Emitting module NIOConcurrencyHelpers
[89/90] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[90/90] Compiling NIOConcurrencyHelpers atomics.swift
[91/147] Compiling NIOCore GlobalSingletons.swift
[92/147] Compiling NIOCore IO.swift
[93/147] Compiling NIOCore IOData.swift
[94/147] Compiling NIOCore IPProtocol.swift
[95/147] Compiling NIOCore IntegerBitPacking.swift
[96/147] Compiling NIOCore IntegerTypes.swift
[97/147] Compiling NIOCore Interfaces.swift
[98/147] Compiling NIOCore Linux.swift
[99/155] Compiling NIOCore AddressedEnvelope.swift
[100/155] Compiling NIOCore AsyncAwaitSupport.swift
[101/155] Compiling NIOCore AsyncChannel.swift
[102/155] Compiling NIOCore AsyncChannelInboundStream.swift
[103/155] Compiling NIOCore AsyncChannelInboundStreamChannelHandler.swift
[104/155] Compiling NIOCore AsyncChannelOutboundWriter.swift
[105/155] Compiling NIOCore AsyncChannelOutboundWriterHandler.swift
[106/155] Compiling NIOCore NIOAsyncSequenceProducer.swift
[107/155] Compiling NIOCore EventLoop+SerialExecutor.swift
[108/155] Compiling NIOCore EventLoop.swift
[109/155] Compiling NIOCore EventLoopFuture+Deprecated.swift
[110/155] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[111/155] Compiling NIOCore EventLoopFuture.swift
[112/155] Compiling NIOCore FileDescriptor.swift
[113/155] Compiling NIOCore FileHandle.swift
[114/155] Compiling NIOCore FileRegion.swift
[115/155] Compiling NIOCore MarkedCircularBuffer.swift
[116/155] Compiling NIOCore MulticastChannel.swift
[117/155] Compiling NIOCore NIOAny.swift
[118/155] Compiling NIOCore NIOCloseOnErrorHandler.swift
[119/155] Compiling NIOCore NIOLoopBound.swift
[120/155] Compiling NIOCore NIOSendable.swift
[121/155] Compiling NIOCore PointerHelpers.swift
[122/155] Compiling NIOCore RecvByteBufferAllocator.swift
[123/155] Compiling NIOCore ChannelOption.swift
[124/155] Compiling NIOCore ChannelPipeline.swift
[125/155] Compiling NIOCore CircularBuffer.swift
[126/155] Compiling NIOCore Codec.swift
[127/155] Compiling NIOCore ConvenienceOptionSupport.swift
[128/155] Compiling NIOCore DeadChannel.swift
[129/155] Compiling NIOCore DispatchQueue+WithFuture.swift
[130/155] Compiling NIOCore EventLoop+Deprecated.swift
[131/155] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[132/155] Compiling NIOCore SocketAddresses.swift
[133/155] Compiling NIOCore SocketOptionProvider.swift
[134/155] Compiling NIOCore SystemCallHelpers.swift
[135/155] Compiling NIOCore TimeAmount+Duration.swift
[136/155] Compiling NIOCore TypeAssistedChannelHandler.swift
[137/155] Compiling NIOCore UniversalBootstrapSupport.swift
[138/155] Compiling NIOCore Utilities.swift
[139/155] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[140/155] Compiling NIOCore NIOAsyncWriter.swift
[141/155] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[142/155] Compiling NIOCore BSDSocketAPI.swift
[143/155] Compiling NIOCore ByteBuffer-aux.swift
[144/155] Compiling NIOCore ByteBuffer-conversions.swift
[145/155] Compiling NIOCore ByteBuffer-core.swift
[146/155] Compiling NIOCore ByteBuffer-hexdump.swift
[147/155] Compiling NIOCore ByteBuffer-int.swift
[148/155] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[149/155] Compiling NIOCore ByteBuffer-multi-int.swift
[150/155] Compiling NIOCore ByteBuffer-views.swift
[151/155] Compiling NIOCore Channel.swift
[152/155] Compiling NIOCore ChannelHandler.swift
[153/155] Compiling NIOCore ChannelHandlers.swift
[154/155] Compiling NIOCore ChannelInvoker.swift
[155/155] Emitting module NIOCore
[156/206] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[157/206] Compiling NIOEmbedded AsyncTestingChannel.swift
[158/206] Emitting module NIOEmbedded
[159/206] Compiling NIOEmbedded Embedded.swift
[160/206] Compiling NIOPosix IntegerBitPacking.swift
[161/206] Compiling NIOPosix IntegerTypes.swift
[162/206] Compiling NIOPosix Linux.swift
[163/206] Compiling NIOPosix LinuxCPUSet.swift
[164/206] Compiling NIOPosix LinuxUring.swift
[165/206] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[166/206] Compiling NIOPosix NIOThreadPool.swift
[167/212] Compiling NIOPosix SelectableChannel.swift
[168/212] Compiling NIOPosix SelectableEventLoop.swift
[169/212] Compiling NIOPosix SelectorEpoll.swift
[170/212] Compiling NIOPosix SelectorGeneric.swift
[171/212] Compiling NIOPosix SelectorKqueue.swift
[172/212] Compiling NIOPosix SelectorUring.swift
[173/212] Compiling NIOPosix ServerSocket.swift
[174/212] Compiling NIOPosix Socket.swift
[175/212] Compiling NIOPosix SocketChannel.swift
[176/212] Compiling NIOPosix SocketProtocols.swift
[177/212] Compiling NIOPosix System.swift
[178/212] Compiling NIOPosix Thread.swift
[179/212] Compiling NIOPosix ThreadPosix.swift
[180/212] Compiling NIOPosix ThreadWindows.swift
[181/212] Compiling NIOPosix UnsafeTransfer.swift
[182/212] Compiling NIOPosix Utilities.swift
[183/212] Compiling NIOPosix VsockAddress.swift
[184/212] Compiling NIOPosix VsockChannelEvents.swift
[185/212] Compiling NIOPosix BSDSocketAPICommon.swift
[186/212] Compiling NIOPosix BSDSocketAPIPosix.swift
[187/212] Compiling NIOPosix BSDSocketAPIWindows.swift
[188/212] Compiling NIOPosix BaseSocket.swift
[189/212] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[190/212] Compiling NIOPosix BaseSocketChannel.swift
[191/212] Compiling NIOPosix BaseStreamSocketChannel.swift
[192/212] Compiling NIOPosix Bootstrap.swift
[193/212] Compiling NIOPosix ControlMessage.swift
[194/212] Compiling NIOPosix DatagramVectorReadManager.swift
[195/212] Compiling NIOPosix FileDescriptor.swift
[196/212] Compiling NIOPosix GetaddrinfoResolver.swift
[197/212] Compiling NIOPosix HappyEyeballs.swift
[198/212] Compiling NIOPosix IO.swift
[199/212] Emitting module NIOPosix
[200/212] Compiling NIOPosix PooledRecvBufferAllocator.swift
[201/212] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[202/212] Compiling NIOPosix PosixSingletons.swift
[203/212] Compiling NIOPosix RawSocketBootstrap.swift
[204/212] Compiling NIOPosix Resolver.swift
[205/212] Compiling NIOPosix Selectable.swift
[206/212] Compiling NIOPosix NonBlockingFileIO.swift
[207/212] Compiling NIOPosix PendingDatagramWritesManager.swift
[208/212] Compiling NIOPosix PendingWritesManager.swift
[209/212] Compiling NIOPosix PipeChannel.swift
[210/212] Compiling NIOPosix PipePair.swift
[211/212] Compiling NIOPosix PointerHelpers.swift
[212/212] Compiling NIOPosix Pool.swift
[213/214] Emitting module NIO
[214/214] Compiling NIO Exports.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[215/231] Emitting module BlockchainSwift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:119:27: error: 'NWListener' is only available in macOS 10.14 or newer
private var listener: NWListener?
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:116:14: note: add @available attribute to enclosing class
public class NWNetwork: NetworkProvider {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:169:52: error: 'NWConnection' is only available in macOS 10.14 or newer
private func handleConnection(_ newConnection: NWConnection) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:169:18: note: add @available attribute to enclosing instance method
private func handleConnection(_ newConnection: NWConnection) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:116:14: note: add @available attribute to enclosing class
public class NWNetwork: NetworkProvider {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:186:11: error: 'NWEndpoint' is only available in macOS 10.14 or newer
extension NWEndpoint {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:186:1: note: add @available attribute to enclosing extension
extension NWEndpoint {
^
[216/233] Compiling BlockchainSwift Keygen.swift
[217/233] Compiling BlockchainSwift Keysign.swift
[218/233] Compiling BlockchainSwift Block.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Core/Serialization.swift:25:33: warning: initialization of 'UnsafeBufferPointer<Self>' results in a dangling buffer pointer
let data = Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Core/Serialization.swift:25:60: note: implicit argument conversion from 'Self' to 'UnsafePointer<Self>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let data = Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
^~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Core/Serialization.swift:25:60: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let data = Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
^
[219/233] Compiling BlockchainSwift Blockchain.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Core/Serialization.swift:25:33: warning: initialization of 'UnsafeBufferPointer<Self>' results in a dangling buffer pointer
let data = Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Core/Serialization.swift:25:60: note: implicit argument conversion from 'Self' to 'UnsafePointer<Self>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let data = Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
^~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Core/Serialization.swift:25:60: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let data = Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
^
[220/233] Compiling BlockchainSwift Serialization.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Core/Serialization.swift:25:33: warning: initialization of 'UnsafeBufferPointer<Self>' results in a dangling buffer pointer
let data = Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Core/Serialization.swift:25:60: note: implicit argument conversion from 'Self' to 'UnsafePointer<Self>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let data = Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
^~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Core/Serialization.swift:25:60: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let data = Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
^
[221/233] Compiling BlockchainSwift Node.swift
[222/233] Compiling BlockchainSwift NodeAddress.swift
[223/233] Compiling BlockchainSwift Messages.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:119:27: error: 'NWListener' is only available in macOS 10.14 or newer
private var listener: NWListener?
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:116:14: note: add @available attribute to enclosing class
public class NWNetwork: NetworkProvider {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:169:52: error: 'NWConnection' is only available in macOS 10.14 or newer
private func handleConnection(_ newConnection: NWConnection) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:169:18: note: add @available attribute to enclosing instance method
private func handleConnection(_ newConnection: NWConnection) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:116:14: note: add @available attribute to enclosing class
public class NWNetwork: NetworkProvider {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:186:11: error: 'NWEndpoint' is only available in macOS 10.14 or newer
extension NWEndpoint {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:186:1: note: add @available attribute to enclosing extension
extension NWEndpoint {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:133:25: error: 'NWListener' is only available in macOS 10.14 or newer
listener = try! NWListener(using: .tcp, on: NWEndpoint.Port(rawValue: UInt16(port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:133:25: note: add 'if #available' version check
listener = try! NWListener(using: .tcp, on: NWEndpoint.Port(rawValue: UInt16(port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:131:10: note: add @available attribute to enclosing instance method
func start() {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:116:14: note: add @available attribute to enclosing class
public class NWNetwork: NetworkProvider {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:133:53: error: 'NWEndpoint' is only available in macOS 10.14 or newer
listener = try! NWListener(using: .tcp, on: NWEndpoint.Port(rawValue: UInt16(port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:133:53: note: add 'if #available' version check
listener = try! NWListener(using: .tcp, on: NWEndpoint.Port(rawValue: UInt16(port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:131:10: note: add @available attribute to enclosing instance method
func start() {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:116:14: note: add @available attribute to enclosing class
public class NWNetwork: NetworkProvider {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:24: error: 'NWEndpoint' is only available in macOS 10.14 or newer
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:24: note: add 'if #available' version check
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:151:19: note: add @available attribute to enclosing instance method
internal func send(command: Message.Command, payload: Serializable, to: NodeAddress, completion: ((Bool) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:116:14: note: add @available attribute to enclosing class
public class NWNetwork: NetworkProvider {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:50: error: 'NWEndpoint' is only available in macOS 10.14 or newer
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:50: note: add 'if #available' version check
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:151:19: note: add @available attribute to enclosing instance method
internal func send(command: Message.Command, payload: Serializable, to: NodeAddress, completion: ((Bool) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:116:14: note: add @available attribute to enclosing class
public class NWNetwork: NetworkProvider {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:82: error: 'NWEndpoint' is only available in macOS 10.14 or newer
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:82: note: add 'if #available' version check
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:151:19: note: add @available attribute to enclosing instance method
internal func send(command: Message.Command, payload: Serializable, to: NodeAddress, completion: ((Bool) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:116:14: note: add @available attribute to enclosing class
public class NWNetwork: NetworkProvider {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:154:26: error: 'NWConnection' is only available in macOS 10.14 or newer
let connection = NWConnection(to: endpoint, using: .tcp)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:154:26: note: add 'if #available' version check
let connection = NWConnection(to: endpoint, using: .tcp)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:151:19: note: add @available attribute to enclosing instance method
internal func send(command: Message.Command, payload: Serializable, to: NodeAddress, completion: ((Bool) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:116:14: note: add @available attribute to enclosing class
public class NWNetwork: NetworkProvider {
^
[224/233] Compiling BlockchainSwift Network.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:119:27: error: 'NWListener' is only available in macOS 10.14 or newer
private var listener: NWListener?
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:116:14: note: add @available attribute to enclosing class
public class NWNetwork: NetworkProvider {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:169:52: error: 'NWConnection' is only available in macOS 10.14 or newer
private func handleConnection(_ newConnection: NWConnection) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:169:18: note: add @available attribute to enclosing instance method
private func handleConnection(_ newConnection: NWConnection) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:116:14: note: add @available attribute to enclosing class
public class NWNetwork: NetworkProvider {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:186:11: error: 'NWEndpoint' is only available in macOS 10.14 or newer
extension NWEndpoint {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:186:1: note: add @available attribute to enclosing extension
extension NWEndpoint {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:133:25: error: 'NWListener' is only available in macOS 10.14 or newer
listener = try! NWListener(using: .tcp, on: NWEndpoint.Port(rawValue: UInt16(port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:133:25: note: add 'if #available' version check
listener = try! NWListener(using: .tcp, on: NWEndpoint.Port(rawValue: UInt16(port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:131:10: note: add @available attribute to enclosing instance method
func start() {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:116:14: note: add @available attribute to enclosing class
public class NWNetwork: NetworkProvider {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:133:53: error: 'NWEndpoint' is only available in macOS 10.14 or newer
listener = try! NWListener(using: .tcp, on: NWEndpoint.Port(rawValue: UInt16(port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:133:53: note: add 'if #available' version check
listener = try! NWListener(using: .tcp, on: NWEndpoint.Port(rawValue: UInt16(port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:131:10: note: add @available attribute to enclosing instance method
func start() {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:116:14: note: add @available attribute to enclosing class
public class NWNetwork: NetworkProvider {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:24: error: 'NWEndpoint' is only available in macOS 10.14 or newer
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:24: note: add 'if #available' version check
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:151:19: note: add @available attribute to enclosing instance method
internal func send(command: Message.Command, payload: Serializable, to: NodeAddress, completion: ((Bool) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:116:14: note: add @available attribute to enclosing class
public class NWNetwork: NetworkProvider {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:50: error: 'NWEndpoint' is only available in macOS 10.14 or newer
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:50: note: add 'if #available' version check
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:151:19: note: add @available attribute to enclosing instance method
internal func send(command: Message.Command, payload: Serializable, to: NodeAddress, completion: ((Bool) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:116:14: note: add @available attribute to enclosing class
public class NWNetwork: NetworkProvider {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:82: error: 'NWEndpoint' is only available in macOS 10.14 or newer
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:82: note: add 'if #available' version check
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:151:19: note: add @available attribute to enclosing instance method
internal func send(command: Message.Command, payload: Serializable, to: NodeAddress, completion: ((Bool) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:116:14: note: add @available attribute to enclosing class
public class NWNetwork: NetworkProvider {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:154:26: error: 'NWConnection' is only available in macOS 10.14 or newer
let connection = NWConnection(to: endpoint, using: .tcp)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:154:26: note: add 'if #available' version check
let connection = NWConnection(to: endpoint, using: .tcp)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:151:19: note: add @available attribute to enclosing instance method
internal func send(command: Message.Command, payload: Serializable, to: NodeAddress, completion: ((Bool) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:116:14: note: add @available attribute to enclosing class
public class NWNetwork: NetworkProvider {
^
[225/233] Compiling BlockchainSwift ProofOfWork.swift
[226/233] Compiling BlockchainSwift Wallet.swift
[227/233] Compiling BlockchainSwift Transaction.swift
[228/233] Compiling BlockchainSwift TransactionInput.swift
[229/233] Compiling BlockchainSwift TransactionOutputReference.swift
[230/233] Compiling BlockchainSwift TransationOutput.swift
[231/233] Compiling BlockchainSwift UnspentTransaction.swift
[232/233] Compiling BlockchainSwift QRCodeConvertible.swift
[233/233] Compiling BlockchainSwift SHA.swift
error: fatalError
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.31s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.63.0 (0.46s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.19s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.19s)
Fetched https://github.com/apple/swift-system.git from cache (0.19s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.2.1 (0.02s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.04s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (0.03s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.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.2.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.2.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.63.0
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Emitting module BlockchainSwift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:119:27: error: 'NWListener' is only available in macOS 10.14 or newer
private var listener: NWListener?
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:116:14: note: add @available attribute to enclosing class
public class NWNetwork: NetworkProvider {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:169:52: error: 'NWConnection' is only available in macOS 10.14 or newer
private func handleConnection(_ newConnection: NWConnection) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:169:18: note: add @available attribute to enclosing instance method
private func handleConnection(_ newConnection: NWConnection) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:116:14: note: add @available attribute to enclosing class
public class NWNetwork: NetworkProvider {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:186:11: error: 'NWEndpoint' is only available in macOS 10.14 or newer
extension NWEndpoint {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:186:1: note: add @available attribute to enclosing extension
extension NWEndpoint {
^
[3/4] Compiling BlockchainSwift Messages.swift
[4/4] Compiling BlockchainSwift Network.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:119:27: error: 'NWListener' is only available in macOS 10.14 or newer
private var listener: NWListener?
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:116:14: note: add @available attribute to enclosing class
public class NWNetwork: NetworkProvider {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:169:52: error: 'NWConnection' is only available in macOS 10.14 or newer
private func handleConnection(_ newConnection: NWConnection) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:169:18: note: add @available attribute to enclosing instance method
private func handleConnection(_ newConnection: NWConnection) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:116:14: note: add @available attribute to enclosing class
public class NWNetwork: NetworkProvider {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:186:11: error: 'NWEndpoint' is only available in macOS 10.14 or newer
extension NWEndpoint {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:186:1: note: add @available attribute to enclosing extension
extension NWEndpoint {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:133:25: error: 'NWListener' is only available in macOS 10.14 or newer
listener = try! NWListener(using: .tcp, on: NWEndpoint.Port(rawValue: UInt16(port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:133:25: note: add 'if #available' version check
listener = try! NWListener(using: .tcp, on: NWEndpoint.Port(rawValue: UInt16(port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:131:10: note: add @available attribute to enclosing instance method
func start() {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:116:14: note: add @available attribute to enclosing class
public class NWNetwork: NetworkProvider {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:133:53: error: 'NWEndpoint' is only available in macOS 10.14 or newer
listener = try! NWListener(using: .tcp, on: NWEndpoint.Port(rawValue: UInt16(port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:133:53: note: add 'if #available' version check
listener = try! NWListener(using: .tcp, on: NWEndpoint.Port(rawValue: UInt16(port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:131:10: note: add @available attribute to enclosing instance method
func start() {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:116:14: note: add @available attribute to enclosing class
public class NWNetwork: NetworkProvider {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:24: error: 'NWEndpoint' is only available in macOS 10.14 or newer
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:24: note: add 'if #available' version check
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:151:19: note: add @available attribute to enclosing instance method
internal func send(command: Message.Command, payload: Serializable, to: NodeAddress, completion: ((Bool) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:116:14: note: add @available attribute to enclosing class
public class NWNetwork: NetworkProvider {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:50: error: 'NWEndpoint' is only available in macOS 10.14 or newer
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:50: note: add 'if #available' version check
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:151:19: note: add @available attribute to enclosing instance method
internal func send(command: Message.Command, payload: Serializable, to: NodeAddress, completion: ((Bool) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:116:14: note: add @available attribute to enclosing class
public class NWNetwork: NetworkProvider {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:82: error: 'NWEndpoint' is only available in macOS 10.14 or newer
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:82: note: add 'if #available' version check
let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:151:19: note: add @available attribute to enclosing instance method
internal func send(command: Message.Command, payload: Serializable, to: NodeAddress, completion: ((Bool) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:116:14: note: add @available attribute to enclosing class
public class NWNetwork: NetworkProvider {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:154:26: error: 'NWConnection' is only available in macOS 10.14 or newer
let connection = NWConnection(to: endpoint, using: .tcp)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:154:26: note: add 'if #available' version check
let connection = NWConnection(to: endpoint, using: .tcp)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:151:19: note: add @available attribute to enclosing instance method
internal func send(command: Message.Command, payload: Serializable, to: NodeAddress, completion: ((Bool) -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:116:14: note: add @available attribute to enclosing class
public class NWNetwork: NetworkProvider {
^
[5/5] Compiling BlockchainSwift Node.swift
error: fatalError
BUILD FAILURE 5.10 macosSpm