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

Successful build of SwiftyNats, reference master (3e25dc), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 18:56:00 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sodiray/swifty-nats.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sodiray/swifty-nats
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 3e25dc9 + fix osx error
Cloned https://github.com/sodiray/swifty-nats.git
Revision (git rev-parse @):
3e25dc90e5e020aa0e13027c0add9685e96319ee
SUCCESS checkout https://github.com/sodiray/swifty-nats.git at master
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.90s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (1.48s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.51s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (1.07s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.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": "swifty-nats",
      "name": "SwiftyNats",
      "url": "https://github.com/sodiray/swifty-nats.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swifty-nats",
      "dependencies": [
        {
          "identity": "swift-nio",
          "name": "swift-nio",
          "url": "https://github.com/apple/swift-nio.git",
          "version": "1.14.4",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
          "dependencies": [
            {
              "identity": "swift-nio-zlib-support",
              "name": "swift-nio-zlib-support",
              "url": "https://github.com/apple/swift-nio-zlib-support.git",
              "version": "1.0.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-zlib-support",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/sodiray/swifty-nats.git
[1/501] Fetching swifty-nats
Fetched https://github.com/sodiray/swifty-nats.git from cache (0.71s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.76s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.82s)
Fetching https://github.com/apple/swift-nio-zlib-support.git from cache
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.43s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (0.49s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/sodiray/swifty-nats.git
Working copy of https://github.com/sodiray/swifty-nats.git resolved at master (3e25dc9)
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: '.resolve-product-dependencies': dependency 'swifty-nats' is not used by any target
Found 1 product dependencies
  - swift-nio
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/sodiray/swifty-nats.git
https://github.com/sodiray/swifty-nats.git
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    }
  ],
  "manifest_display_name" : "SwiftyNats",
  "name" : "SwiftyNats",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftyNats",
      "targets" : [
        "SwiftyNats"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftyNatsTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyNatsTests",
      "path" : "Tests/SwiftyNatsTests",
      "sources" : [
        "Extensions/StringExtensionTests.swift",
        "Integration/ConnectionTests.swift",
        "Integration/EventBusTests.swift",
        "Integration/PublishTests.swift",
        "Integration/SubscribeTests.swift",
        "TestSettings.swift",
        "Unit/NatsMessageTests.swift"
      ],
      "target_dependencies" : [
        "SwiftyNats"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftyNats",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyNats",
      "path" : "Sources/SwiftyNats",
      "product_dependencies" : [
        "NIO"
      ],
      "product_memberships" : [
        "SwiftyNats"
      ],
      "sources" : [
        "Extensions/Data+String.swift",
        "Extensions/Streams+Read+Write.swift",
        "Extensions/String+Utilities.swift",
        "NatsClient/NatsClient+ChannelHandler.swift",
        "NatsClient/NatsClient+Connection.swift",
        "NatsClient/NatsClient+EventBus.swift",
        "NatsClient/NatsClient+Publish.swift",
        "NatsClient/NatsClient+Queue.swift",
        "NatsClient/NatsClient+Subscribe.swift",
        "NatsClient/NatsClient.swift",
        "NatsClientConfig.swift",
        "NatsError.swift",
        "NatsEventHandler.swift",
        "NatsMessage.swift",
        "NatsResponse.swift",
        "NatsServer.swift",
        "NatsSubject.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/10] Write sources
[4/10] Compiling CNIOLinux ifaddrs-android.c
[5/10] Compiling CNIOLinux shim.c
[6/10] Write swift-version-2F0A5646E1D333AE.txt
[7/13] Compiling CNIODarwin shim.c
[8/13] Compiling CNIOSHA1 c_nio_sha1.c
[9/13] Compiling c-atomics.c
[11/16] Compiling NIOConcurrencyHelpers lock.swift
[12/16] Compiling NIOConcurrencyHelpers atomics.swift
[13/16] Emitting module NIOConcurrencyHelpers
[14/16] Compiling NIOPriorityQueue PriorityQueue.swift
[15/16] Emitting module NIOPriorityQueue
[16/16] Compiling NIOPriorityQueue Heap.swift
[17/67] Compiling NIO IOData.swift
[18/67] Compiling NIO IntegerTypes.swift
[19/67] Compiling NIO Interfaces.swift
[20/67] Compiling NIO Linux.swift
[21/67] Compiling NIO LinuxCPUSet.swift
[22/72] Compiling NIO PendingWritesManager.swift
[23/72] Compiling NIO PriorityQueue.swift
[24/72] Compiling NIO RecvByteBufferAllocator.swift
[25/72] Compiling NIO Resolver.swift
[26/72] Compiling NIO Selectable.swift
[27/72] Compiling NIO FileHandle.swift
[28/72] Compiling NIO FileRegion.swift
[29/72] Compiling NIO GetaddrinfoResolver.swift
[30/72] Compiling NIO HappyEyeballs.swift
[31/72] Compiling NIO Heap.swift
[32/72] Compiling NIO IO.swift
[33/72] Compiling NIO ByteBuffer-core.swift
[34/72] Compiling NIO ByteBuffer-int.swift
[35/72] Compiling NIO ByteBuffer-views.swift
[36/72] Compiling NIO Channel.swift
[37/72] Compiling NIO ChannelHandler.swift
[38/72] Compiling NIO ChannelHandlers.swift
[39/72] Emitting module NIO
[40/72] Compiling NIO MarkedCircularBuffer.swift
[41/72] Compiling NIO MulticastChannel.swift
[42/72] Compiling NIO NIOAny.swift
[43/72] Compiling NIO NonBlockingFileIO.swift
[44/72] Compiling NIO PendingDatagramWritesManager.swift
[45/72] Compiling NIO ChannelInvoker.swift
[46/72] Compiling NIO ChannelOption.swift
[47/72] Compiling NIO ChannelPipeline.swift
[48/72] Compiling NIO CircularBuffer.swift
[49/72] Compiling NIO Codec.swift
[50/72] Compiling NIO CompositeError.swift
[51/72] Compiling NIO SocketOptionProvider.swift
[52/72] Compiling NIO System.swift
[53/72] Compiling NIO Thread.swift
[54/72] Compiling NIO TypeAssistedChannelHandler.swift
[55/72] Compiling NIO Utilities.swift
[56/72] Compiling NIO Selector.swift
[57/72] Compiling NIO ServerSocket.swift
[58/72] Compiling NIO Socket.swift
[59/72] Compiling NIO SocketAddresses.swift
[60/72] Compiling NIO SocketChannel.swift
[61/72] Compiling NIO ContiguousCollection.swift
[62/72] Compiling NIO DeadChannel.swift
[63/72] Compiling NIO Embedded.swift
[64/72] Compiling NIO EventLoop.swift
[65/72] Compiling NIO EventLoopFuture.swift
[66/72] Compiling NIO FileDescriptor.swift
[67/72] Compiling NIO AddressedEnvelope.swift
[68/72] Compiling NIO BaseSocket.swift
[69/72] Compiling NIO BaseSocketChannel.swift
[70/72] Compiling NIO BlockingIOThreadPool.swift
[71/72] Compiling NIO Bootstrap.swift
[72/72] Compiling NIO ByteBuffer-aux.swift
[73/89] Compiling SwiftyNats NatsServer.swift
[74/89] Compiling SwiftyNats NatsResponse.swift
[75/90] Compiling SwiftyNats Data+String.swift
[76/90] Compiling SwiftyNats Streams+Read+Write.swift
[77/90] Compiling SwiftyNats NatsClient+Publish.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Publish.swift:15:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
13 |     // MARK - Implement NatsPublish Protocol
14 |
15 |     open func publish(_ payload: String, to subject: String) {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
16 |         sendMessage(NatsMessage.publish(payload: payload, subject: subject))
17 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Publish.swift:19:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
17 |     }
18 |
19 |     open func publish(_ payload: String, to subject: NatsSubject) {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
20 |         publish(payload, to: subject.subject)
21 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Publish.swift:23:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
21 |     }
22 |
23 |     open func reply(to message: NatsMessage, withPayload payload: String) {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
24 |         guard let replySubject = message.replySubject else { return }
25 |         publish(payload, to: replySubject.subject)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Publish.swift:28:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
26 |     }
27 |
28 |     open func publishSync(_ payload: String, to subject: String) throws {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
29 |
30 |         let group = DispatchGroup()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Publish.swift:50:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
48 |     }
49 |
50 |     open func publishSync(_ payload: String, to subject: NatsSubject) throws {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
51 |         try publishSync(payload, to: subject.subject)
52 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Publish.swift:54:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
52 |     }
53 |
54 |     open func replySync(to message: NatsMessage, withPayload payload: String) throws {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
55 |         guard let replySubject = message.replySubject else { return }
56 |         try publishSync(payload, to: replySubject.subject)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Queue.swift:21:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
19 |     }
20 |
21 |     open func flushQueue(maxWait: TimeInterval? = nil) throws {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
22 |
23 |         let startTimestamp = Date().timeIntervalSinceReferenceDate
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Queue.swift:28:13: warning: capture of 'self' with non-sendable type 'NatsClient?' in a '@Sendable' closure
26 |
27 |         DispatchQueue.global(qos: .default).async { [weak self] in
28 |             self?.messageQueue.waitUntilAllOperationsAreFinished()
   |             `- warning: capture of 'self' with non-sendable type 'NatsClient?' in a '@Sendable' closure
29 |         }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient.swift:41:12: note: class 'NatsClient' does not conform to the 'Sendable' protocol
 39 | }
 40 |
 41 | open class NatsClient: NSObject {
    |            `- note: class 'NatsClient' does not conform to the 'Sendable' protocol
 42 |
 43 |     var urls = [String]()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient.swift:54:26: warning: 'init(numThreads:)' is deprecated: replaced by 'init(numberOfThreads:)'
 52 |     internal var state: NatsState = .disconnected
 53 |     internal var connectionError: NatsError?
 54 |     internal let group = MultiThreadedEventLoopGroup(numThreads: 1)
    |                          |- warning: 'init(numThreads:)' is deprecated: replaced by 'init(numberOfThreads:)'
    |                          `- note: use 'init(numberOfThreads:)' instead
 55 |     internal var channel: Channel?
 56 |     internal let dispatchGroup = DispatchGroup()
[78/90] Compiling SwiftyNats NatsClient+Queue.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Publish.swift:15:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
13 |     // MARK - Implement NatsPublish Protocol
14 |
15 |     open func publish(_ payload: String, to subject: String) {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
16 |         sendMessage(NatsMessage.publish(payload: payload, subject: subject))
17 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Publish.swift:19:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
17 |     }
18 |
19 |     open func publish(_ payload: String, to subject: NatsSubject) {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
20 |         publish(payload, to: subject.subject)
21 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Publish.swift:23:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
21 |     }
22 |
23 |     open func reply(to message: NatsMessage, withPayload payload: String) {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
24 |         guard let replySubject = message.replySubject else { return }
25 |         publish(payload, to: replySubject.subject)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Publish.swift:28:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
26 |     }
27 |
28 |     open func publishSync(_ payload: String, to subject: String) throws {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
29 |
30 |         let group = DispatchGroup()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Publish.swift:50:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
48 |     }
49 |
50 |     open func publishSync(_ payload: String, to subject: NatsSubject) throws {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
51 |         try publishSync(payload, to: subject.subject)
52 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Publish.swift:54:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
52 |     }
53 |
54 |     open func replySync(to message: NatsMessage, withPayload payload: String) throws {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
55 |         guard let replySubject = message.replySubject else { return }
56 |         try publishSync(payload, to: replySubject.subject)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Queue.swift:21:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
19 |     }
20 |
21 |     open func flushQueue(maxWait: TimeInterval? = nil) throws {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
22 |
23 |         let startTimestamp = Date().timeIntervalSinceReferenceDate
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Queue.swift:28:13: warning: capture of 'self' with non-sendable type 'NatsClient?' in a '@Sendable' closure
26 |
27 |         DispatchQueue.global(qos: .default).async { [weak self] in
28 |             self?.messageQueue.waitUntilAllOperationsAreFinished()
   |             `- warning: capture of 'self' with non-sendable type 'NatsClient?' in a '@Sendable' closure
29 |         }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient.swift:41:12: note: class 'NatsClient' does not conform to the 'Sendable' protocol
 39 | }
 40 |
 41 | open class NatsClient: NSObject {
    |            `- note: class 'NatsClient' does not conform to the 'Sendable' protocol
 42 |
 43 |     var urls = [String]()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient.swift:54:26: warning: 'init(numThreads:)' is deprecated: replaced by 'init(numberOfThreads:)'
 52 |     internal var state: NatsState = .disconnected
 53 |     internal var connectionError: NatsError?
 54 |     internal let group = MultiThreadedEventLoopGroup(numThreads: 1)
    |                          |- warning: 'init(numThreads:)' is deprecated: replaced by 'init(numberOfThreads:)'
    |                          `- note: use 'init(numberOfThreads:)' instead
 55 |     internal var channel: Channel?
 56 |     internal let dispatchGroup = DispatchGroup()
[79/90] Emitting module SwiftyNats
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Connection.swift:16:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 14 |     // MARK - Implement NatsConnection Protocol
 15 |
 16 |     open func connect() throws {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 17 |
 18 |         guard self.state != .connected else { return }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Connection.swift:47:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 45 |     }
 46 |
 47 |     open func disconnect() {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 48 |
 49 |         try? self.channel?.close().wait()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+EventBus.swift:13:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
11 |
12 |     @discardableResult
13 |     open func on(_ events: [NatsEvent], _ handler: @escaping (NatsEvent) -> Void) -> String {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
14 |
15 |         return self.addListeners(for: events, using: handler)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+EventBus.swift:20:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
18 |
19 |     @discardableResult
20 |     open func on(_ event: NatsEvent, _ handler: @escaping (NatsEvent) -> Void) -> String {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
21 |
22 |         return self.addListeners(for: [event], using: handler)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+EventBus.swift:27:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
25 |
26 |     @discardableResult
27 |     open func on(_ event: NatsEvent, autoOff: Bool, _ handler: @escaping (NatsEvent) -> Void) -> String {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
28 |
29 |         return self.addListeners(for: [event], using: handler, autoOff)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+EventBus.swift:34:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
32 |
33 |     @discardableResult
34 |     open func on(_ events: [NatsEvent], autoOff: Bool, _ handler: @escaping (NatsEvent) -> Void) -> String {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
35 |
36 |         return self.addListeners(for: events, using: handler, autoOff)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+EventBus.swift:40:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
38 |     }
39 |
40 |     open func off(_ id: String) {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
41 |
42 |         self.removeListener(id)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Publish.swift:15:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
13 |     // MARK - Implement NatsPublish Protocol
14 |
15 |     open func publish(_ payload: String, to subject: String) {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
16 |         sendMessage(NatsMessage.publish(payload: payload, subject: subject))
17 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Publish.swift:19:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
17 |     }
18 |
19 |     open func publish(_ payload: String, to subject: NatsSubject) {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
20 |         publish(payload, to: subject.subject)
21 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Publish.swift:23:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
21 |     }
22 |
23 |     open func reply(to message: NatsMessage, withPayload payload: String) {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
24 |         guard let replySubject = message.replySubject else { return }
25 |         publish(payload, to: replySubject.subject)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Publish.swift:28:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
26 |     }
27 |
28 |     open func publishSync(_ payload: String, to subject: String) throws {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
29 |
30 |         let group = DispatchGroup()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Publish.swift:50:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
48 |     }
49 |
50 |     open func publishSync(_ payload: String, to subject: NatsSubject) throws {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
51 |         try publishSync(payload, to: subject.subject)
52 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Publish.swift:54:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
52 |     }
53 |
54 |     open func replySync(to message: NatsMessage, withPayload payload: String) throws {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
55 |         guard let replySubject = message.replySubject else { return }
56 |         try publishSync(payload, to: replySubject.subject)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Queue.swift:21:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
19 |     }
20 |
21 |     open func flushQueue(maxWait: TimeInterval? = nil) throws {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
22 |
23 |         let startTimestamp = Date().timeIntervalSinceReferenceDate
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:16:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 14 |
 15 |     @discardableResult
 16 |     open func subscribe(to subject: String, _ handler: @escaping (NatsMessage) -> Void) -> NatsSubject {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 17 |
 18 |         let nsub = NatsSubject(subject: subject)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:28:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 26 |
 27 |     @discardableResult
 28 |     open func subscribe(to subject: String, asPartOf queue: String, _ handler: @escaping (NatsMessage) -> Void) -> NatsSubject {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 29 |
 30 |         let nsub = NatsSubject(subject: subject)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:40:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 38 |     }
 39 |
 40 |     open func unsubscribe(from subject: NatsSubject) {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 41 |
 42 |         self.sendMessage(NatsMessage.unsubscribe(sid: subject.id))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:47:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 45 |     }
 46 |
 47 |     open func unsubscribeSync(from subject: NatsSubject) throws {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 48 |
 49 |         let group = DispatchGroup()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:72:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 70 |
 71 |     @discardableResult
 72 |     open func subscribeSync(to subject: String, _ handler: @escaping (NatsMessage) -> Void) throws -> NatsSubject {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 73 |         return try subSync(to: subject, asPartOf: "", handler)
 74 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:77:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 75 |
 76 |     @discardableResult
 77 |     open func subscribeSync(to subject: String, asPartOf queue: String, _ handler: @escaping (NatsMessage) -> Void) throws -> NatsSubject {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 78 |         return try subSync(to: subject, asPartOf: queue, handler)
 79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient.swift:25:16: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[NatsEvent]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | }
 16 |
 17 | public enum NatsEvent: String {
    |             `- note: consider making enum 'NatsEvent' conform to the 'Sendable' protocol
 18 |     case connected = "connected"
 19 |     case disconnected = "disconnected"
    :
 23 |     case reconnecting = "reconnecting"
 24 |     case informed = "informed"
 25 |     static let all = [ connected, disconnected, response, error, dropped, reconnecting ]
    |                |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[NatsEvent]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 | }
 27 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient.swift:54:26: warning: 'init(numThreads:)' is deprecated: replaced by 'init(numberOfThreads:)'
 52 |     internal var state: NatsState = .disconnected
 53 |     internal var connectionError: NatsError?
 54 |     internal let group = MultiThreadedEventLoopGroup(numThreads: 1)
    |                          |- warning: 'init(numThreads:)' is deprecated: replaced by 'init(numberOfThreads:)'
    |                          `- note: use 'init(numberOfThreads:)' instead
 55 |     internal var channel: Channel?
 56 |     internal let dispatchGroup = DispatchGroup()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsSubject.swift:31:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'NatsSubject' to 'Hashable' by implementing 'hash(into:)' instead
29 |         return lhs.hashValue == rhs.hashValue
30 |     }
31 |     public var hashValue: Int {
   |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'NatsSubject' to 'Hashable' by implementing 'hash(into:)' instead
32 |         return self.id.hashValue
33 |     }
[80/90] Compiling SwiftyNats NatsEventHandler.swift
[81/90] Compiling SwiftyNats NatsMessage.swift
[82/90] Compiling SwiftyNats String+Utilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+ChannelHandler.swift:92:13: warning: capture of 'handler' with non-sendable type '(NatsMessage) -> Void' in a '@Sendable' closure
90 |
91 |         self.messageQueue.addOperation {
92 |             handler(message)
   |             |- warning: capture of 'handler' with non-sendable type '(NatsMessage) -> Void' in a '@Sendable' closure
   |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
93 |         }
94 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+ChannelHandler.swift:92:21: warning: capture of 'message' with non-sendable type 'NatsMessage' in a '@Sendable' closure
90 |
91 |         self.messageQueue.addOperation {
92 |             handler(message)
   |                     `- warning: capture of 'message' with non-sendable type 'NatsMessage' in a '@Sendable' closure
93 |         }
94 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsMessage.swift:10:15: note: consider making struct 'NatsMessage' conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public struct NatsMessage {
   |               `- note: consider making struct 'NatsMessage' conform to the 'Sendable' protocol
11 |
12 |     public let payload: String?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient.swift:54:26: warning: 'init(numThreads:)' is deprecated: replaced by 'init(numberOfThreads:)'
 52 |     internal var state: NatsState = .disconnected
 53 |     internal var connectionError: NatsError?
 54 |     internal let group = MultiThreadedEventLoopGroup(numThreads: 1)
    |                          |- warning: 'init(numThreads:)' is deprecated: replaced by 'init(numberOfThreads:)'
    |                          `- note: use 'init(numberOfThreads:)' instead
 55 |     internal var channel: Channel?
 56 |     internal let dispatchGroup = DispatchGroup()
[83/90] Compiling SwiftyNats NatsClient+ChannelHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+ChannelHandler.swift:92:13: warning: capture of 'handler' with non-sendable type '(NatsMessage) -> Void' in a '@Sendable' closure
90 |
91 |         self.messageQueue.addOperation {
92 |             handler(message)
   |             |- warning: capture of 'handler' with non-sendable type '(NatsMessage) -> Void' in a '@Sendable' closure
   |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
93 |         }
94 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+ChannelHandler.swift:92:21: warning: capture of 'message' with non-sendable type 'NatsMessage' in a '@Sendable' closure
90 |
91 |         self.messageQueue.addOperation {
92 |             handler(message)
   |                     `- warning: capture of 'message' with non-sendable type 'NatsMessage' in a '@Sendable' closure
93 |         }
94 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsMessage.swift:10:15: note: consider making struct 'NatsMessage' conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public struct NatsMessage {
   |               `- note: consider making struct 'NatsMessage' conform to the 'Sendable' protocol
11 |
12 |     public let payload: String?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient.swift:54:26: warning: 'init(numThreads:)' is deprecated: replaced by 'init(numberOfThreads:)'
 52 |     internal var state: NatsState = .disconnected
 53 |     internal var connectionError: NatsError?
 54 |     internal let group = MultiThreadedEventLoopGroup(numThreads: 1)
    |                          |- warning: 'init(numThreads:)' is deprecated: replaced by 'init(numberOfThreads:)'
    |                          `- note: use 'init(numberOfThreads:)' instead
 55 |     internal var channel: Channel?
 56 |     internal let dispatchGroup = DispatchGroup()
[84/90] Compiling SwiftyNats NatsClient+Connection.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Connection.swift:16:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 14 |     // MARK - Implement NatsConnection Protocol
 15 |
 16 |     open func connect() throws {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 17 |
 18 |         guard self.state != .connected else { return }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Connection.swift:47:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 45 |     }
 46 |
 47 |     open func disconnect() {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 48 |
 49 |         try? self.channel?.close().wait()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient.swift:54:26: warning: 'init(numThreads:)' is deprecated: replaced by 'init(numberOfThreads:)'
 52 |     internal var state: NatsState = .disconnected
 53 |     internal var connectionError: NatsError?
 54 |     internal let group = MultiThreadedEventLoopGroup(numThreads: 1)
    |                          |- warning: 'init(numThreads:)' is deprecated: replaced by 'init(numberOfThreads:)'
    |                          `- note: use 'init(numberOfThreads:)' instead
 55 |     internal var channel: Channel?
 56 |     internal let dispatchGroup = DispatchGroup()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+EventBus.swift:13:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
11 |
12 |     @discardableResult
13 |     open func on(_ events: [NatsEvent], _ handler: @escaping (NatsEvent) -> Void) -> String {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
14 |
15 |         return self.addListeners(for: events, using: handler)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+EventBus.swift:20:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
18 |
19 |     @discardableResult
20 |     open func on(_ event: NatsEvent, _ handler: @escaping (NatsEvent) -> Void) -> String {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
21 |
22 |         return self.addListeners(for: [event], using: handler)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+EventBus.swift:27:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
25 |
26 |     @discardableResult
27 |     open func on(_ event: NatsEvent, autoOff: Bool, _ handler: @escaping (NatsEvent) -> Void) -> String {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
28 |
29 |         return self.addListeners(for: [event], using: handler, autoOff)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+EventBus.swift:34:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
32 |
33 |     @discardableResult
34 |     open func on(_ events: [NatsEvent], autoOff: Bool, _ handler: @escaping (NatsEvent) -> Void) -> String {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
35 |
36 |         return self.addListeners(for: events, using: handler, autoOff)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+EventBus.swift:40:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
38 |     }
39 |
40 |     open func off(_ id: String) {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
41 |
42 |         self.removeListener(id)
[85/90] Compiling SwiftyNats NatsClient+EventBus.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Connection.swift:16:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 14 |     // MARK - Implement NatsConnection Protocol
 15 |
 16 |     open func connect() throws {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 17 |
 18 |         guard self.state != .connected else { return }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Connection.swift:47:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 45 |     }
 46 |
 47 |     open func disconnect() {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 48 |
 49 |         try? self.channel?.close().wait()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient.swift:54:26: warning: 'init(numThreads:)' is deprecated: replaced by 'init(numberOfThreads:)'
 52 |     internal var state: NatsState = .disconnected
 53 |     internal var connectionError: NatsError?
 54 |     internal let group = MultiThreadedEventLoopGroup(numThreads: 1)
    |                          |- warning: 'init(numThreads:)' is deprecated: replaced by 'init(numberOfThreads:)'
    |                          `- note: use 'init(numberOfThreads:)' instead
 55 |     internal var channel: Channel?
 56 |     internal let dispatchGroup = DispatchGroup()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+EventBus.swift:13:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
11 |
12 |     @discardableResult
13 |     open func on(_ events: [NatsEvent], _ handler: @escaping (NatsEvent) -> Void) -> String {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
14 |
15 |         return self.addListeners(for: events, using: handler)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+EventBus.swift:20:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
18 |
19 |     @discardableResult
20 |     open func on(_ event: NatsEvent, _ handler: @escaping (NatsEvent) -> Void) -> String {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
21 |
22 |         return self.addListeners(for: [event], using: handler)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+EventBus.swift:27:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
25 |
26 |     @discardableResult
27 |     open func on(_ event: NatsEvent, autoOff: Bool, _ handler: @escaping (NatsEvent) -> Void) -> String {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
28 |
29 |         return self.addListeners(for: [event], using: handler, autoOff)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+EventBus.swift:34:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
32 |
33 |     @discardableResult
34 |     open func on(_ events: [NatsEvent], autoOff: Bool, _ handler: @escaping (NatsEvent) -> Void) -> String {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
35 |
36 |         return self.addListeners(for: events, using: handler, autoOff)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+EventBus.swift:40:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
38 |     }
39 |
40 |     open func off(_ id: String) {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
41 |
42 |         self.removeListener(id)
[86/90] Compiling SwiftyNats NatsClient+Subscribe.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:16:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 14 |
 15 |     @discardableResult
 16 |     open func subscribe(to subject: String, _ handler: @escaping (NatsMessage) -> Void) -> NatsSubject {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 17 |
 18 |         let nsub = NatsSubject(subject: subject)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:28:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 26 |
 27 |     @discardableResult
 28 |     open func subscribe(to subject: String, asPartOf queue: String, _ handler: @escaping (NatsMessage) -> Void) -> NatsSubject {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 29 |
 30 |         let nsub = NatsSubject(subject: subject)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:40:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 38 |     }
 39 |
 40 |     open func unsubscribe(from subject: NatsSubject) {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 41 |
 42 |         self.sendMessage(NatsMessage.unsubscribe(sid: subject.id))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:47:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 45 |     }
 46 |
 47 |     open func unsubscribeSync(from subject: NatsSubject) throws {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 48 |
 49 |         let group = DispatchGroup()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:72:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 70 |
 71 |     @discardableResult
 72 |     open func subscribeSync(to subject: String, _ handler: @escaping (NatsMessage) -> Void) throws -> NatsSubject {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 73 |         return try subSync(to: subject, asPartOf: "", handler)
 74 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:77:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 75 |
 76 |     @discardableResult
 77 |     open func subscribeSync(to subject: String, asPartOf queue: String, _ handler: @escaping (NatsMessage) -> Void) throws -> NatsSubject {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 78 |         return try subSync(to: subject, asPartOf: queue, handler)
 79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient.swift:25:16: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[NatsEvent]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | }
 16 |
 17 | public enum NatsEvent: String {
    |             `- note: consider making enum 'NatsEvent' conform to the 'Sendable' protocol
 18 |     case connected = "connected"
 19 |     case disconnected = "disconnected"
    :
 23 |     case reconnecting = "reconnecting"
 24 |     case informed = "informed"
 25 |     static let all = [ connected, disconnected, response, error, dropped, reconnecting ]
    |                |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[NatsEvent]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 | }
 27 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient.swift:54:26: warning: 'init(numThreads:)' is deprecated: replaced by 'init(numberOfThreads:)'
 52 |     internal var state: NatsState = .disconnected
 53 |     internal var connectionError: NatsError?
 54 |     internal let group = MultiThreadedEventLoopGroup(numThreads: 1)
    |                          |- warning: 'init(numThreads:)' is deprecated: replaced by 'init(numberOfThreads:)'
    |                          `- note: use 'init(numberOfThreads:)' instead
 55 |     internal var channel: Channel?
 56 |     internal let dispatchGroup = DispatchGroup()
[87/90] Compiling SwiftyNats NatsClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:16:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 14 |
 15 |     @discardableResult
 16 |     open func subscribe(to subject: String, _ handler: @escaping (NatsMessage) -> Void) -> NatsSubject {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 17 |
 18 |         let nsub = NatsSubject(subject: subject)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:28:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 26 |
 27 |     @discardableResult
 28 |     open func subscribe(to subject: String, asPartOf queue: String, _ handler: @escaping (NatsMessage) -> Void) -> NatsSubject {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 29 |
 30 |         let nsub = NatsSubject(subject: subject)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:40:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 38 |     }
 39 |
 40 |     open func unsubscribe(from subject: NatsSubject) {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 41 |
 42 |         self.sendMessage(NatsMessage.unsubscribe(sid: subject.id))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:47:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 45 |     }
 46 |
 47 |     open func unsubscribeSync(from subject: NatsSubject) throws {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 48 |
 49 |         let group = DispatchGroup()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:72:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 70 |
 71 |     @discardableResult
 72 |     open func subscribeSync(to subject: String, _ handler: @escaping (NatsMessage) -> Void) throws -> NatsSubject {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 73 |         return try subSync(to: subject, asPartOf: "", handler)
 74 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:77:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 75 |
 76 |     @discardableResult
 77 |     open func subscribeSync(to subject: String, asPartOf queue: String, _ handler: @escaping (NatsMessage) -> Void) throws -> NatsSubject {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 78 |         return try subSync(to: subject, asPartOf: queue, handler)
 79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient.swift:25:16: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[NatsEvent]' may have shared mutable state; this is an error in the Swift 6 language mode
 15 | }
 16 |
 17 | public enum NatsEvent: String {
    |             `- note: consider making enum 'NatsEvent' conform to the 'Sendable' protocol
 18 |     case connected = "connected"
 19 |     case disconnected = "disconnected"
    :
 23 |     case reconnecting = "reconnecting"
 24 |     case informed = "informed"
 25 |     static let all = [ connected, disconnected, response, error, dropped, reconnecting ]
    |                |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[NatsEvent]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 | }
 27 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient.swift:54:26: warning: 'init(numThreads:)' is deprecated: replaced by 'init(numberOfThreads:)'
 52 |     internal var state: NatsState = .disconnected
 53 |     internal var connectionError: NatsError?
 54 |     internal let group = MultiThreadedEventLoopGroup(numThreads: 1)
    |                          |- warning: 'init(numThreads:)' is deprecated: replaced by 'init(numberOfThreads:)'
    |                          `- note: use 'init(numberOfThreads:)' instead
 55 |     internal var channel: Channel?
 56 |     internal let dispatchGroup = DispatchGroup()
[88/90] Compiling SwiftyNats NatsClientConfig.swift
[89/90] Compiling SwiftyNats NatsError.swift
[90/90] Compiling SwiftyNats NatsSubject.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyNats/NatsSubject.swift:31:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'NatsSubject' to 'Hashable' by implementing 'hash(into:)' instead
29 |         return lhs.hashValue == rhs.hashValue
30 |     }
31 |     public var hashValue: Int {
   |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'NatsSubject' to 'Hashable' by implementing 'hash(into:)' instead
32 |         return self.id.hashValue
33 |     }
Build complete! (7.76s)
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for zlib
warning: couldn't find pc file for zlib
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    }
  ],
  "manifest_display_name" : "SwiftyNats",
  "name" : "SwiftyNats",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftyNats",
      "targets" : [
        "SwiftyNats"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftyNatsTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyNatsTests",
      "path" : "Tests/SwiftyNatsTests",
      "sources" : [
        "Extensions/StringExtensionTests.swift",
        "Integration/ConnectionTests.swift",
        "Integration/EventBusTests.swift",
        "Integration/PublishTests.swift",
        "Integration/SubscribeTests.swift",
        "TestSettings.swift",
        "Unit/NatsMessageTests.swift"
      ],
      "target_dependencies" : [
        "SwiftyNats"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftyNats",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyNats",
      "path" : "Sources/SwiftyNats",
      "product_dependencies" : [
        "NIO"
      ],
      "product_memberships" : [
        "SwiftyNats"
      ],
      "sources" : [
        "Extensions/Data+String.swift",
        "Extensions/Streams+Read+Write.swift",
        "Extensions/String+Utilities.swift",
        "NatsClient/NatsClient+ChannelHandler.swift",
        "NatsClient/NatsClient+Connection.swift",
        "NatsClient/NatsClient+EventBus.swift",
        "NatsClient/NatsClient+Publish.swift",
        "NatsClient/NatsClient+Queue.swift",
        "NatsClient/NatsClient+Subscribe.swift",
        "NatsClient/NatsClient.swift",
        "NatsClientConfig.swift",
        "NatsError.swift",
        "NatsEventHandler.swift",
        "NatsMessage.swift",
        "NatsResponse.swift",
        "NatsServer.swift",
        "NatsSubject.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.