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 SwiftyNats, reference master (3e25dc), with Swift 6.1 for Linux on 28 Apr 2025 18:49:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/sodiray/swifty-nats.git
https://github.com/sodiray/swifty-nats.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-nio.git
[1/75524] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.55s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (4.04s)
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.18s)
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.63s)
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
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
[0/10] Write sources
[4/10] Compiling CNIOLinux ifaddrs-android.c
[5/10] Compiling CNIODarwin shim.c
[6/10] Compiling CNIOSHA1 c_nio_sha1.c
[7/10] Write swift-version-24593BA9C3E375BF.txt
[7/10] Compiling CNIOLinux shim.c
[9/13] Compiling c-atomics.c
[11/16] Compiling NIOConcurrencyHelpers atomics.swift
[12/16] Compiling NIOConcurrencyHelpers lock.swift
[13/16] Emitting module NIOConcurrencyHelpers
[15/17] Compiling NIOPriorityQueue PriorityQueue.swift
[16/17] Emitting module NIOPriorityQueue
[17/17] Compiling NIOPriorityQueue Heap.swift
[19/68] Compiling NIO ByteBuffer-int.swift
[20/68] Compiling NIO ByteBuffer-views.swift
[21/68] Compiling NIO Channel.swift
[22/68] Compiling NIO ChannelHandler.swift
[23/68] Compiling NIO ChannelHandlers.swift
[24/68] Compiling NIO ChannelInvoker.swift
[25/68] Compiling NIO ChannelOption.swift
[26/74] Emitting module NIO
[27/74] Compiling NIO Heap.swift
[28/74] Compiling NIO IO.swift
[29/74] Compiling NIO IOData.swift
[30/74] Compiling NIO IntegerTypes.swift
[31/74] Compiling NIO Interfaces.swift
[32/74] Compiling NIO Linux.swift
[33/74] Compiling NIO LinuxCPUSet.swift
[34/74] Compiling NIO RecvByteBufferAllocator.swift
[35/74] Compiling NIO Resolver.swift
[36/74] Compiling NIO Selectable.swift
[37/74] Compiling NIO Selector.swift
[38/74] Compiling NIO ServerSocket.swift
[39/74] Compiling NIO Socket.swift
[40/74] Compiling NIO SocketAddresses.swift
[41/74] Compiling NIO EventLoop.swift
[42/74] Compiling NIO EventLoopFuture.swift
[43/74] Compiling NIO FileDescriptor.swift
[44/74] Compiling NIO FileHandle.swift
[45/74] Compiling NIO FileRegion.swift
[46/74] Compiling NIO GetaddrinfoResolver.swift
[47/74] Compiling NIO HappyEyeballs.swift
[48/74] Compiling NIO ChannelPipeline.swift
[49/74] Compiling NIO CircularBuffer.swift
[50/74] Compiling NIO Codec.swift
[51/74] Compiling NIO CompositeError.swift
[52/74] Compiling NIO ContiguousCollection.swift
[53/74] Compiling NIO DeadChannel.swift
[54/74] Compiling NIO Embedded.swift
[55/74] Compiling NIO MarkedCircularBuffer.swift
[56/74] Compiling NIO MulticastChannel.swift
[57/74] Compiling NIO NIOAny.swift
[58/74] Compiling NIO NonBlockingFileIO.swift
[59/74] Compiling NIO PendingDatagramWritesManager.swift
[60/74] Compiling NIO PendingWritesManager.swift
[61/74] Compiling NIO PriorityQueue.swift
[62/74] Compiling NIO AddressedEnvelope.swift
[63/74] Compiling NIO BaseSocket.swift
[64/74] Compiling NIO BaseSocketChannel.swift
[65/74] Compiling NIO BlockingIOThreadPool.swift
[66/74] Compiling NIO Bootstrap.swift
[67/74] Compiling NIO ByteBuffer-aux.swift
[68/74] Compiling NIO ByteBuffer-core.swift
[69/74] Compiling NIO SocketChannel.swift
[70/74] Compiling NIO SocketOptionProvider.swift
[71/74] Compiling NIO System.swift
[72/74] Compiling NIO Thread.swift
[73/74] Compiling NIO TypeAssistedChannelHandler.swift
[74/74] Compiling NIO Utilities.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[76/91] Emitting module SwiftyNats
/host/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 }
/host/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()
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Connection.swift:77:6: error: Objective-C interoperability is disabled
 75 |     // MARK - Private Methods
 76 |
 77 |     @objc
    |      `- error: Objective-C interoperability is disabled
 78 |     fileprivate func setupConnection() {
 79 |
/host/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)
/host/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)
/host/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)
/host/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)
/host/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)
/host/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 |     }
/host/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 |     }
/host/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)
/host/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()
/host/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 |     }
/host/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)
/host/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
/host/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)
/host/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)
/host/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))
/host/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()
/host/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 |     }
/host/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 |     }
/host/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 |
/host/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()
/host/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 |     }
[77/93] Compiling SwiftyNats Data+String.swift
[78/93] Compiling SwiftyNats Streams+Read+Write.swift
[79/93] Compiling SwiftyNats String+Utilities.swift
[80/93] Compiling SwiftyNats NatsServer.swift
/host/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 |     }
[81/93] Compiling SwiftyNats NatsSubject.swift
/host/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 |     }
[82/93] Compiling SwiftyNats NatsError.swift
[83/93] Compiling SwiftyNats NatsEventHandler.swift
[84/93] Compiling SwiftyNats NatsClient+EventBus.swift
/host/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)
/host/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)
/host/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)
/host/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)
/host/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)
/host/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 |     }
/host/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 |     }
/host/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)
/host/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()
/host/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 |     }
/host/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)
/host/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()
[85/93] Compiling SwiftyNats NatsClient+Publish.swift
/host/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)
/host/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)
/host/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)
/host/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)
/host/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)
/host/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 |     }
/host/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 |     }
/host/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)
/host/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()
/host/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 |     }
/host/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)
/host/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()
[86/93] Compiling SwiftyNats NatsClient+Queue.swift
/host/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
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Queue.swift:28:13: warning: capture of 'self' with non-sendable type 'NatsClient?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
29 |         }
30 |
/host/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]()
/host/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)
/host/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)
/host/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))
/host/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()
/host/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 |     }
/host/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 |     }
/host/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/93] Compiling SwiftyNats NatsClient+Subscribe.swift
/host/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
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Queue.swift:28:13: warning: capture of 'self' with non-sendable type 'NatsClient?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
29 |         }
30 |
/host/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]()
/host/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)
/host/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)
/host/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))
/host/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()
/host/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 |     }
/host/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 |     }
/host/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/93] Compiling SwiftyNats NatsMessage.swift
[89/93] Compiling SwiftyNats NatsResponse.swift
[90/93] Compiling SwiftyNats NatsClient.swift
/host/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 |
/host/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()
[91/93] Compiling SwiftyNats NatsClientConfig.swift
/host/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 |
/host/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()
[92/93] Compiling SwiftyNats NatsClient+ChannelHandler.swift
/host/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; this is an error in the Swift 6 language mode
90 |
91 |         self.messageQueue.addOperation {
92 |             handler(message)
   |             |- warning: capture of 'handler' with non-sendable type '(NatsMessage) -> 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'
93 |         }
94 |
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+ChannelHandler.swift:92:21: warning: capture of 'message' with non-sendable type 'NatsMessage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
90 |
91 |         self.messageQueue.addOperation {
92 |             handler(message)
   |                     `- warning: capture of 'message' with non-sendable type 'NatsMessage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
