The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build BlockchainSwift, reference master (229e61), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 03:07:22 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nevstad/blockchain-swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nevstad/blockchain-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 229e614 Merge pull request #4 from nevstad/feature/nio
Cloned https://github.com/nevstad/blockchain-swift.git
Revision (git rev-parse @):
229e61429a7d9adfeb5d835bee9f75fc1c8f8d2f
SUCCESS checkout https://github.com/nevstad/blockchain-swift.git at master
Fetching https://github.com/apple/swift-nio.git
[1/71091] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.34s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (2.75s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/3901] Fetching swift-system
[80/5470] Fetching swift-system, swift-atomics
[2408/20945] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (11.16s)
Fetched https://github.com/apple/swift-system.git from cache (11.16s)
Fetched https://github.com/apple/swift-collections.git from cache (11.16s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.53s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.52s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.86s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/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.76.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "blockchain-swift",
      "name": "BlockchainSwift",
      "url": "https://github.com/nevstad/blockchain-swift.git",
      "version": "unspecified",
      "path": "/Users/admin/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.76.1",
          "path": "/Users/admin/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/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.1.4",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
              "dependencies": [
              ]
            },
            {
              "identity": "swift-system",
              "name": "swift-system",
              "url": "https://github.com/apple/swift-system.git",
              "version": "1.4.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/nevstad/blockchain-swift.git
[7/642] Fetching blockchain-swift
Fetched https://github.com/nevstad/blockchain-swift.git from cache (0.87s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.74s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.03s)
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-atomics.git from cache (0.49s)
Fetched https://github.com/apple/swift-system.git from cache (0.55s)
Fetched https://github.com/apple/swift-collections.git from cache (0.55s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.03s)
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.4 (0.03s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.76.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/nevstad/blockchain-swift.git
Working copy of https://github.com/nevstad/blockchain-swift.git resolved at master (229e614)
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:             6.0
Building package at path:  $PWD
https://github.com/nevstad/blockchain-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/22] Write sources
[10/22] Copying PrivacyInfo.xcprivacy
[11/22] Write swift-version--7754E27361AE5C74.txt
[12/22] Write sources
[13/22] Compiling CNIOWindows WSAStartup.c
[14/22] Compiling CNIOWindows shim.c
[15/22] Compiling CNIOWASI CNIOWASI.c
[16/22] Compiling CNIOLinux liburing_shims.c
[17/22] Compiling CNIOLinux shim.c
[18/46] Compiling _AtomicsShims.c
[19/65] Compiling CNIODarwin shim.c
[20/65] Compiling c-nioatomics.c
[22/65] Emitting module _NIODataStructures
[22/65] Compiling c-atomics.c
[24/71] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[25/72] Emitting module InternalCollectionsUtilities
[26/72] Compiling Atomics Primitives.shims.swift
[27/72] Compiling Atomics AtomicInteger.swift
[28/72] Compiling Atomics ManagedAtomic.swift
[29/72] Compiling Atomics ManagedAtomicLazyReference.swift
[30/72] Compiling Atomics UnsafeAtomic.swift
[31/72] Compiling Atomics UnsafeAtomicLazyReference.swift
[32/72] Compiling _NIOBase64 Base64.swift
[33/72] Emitting module _NIOBase64
[38/72] Compiling Atomics AtomicMemoryOrderings.swift
[39/72] Compiling Atomics DoubleWord.swift
[40/74] Compiling Atomics AtomicOptionalWrappable.swift
[41/74] Compiling Atomics AtomicReference.swift
[42/74] Compiling Atomics AtomicStorage.swift
[43/74] Compiling Atomics AtomicValue.swift
[44/74] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[45/74] Compiling Atomics PointerConformances.swift
[46/74] Compiling Atomics Primitives.native.swift
[49/74] Compiling Atomics AtomicBool.swift
[50/74] Compiling Atomics IntegerConformances.swift
[53/74] Compiling Atomics OptionalRawRepresentable.swift
[54/74] Compiling Atomics RawRepresentable.swift
[55/74] Compiling Atomics IntegerOperations.swift
[56/74] Compiling Atomics Unmanaged extensions.swift
[57/90] Compiling DequeModule _DequeBuffer.swift
[58/90] Compiling DequeModule _DequeBufferHeader.swift
[59/90] Compiling DequeModule _DequeSlot.swift
[60/91] Compiling _NIODataStructures _TinyArray.swift
[61/91] Compiling _NIODataStructures PriorityQueue.swift
[62/91] Compiling _NIODataStructures Heap.swift
[63/91] Compiling DequeModule _UnsafeWrappedBuffer.swift
[64/91] Compiling DequeModule Deque+Testing.swift
[65/91] Compiling DequeModule Deque._Storage.swift
[66/91] Compiling DequeModule Deque+CustomReflectable.swift
[67/91] Compiling DequeModule Deque+Descriptions.swift
[68/91] Compiling DequeModule Deque+Extras.swift
[69/91] Compiling DequeModule Deque+Hashable.swift
[70/91] Compiling DequeModule Deque+Equatable.swift
[71/91] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[72/91] Compiling DequeModule Deque._UnsafeHandle.swift
[73/91] Compiling DequeModule Deque.swift
[74/91] Compiling NIOConcurrencyHelpers NIOLock.swift
[75/91] Compiling NIOConcurrencyHelpers lock.swift
[76/91] Compiling DequeModule Deque+Codable.swift
[77/91] Compiling DequeModule Deque+Collection.swift
[78/91] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[79/91] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[80/91] Emitting module NIOConcurrencyHelpers
[81/91] Compiling NIOConcurrencyHelpers atomics.swift
[82/91] Emitting module DequeModule
[87/91] Emitting module Atomics
[92/153] Compiling NIOCore NIOScheduledCallback.swift
[93/153] Compiling NIOCore NIOSendable.swift
[94/153] Compiling NIOCore PointerHelpers.swift
[95/153] Compiling NIOCore RecvByteBufferAllocator.swift
[96/153] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[97/153] Compiling NIOCore SocketAddresses.swift
[98/159] Compiling NIOCore Linux.swift
[99/159] Compiling NIOCore MarkedCircularBuffer.swift
[100/159] Compiling NIOCore MulticastChannel.swift
[101/159] Compiling NIOCore NIOAny.swift
[102/159] Compiling NIOCore NIOCloseOnErrorHandler.swift
[103/159] Compiling NIOCore NIOLoopBound.swift
[104/159] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[105/159] Compiling NIOCore EventLoopFuture+Deprecated.swift
[106/159] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[107/159] Compiling NIOCore EventLoopFuture.swift
[108/159] Compiling NIOCore FileDescriptor.swift
[109/159] Compiling NIOCore FileHandle.swift
[110/159] Compiling NIOCore FileRegion.swift
[111/159] Compiling NIOCore Codec.swift
[112/159] Compiling NIOCore ConvenienceOptionSupport.swift
[113/159] Compiling NIOCore DeadChannel.swift
[114/159] Compiling NIOCore DispatchQueue+WithFuture.swift
[115/159] Compiling NIOCore EventLoop+Deprecated.swift
[116/159] Compiling NIOCore EventLoop+SerialExecutor.swift
[117/159] Compiling NIOCore EventLoop.swift
[118/159] Compiling NIOCore GlobalSingletons.swift
[119/159] Compiling NIOCore IO.swift
[120/159] Compiling NIOCore IOData.swift
[121/159] Compiling NIOCore IPProtocol.swift
[122/159] Compiling NIOCore IntegerBitPacking.swift
[123/159] Compiling NIOCore IntegerTypes.swift
[124/159] Compiling NIOCore Interfaces.swift
[125/159] Compiling NIOCore AddressedEnvelope.swift
[126/159] Compiling NIOCore AsyncAwaitSupport.swift
[127/159] Compiling NIOCore AsyncChannel.swift
[128/159] Compiling NIOCore AsyncChannelHandler.swift
[129/159] Compiling NIOCore AsyncChannelInboundStream.swift
[130/159] Compiling NIOCore AsyncChannelOutboundWriter.swift
[131/159] Compiling NIOCore NIOAsyncSequenceProducer.swift
[132/159] Compiling NIOCore SocketOptionProvider.swift
[133/159] Compiling NIOCore SystemCallHelpers.swift
[134/159] Compiling NIOCore TimeAmount+Duration.swift
[135/159] Compiling NIOCore TypeAssistedChannelHandler.swift
[136/159] Compiling NIOCore UniversalBootstrapSupport.swift
[137/159] Compiling NIOCore Utilities.swift
[138/159] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[139/159] Compiling NIOCore NIOAsyncWriter.swift
[140/159] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[141/159] Compiling NIOCore BSDSocketAPI.swift
[142/159] Compiling NIOCore ByteBuffer-aux.swift
[143/159] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[144/159] Compiling NIOCore ByteBuffer-conversions.swift
[145/159] Compiling NIOCore Channel.swift
[146/159] Compiling NIOCore ChannelHandler.swift
[147/159] Compiling NIOCore ChannelHandlers.swift
[148/159] Compiling NIOCore ChannelInvoker.swift
[149/159] Compiling NIOCore ChannelOption.swift
[150/159] Compiling NIOCore ChannelPipeline.swift
[151/159] Compiling NIOCore CircularBuffer.swift
[152/159] Compiling NIOCore ByteBuffer-core.swift
[153/159] Compiling NIOCore ByteBuffer-hex.swift
[154/159] Compiling NIOCore ByteBuffer-int.swift
[155/159] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[156/159] Compiling NIOCore ByteBuffer-multi-int.swift
[157/159] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[158/159] Compiling NIOCore ByteBuffer-views.swift
[159/159] Emitting module NIOCore
[160/213] Compiling NIOEmbedded Embedded.swift
[161/213] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[162/213] Compiling NIOEmbedded AsyncTestingChannel.swift
[163/213] Emitting module NIOEmbedded
[164/213] Compiling NIOPosix GetaddrinfoResolver.swift
[165/213] Compiling NIOPosix HappyEyeballs.swift
[166/213] Compiling NIOPosix IO.swift
[167/213] Compiling NIOPosix IntegerBitPacking.swift
[168/213] Compiling NIOPosix IntegerTypes.swift
[169/213] Compiling NIOPosix Linux.swift
[170/218] Compiling NIOPosix Selectable.swift
[171/218] Compiling NIOPosix SelectableChannel.swift
[172/218] Compiling NIOPosix SelectableEventLoop.swift
[173/218] Compiling NIOPosix SelectorEpoll.swift
[174/218] Compiling NIOPosix SelectorGeneric.swift
[175/218] Compiling NIOPosix SelectorKqueue.swift
[176/218] Compiling NIOPosix SelectorUring.swift
[177/218] Compiling NIOPosix ServerSocket.swift
[178/218] Compiling NIOPosix Socket.swift
[179/218] Compiling NIOPosix SocketChannel.swift
[180/218] Compiling NIOPosix BSDSocketAPICommon.swift
[181/218] Compiling NIOPosix BSDSocketAPIPosix.swift
[182/218] Compiling NIOPosix BSDSocketAPIWindows.swift
[183/218] Compiling NIOPosix BaseSocket.swift
[184/218] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[185/218] Compiling NIOPosix BaseSocketChannel.swift
[186/218] Compiling NIOPosix BaseStreamSocketChannel.swift
[187/218] Compiling NIOPosix Bootstrap.swift
[188/218] Compiling NIOPosix ControlMessage.swift
[189/218] Compiling NIOPosix DatagramVectorReadManager.swift
[190/218] Compiling NIOPosix Errors+Any.swift
[191/218] Compiling NIOPosix FileDescriptor.swift
[192/218] Compiling NIOPosix PooledRecvBufferAllocator.swift
[193/218] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[194/218] Compiling NIOPosix PosixSingletons.swift
[195/218] Compiling NIOPosix RawSocketBootstrap.swift
[196/218] Compiling NIOPosix Resolver.swift
[197/218] Compiling NIOPosix SocketProtocols.swift
[198/218] Compiling NIOPosix System.swift
[199/218] Compiling NIOPosix Thread.swift
[200/218] Compiling NIOPosix ThreadPosix.swift
[201/218] Compiling NIOPosix ThreadWindows.swift
[202/218] Compiling NIOPosix LinuxCPUSet.swift
[203/218] Compiling NIOPosix LinuxUring.swift
[204/218] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[205/218] Compiling NIOPosix NIOThreadPool.swift
[206/218] Compiling NIOPosix NonBlockingFileIO.swift
[207/218] Compiling NIOPosix PendingDatagramWritesManager.swift
[208/218] Compiling NIOPosix PendingWritesManager.swift
[209/218] Compiling NIOPosix PipeChannel.swift
[210/218] Compiling NIOPosix PipePair.swift
[211/218] Compiling NIOPosix PointerHelpers.swift
[212/218] Compiling NIOPosix Pool.swift
[213/218] Emitting module NIOPosix
[214/218] Compiling NIOPosix UnsafeTransfer.swift
[215/218] Compiling NIOPosix Utilities.swift
[216/218] Compiling NIOPosix VsockAddress.swift
[217/218] Compiling NIOPosix VsockChannelEvents.swift
[218/218] Compiling NIOPosix resource_bundle_accessor.swift
[219/220] Compiling NIO Exports.swift
[220/220] Emitting module NIO
[221/238] Compiling BlockchainSwift ProofOfWork.swift
[222/239] Compiling BlockchainSwift Wallet.swift
[223/239] Compiling BlockchainSwift Node.swift
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Node.swift:46:23: warning: static property 'pingInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 44 |     private var network: NetworkProvider
 45 |     private var peerPruneTimer = RepeatingTimer(timeInterval: Node.pingInterval)
 46 |     public static var pingInterval: TimeInterval = 10
    |                       |- warning: static property 'pingInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'pingInterval' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'pingInterval' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |
 48 |     /// Delegate
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeAddress.swift:36:16: warning: static property 'centralAddress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | extension NodeAddress {
35 |     // For simplicity's sake we hard code the central node address
36 |     static var centralAddress: NodeAddress = NodeAddress(host: "central.lucidity.network", port: 1337)
   |                |- warning: static property 'centralAddress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'centralAddress' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'centralAddress' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 |     public static func randomPort() -> UInt32 {
[224/239] Compiling BlockchainSwift NodeAddress.swift
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Node.swift:46:23: warning: static property 'pingInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 44 |     private var network: NetworkProvider
 45 |     private var peerPruneTimer = RepeatingTimer(timeInterval: Node.pingInterval)
 46 |     public static var pingInterval: TimeInterval = 10
    |                       |- warning: static property 'pingInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'pingInterval' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'pingInterval' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |
 48 |     /// Delegate
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeAddress.swift:36:16: warning: static property 'centralAddress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | extension NodeAddress {
35 |     // For simplicity's sake we hard code the central node address
36 |     static var centralAddress: NodeAddress = NodeAddress(host: "central.lucidity.network", port: 1337)
   |                |- warning: static property 'centralAddress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'centralAddress' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'centralAddress' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 |     public static func randomPort() -> UInt32 {
[225/239] Compiling BlockchainSwift Keygen.swift
[226/239] Compiling BlockchainSwift Keysign.swift
[227/239] Compiling BlockchainSwift TransationOutput.swift
[228/239] Compiling BlockchainSwift UnspentTransaction.swift
[229/239] Compiling BlockchainSwift TransactionInput.swift
[230/239] Compiling BlockchainSwift TransactionOutputReference.swift
[231/239] Compiling BlockchainSwift Messages.swift
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:119:27: error: 'NWListener' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
119 |     private var listener: NWListener?
    |                           `- error: 'NWListener' is only available in macOS 10.14 or newer
120 |     private var port: UInt32
121 |
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:169:52: error: 'NWConnection' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
167 |     }
168 |
169 |     private func handleConnection(_ newConnection: NWConnection) {
    |                  |                                 `- error: 'NWConnection' is only available in macOS 10.14 or newer
    |                  `- note: add @available attribute to enclosing instance method
170 |         newConnection.receiveMessage() { [weak self] (data, context, isComplete, error) in
171 |             if let data = data, let message = try? Message.deserialize(data), var strongSelf = self {
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:186:11: error: 'NWEndpoint' is only available in macOS 10.14 or newer
184 | }
185 |
186 | extension NWEndpoint {
    | |         `- error: 'NWEndpoint' is only available in macOS 10.14 or newer
    | `- note: add @available attribute to enclosing extension
187 |     var host: String? {
188 |         if case .hostPort(let host, _) = self {
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:133:25: error: 'NWListener' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
129 |     }
130 |
131 |     func start() {
    |          `- note: add @available attribute to enclosing instance method
132 |         listener = nil
133 |         listener = try! NWListener(using: .tcp, on: NWEndpoint.Port(rawValue: UInt16(port))!)
    |                         |- error: 'NWListener' is only available in macOS 10.14 or newer
    |                         `- note: add 'if #available' version check
134 |         listener?.stateUpdateHandler = { newState in
135 |             if case .ready = newState {
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:133:53: error: 'NWEndpoint' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
129 |     }
130 |
131 |     func start() {
    |          `- note: add @available attribute to enclosing instance method
132 |         listener = nil
133 |         listener = try! NWListener(using: .tcp, on: NWEndpoint.Port(rawValue: UInt16(port))!)
    |                                                     |- error: 'NWEndpoint' is only available in macOS 10.14 or newer
    |                                                     `- note: add 'if #available' version check
134 |         listener?.stateUpdateHandler = { newState in
135 |             if case .ready = newState {
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:140:33: warning: capture of 'self' with non-sendable type 'NWNetwork?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: class 'NWNetwork' does not conform to the 'Sendable' protocol
117 |
118 |     private var queue: DispatchQueue
    :
138 |         }
139 |         listener?.newConnectionHandler = { [weak self] newConnection in
140 |             if let strongSelf = self {
    |                                 `- warning: capture of 'self' with non-sendable type 'NWNetwork?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
141 |                 strongSelf.handleConnection(newConnection)
142 |             }
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:24: error: 'NWEndpoint' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
149 |     }
150 |
151 |     internal func send(command: Message.Command, payload: Serializable, to: NodeAddress, completion: ((Bool) -> Void)? = nil) {
    |                   `- note: add @available attribute to enclosing instance method
152 |         let message = Message(command: command, payload: payload.serialized(), fromPort: port)
153 |         let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
    |                        |- error: 'NWEndpoint' is only available in macOS 10.14 or newer
    |                        `- note: add 'if #available' version check
154 |         let connection = NWConnection(to: endpoint, using: .tcp)
155 |         connection.start(queue: queue)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:50: error: 'NWEndpoint' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
149 |     }
150 |
151 |     internal func send(command: Message.Command, payload: Serializable, to: NodeAddress, completion: ((Bool) -> Void)? = nil) {
    |                   `- note: add @available attribute to enclosing instance method
152 |         let message = Message(command: command, payload: payload.serialized(), fromPort: port)
153 |         let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
    |                                                  |- error: 'NWEndpoint' is only available in macOS 10.14 or newer
    |                                                  `- note: add 'if #available' version check
154 |         let connection = NWConnection(to: endpoint, using: .tcp)
155 |         connection.start(queue: queue)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:82: error: 'NWEndpoint' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
149 |     }
150 |
151 |     internal func send(command: Message.Command, payload: Serializable, to: NodeAddress, completion: ((Bool) -> Void)? = nil) {
    |                   `- note: add @available attribute to enclosing instance method
152 |         let message = Message(command: command, payload: payload.serialized(), fromPort: port)
153 |         let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
    |                                                                                  |- error: 'NWEndpoint' is only available in macOS 10.14 or newer
    |                                                                                  `- note: add 'if #available' version check
154 |         let connection = NWConnection(to: endpoint, using: .tcp)
155 |         connection.start(queue: queue)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:154:26: error: 'NWConnection' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
149 |     }
150 |
151 |     internal func send(command: Message.Command, payload: Serializable, to: NodeAddress, completion: ((Bool) -> Void)? = nil) {
    |                   `- note: add @available attribute to enclosing instance method
152 |         let message = Message(command: command, payload: payload.serialized(), fromPort: port)
153 |         let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
154 |         let connection = NWConnection(to: endpoint, using: .tcp)
    |                          |- error: 'NWConnection' is only available in macOS 10.14 or newer
    |                          `- note: add 'if #available' version check
155 |         connection.start(queue: queue)
156 |         connection.send(content: message.serialized(), contentContext: .defaultStream, isComplete: false, completion: .contentProcessed({ (error) in
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:158:71: warning: capture of 'command' with non-sendable type 'Message.Command' in a `@Sendable` closure; this is an error in the Swift 6 language mode
156 |         connection.send(content: message.serialized(), contentContext: .defaultStream, isComplete: false, completion: .contentProcessed({ (error) in
157 |             if let error = error {
158 |                 os_log("Sending %s message failed: %s", type: .error, command.rawValue, error.debugDescription)
    |                                                                       `- warning: capture of 'command' with non-sendable type 'Message.Command' in a `@Sendable` closure; this is an error in the Swift 6 language mode
159 |             } else {
160 |                 connection.send(content: nil, contentContext: .defaultStream, isComplete: true, completion: .contentProcessed({ (error) in
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Messages.swift:12:17: note: consider making enum 'Command' conform to the 'Sendable' protocol
 10 | /// All messages get wrapped
 11 | public struct Message: Serializable, Deserializable, Codable {
 12 |     public enum Command: String, Codable, CustomStringConvertible {
    |                 `- note: consider making enum 'Command' conform to the 'Sendable' protocol
 13 |         public var description: String {
 14 |             return ".\(rawValue)"
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:161:60: warning: capture of 'message' with non-sendable type 'Message' in a `@Sendable` closure; this is an error in the Swift 6 language mode
159 |             } else {
160 |                 connection.send(content: nil, contentContext: .defaultStream, isComplete: true, completion: .contentProcessed({ (error) in
161 |                     os_log("Sent %s message", type: .info, message.command.description)
    |                                                            `- warning: capture of 'message' with non-sendable type 'Message' in a `@Sendable` closure; this is an error in the Swift 6 language mode
162 |                     connection.cancel()
163 |                     completion?(error == nil)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Messages.swift:11:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
  9 |
 10 | /// All messages get wrapped
 11 | public struct Message: Serializable, Deserializable, Codable {
    |               `- note: consider making struct 'Message' conform to the 'Sendable' protocol
 12 |     public enum Command: String, Codable, CustomStringConvertible {
 13 |         public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:163:21: warning: capture of 'completion' with non-sendable type '((Bool) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
161 |                     os_log("Sent %s message", type: .info, message.command.description)
162 |                     connection.cancel()
163 |                     completion?(error == nil)
    |                     |- warning: capture of 'completion' with non-sendable type '((Bool) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
164 |                 }))
165 |             }
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:161:60: warning: capture of 'message' with non-sendable type 'Message' in a `@Sendable` closure; this is an error in the Swift 6 language mode
159 |             } else {
160 |                 connection.send(content: nil, contentContext: .defaultStream, isComplete: true, completion: .contentProcessed({ (error) in
161 |                     os_log("Sent %s message", type: .info, message.command.description)
    |                                                            `- warning: capture of 'message' with non-sendable type 'Message' in a `@Sendable` closure; this is an error in the Swift 6 language mode
162 |                     connection.cancel()
163 |                     completion?(error == nil)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Messages.swift:11:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
  9 |
 10 | /// All messages get wrapped
 11 | public struct Message: Serializable, Deserializable, Codable {
    |               `- note: consider making struct 'Message' conform to the 'Sendable' protocol
 12 |     public enum Command: String, Codable, CustomStringConvertible {
 13 |         public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:163:21: warning: capture of 'completion' with non-sendable type '((Bool) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
161 |                     os_log("Sent %s message", type: .info, message.command.description)
162 |                     connection.cancel()
163 |                     completion?(error == nil)
    |                     |- warning: capture of 'completion' with non-sendable type '((Bool) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
164 |                 }))
165 |             }
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:171:96: warning: capture of 'self' with non-sendable type 'NWNetwork?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: class 'NWNetwork' does not conform to the 'Sendable' protocol
117 |
118 |     private var queue: DispatchQueue
    :
169 |     private func handleConnection(_ newConnection: NWConnection) {
170 |         newConnection.receiveMessage() { [weak self] (data, context, isComplete, error) in
171 |             if let data = data, let message = try? Message.deserialize(data), var strongSelf = self {
    |                                                                                                `- warning: capture of 'self' with non-sendable type 'NWNetwork?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
172 |                 let from = NodeAddress(host: newConnection.endpoint.host!, port: message.fromPort)
173 |                 strongSelf.handleMessage(message, from: from)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:247:49: warning: capture of 'self' with non-sendable type 'NIONetwork' in a `@Sendable` closure; this is an error in the Swift 6 language mode
221 | import NIO
222 |
223 | public class NIONetwork: NetworkProvider {
    |              `- note: class 'NIONetwork' does not conform to the 'Sendable' protocol
224 |     private var host: String
225 |     private var port: Int
    :
245 |                 channel.pipeline.addHandler(ByteToMessageHandler(MessageCodec())).flatMap { v in
246 |                     // It's important we use the same handler for all accepted channels. The MessageHandler is thread-safe!
247 |                     channel.pipeline.addHandler(self.messageHandler)
    |                                                 `- warning: capture of 'self' with non-sendable type 'NIONetwork' in a `@Sendable` closure; this is an error in the Swift 6 language mode
248 |                 }
249 |             }
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:247:49: warning: capture of 'self' with non-sendable type 'NIONetwork' in a `@Sendable` closure; this is an error in the Swift 6 language mode
221 | import NIO
222 |
223 | public class NIONetwork: NetworkProvider {
    |              `- note: class 'NIONetwork' does not conform to the 'Sendable' protocol
224 |     private var host: String
225 |     private var port: Int
    :
245 |                 channel.pipeline.addHandler(ByteToMessageHandler(MessageCodec())).flatMap { v in
246 |                     // It's important we use the same handler for all accepted channels. The MessageHandler is thread-safe!
247 |                     channel.pipeline.addHandler(self.messageHandler)
    |                                                 `- warning: capture of 'self' with non-sendable type 'NIONetwork' in a `@Sendable` closure; this is an error in the Swift 6 language mode
248 |                 }
249 |             }
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:266:35: warning: capture of 'self' with non-sendable type 'NIONetwork' in a `@Sendable` closure; this is an error in the Swift 6 language mode
221 | import NIO
222 |
223 | public class NIONetwork: NetworkProvider {
    |              `- note: class 'NIONetwork' does not conform to the 'Sendable' protocol
224 |     private var host: String
225 |     private var port: Int
    :
264 |         DispatchQueue.global().async {
265 |             do {
266 |                 let channel = try self.serverBootstrap.bind(host: self.host, port: self.port).wait()
    |                                   `- warning: capture of 'self' with non-sendable type 'NIONetwork' in a `@Sendable` closure; this is an error in the Swift 6 language mode
267 |                 os_log("%s is now open", type: .info, channel.localAddress!.description)
268 |                 try channel.closeFuture.wait()
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:288:35: warning: capture of 'self' with non-sendable type 'NIONetwork' in a `@Sendable` closure; this is an error in the Swift 6 language mode
221 | import NIO
222 |
223 | public class NIONetwork: NetworkProvider {
    |              `- note: class 'NIONetwork' does not conform to the 'Sendable' protocol
224 |     private var host: String
225 |     private var port: Int
    :
286 |         DispatchQueue.global().async {
287 |             do {
288 |                 let channel = try self.bootstrap.connect(host: to.host, port: Int(to.port)).wait()
    |                                   `- warning: capture of 'self' with non-sendable type 'NIONetwork' in a `@Sendable` closure; this is an error in the Swift 6 language mode
289 |                 let message = Message(command: command, payload: payload.serialized(), fromPort: UInt32(self.port)).serialized()
290 |                 var buffer = channel.allocator.buffer(capacity: message.count)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:288:64: warning: capture of 'to' with non-sendable type 'NodeAddress' in a `@Sendable` closure; this is an error in the Swift 6 language mode
286 |         DispatchQueue.global().async {
287 |             do {
288 |                 let channel = try self.bootstrap.connect(host: to.host, port: Int(to.port)).wait()
    |                                                                `- warning: capture of 'to' with non-sendable type 'NodeAddress' in a `@Sendable` closure; this is an error in the Swift 6 language mode
289 |                 let message = Message(command: command, payload: payload.serialized(), fromPort: UInt32(self.port)).serialized()
290 |                 var buffer = channel.allocator.buffer(capacity: message.count)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeAddress.swift:10:15: note: consider making struct 'NodeAddress' conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public struct NodeAddress: Codable {
   |               `- note: consider making struct 'NodeAddress' conform to the 'Sendable' protocol
11 |     public let host: String
12 |     public let port: UInt32
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:289:48: warning: capture of 'command' with non-sendable type 'Message.Command' in a `@Sendable` closure; this is an error in the Swift 6 language mode
287 |             do {
288 |                 let channel = try self.bootstrap.connect(host: to.host, port: Int(to.port)).wait()
289 |                 let message = Message(command: command, payload: payload.serialized(), fromPort: UInt32(self.port)).serialized()
    |                                                `- warning: capture of 'command' with non-sendable type 'Message.Command' in a `@Sendable` closure; this is an error in the Swift 6 language mode
290 |                 var buffer = channel.allocator.buffer(capacity: message.count)
291 |                 buffer.writeBytes(message)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Messages.swift:12:17: note: consider making enum 'Command' conform to the 'Sendable' protocol
 10 | /// All messages get wrapped
 11 | public struct Message: Serializable, Deserializable, Codable {
 12 |     public enum Command: String, Codable, CustomStringConvertible {
    |                 `- note: consider making enum 'Command' conform to the 'Sendable' protocol
 13 |         public var description: String {
 14 |             return ".\(rawValue)"
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:289:66: warning: capture of 'payload' with non-sendable type 'any Serializable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
287 |             do {
288 |                 let channel = try self.bootstrap.connect(host: to.host, port: Int(to.port)).wait()
289 |                 let message = Message(command: command, payload: payload.serialized(), fromPort: UInt32(self.port)).serialized()
    |                                                                  `- warning: capture of 'payload' with non-sendable type 'any Serializable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
290 |                 var buffer = channel.allocator.buffer(capacity: message.count)
291 |                 buffer.writeBytes(message)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Core/Serialization.swift:10:17: note: protocol 'Serializable' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public protocol Serializable {
   |                 `- note: protocol 'Serializable' does not conform to the 'Sendable' protocol
11 |     func serialized() -> Data
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:332:17: warning: capture of 'self' with non-sendable type 'NIONetwork.MessageHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
318 |     }
319 |
320 |     final class MessageHandler: ChannelInboundHandler {
    |                 `- note: class 'MessageHandler' does not conform to the 'Sendable' protocol
321 |         public typealias InboundIn = ByteBuffer
322 |         public typealias OutboundOut = ByteBuffer
    :
330 |             let channel = context.channel
331 |             self.channelsSyncQueue.async {
332 |                 self.channels[ObjectIdentifier(channel)] = channel
    |                 `- warning: capture of 'self' with non-sendable type 'NIONetwork.MessageHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
333 |             }
334 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:339:20: warning: capture of 'self' with non-sendable type 'NIONetwork.MessageHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
318 |     }
319 |
320 |     final class MessageHandler: ChannelInboundHandler {
    |                 `- note: class 'MessageHandler' does not conform to the 'Sendable' protocol
321 |         public typealias InboundIn = ByteBuffer
322 |         public typealias OutboundOut = ByteBuffer
    :
337 |             let channel = context.channel
338 |             self.channelsSyncQueue.async {
339 |                 if self.channels.removeValue(forKey: ObjectIdentifier(channel)) != nil {
    |                    `- warning: capture of 'self' with non-sendable type 'NIONetwork.MessageHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
340 |                 }
341 |             }
[232/239] Compiling BlockchainSwift Network.swift
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:119:27: error: 'NWListener' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
119 |     private var listener: NWListener?
    |                           `- error: 'NWListener' is only available in macOS 10.14 or newer
120 |     private var port: UInt32
121 |
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:169:52: error: 'NWConnection' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
167 |     }
168 |
169 |     private func handleConnection(_ newConnection: NWConnection) {
    |                  |                                 `- error: 'NWConnection' is only available in macOS 10.14 or newer
    |                  `- note: add @available attribute to enclosing instance method
170 |         newConnection.receiveMessage() { [weak self] (data, context, isComplete, error) in
171 |             if let data = data, let message = try? Message.deserialize(data), var strongSelf = self {
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:186:11: error: 'NWEndpoint' is only available in macOS 10.14 or newer
184 | }
185 |
186 | extension NWEndpoint {
    | |         `- error: 'NWEndpoint' is only available in macOS 10.14 or newer
    | `- note: add @available attribute to enclosing extension
187 |     var host: String? {
188 |         if case .hostPort(let host, _) = self {
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:133:25: error: 'NWListener' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
129 |     }
130 |
131 |     func start() {
    |          `- note: add @available attribute to enclosing instance method
132 |         listener = nil
133 |         listener = try! NWListener(using: .tcp, on: NWEndpoint.Port(rawValue: UInt16(port))!)
    |                         |- error: 'NWListener' is only available in macOS 10.14 or newer
    |                         `- note: add 'if #available' version check
134 |         listener?.stateUpdateHandler = { newState in
135 |             if case .ready = newState {
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:133:53: error: 'NWEndpoint' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
129 |     }
130 |
131 |     func start() {
    |          `- note: add @available attribute to enclosing instance method
132 |         listener = nil
133 |         listener = try! NWListener(using: .tcp, on: NWEndpoint.Port(rawValue: UInt16(port))!)
    |                                                     |- error: 'NWEndpoint' is only available in macOS 10.14 or newer
    |                                                     `- note: add 'if #available' version check
134 |         listener?.stateUpdateHandler = { newState in
135 |             if case .ready = newState {
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:140:33: warning: capture of 'self' with non-sendable type 'NWNetwork?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: class 'NWNetwork' does not conform to the 'Sendable' protocol
117 |
118 |     private var queue: DispatchQueue
    :
138 |         }
139 |         listener?.newConnectionHandler = { [weak self] newConnection in
140 |             if let strongSelf = self {
    |                                 `- warning: capture of 'self' with non-sendable type 'NWNetwork?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
141 |                 strongSelf.handleConnection(newConnection)
142 |             }
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:24: error: 'NWEndpoint' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
149 |     }
150 |
151 |     internal func send(command: Message.Command, payload: Serializable, to: NodeAddress, completion: ((Bool) -> Void)? = nil) {
    |                   `- note: add @available attribute to enclosing instance method
152 |         let message = Message(command: command, payload: payload.serialized(), fromPort: port)
153 |         let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
    |                        |- error: 'NWEndpoint' is only available in macOS 10.14 or newer
    |                        `- note: add 'if #available' version check
154 |         let connection = NWConnection(to: endpoint, using: .tcp)
155 |         connection.start(queue: queue)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:50: error: 'NWEndpoint' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
149 |     }
150 |
151 |     internal func send(command: Message.Command, payload: Serializable, to: NodeAddress, completion: ((Bool) -> Void)? = nil) {
    |                   `- note: add @available attribute to enclosing instance method
152 |         let message = Message(command: command, payload: payload.serialized(), fromPort: port)
153 |         let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
    |                                                  |- error: 'NWEndpoint' is only available in macOS 10.14 or newer
    |                                                  `- note: add 'if #available' version check
154 |         let connection = NWConnection(to: endpoint, using: .tcp)
155 |         connection.start(queue: queue)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:153:82: error: 'NWEndpoint' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
149 |     }
150 |
151 |     internal func send(command: Message.Command, payload: Serializable, to: NodeAddress, completion: ((Bool) -> Void)? = nil) {
    |                   `- note: add @available attribute to enclosing instance method
152 |         let message = Message(command: command, payload: payload.serialized(), fromPort: port)
153 |         let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
    |                                                                                  |- error: 'NWEndpoint' is only available in macOS 10.14 or newer
    |                                                                                  `- note: add 'if #available' version check
154 |         let connection = NWConnection(to: endpoint, using: .tcp)
155 |         connection.start(queue: queue)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:154:26: error: 'NWConnection' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
149 |     }
150 |
151 |     internal func send(command: Message.Command, payload: Serializable, to: NodeAddress, completion: ((Bool) -> Void)? = nil) {
    |                   `- note: add @available attribute to enclosing instance method
152 |         let message = Message(command: command, payload: payload.serialized(), fromPort: port)
153 |         let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(to.host), port: NWEndpoint.Port(rawValue: UInt16(to.port))!)
154 |         let connection = NWConnection(to: endpoint, using: .tcp)
    |                          |- error: 'NWConnection' is only available in macOS 10.14 or newer
    |                          `- note: add 'if #available' version check
155 |         connection.start(queue: queue)
156 |         connection.send(content: message.serialized(), contentContext: .defaultStream, isComplete: false, completion: .contentProcessed({ (error) in
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:158:71: warning: capture of 'command' with non-sendable type 'Message.Command' in a `@Sendable` closure; this is an error in the Swift 6 language mode
156 |         connection.send(content: message.serialized(), contentContext: .defaultStream, isComplete: false, completion: .contentProcessed({ (error) in
157 |             if let error = error {
158 |                 os_log("Sending %s message failed: %s", type: .error, command.rawValue, error.debugDescription)
    |                                                                       `- warning: capture of 'command' with non-sendable type 'Message.Command' in a `@Sendable` closure; this is an error in the Swift 6 language mode
159 |             } else {
160 |                 connection.send(content: nil, contentContext: .defaultStream, isComplete: true, completion: .contentProcessed({ (error) in
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Messages.swift:12:17: note: consider making enum 'Command' conform to the 'Sendable' protocol
 10 | /// All messages get wrapped
 11 | public struct Message: Serializable, Deserializable, Codable {
 12 |     public enum Command: String, Codable, CustomStringConvertible {
    |                 `- note: consider making enum 'Command' conform to the 'Sendable' protocol
 13 |         public var description: String {
 14 |             return ".\(rawValue)"
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:161:60: warning: capture of 'message' with non-sendable type 'Message' in a `@Sendable` closure; this is an error in the Swift 6 language mode
159 |             } else {
160 |                 connection.send(content: nil, contentContext: .defaultStream, isComplete: true, completion: .contentProcessed({ (error) in
161 |                     os_log("Sent %s message", type: .info, message.command.description)
    |                                                            `- warning: capture of 'message' with non-sendable type 'Message' in a `@Sendable` closure; this is an error in the Swift 6 language mode
162 |                     connection.cancel()
163 |                     completion?(error == nil)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Messages.swift:11:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
  9 |
 10 | /// All messages get wrapped
 11 | public struct Message: Serializable, Deserializable, Codable {
    |               `- note: consider making struct 'Message' conform to the 'Sendable' protocol
 12 |     public enum Command: String, Codable, CustomStringConvertible {
 13 |         public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:163:21: warning: capture of 'completion' with non-sendable type '((Bool) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
161 |                     os_log("Sent %s message", type: .info, message.command.description)
162 |                     connection.cancel()
163 |                     completion?(error == nil)
    |                     |- warning: capture of 'completion' with non-sendable type '((Bool) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
164 |                 }))
165 |             }
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:161:60: warning: capture of 'message' with non-sendable type 'Message' in a `@Sendable` closure; this is an error in the Swift 6 language mode
159 |             } else {
160 |                 connection.send(content: nil, contentContext: .defaultStream, isComplete: true, completion: .contentProcessed({ (error) in
161 |                     os_log("Sent %s message", type: .info, message.command.description)
    |                                                            `- warning: capture of 'message' with non-sendable type 'Message' in a `@Sendable` closure; this is an error in the Swift 6 language mode
162 |                     connection.cancel()
163 |                     completion?(error == nil)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Messages.swift:11:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
  9 |
 10 | /// All messages get wrapped
 11 | public struct Message: Serializable, Deserializable, Codable {
    |               `- note: consider making struct 'Message' conform to the 'Sendable' protocol
 12 |     public enum Command: String, Codable, CustomStringConvertible {
 13 |         public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:163:21: warning: capture of 'completion' with non-sendable type '((Bool) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
161 |                     os_log("Sent %s message", type: .info, message.command.description)
162 |                     connection.cancel()
163 |                     completion?(error == nil)
    |                     |- warning: capture of 'completion' with non-sendable type '((Bool) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
164 |                 }))
165 |             }
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:171:96: warning: capture of 'self' with non-sendable type 'NWNetwork?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: class 'NWNetwork' does not conform to the 'Sendable' protocol
117 |
118 |     private var queue: DispatchQueue
    :
169 |     private func handleConnection(_ newConnection: NWConnection) {
170 |         newConnection.receiveMessage() { [weak self] (data, context, isComplete, error) in
171 |             if let data = data, let message = try? Message.deserialize(data), var strongSelf = self {
    |                                                                                                `- warning: capture of 'self' with non-sendable type 'NWNetwork?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
172 |                 let from = NodeAddress(host: newConnection.endpoint.host!, port: message.fromPort)
173 |                 strongSelf.handleMessage(message, from: from)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:247:49: warning: capture of 'self' with non-sendable type 'NIONetwork' in a `@Sendable` closure; this is an error in the Swift 6 language mode
221 | import NIO
222 |
223 | public class NIONetwork: NetworkProvider {
    |              `- note: class 'NIONetwork' does not conform to the 'Sendable' protocol
224 |     private var host: String
225 |     private var port: Int
    :
245 |                 channel.pipeline.addHandler(ByteToMessageHandler(MessageCodec())).flatMap { v in
246 |                     // It's important we use the same handler for all accepted channels. The MessageHandler is thread-safe!
247 |                     channel.pipeline.addHandler(self.messageHandler)
    |                                                 `- warning: capture of 'self' with non-sendable type 'NIONetwork' in a `@Sendable` closure; this is an error in the Swift 6 language mode
248 |                 }
249 |             }
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:247:49: warning: capture of 'self' with non-sendable type 'NIONetwork' in a `@Sendable` closure; this is an error in the Swift 6 language mode
221 | import NIO
222 |
223 | public class NIONetwork: NetworkProvider {
    |              `- note: class 'NIONetwork' does not conform to the 'Sendable' protocol
224 |     private var host: String
225 |     private var port: Int
    :
245 |                 channel.pipeline.addHandler(ByteToMessageHandler(MessageCodec())).flatMap { v in
246 |                     // It's important we use the same handler for all accepted channels. The MessageHandler is thread-safe!
247 |                     channel.pipeline.addHandler(self.messageHandler)
    |                                                 `- warning: capture of 'self' with non-sendable type 'NIONetwork' in a `@Sendable` closure; this is an error in the Swift 6 language mode
248 |                 }
249 |             }
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:266:35: warning: capture of 'self' with non-sendable type 'NIONetwork' in a `@Sendable` closure; this is an error in the Swift 6 language mode
221 | import NIO
222 |
223 | public class NIONetwork: NetworkProvider {
    |              `- note: class 'NIONetwork' does not conform to the 'Sendable' protocol
224 |     private var host: String
225 |     private var port: Int
    :
264 |         DispatchQueue.global().async {
265 |             do {
266 |                 let channel = try self.serverBootstrap.bind(host: self.host, port: self.port).wait()
    |                                   `- warning: capture of 'self' with non-sendable type 'NIONetwork' in a `@Sendable` closure; this is an error in the Swift 6 language mode
267 |                 os_log("%s is now open", type: .info, channel.localAddress!.description)
268 |                 try channel.closeFuture.wait()
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:288:35: warning: capture of 'self' with non-sendable type 'NIONetwork' in a `@Sendable` closure; this is an error in the Swift 6 language mode
221 | import NIO
222 |
223 | public class NIONetwork: NetworkProvider {
    |              `- note: class 'NIONetwork' does not conform to the 'Sendable' protocol
224 |     private var host: String
225 |     private var port: Int
    :
286 |         DispatchQueue.global().async {
287 |             do {
288 |                 let channel = try self.bootstrap.connect(host: to.host, port: Int(to.port)).wait()
    |                                   `- warning: capture of 'self' with non-sendable type 'NIONetwork' in a `@Sendable` closure; this is an error in the Swift 6 language mode
289 |                 let message = Message(command: command, payload: payload.serialized(), fromPort: UInt32(self.port)).serialized()
290 |                 var buffer = channel.allocator.buffer(capacity: message.count)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:288:64: warning: capture of 'to' with non-sendable type 'NodeAddress' in a `@Sendable` closure; this is an error in the Swift 6 language mode
286 |         DispatchQueue.global().async {
287 |             do {
288 |                 let channel = try self.bootstrap.connect(host: to.host, port: Int(to.port)).wait()
    |                                                                `- warning: capture of 'to' with non-sendable type 'NodeAddress' in a `@Sendable` closure; this is an error in the Swift 6 language mode
289 |                 let message = Message(command: command, payload: payload.serialized(), fromPort: UInt32(self.port)).serialized()
290 |                 var buffer = channel.allocator.buffer(capacity: message.count)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeAddress.swift:10:15: note: consider making struct 'NodeAddress' conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public struct NodeAddress: Codable {
   |               `- note: consider making struct 'NodeAddress' conform to the 'Sendable' protocol
11 |     public let host: String
12 |     public let port: UInt32
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:289:48: warning: capture of 'command' with non-sendable type 'Message.Command' in a `@Sendable` closure; this is an error in the Swift 6 language mode
287 |             do {
288 |                 let channel = try self.bootstrap.connect(host: to.host, port: Int(to.port)).wait()
289 |                 let message = Message(command: command, payload: payload.serialized(), fromPort: UInt32(self.port)).serialized()
    |                                                `- warning: capture of 'command' with non-sendable type 'Message.Command' in a `@Sendable` closure; this is an error in the Swift 6 language mode
290 |                 var buffer = channel.allocator.buffer(capacity: message.count)
291 |                 buffer.writeBytes(message)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Messages.swift:12:17: note: consider making enum 'Command' conform to the 'Sendable' protocol
 10 | /// All messages get wrapped
 11 | public struct Message: Serializable, Deserializable, Codable {
 12 |     public enum Command: String, Codable, CustomStringConvertible {
    |                 `- note: consider making enum 'Command' conform to the 'Sendable' protocol
 13 |         public var description: String {
 14 |             return ".\(rawValue)"
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:289:66: warning: capture of 'payload' with non-sendable type 'any Serializable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
287 |             do {
288 |                 let channel = try self.bootstrap.connect(host: to.host, port: Int(to.port)).wait()
289 |                 let message = Message(command: command, payload: payload.serialized(), fromPort: UInt32(self.port)).serialized()
    |                                                                  `- warning: capture of 'payload' with non-sendable type 'any Serializable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
290 |                 var buffer = channel.allocator.buffer(capacity: message.count)
291 |                 buffer.writeBytes(message)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Core/Serialization.swift:10:17: note: protocol 'Serializable' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public protocol Serializable {
   |                 `- note: protocol 'Serializable' does not conform to the 'Sendable' protocol
11 |     func serialized() -> Data
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:332:17: warning: capture of 'self' with non-sendable type 'NIONetwork.MessageHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
318 |     }
319 |
320 |     final class MessageHandler: ChannelInboundHandler {
    |                 `- note: class 'MessageHandler' does not conform to the 'Sendable' protocol
321 |         public typealias InboundIn = ByteBuffer
322 |         public typealias OutboundOut = ByteBuffer
    :
330 |             let channel = context.channel
331 |             self.channelsSyncQueue.async {
332 |                 self.channels[ObjectIdentifier(channel)] = channel
    |                 `- warning: capture of 'self' with non-sendable type 'NIONetwork.MessageHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
333 |             }
334 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:339:20: warning: capture of 'self' with non-sendable type 'NIONetwork.MessageHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
318 |     }
319 |
320 |     final class MessageHandler: ChannelInboundHandler {
    |                 `- note: class 'MessageHandler' does not conform to the 'Sendable' protocol
321 |         public typealias InboundIn = ByteBuffer
322 |         public typealias OutboundOut = ByteBuffer
    :
337 |             let channel = context.channel
338 |             self.channelsSyncQueue.async {
339 |                 if self.channels.removeValue(forKey: ObjectIdentifier(channel)) != nil {
    |                    `- warning: capture of 'self' with non-sendable type 'NIONetwork.MessageHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
340 |                 }
341 |             }
[233/239] Compiling BlockchainSwift Block.swift
[234/239] Compiling BlockchainSwift Blockchain.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[235/239] Compiling BlockchainSwift QRCodeConvertible.swift
[236/239] Compiling BlockchainSwift SHA.swift
[237/239] Compiling BlockchainSwift Serialization.swift
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Core/Serialization.swift:25:33: warning: initialization of 'UnsafeBufferPointer<Self>' results in a dangling buffer pointer
23 |     static func +(lhs: Data, rhs: Self) -> Data {
24 |         var value = rhs
25 |         let data = Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
   |                                 |                          |- note: implicit argument conversion from 'Self' to 'UnsafePointer<Self>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
   |                                 |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
   |                                 `- warning: initialization of 'UnsafeBufferPointer<Self>' results in a dangling buffer pointer
26 |         return lhs + data
27 |     }
[238/239] Compiling BlockchainSwift Transaction.swift
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Core/Serialization.swift:25:33: warning: initialization of 'UnsafeBufferPointer<Self>' results in a dangling buffer pointer
23 |     static func +(lhs: Data, rhs: Self) -> Data {
24 |         var value = rhs
25 |         let data = Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
   |                                 |                          |- note: implicit argument conversion from 'Self' to 'UnsafePointer<Self>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
   |                                 |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
   |                                 `- warning: initialization of 'UnsafeBufferPointer<Self>' results in a dangling buffer pointer
26 |         return lhs + data
27 |     }
[239/239] Emitting module BlockchainSwift
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:119:27: error: 'NWListener' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
119 |     private var listener: NWListener?
    |                           `- error: 'NWListener' is only available in macOS 10.14 or newer
120 |     private var port: UInt32
121 |
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:169:52: error: 'NWConnection' is only available in macOS 10.14 or newer
114 | import Network
115 |
116 | public class NWNetwork: NetworkProvider {
    |              `- note: add @available attribute to enclosing class
117 |
118 |     private var queue: DispatchQueue
    :
167 |     }
168 |
169 |     private func handleConnection(_ newConnection: NWConnection) {
    |                  |                                 `- error: 'NWConnection' is only available in macOS 10.14 or newer
    |                  `- note: add @available attribute to enclosing instance method
170 |         newConnection.receiveMessage() { [weak self] (data, context, isComplete, error) in
171 |             if let data = data, let message = try? Message.deserialize(data), var strongSelf = self {
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:186:11: error: 'NWEndpoint' is only available in macOS 10.14 or newer
184 | }
185 |
186 | extension NWEndpoint {
    | |         `- error: 'NWEndpoint' is only available in macOS 10.14 or newer
    | `- note: add @available attribute to enclosing extension
187 |     var host: String? {
188 |         if case .hostPort(let host, _) = self {
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Node.swift:46:23: warning: static property 'pingInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 44 |     private var network: NetworkProvider
 45 |     private var peerPruneTimer = RepeatingTimer(timeInterval: Node.pingInterval)
 46 |     public static var pingInterval: TimeInterval = 10
    |                       |- warning: static property 'pingInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'pingInterval' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'pingInterval' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |
 48 |     /// Delegate
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/NodeAddress.swift:36:16: warning: static property 'centralAddress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | extension NodeAddress {
35 |     // For simplicity's sake we hard code the central node address
36 |     static var centralAddress: NodeAddress = NodeAddress(host: "central.lucidity.network", port: 1337)
   |                |- warning: static property 'centralAddress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'centralAddress' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'centralAddress' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 |     public static func randomPort() -> UInt32 {
BUILD FAILURE 6.0 macosSpm