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 1.3.1 (3e25dc), with Swift 6.0 for Linux on 1 Dec 2024 01:19:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sodiray/swifty-nats.git
Reference: 1.3.1
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
 * tag               1.3.1      -> FETCH_HEAD
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 1.3.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/sodiray/swifty-nats.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-nio.git
[1/72037] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.22s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.49s)
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.49s)
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
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 CNIOLinux shim.c
[7/10] Compiling CNIOSHA1 c_nio_sha1.c
[8/10] Write swift-version-24593BA9C3E375BF.txt
[9/13] Compiling c-atomics.c
[11/16] Compiling NIOPriorityQueue PriorityQueue.swift
[12/16] Emitting module NIOPriorityQueue
[13/16] Compiling NIOPriorityQueue Heap.swift
[14/17] Compiling NIOConcurrencyHelpers atomics.swift
[15/17] Compiling NIOConcurrencyHelpers lock.swift
[16/17] Emitting module NIOConcurrencyHelpers
[19/68] Compiling NIO MarkedCircularBuffer.swift
[20/68] Compiling NIO MulticastChannel.swift
[21/68] Compiling NIO NIOAny.swift
[22/68] Compiling NIO NonBlockingFileIO.swift
[23/68] Compiling NIO PendingDatagramWritesManager.swift
[24/68] Compiling NIO PendingWritesManager.swift
[25/68] Compiling NIO PriorityQueue.swift
[26/74] Compiling NIO RecvByteBufferAllocator.swift
[27/74] Compiling NIO Resolver.swift
[28/74] Compiling NIO Selectable.swift
[29/74] Compiling NIO Selector.swift
[30/74] Compiling NIO ServerSocket.swift
[31/74] Compiling NIO Socket.swift
[32/74] Compiling NIO SocketAddresses.swift
[33/74] Emitting module NIO
[34/74] Compiling NIO EventLoop.swift
[35/74] Compiling NIO EventLoopFuture.swift
[36/74] Compiling NIO FileDescriptor.swift
[37/74] Compiling NIO FileHandle.swift
[38/74] Compiling NIO FileRegion.swift
[39/74] Compiling NIO GetaddrinfoResolver.swift
[40/74] Compiling NIO HappyEyeballs.swift
[41/74] Compiling NIO Heap.swift
[42/74] Compiling NIO IO.swift
[43/74] Compiling NIO IOData.swift
[44/74] Compiling NIO IntegerTypes.swift
[45/74] Compiling NIO Interfaces.swift
[46/74] Compiling NIO Linux.swift
[47/74] Compiling NIO LinuxCPUSet.swift
[48/74] Compiling NIO ByteBuffer-int.swift
[49/74] Compiling NIO ByteBuffer-views.swift
[50/74] Compiling NIO Channel.swift
[51/74] Compiling NIO ChannelHandler.swift
[52/74] Compiling NIO ChannelHandlers.swift
[53/74] Compiling NIO ChannelInvoker.swift
[54/74] Compiling NIO ChannelOption.swift
[55/74] Compiling NIO ChannelPipeline.swift
[56/74] Compiling NIO CircularBuffer.swift
[57/74] Compiling NIO Codec.swift
[58/74] Compiling NIO CompositeError.swift
[59/74] Compiling NIO ContiguousCollection.swift
[60/74] Compiling NIO DeadChannel.swift
[61/74] Compiling NIO Embedded.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: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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 NatsError.swift
[78/93] Compiling SwiftyNats NatsEventHandler.swift
[79/93] Compiling SwiftyNats NatsMessage.swift
[80/93] Compiling SwiftyNats NatsResponse.swift
[81/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()
[82/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()
[83/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.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: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 | }
 27 |
/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()
[84/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.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: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 | }
 27 |
/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.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: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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()
[86/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: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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()
[87/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 |     }
[88/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 |     }
[89/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()
[90/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()
[91/93] Compiling SwiftyNats Data+String.swift
[92/93] Compiling SwiftyNats Streams+Read+Write.swift
[93/93] Compiling SwiftyNats String+Utilities.swift
BUILD FAILURE 6.0 linux