93 |         }
94 |
/host/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?
/host/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 }
/host/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()
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Connection.swift:77:6: error: Objective-C interoperability is disabled
 75 |     // MARK - Private Methods
 76 |
 77 |     @objc
    |      `- error: Objective-C interoperability is disabled
 78 |     fileprivate func setupConnection() {
 79 |
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Connection.swift:25:27: warning: capture of 'self' with non-sendable type 'NatsClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 23 |
 24 |         #if os(Linux)
 25 |         thread = Thread { self.setupConnection() }
    |                           `- warning: capture of 'self' with non-sendable type 'NatsClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 26 |         #else
 27 |         thread = Thread(target: self, selector: #selector(self.setupConnection), object: nil)
/host/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]()
/host/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()
[93/93] Compiling SwiftyNats NatsClient+Connection.swift
/host/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; this is an error in the Swift 6 language mode
90 |
91 |         self.messageQueue.addOperation {
92 |             handler(message)
   |             |- warning: capture of 'handler' with non-sendable type '(NatsMessage) -> 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'
93 |         }
94 |
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+ChannelHandler.swift:92:21: warning: capture of 'message' with non-sendable type 'NatsMessage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
90 |
91 |         self.messageQueue.addOperation {
92 |             handler(message)
   |                     `- warning: capture of 'message' with non-sendable type 'NatsMessage' in a '@Sendable' closure; this is an error in the Swift 6 language mode
93 |         }
94 |
/host/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?
/host/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 }
/host/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()
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Connection.swift:77:6: error: Objective-C interoperability is disabled
 75 |     // MARK - Private Methods
 76 |
 77 |     @objc
    |      `- error: Objective-C interoperability is disabled
 78 |     fileprivate func setupConnection() {
 79 |
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Connection.swift:25:27: warning: capture of 'self' with non-sendable type 'NatsClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 23 |
 24 |         #if os(Linux)
 25 |         thread = Thread { self.setupConnection() }
    |                           `- warning: capture of 'self' with non-sendable type 'NatsClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 26 |         #else
 27 |         thread = Thread(target: self, selector: #selector(self.setupConnection), object: nil)
/host/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]()
/host/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()
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] Compiling NIOPriorityQueue PriorityQueue.swift
[3/7] Compiling NIOPriorityQueue Heap.swift
[4/7] Emitting module NIOPriorityQueue
[5/8] Emitting module NIOConcurrencyHelpers
[6/8] Compiling NIOConcurrencyHelpers lock.swift
[7/8] Compiling NIOConcurrencyHelpers atomics.swift
[10/59] Compiling NIO ByteBuffer-int.swift
[11/59] Compiling NIO ByteBuffer-views.swift
[12/59] Compiling NIO Channel.swift
[13/59] Compiling NIO ChannelHandler.swift
[14/59] Compiling NIO ChannelHandlers.swift
[15/59] Compiling NIO ChannelInvoker.swift
[16/59] Compiling NIO ChannelOption.swift
[17/65] Compiling NIO MarkedCircularBuffer.swift
[18/65] Compiling NIO MulticastChannel.swift
[19/65] Compiling NIO NIOAny.swift
[20/65] Compiling NIO NonBlockingFileIO.swift
[21/65] Compiling NIO PendingDatagramWritesManager.swift
[22/65] Compiling NIO PendingWritesManager.swift
[23/65] Compiling NIO PriorityQueue.swift
[24/65] Emitting module NIO
[25/65] Compiling NIO RecvByteBufferAllocator.swift
[26/65] Compiling NIO Resolver.swift
[27/65] Compiling NIO Selectable.swift
[28/65] Compiling NIO Selector.swift
[29/65] Compiling NIO ServerSocket.swift
[30/65] Compiling NIO Socket.swift
[31/65] Compiling NIO SocketAddresses.swift
[32/65] Compiling NIO Heap.swift
[33/65] Compiling NIO IO.swift
[34/65] Compiling NIO IOData.swift
[35/65] Compiling NIO IntegerTypes.swift
[36/65] Compiling NIO Interfaces.swift
[37/65] Compiling NIO Linux.swift
[38/65] Compiling NIO LinuxCPUSet.swift
[39/65] Compiling NIO EventLoop.swift
[40/65] Compiling NIO EventLoopFuture.swift
[41/65] Compiling NIO FileDescriptor.swift
[42/65] Compiling NIO FileHandle.swift
[43/65] Compiling NIO FileRegion.swift
[44/65] Compiling NIO GetaddrinfoResolver.swift
[45/65] Compiling NIO HappyEyeballs.swift
[46/65] Compiling NIO ChannelPipeline.swift
[47/65] Compiling NIO CircularBuffer.swift
[48/65] Compiling NIO Codec.swift
[49/65] Compiling NIO CompositeError.swift
[50/65] Compiling NIO ContiguousCollection.swift
[51/65] Compiling NIO DeadChannel.swift
[52/65] Compiling NIO Embedded.swift
[53/65] Compiling NIO AddressedEnvelope.swift
[54/65] Compiling NIO BaseSocket.swift
[55/65] Compiling NIO BaseSocketChannel.swift
[56/65] Compiling NIO BlockingIOThreadPool.swift
[57/65] Compiling NIO Bootstrap.swift
[58/65] Compiling NIO ByteBuffer-aux.swift
[59/65] Compiling NIO ByteBuffer-core.swift
[60/65] Compiling NIO SocketChannel.swift
[61/65] Compiling NIO SocketOptionProvider.swift
[62/65] Compiling NIO System.swift
[63/65] Compiling NIO Thread.swift
[64/65] Compiling NIO TypeAssistedChannelHandler.swift
[65/65] Compiling NIO Utilities.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[67/82] Emitting module SwiftyNats
/host/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 }
/host/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()
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Connection.swift:77:6: error: Objective-C interoperability is disabled
 75 |     // MARK - Private Methods
 76 |
 77 |     @objc
    |      `- error: Objective-C interoperability is disabled
 78 |     fileprivate func setupConnection() {
 79 |
/host/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)
/host/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)
/host/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)
/host/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)
/host/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)
/host/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 |     }
/host/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 |     }
/host/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)
/host/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()
/host/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 |     }
/host/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)
/host/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
/host/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)
/host/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)
/host/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))
/host/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()
/host/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 |     }
/host/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 |     }
/host/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()
/host/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 |     }
[68/84] Compiling SwiftyNats NatsMessage.swift
[69/84] Compiling SwiftyNats NatsResponse.swift
[70/84] Compiling SwiftyNats NatsClient+EventBus.swift
/host/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)
/host/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)
/host/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)
/host/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)
/host/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)
/host/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 |     }
/host/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 |     }
/host/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)
/host/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()
/host/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 |     }
/host/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)
/host/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()
[71/84] Compiling SwiftyNats NatsClient+Publish.swift
/host/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)
/host/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)
/host/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)
/host/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)
/host/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)
/host/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 |     }
/host/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 |     }
/host/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)
/host/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()
/host/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 |     }
/host/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)
/host/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()
[72/84] Compiling SwiftyNats NatsClient+Queue.swift
/host/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
/host/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)
/host/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)
/host/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))
/host/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()
/host/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 |     }
/host/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 |     }
/host/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()
[73/84] Compiling SwiftyNats NatsClient+Subscribe.swift
/host/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
/host/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)
/host/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)
/host/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))
/host/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()
/host/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 |     }
/host/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 |     }
/host/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()
[74/84] Compiling SwiftyNats NatsClient.swift
/host/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()
[75/84] Compiling SwiftyNats NatsClientConfig.swift
/host/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()
[76/84] Compiling SwiftyNats NatsError.swift
[77/84] Compiling SwiftyNats NatsEventHandler.swift
[78/84] Compiling SwiftyNats NatsClient+ChannelHandler.swift
/host/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 }
/host/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()
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Connection.swift:77:6: error: Objective-C interoperability is disabled
 75 |     // MARK - Private Methods
 76 |
 77 |     @objc
    |      `- error: Objective-C interoperability is disabled
 78 |     fileprivate func setupConnection() {
 79 |
/host/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/84] Compiling SwiftyNats NatsClient+Connection.swift
/host/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 }
/host/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()
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Connection.swift:77:6: error: Objective-C interoperability is disabled
 75 |     // MARK - Private Methods
 76 |
 77 |     @objc
    |      `- error: Objective-C interoperability is disabled
 78 |     fileprivate func setupConnection() {
 79 |
/host/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()
[80/84] Compiling SwiftyNats Data+String.swift
[81/84] Compiling SwiftyNats Streams+Read+Write.swift
[82/84] Compiling SwiftyNats String+Utilities.swift
[83/84] Compiling SwiftyNats NatsServer.swift
/host/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 |     }
[84/84] Compiling SwiftyNats NatsSubject.swift
/host/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 FAILURE 6.1 linux