Build Information
Failed to build SwiftyNats, reference 1.3.1 (3e25dc
), with Swift 6.2 (beta) for Linux on 21 Jun 2025 13:00:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
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.2
Building package at path: $PWD
https://github.com/sodiray/swifty-nats.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-nio.git
[1/76339] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.20s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (6.73s)
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.24s)
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.70s)
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 CNIODarwin shim.c
[5/10] Compiling CNIOLinux ifaddrs-android.c
[6/10] Compiling CNIOSHA1 c_nio_sha1.c
[7/10] Compiling CNIOLinux shim.c
[8/10] Write swift-version-24593BA9C3E375BF.txt
[9/13] Compiling c-atomics.c
[11/16] Compiling NIOConcurrencyHelpers atomics.swift
[12/16] Emitting module NIOConcurrencyHelpers
[13/16] Compiling NIOConcurrencyHelpers lock.swift
[15/17] Compiling NIOPriorityQueue PriorityQueue.swift
[16/17] Emitting module NIOPriorityQueue
[17/17] Compiling NIOPriorityQueue Heap.swift
[19/68] Emitting module NIO
[20/74] Compiling NIO Heap.swift
[21/74] Compiling NIO IO.swift
[22/74] Compiling NIO IOData.swift
[23/74] Compiling NIO IntegerTypes.swift
[24/74] Compiling NIO Interfaces.swift
[25/74] Compiling NIO Linux.swift
[26/74] Compiling NIO LinuxCPUSet.swift
[27/74] Compiling NIO ChannelPipeline.swift
[28/74] Compiling NIO CircularBuffer.swift
[29/74] Compiling NIO Codec.swift
[30/74] Compiling NIO CompositeError.swift
[31/74] Compiling NIO ContiguousCollection.swift
[32/74] Compiling NIO DeadChannel.swift
[33/74] Compiling NIO Embedded.swift
[34/74] Compiling NIO MarkedCircularBuffer.swift
[35/74] Compiling NIO MulticastChannel.swift
[36/74] Compiling NIO NIOAny.swift
[37/74] Compiling NIO NonBlockingFileIO.swift
[38/74] Compiling NIO PendingDatagramWritesManager.swift
[39/74] Compiling NIO PendingWritesManager.swift
[40/74] Compiling NIO PriorityQueue.swift
[41/74] Compiling NIO ByteBuffer-int.swift
[42/74] Compiling NIO ByteBuffer-views.swift
[43/74] Compiling NIO Channel.swift
[44/74] Compiling NIO ChannelHandler.swift
[45/74] Compiling NIO ChannelHandlers.swift
[46/74] Compiling NIO ChannelInvoker.swift
[47/74] Compiling NIO ChannelOption.swift
[48/74] Compiling NIO EventLoop.swift
[49/74] Compiling NIO EventLoopFuture.swift
[50/74] Compiling NIO FileDescriptor.swift
[51/74] Compiling NIO FileHandle.swift
[52/74] Compiling NIO FileRegion.swift
[53/74] Compiling NIO GetaddrinfoResolver.swift
[54/74] Compiling NIO HappyEyeballs.swift
[55/74] Compiling NIO RecvByteBufferAllocator.swift
[56/74] Compiling NIO Resolver.swift
[57/74] Compiling NIO Selectable.swift
[58/74] Compiling NIO Selector.swift
[59/74] Compiling NIO ServerSocket.swift
[60/74] Compiling NIO Socket.swift
[61/74] Compiling NIO SocketAddresses.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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
14 | // MARK - Implement NatsConnection Protocol
15 |
16 | open func connect() throws {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
45 | }
46 |
47 | open func disconnect() {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
11 |
12 | @discardableResult
13 | open func on(_ events: [NatsEvent], _ handler: @escaping (NatsEvent) -> Void) -> String {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
18 |
19 | @discardableResult
20 | open func on(_ event: NatsEvent, _ handler: @escaping (NatsEvent) -> Void) -> String {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
25 |
26 | @discardableResult
27 | open func on(_ event: NatsEvent, autoOff: Bool, _ handler: @escaping (NatsEvent) -> Void) -> String {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
32 |
33 | @discardableResult
34 | open func on(_ events: [NatsEvent], autoOff: Bool, _ handler: @escaping (NatsEvent) -> Void) -> String {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
38 | }
39 |
40 | open func off(_ id: String) {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
41 |
42 | self.removeListener(id)
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Publish.swift:15:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
13 | // MARK - Implement NatsPublish Protocol
14 |
15 | open func publish(_ payload: String, to subject: String) {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
17 | }
18 |
19 | open func publish(_ payload: String, to subject: NatsSubject) {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
20 | publish(payload, to: subject.subject)
21 | }
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Publish.swift:23:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
21 | }
22 |
23 | open func reply(to message: NatsMessage, withPayload payload: String) {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
26 | }
27 |
28 | open func publishSync(_ payload: String, to subject: String) throws {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
29 |
30 | let group = DispatchGroup()
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Publish.swift:50:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
48 | }
49 |
50 | open func publishSync(_ payload: String, to subject: NatsSubject) throws {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
52 | }
53 |
54 | open func replySync(to message: NatsMessage, withPayload payload: String) throws {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
19 | }
20 |
21 | open func flushQueue(maxWait: TimeInterval? = nil) throws {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
22 |
23 | let startTimestamp = Date().timeIntervalSinceReferenceDate
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:16:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
14 |
15 | @discardableResult
16 | open func subscribe(to subject: String, _ handler: @escaping (NatsMessage) -> Void) -> NatsSubject {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
17 |
18 | let nsub = NatsSubject(subject: subject)
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:28:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
26 |
27 | @discardableResult
28 | open func subscribe(to subject: String, asPartOf queue: String, _ handler: @escaping (NatsMessage) -> Void) -> NatsSubject {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
29 |
30 | let nsub = NatsSubject(subject: subject)
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:40:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
38 | }
39 |
40 | open func unsubscribe(from subject: NatsSubject) {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
45 | }
46 |
47 | open func unsubscribeSync(from subject: NatsSubject) throws {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
48 |
49 | let group = DispatchGroup()
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:72:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
70 |
71 | @discardableResult
72 | open func subscribeSync(to subject: String, _ handler: @escaping (NatsMessage) -> Void) throws -> NatsSubject {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
75 |
76 | @discardableResult
77 | open func subscribeSync(to subject: String, asPartOf queue: String, _ handler: @escaping (NatsMessage) -> Void) throws -> NatsSubject {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
32 | return self.id.hashValue
33 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[77/93] Compiling SwiftyNats NatsMessage.swift
[78/93] Compiling SwiftyNats NatsResponse.swift
[79/93] Compiling SwiftyNats NatsClient+Queue.swift
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Queue.swift:21:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
19 | }
20 |
21 | open func flushQueue(maxWait: TimeInterval? = nil) throws {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
22 |
23 | let startTimestamp = Date().timeIntervalSinceReferenceDate
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:16:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
14 |
15 | @discardableResult
16 | open func subscribe(to subject: String, _ handler: @escaping (NatsMessage) -> Void) -> NatsSubject {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
17 |
18 | let nsub = NatsSubject(subject: subject)
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:28:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
26 |
27 | @discardableResult
28 | open func subscribe(to subject: String, asPartOf queue: String, _ handler: @escaping (NatsMessage) -> Void) -> NatsSubject {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
29 |
30 | let nsub = NatsSubject(subject: subject)
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:40:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
38 | }
39 |
40 | open func unsubscribe(from subject: NatsSubject) {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
45 | }
46 |
47 | open func unsubscribeSync(from subject: NatsSubject) throws {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
48 |
49 | let group = DispatchGroup()
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:72:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
70 |
71 | @discardableResult
72 | open func subscribeSync(to subject: String, _ handler: @escaping (NatsMessage) -> Void) throws -> NatsSubject {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
75 |
76 | @discardableResult
77 | open func subscribeSync(to subject: String, asPartOf queue: String, _ handler: @escaping (NatsMessage) -> Void) throws -> NatsSubject {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- note: use 'init(numberOfThreads:)' instead
55 | internal var channel: Channel?
56 | internal let dispatchGroup = DispatchGroup()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[80/93] Compiling SwiftyNats NatsClient+Subscribe.swift
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Queue.swift:21:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
19 | }
20 |
21 | open func flushQueue(maxWait: TimeInterval? = nil) throws {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
22 |
23 | let startTimestamp = Date().timeIntervalSinceReferenceDate
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:16:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
14 |
15 | @discardableResult
16 | open func subscribe(to subject: String, _ handler: @escaping (NatsMessage) -> Void) -> NatsSubject {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
17 |
18 | let nsub = NatsSubject(subject: subject)
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:28:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
26 |
27 | @discardableResult
28 | open func subscribe(to subject: String, asPartOf queue: String, _ handler: @escaping (NatsMessage) -> Void) -> NatsSubject {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
29 |
30 | let nsub = NatsSubject(subject: subject)
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:40:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
38 | }
39 |
40 | open func unsubscribe(from subject: NatsSubject) {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
45 | }
46 |
47 | open func unsubscribeSync(from subject: NatsSubject) throws {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
48 |
49 | let group = DispatchGroup()
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Subscribe.swift:72:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
70 |
71 | @discardableResult
72 | open func subscribeSync(to subject: String, _ handler: @escaping (NatsMessage) -> Void) throws -> NatsSubject {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
75 |
76 | @discardableResult
77 | open func subscribeSync(to subject: String, asPartOf queue: String, _ handler: @escaping (NatsMessage) -> Void) throws -> NatsSubject {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- note: use 'init(numberOfThreads:)' instead
55 | internal var channel: Channel?
56 | internal let dispatchGroup = DispatchGroup()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[81/93] Compiling SwiftyNats NatsError.swift
[82/93] Compiling SwiftyNats NatsEventHandler.swift
[83/93] Compiling SwiftyNats NatsClient+EventBus.swift
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+EventBus.swift:13:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
11 |
12 | @discardableResult
13 | open func on(_ events: [NatsEvent], _ handler: @escaping (NatsEvent) -> Void) -> String {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
18 |
19 | @discardableResult
20 | open func on(_ event: NatsEvent, _ handler: @escaping (NatsEvent) -> Void) -> String {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
25 |
26 | @discardableResult
27 | open func on(_ event: NatsEvent, autoOff: Bool, _ handler: @escaping (NatsEvent) -> Void) -> String {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
32 |
33 | @discardableResult
34 | open func on(_ events: [NatsEvent], autoOff: Bool, _ handler: @escaping (NatsEvent) -> Void) -> String {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
38 | }
39 |
40 | open func off(_ id: String) {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
41 |
42 | self.removeListener(id)
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Publish.swift:15:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
13 | // MARK - Implement NatsPublish Protocol
14 |
15 | open func publish(_ payload: String, to subject: String) {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
17 | }
18 |
19 | open func publish(_ payload: String, to subject: NatsSubject) {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
20 | publish(payload, to: subject.subject)
21 | }
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Publish.swift:23:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
21 | }
22 |
23 | open func reply(to message: NatsMessage, withPayload payload: String) {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
26 | }
27 |
28 | open func publishSync(_ payload: String, to subject: String) throws {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
29 |
30 | let group = DispatchGroup()
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Publish.swift:50:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
48 | }
49 |
50 | open func publishSync(_ payload: String, to subject: NatsSubject) throws {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
52 | }
53 |
54 | open func replySync(to message: NatsMessage, withPayload payload: String) throws {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- note: use 'init(numberOfThreads:)' instead
55 | internal var channel: Channel?
56 | internal let dispatchGroup = DispatchGroup()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[84/93] Compiling SwiftyNats NatsClient+Publish.swift
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+EventBus.swift:13:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
11 |
12 | @discardableResult
13 | open func on(_ events: [NatsEvent], _ handler: @escaping (NatsEvent) -> Void) -> String {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
18 |
19 | @discardableResult
20 | open func on(_ event: NatsEvent, _ handler: @escaping (NatsEvent) -> Void) -> String {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
25 |
26 | @discardableResult
27 | open func on(_ event: NatsEvent, autoOff: Bool, _ handler: @escaping (NatsEvent) -> Void) -> String {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
32 |
33 | @discardableResult
34 | open func on(_ events: [NatsEvent], autoOff: Bool, _ handler: @escaping (NatsEvent) -> Void) -> String {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
38 | }
39 |
40 | open func off(_ id: String) {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
41 |
42 | self.removeListener(id)
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Publish.swift:15:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
13 | // MARK - Implement NatsPublish Protocol
14 |
15 | open func publish(_ payload: String, to subject: String) {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
17 | }
18 |
19 | open func publish(_ payload: String, to subject: NatsSubject) {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
20 | publish(payload, to: subject.subject)
21 | }
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Publish.swift:23:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
21 | }
22 |
23 | open func reply(to message: NatsMessage, withPayload payload: String) {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
26 | }
27 |
28 | open func publishSync(_ payload: String, to subject: String) throws {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
29 |
30 | let group = DispatchGroup()
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Publish.swift:50:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
48 | }
49 |
50 | open func publishSync(_ payload: String, to subject: NatsSubject) throws {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
52 | }
53 |
54 | open func replySync(to message: NatsMessage, withPayload payload: String) throws {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- note: use 'init(numberOfThreads:)' instead
55 | internal var channel: Channel?
56 | internal let dispatchGroup = DispatchGroup()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[85/93] Compiling SwiftyNats Data+String.swift
[86/93] Compiling SwiftyNats Streams+Read+Write.swift
[87/93] Compiling SwiftyNats String+Utilities.swift
[88/93] Compiling SwiftyNats NatsClient.swift
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient.swift:54:26: warning: 'init(numThreads:)' is deprecated: replaced by 'init(numberOfThreads:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- note: use 'init(numberOfThreads:)' instead
55 | internal var channel: Channel?
56 | internal let dispatchGroup = DispatchGroup()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[89/93] Compiling SwiftyNats NatsClientConfig.swift
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient.swift:54:26: warning: 'init(numThreads:)' is deprecated: replaced by 'init(numberOfThreads:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- note: use 'init(numberOfThreads:)' instead
55 | internal var channel: Channel?
56 | internal let dispatchGroup = DispatchGroup()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[90/93] Compiling SwiftyNats NatsClient+ChannelHandler.swift
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Connection.swift:16:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
14 | // MARK - Implement NatsConnection Protocol
15 |
16 | open func connect() throws {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
45 | }
46 |
47 | open func disconnect() {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- note: use 'init(numberOfThreads:)' instead
55 | internal var channel: Channel?
56 | internal let dispatchGroup = DispatchGroup()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[91/93] Compiling SwiftyNats NatsClient+Connection.swift
/host/spi-builder-workspace/Sources/SwiftyNats/NatsClient/NatsClient+Connection.swift:16:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
14 | // MARK - Implement NatsConnection Protocol
15 |
16 | open func connect() throws {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
45 | }
46 |
47 | open func disconnect() {
| `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- note: use 'init(numberOfThreads:)' instead
55 | internal var channel: Channel?
56 | internal let dispatchGroup = DispatchGroup()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[92/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
32 | return self.id.hashValue
33 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[93/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
32 | return self.id.hashValue
33 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
BUILD FAILURE 6.2 linux