Build Information
Failed to build BlockchainSwift with Swift 5.9 for macOS (SPM).
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nevstad/blockchain-swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/h8344Zi3/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
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git (0.34s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.62.0 (0.02s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-atomics.git (0.21s)
Fetched https://github.com/apple/swift-collections.git (0.26s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.02s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.5 (0.02s)
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.62.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.0.5
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "blockchain-swift",
"name": "BlockchainSwift",
"url": "https://github.com/nevstad/blockchain-swift.git",
"version": "unspecified",
"path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/blockchain-swift",
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "2.62.0",
"path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"dependencies": [
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.2.0",
"path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.0.5",
"path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/nevstad/blockchain-swift.git
[1/642] Fetching blockchain-swift
Fetched https://github.com/nevstad/blockchain-swift.git (0.31s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git (0.32s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.62.0 (0.02s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-atomics.git (0.24s)
Fetched https://github.com/apple/swift-collections.git (0.24s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.03s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.5 (0.02s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.5
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.62.0
Creating working copy for https://github.com/nevstad/blockchain-swift.git
Working copy of https://github.com/nevstad/blockchain-swift.git resolved at master
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
warning: '.resolve-product-dependencies': dependency 'blockchain-swift' is not used by any target
Found 1 product dependencies
- swift-nio
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/8] Compiling CNIOWindows shim.c
[1/8] Compiling CNIOWindows WSAStartup.c
[2/8] Compiling CNIOLinux liburing_shims.c
[3/8] Compiling CNIOLinux shim.c
[4/32] Compiling CNIODarwin shim.c
[5/32] Compiling _AtomicsShims.c
[7/51] Compiling Atomics DoubleWord.swift
[8/51] Compiling Atomics Primitives.shims.swift
[9/53] Compiling Atomics PointerConformances.swift
[10/53] Compiling Atomics Primitives.native.swift
[11/53] Compiling Atomics AtomicStorage.swift
[12/53] Compiling Atomics AtomicValue.swift
[13/53] Compiling Atomics IntegerConformances.swift
[14/53] Compiling Atomics AtomicInteger.swift
[15/53] Compiling Atomics AtomicOptionalWrappable.swift
[16/53] Compiling Atomics ManagedAtomic.swift
[17/53] Compiling Atomics AtomicBool.swift
[18/53] Compiling Atomics AtomicReference.swift
[19/53] Compiling Atomics UnsafeAtomic.swift
[20/53] Compiling Atomics UnsafeAtomicLazyReference.swift
[21/53] Compiling Atomics AtomicMemoryOrderings.swift
[22/53] Compiling Atomics OptionalRawRepresentable.swift
[23/53] Compiling Atomics RawRepresentable.swift
[24/53] Emitting module DequeModule
[25/53] Emitting module _NIOBase64
[26/53] Compiling _NIOBase64 Base64.swift
[27/53] Compiling DequeModule _DequeSlot.swift
[28/53] Compiling DequeModule _UnsafeWrappedBuffer.swift
[29/53] Compiling _NIODataStructures _TinyArray.swift
[30/53] Compiling _NIODataStructures PriorityQueue.swift
[35/55] Emitting module _NIODataStructures
[36/55] Compiling _NIODataStructures Heap.swift
[37/55] Compiling Atomics IntegerOperations.swift
[38/55] Compiling Atomics Unmanaged extensions.swift
[38/55] Compiling c-nioatomics.c
[49/55] Emitting module Atomics
[54/55] Compiling c-atomics.c
[56/61] Compiling NIOConcurrencyHelpers lock.swift
[57/61] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[58/61] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[59/61] Compiling NIOConcurrencyHelpers NIOLock.swift
[60/61] Compiling NIOConcurrencyHelpers atomics.swift
[61/61] Emitting module NIOConcurrencyHelpers
[62/118] Compiling NIOCore MarkedCircularBuffer.swift
[63/118] Compiling NIOCore MulticastChannel.swift
[64/118] Compiling NIOCore NIOAny.swift
[65/118] Compiling NIOCore NIOCloseOnErrorHandler.swift
[66/118] Compiling NIOCore NIOLoopBound.swift
[67/118] Compiling NIOCore NIOSendable.swift
[68/118] Compiling NIOCore PointerHelpers.swift
[69/118] Compiling NIOCore RecvByteBufferAllocator.swift
[70/126] Compiling NIOCore GlobalSingletons.swift
[71/126] Compiling NIOCore IO.swift
[72/126] Compiling NIOCore IOData.swift
[73/126] Compiling NIOCore IPProtocol.swift
[74/126] Compiling NIOCore IntegerBitPacking.swift
[75/126] Compiling NIOCore IntegerTypes.swift
[76/126] Compiling NIOCore Interfaces.swift
[77/126] Compiling NIOCore Linux.swift
[78/126] Compiling NIOCore AddressedEnvelope.swift
[79/126] Compiling NIOCore AsyncAwaitSupport.swift
[80/126] Compiling NIOCore AsyncChannel.swift
[81/126] Compiling NIOCore AsyncChannelInboundStream.swift
[82/126] Compiling NIOCore AsyncChannelInboundStreamChannelHandler.swift
[83/126] Compiling NIOCore AsyncChannelOutboundWriter.swift
[84/126] Compiling NIOCore AsyncChannelOutboundWriterHandler.swift
[85/126] Compiling NIOCore NIOAsyncSequenceProducer.swift
[86/126] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[87/126] Compiling NIOCore SocketAddresses.swift
[88/126] Compiling NIOCore SocketOptionProvider.swift
[89/126] Compiling NIOCore SystemCallHelpers.swift
[90/126] Compiling NIOCore TimeAmount+Duration.swift
[91/126] Compiling NIOCore TypeAssistedChannelHandler.swift
[92/126] Compiling NIOCore UniversalBootstrapSupport.swift
[93/126] Compiling NIOCore Utilities.swift
[94/126] Compiling NIOCore ChannelOption.swift
[95/126] Compiling NIOCore ChannelPipeline.swift
[96/126] Compiling NIOCore CircularBuffer.swift
[97/126] Compiling NIOCore Codec.swift
[98/126] Compiling NIOCore ConvenienceOptionSupport.swift
[99/126] Compiling NIOCore DeadChannel.swift
[100/126] Compiling NIOCore DispatchQueue+WithFuture.swift
[101/126] Compiling NIOCore EventLoop+Deprecated.swift
[102/126] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[103/126] Compiling NIOCore NIOAsyncWriter.swift
[104/126] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[105/126] Compiling NIOCore BSDSocketAPI.swift
[106/126] Compiling NIOCore ByteBuffer-aux.swift
[107/126] Compiling NIOCore ByteBuffer-conversions.swift
[108/126] Compiling NIOCore ByteBuffer-core.swift
[109/126] Compiling NIOCore ByteBuffer-hexdump.swift
[110/126] Compiling NIOCore EventLoop+SerialExecutor.swift
[111/126] Compiling NIOCore EventLoop.swift
[112/126] Compiling NIOCore EventLoopFuture+Deprecated.swift
[113/126] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[114/126] Compiling NIOCore EventLoopFuture.swift
[115/126] Compiling NIOCore FileDescriptor.swift
[116/126] Compiling NIOCore FileHandle.swift
[117/126] Compiling NIOCore FileRegion.swift
[118/126] Compiling NIOCore ByteBuffer-int.swift
[119/126] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[120/126] Compiling NIOCore ByteBuffer-multi-int.swift
[121/126] Compiling NIOCore ByteBuffer-views.swift
[122/126] Compiling NIOCore Channel.swift
[123/126] Compiling NIOCore ChannelHandler.swift
[124/126] Compiling NIOCore ChannelHandlers.swift
[125/126] Compiling NIOCore ChannelInvoker.swift
[126/126] Emitting module NIOCore
[127/175] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[128/175] Compiling NIOEmbedded AsyncTestingChannel.swift
[129/175] Emitting module NIOEmbedded
[130/175] Compiling NIOEmbedded Embedded.swift
[131/175] Emitting module NIOPosix
[132/181] Compiling NIOPosix PointerHelpers.swift
[133/181] Compiling NIOPosix Pool.swift
[134/181] Compiling NIOPosix PooledRecvBufferAllocator.swift
[135/181] Compiling NIOPosix PosixSingletons.swift
[136/181] Compiling NIOPosix RawSocketBootstrap.swift
[137/181] Compiling NIOPosix Resolver.swift
[138/181] Compiling NIOPosix SelectorUring.swift
[139/181] Compiling NIOPosix ServerSocket.swift
[140/181] Compiling NIOPosix Socket.swift
[141/181] Compiling NIOPosix SocketChannel.swift
[142/181] Compiling NIOPosix SocketProtocols.swift
[143/181] Compiling NIOPosix System.swift
[144/181] Compiling NIOPosix Selectable.swift
[145/181] Compiling NIOPosix SelectableChannel.swift
[146/181] Compiling NIOPosix SelectableEventLoop.swift
[147/181] Compiling NIOPosix SelectorEpoll.swift
[148/181] Compiling NIOPosix SelectorGeneric.swift
[149/181] Compiling NIOPosix SelectorKqueue.swift
[150/181] Compiling NIOPosix Thread.swift
[151/181] Compiling NIOPosix ThreadPosix.swift
[152/181] Compiling NIOPosix ThreadWindows.swift
[153/181] Compiling NIOPosix Utilities.swift
[154/181] Compiling NIOPosix VsockAddress.swift
[155/181] Compiling NIOPosix VsockChannelEvents.swift
[156/181] Compiling NIOPosix BSDSocketAPICommon.swift
[157/181] Compiling NIOPosix BSDSocketAPIPosix.swift
[158/181] Compiling NIOPosix BSDSocketAPIWindows.swift
[159/181] Compiling NIOPosix BaseSocket.swift
[160/181] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[161/181] Compiling NIOPosix BaseSocketChannel.swift
[162/181] Compiling NIOPosix BaseStreamSocketChannel.swift
[163/181] Compiling NIOPosix IntegerBitPacking.swift
[164/181] Compiling NIOPosix IntegerTypes.swift
[165/181] Compiling NIOPosix Linux.swift
[166/181] Compiling NIOPosix LinuxCPUSet.swift
[167/181] Compiling NIOPosix LinuxUring.swift
[168/181] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[169/181] Compiling NIOPosix NIOThreadPool.swift
[170/181] Compiling NIOPosix NonBlockingFileIO.swift
[171/181] Compiling NIOPosix PendingDatagramWritesManager.swift
[172/181] Compiling NIOPosix PendingWritesManager.swift
[173/181] Compiling NIOPosix PipeChannel.swift
[174/181] Compiling NIOPosix PipePair.swift
[175/181] Compiling NIOPosix Bootstrap.swift
[176/181] Compiling NIOPosix ControlMessage.swift
[177/181] Compiling NIOPosix DatagramVectorReadManager.swift
[178/181] Compiling NIOPosix FileDescriptor.swift
[179/181] Compiling NIOPosix GetaddrinfoResolver.swift
[180/181] Compiling NIOPosix HappyEyeballs.swift
[181/181] Compiling NIOPosix IO.swift
[182/183] Emitting module NIO
[183/183] Compiling NIO Exports.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[184/200] Compiling BlockchainSwift TransationOutput.swift
[185/200] Compiling BlockchainSwift UnspentTransaction.swift
[186/200] Emitting module BlockchainSwift
/Users/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:186:1: note: add @available attribute to enclosing extension
extension NWEndpoint {
^
[187/202] Compiling BlockchainSwift Messages.swift
/Users/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:186:1: note: add @available attribute to enclosing extension
extension NWEndpoint {
^
/Users/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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 {
^
[188/202] Compiling BlockchainSwift Network.swift
/Users/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:186:1: note: add @available attribute to enclosing extension
extension NWEndpoint {
^
/Users/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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 {
^
[189/202] Compiling BlockchainSwift Node.swift
[190/202] Compiling BlockchainSwift NodeAddress.swift
[191/202] Compiling BlockchainSwift Block.swift
/Users/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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))
^
[192/202] Compiling BlockchainSwift Blockchain.swift
/Users/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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))
^
[193/202] Compiling BlockchainSwift Serialization.swift
/Users/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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))
^
[194/202] Compiling BlockchainSwift Keygen.swift
[195/202] Compiling BlockchainSwift Keysign.swift
[196/202] Compiling BlockchainSwift Transaction.swift
[197/202] Compiling BlockchainSwift TransactionInput.swift
[198/202] Compiling BlockchainSwift TransactionOutputReference.swift
[199/202] Compiling BlockchainSwift QRCodeConvertible.swift
[200/202] Compiling BlockchainSwift SHA.swift
[201/202] Compiling BlockchainSwift ProofOfWork.swift
[202/202] Compiling BlockchainSwift Wallet.swift
error: fatalError
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/3] Compiling BlockchainSwift Messages.swift
[2/3] Emitting module BlockchainSwift
/Users/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:186:1: note: add @available attribute to enclosing extension
extension NWEndpoint {
^
[3/3] Compiling BlockchainSwift Network.swift
/Users/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:186:1: note: add @available attribute to enclosing extension
extension NWEndpoint {
^
/Users/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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/admin/builds/h8344Zi3/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 {
^
[4/4] Compiling BlockchainSwift Node.swift
error: fatalError
BUILD FAILURE 5.9 macosSpm