Build Information
Failed to build swift-nats, reference main (205589), with Swift 6.1 for Android on 25 Sep 2026 09:50:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1206/1213] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1207/1213] Emitting module NIOTLS
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1208/1214] Wrapping AST for NIOTLS for debugging
[1210/1244] Emitting module NIOSSL
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1211/1248] Compiling NIOSSL SSLPrivateKey.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1212/1248] Compiling NIOSSL SSLPublicKey.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1213/1248] Compiling NIOSSL SecurityFrameworkCertificateVerification.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1214/1248] Compiling NIOSSL String+unsafeUninitializedCapacity.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1215/1248] Compiling NIOSSL AndroidCABundle.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1216/1248] Compiling NIOSSL ByteBufferBIO.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1217/1248] Compiling NIOSSL CustomPrivateKey.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1218/1248] Compiling NIOSSL FreeBSDCABundle.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1219/1248] Compiling NIOSSL IdentityVerification.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1220/1248] Compiling NIOSSL LinuxCABundle.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1221/1248] Compiling NIOSSL NIOSSLClientHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1222/1248] Compiling NIOSSL NIOSSLHandler+Configuration.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1223/1248] Compiling NIOSSL NIOSSLHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1224/1248] Compiling NIOSSL SubjectAlternativeName.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1225/1248] Compiling NIOSSL NIOSSLSecureBytes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1226/1248] Compiling NIOSSL RNG.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1227/1248] Compiling NIOSSL SafeCompare.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1228/1248] Compiling NIOSSL SSLCertificate.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1229/1248] Compiling NIOSSL SSLCertificateExtensions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1230/1248] Compiling NIOSSL SSLCertificateName.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1231/1248] Compiling NIOSSL SSLConnection.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1232/1248] Compiling NIOSSL NIOSSLServerHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1233/1248] Compiling NIOSSL ObjectIdentifier.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1234/1248] Compiling NIOSSL PosixPort.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1235/1248] Compiling NIOSSL SSLCallbacks.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1236/1248] Compiling NIOSSL SSLContext.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1237/1248] Compiling NIOSSL SSLErrors.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1238/1248] Compiling NIOSSL SSLInit.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1239/1248] Compiling NIOSSL SSLPKCS12Bundle.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1240/1248] Compiling NIOSSL Zeroization.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1241/1248] Compiling NIOSSL TLSConfiguration.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1242/1248] Compiling NIOSSL UniversalBootstrapSupport.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1243/1248] Compiling NIOSSL UnsafeKeyAndChainTarget.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1244/1249] Wrapping AST for NIOSSL for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1246/1289] Emitting module Nats
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:54: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
119 | logger: Logger = Logger(label: "nats.client"),
120 | inboxPrefix: String = "_INBOX",
121 | writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 | writeBackpressureTimeout: Duration = .seconds(5),
123 | writeTimeout: Duration = .seconds(30),
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:67:38: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
65 | /// bounds are what stop a peer that stops reading from turning into
66 | /// unbounded memory growth on this side.
67 | public var writeBufferWaterMark: WriteBufferWaterMark
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
68 |
69 | /// How long a write waits for a saturated connection to drain before being
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:31: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
119 | logger: Logger = Logger(label: "nats.client"),
120 | inboxPrefix: String = "_INBOX",
121 | writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 | writeBackpressureTimeout: Duration = .seconds(5),
123 | writeTimeout: Duration = .seconds(30),
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:125:18: error: cannot find type 'Span' in scope
123 | /// `buffer`, whose readable bytes `bytes` views.
124 | private static func parseControlLine(
125 | _ bytes: Span<UInt8>,
| `- error: cannot find type 'Span' in scope
126 | end: Int,
127 | of buffer: borrowing ByteBuffer
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:309:37: error: cannot find type 'Span' in scope
307 |
308 | /// Offset of the first `\r\n` at or after `start`.
309 | static func firstCRLF(in bytes: Span<UInt8>, from start: Int) -> Int? {
| `- error: cannot find type 'Span' in scope
310 | var index = start
311 | let last = bytes.count - 1
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:321:54: error: cannot find type 'Span' in scope
319 | }
320 |
321 | static func firstIndex(of byte: UInt8, in bytes: Span<UInt8>, _ range: Range<Int>) -> Int? {
| `- error: cannot find type 'Span' in scope
322 | var index = range.lowerBound
323 | while index < range.upperBound {
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:334:32: error: cannot find type 'Span' in scope
332 | /// Split `range` on runs of spaces and tabs. With `maxFields`, the last
333 | /// field runs to the end of the range.
334 | static func split(_ bytes: Span<UInt8>, _ range: Range<Int>, into fields: inout Fields, maxFields: Int = Fields.capacity) {
| `- error: cannot find type 'Span' in scope
335 | var index = range.lowerBound
336 | while index < range.upperBound {
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:353:35: error: cannot find type 'Span' in scope
351 | }
352 |
353 | static func trimming(_ bytes: Span<UInt8>, _ range: Range<Int>, isStrippable: (UInt8) -> Bool) -> Range<Int> {
| `- error: cannot find type 'Span' in scope
354 | var lower = range.lowerBound
355 | var upper = range.upperBound
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:367:34: error: cannot find type 'Span' in scope
365 | /// Whether `bytes[range]` spells `word`, ignoring ASCII case unless
366 | /// `caseSensitive`.
367 | static func matches(_ bytes: Span<UInt8>, _ range: Range<Int>, _ word: StaticString, caseSensitive: Bool = false) -> Bool {
| `- error: cannot find type 'Span' in scope
368 | guard range.count == word.utf8CodeUnitCount else { return false }
369 | return word.withUTF8Buffer { expected in
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:386:34: error: cannot find type 'Span' in scope
384 |
385 | /// A non-negative decimal integer spelled by `bytes[range]`, or nil.
386 | static func integer(_ bytes: Span<UInt8>, _ range: Range<Int>) -> Int? {
| `- error: cannot find type 'Span' in scope
387 | guard !range.isEmpty, range.count <= 18 else { return nil }
388 | var value = 0
[1247/1294] Compiling Nats Subject.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:125:18: error: cannot find type 'Span' in scope
123 | /// `buffer`, whose readable bytes `bytes` views.
124 | private static func parseControlLine(
125 | _ bytes: Span<UInt8>,
| `- error: cannot find type 'Span' in scope
126 | end: Int,
127 | of buffer: borrowing ByteBuffer
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:309:37: error: cannot find type 'Span' in scope
307 |
308 | /// Offset of the first `\r\n` at or after `start`.
309 | static func firstCRLF(in bytes: Span<UInt8>, from start: Int) -> Int? {
| `- error: cannot find type 'Span' in scope
310 | var index = start
311 | let last = bytes.count - 1
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:321:54: error: cannot find type 'Span' in scope
319 | }
320 |
321 | static func firstIndex(of byte: UInt8, in bytes: Span<UInt8>, _ range: Range<Int>) -> Int? {
| `- error: cannot find type 'Span' in scope
322 | var index = range.lowerBound
323 | while index < range.upperBound {
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:334:32: error: cannot find type 'Span' in scope
332 | /// Split `range` on runs of spaces and tabs. With `maxFields`, the last
333 | /// field runs to the end of the range.
334 | static func split(_ bytes: Span<UInt8>, _ range: Range<Int>, into fields: inout Fields, maxFields: Int = Fields.capacity) {
| `- error: cannot find type 'Span' in scope
335 | var index = range.lowerBound
336 | while index < range.upperBound {
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:353:35: error: cannot find type 'Span' in scope
351 | }
352 |
353 | static func trimming(_ bytes: Span<UInt8>, _ range: Range<Int>, isStrippable: (UInt8) -> Bool) -> Range<Int> {
| `- error: cannot find type 'Span' in scope
354 | var lower = range.lowerBound
355 | var upper = range.upperBound
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:367:34: error: cannot find type 'Span' in scope
365 | /// Whether `bytes[range]` spells `word`, ignoring ASCII case unless
366 | /// `caseSensitive`.
367 | static func matches(_ bytes: Span<UInt8>, _ range: Range<Int>, _ word: StaticString, caseSensitive: Bool = false) -> Bool {
| `- error: cannot find type 'Span' in scope
368 | guard range.count == word.utf8CodeUnitCount else { return false }
369 | return word.withUTF8Buffer { expected in
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:386:34: error: cannot find type 'Span' in scope
384 |
385 | /// A non-negative decimal integer spelled by `bytes[range]`, or nil.
386 | static func integer(_ bytes: Span<UInt8>, _ range: Range<Int>) -> Int? {
| `- error: cannot find type 'Span' in scope
387 | guard !range.isEmpty, range.count <= 18 else { return nil }
388 | var value = 0
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:44:32: error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
42 | // Everything that needs the bytes happens while the span is alive;
43 | // the buffer is only moved once it has ended.
44 | let bytes = buffer.readableBytesUInt8Span
| `- error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
45 | guard let lineEnd = Wire.firstCRLF(in: bytes, from: 0) else {
46 | return nil
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:209:27: error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
207 | static func parseHeaders(_ block: ByteBuffer) -> NatsHeaders {
208 | var headers = NatsHeaders()
209 | let bytes = block.readableBytesUInt8Span
| `- error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
210 | let count = bytes.count
211 |
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:407:48: error: cannot find 'readableBytesUInt8Span' in scope
405 | let lineEnd: Int
406 | do {
407 | guard let end = Wire.firstCRLF(in: readableBytesUInt8Span, from: 0) else {
| `- error: cannot find 'readableBytesUInt8Span' in scope
408 | return nil
409 | }
[1248/1294] Compiling Nats ClientOp.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:125:18: error: cannot find type 'Span' in scope
123 | /// `buffer`, whose readable bytes `bytes` views.
124 | private static func parseControlLine(
125 | _ bytes: Span<UInt8>,
| `- error: cannot find type 'Span' in scope
126 | end: Int,
127 | of buffer: borrowing ByteBuffer
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:309:37: error: cannot find type 'Span' in scope
307 |
308 | /// Offset of the first `\r\n` at or after `start`.
309 | static func firstCRLF(in bytes: Span<UInt8>, from start: Int) -> Int? {
| `- error: cannot find type 'Span' in scope
310 | var index = start
311 | let last = bytes.count - 1
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:321:54: error: cannot find type 'Span' in scope
319 | }
320 |
321 | static func firstIndex(of byte: UInt8, in bytes: Span<UInt8>, _ range: Range<Int>) -> Int? {
| `- error: cannot find type 'Span' in scope
322 | var index = range.lowerBound
323 | while index < range.upperBound {
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:334:32: error: cannot find type 'Span' in scope
332 | /// Split `range` on runs of spaces and tabs. With `maxFields`, the last
333 | /// field runs to the end of the range.
334 | static func split(_ bytes: Span<UInt8>, _ range: Range<Int>, into fields: inout Fields, maxFields: Int = Fields.capacity) {
| `- error: cannot find type 'Span' in scope
335 | var index = range.lowerBound
336 | while index < range.upperBound {
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:353:35: error: cannot find type 'Span' in scope
351 | }
352 |
353 | static func trimming(_ bytes: Span<UInt8>, _ range: Range<Int>, isStrippable: (UInt8) -> Bool) -> Range<Int> {
| `- error: cannot find type 'Span' in scope
354 | var lower = range.lowerBound
355 | var upper = range.upperBound
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:367:34: error: cannot find type 'Span' in scope
365 | /// Whether `bytes[range]` spells `word`, ignoring ASCII case unless
366 | /// `caseSensitive`.
367 | static func matches(_ bytes: Span<UInt8>, _ range: Range<Int>, _ word: StaticString, caseSensitive: Bool = false) -> Bool {
| `- error: cannot find type 'Span' in scope
368 | guard range.count == word.utf8CodeUnitCount else { return false }
369 | return word.withUTF8Buffer { expected in
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:386:34: error: cannot find type 'Span' in scope
384 |
385 | /// A non-negative decimal integer spelled by `bytes[range]`, or nil.
386 | static func integer(_ bytes: Span<UInt8>, _ range: Range<Int>) -> Int? {
| `- error: cannot find type 'Span' in scope
387 | guard !range.isEmpty, range.count <= 18 else { return nil }
388 | var value = 0
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:44:32: error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
42 | // Everything that needs the bytes happens while the span is alive;
43 | // the buffer is only moved once it has ended.
44 | let bytes = buffer.readableBytesUInt8Span
| `- error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
45 | guard let lineEnd = Wire.firstCRLF(in: bytes, from: 0) else {
46 | return nil
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:209:27: error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
207 | static func parseHeaders(_ block: ByteBuffer) -> NatsHeaders {
208 | var headers = NatsHeaders()
209 | let bytes = block.readableBytesUInt8Span
| `- error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
210 | let count = bytes.count
211 |
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:407:48: error: cannot find 'readableBytesUInt8Span' in scope
405 | let lineEnd: Int
406 | do {
407 | guard let end = Wire.firstCRLF(in: readableBytesUInt8Span, from: 0) else {
| `- error: cannot find 'readableBytesUInt8Span' in scope
408 | return nil
409 | }
[1249/1294] Compiling Nats ConnectInfo.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:125:18: error: cannot find type 'Span' in scope
123 | /// `buffer`, whose readable bytes `bytes` views.
124 | private static func parseControlLine(
125 | _ bytes: Span<UInt8>,
| `- error: cannot find type 'Span' in scope
126 | end: Int,
127 | of buffer: borrowing ByteBuffer
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:309:37: error: cannot find type 'Span' in scope
307 |
308 | /// Offset of the first `\r\n` at or after `start`.
309 | static func firstCRLF(in bytes: Span<UInt8>, from start: Int) -> Int? {
| `- error: cannot find type 'Span' in scope
310 | var index = start
311 | let last = bytes.count - 1
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:321:54: error: cannot find type 'Span' in scope
319 | }
320 |
321 | static func firstIndex(of byte: UInt8, in bytes: Span<UInt8>, _ range: Range<Int>) -> Int? {
| `- error: cannot find type 'Span' in scope
322 | var index = range.lowerBound
323 | while index < range.upperBound {
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:334:32: error: cannot find type 'Span' in scope
332 | /// Split `range` on runs of spaces and tabs. With `maxFields`, the last
333 | /// field runs to the end of the range.
334 | static func split(_ bytes: Span<UInt8>, _ range: Range<Int>, into fields: inout Fields, maxFields: Int = Fields.capacity) {
| `- error: cannot find type 'Span' in scope
335 | var index = range.lowerBound
336 | while index < range.upperBound {
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:353:35: error: cannot find type 'Span' in scope
351 | }
352 |
353 | static func trimming(_ bytes: Span<UInt8>, _ range: Range<Int>, isStrippable: (UInt8) -> Bool) -> Range<Int> {
| `- error: cannot find type 'Span' in scope
354 | var lower = range.lowerBound
355 | var upper = range.upperBound
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:367:34: error: cannot find type 'Span' in scope
365 | /// Whether `bytes[range]` spells `word`, ignoring ASCII case unless
366 | /// `caseSensitive`.
367 | static func matches(_ bytes: Span<UInt8>, _ range: Range<Int>, _ word: StaticString, caseSensitive: Bool = false) -> Bool {
| `- error: cannot find type 'Span' in scope
368 | guard range.count == word.utf8CodeUnitCount else { return false }
369 | return word.withUTF8Buffer { expected in
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:386:34: error: cannot find type 'Span' in scope
384 |
385 | /// A non-negative decimal integer spelled by `bytes[range]`, or nil.
386 | static func integer(_ bytes: Span<UInt8>, _ range: Range<Int>) -> Int? {
| `- error: cannot find type 'Span' in scope
387 | guard !range.isEmpty, range.count <= 18 else { return nil }
388 | var value = 0
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:44:32: error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
42 | // Everything that needs the bytes happens while the span is alive;
43 | // the buffer is only moved once it has ended.
44 | let bytes = buffer.readableBytesUInt8Span
| `- error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
45 | guard let lineEnd = Wire.firstCRLF(in: bytes, from: 0) else {
46 | return nil
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:209:27: error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
207 | static func parseHeaders(_ block: ByteBuffer) -> NatsHeaders {
208 | var headers = NatsHeaders()
209 | let bytes = block.readableBytesUInt8Span
| `- error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
210 | let count = bytes.count
211 |
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:407:48: error: cannot find 'readableBytesUInt8Span' in scope
405 | let lineEnd: Int
406 | do {
407 | guard let end = Wire.firstCRLF(in: readableBytesUInt8Span, from: 0) else {
| `- error: cannot find 'readableBytesUInt8Span' in scope
408 | return nil
409 | }
[1250/1294] Compiling Nats ProtocolDecoder.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:125:18: error: cannot find type 'Span' in scope
123 | /// `buffer`, whose readable bytes `bytes` views.
124 | private static func parseControlLine(
125 | _ bytes: Span<UInt8>,
| `- error: cannot find type 'Span' in scope
126 | end: Int,
127 | of buffer: borrowing ByteBuffer
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:309:37: error: cannot find type 'Span' in scope
307 |
308 | /// Offset of the first `\r\n` at or after `start`.
309 | static func firstCRLF(in bytes: Span<UInt8>, from start: Int) -> Int? {
| `- error: cannot find type 'Span' in scope
310 | var index = start
311 | let last = bytes.count - 1
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:321:54: error: cannot find type 'Span' in scope
319 | }
320 |
321 | static func firstIndex(of byte: UInt8, in bytes: Span<UInt8>, _ range: Range<Int>) -> Int? {
| `- error: cannot find type 'Span' in scope
322 | var index = range.lowerBound
323 | while index < range.upperBound {
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:334:32: error: cannot find type 'Span' in scope
332 | /// Split `range` on runs of spaces and tabs. With `maxFields`, the last
333 | /// field runs to the end of the range.
334 | static func split(_ bytes: Span<UInt8>, _ range: Range<Int>, into fields: inout Fields, maxFields: Int = Fields.capacity) {
| `- error: cannot find type 'Span' in scope
335 | var index = range.lowerBound
336 | while index < range.upperBound {
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:353:35: error: cannot find type 'Span' in scope
351 | }
352 |
353 | static func trimming(_ bytes: Span<UInt8>, _ range: Range<Int>, isStrippable: (UInt8) -> Bool) -> Range<Int> {
| `- error: cannot find type 'Span' in scope
354 | var lower = range.lowerBound
355 | var upper = range.upperBound
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:367:34: error: cannot find type 'Span' in scope
365 | /// Whether `bytes[range]` spells `word`, ignoring ASCII case unless
366 | /// `caseSensitive`.
367 | static func matches(_ bytes: Span<UInt8>, _ range: Range<Int>, _ word: StaticString, caseSensitive: Bool = false) -> Bool {
| `- error: cannot find type 'Span' in scope
368 | guard range.count == word.utf8CodeUnitCount else { return false }
369 | return word.withUTF8Buffer { expected in
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:386:34: error: cannot find type 'Span' in scope
384 |
385 | /// A non-negative decimal integer spelled by `bytes[range]`, or nil.
386 | static func integer(_ bytes: Span<UInt8>, _ range: Range<Int>) -> Int? {
| `- error: cannot find type 'Span' in scope
387 | guard !range.isEmpty, range.count <= 18 else { return nil }
388 | var value = 0
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:44:32: error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
42 | // Everything that needs the bytes happens while the span is alive;
43 | // the buffer is only moved once it has ended.
44 | let bytes = buffer.readableBytesUInt8Span
| `- error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
45 | guard let lineEnd = Wire.firstCRLF(in: bytes, from: 0) else {
46 | return nil
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:209:27: error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
207 | static func parseHeaders(_ block: ByteBuffer) -> NatsHeaders {
208 | var headers = NatsHeaders()
209 | let bytes = block.readableBytesUInt8Span
| `- error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
210 | let count = bytes.count
211 |
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:407:48: error: cannot find 'readableBytesUInt8Span' in scope
405 | let lineEnd: Int
406 | do {
407 | guard let end = Wire.firstCRLF(in: readableBytesUInt8Span, from: 0) else {
| `- error: cannot find 'readableBytesUInt8Span' in scope
408 | return nil
409 | }
[1251/1294] Compiling Nats ProtocolEncoder.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:125:18: error: cannot find type 'Span' in scope
123 | /// `buffer`, whose readable bytes `bytes` views.
124 | private static func parseControlLine(
125 | _ bytes: Span<UInt8>,
| `- error: cannot find type 'Span' in scope
126 | end: Int,
127 | of buffer: borrowing ByteBuffer
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:309:37: error: cannot find type 'Span' in scope
307 |
308 | /// Offset of the first `\r\n` at or after `start`.
309 | static func firstCRLF(in bytes: Span<UInt8>, from start: Int) -> Int? {
| `- error: cannot find type 'Span' in scope
310 | var index = start
311 | let last = bytes.count - 1
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:321:54: error: cannot find type 'Span' in scope
319 | }
320 |
321 | static func firstIndex(of byte: UInt8, in bytes: Span<UInt8>, _ range: Range<Int>) -> Int? {
| `- error: cannot find type 'Span' in scope
322 | var index = range.lowerBound
323 | while index < range.upperBound {
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:334:32: error: cannot find type 'Span' in scope
332 | /// Split `range` on runs of spaces and tabs. With `maxFields`, the last
333 | /// field runs to the end of the range.
334 | static func split(_ bytes: Span<UInt8>, _ range: Range<Int>, into fields: inout Fields, maxFields: Int = Fields.capacity) {
| `- error: cannot find type 'Span' in scope
335 | var index = range.lowerBound
336 | while index < range.upperBound {
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:353:35: error: cannot find type 'Span' in scope
351 | }
352 |
353 | static func trimming(_ bytes: Span<UInt8>, _ range: Range<Int>, isStrippable: (UInt8) -> Bool) -> Range<Int> {
| `- error: cannot find type 'Span' in scope
354 | var lower = range.lowerBound
355 | var upper = range.upperBound
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:367:34: error: cannot find type 'Span' in scope
365 | /// Whether `bytes[range]` spells `word`, ignoring ASCII case unless
366 | /// `caseSensitive`.
367 | static func matches(_ bytes: Span<UInt8>, _ range: Range<Int>, _ word: StaticString, caseSensitive: Bool = false) -> Bool {
| `- error: cannot find type 'Span' in scope
368 | guard range.count == word.utf8CodeUnitCount else { return false }
369 | return word.withUTF8Buffer { expected in
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:386:34: error: cannot find type 'Span' in scope
384 |
385 | /// A non-negative decimal integer spelled by `bytes[range]`, or nil.
386 | static func integer(_ bytes: Span<UInt8>, _ range: Range<Int>) -> Int? {
| `- error: cannot find type 'Span' in scope
387 | guard !range.isEmpty, range.count <= 18 else { return nil }
388 | var value = 0
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:44:32: error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
42 | // Everything that needs the bytes happens while the span is alive;
43 | // the buffer is only moved once it has ended.
44 | let bytes = buffer.readableBytesUInt8Span
| `- error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
45 | guard let lineEnd = Wire.firstCRLF(in: bytes, from: 0) else {
46 | return nil
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:209:27: error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
207 | static func parseHeaders(_ block: ByteBuffer) -> NatsHeaders {
208 | var headers = NatsHeaders()
209 | let bytes = block.readableBytesUInt8Span
| `- error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
210 | let count = bytes.count
211 |
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:407:48: error: cannot find 'readableBytesUInt8Span' in scope
405 | let lineEnd: Int
406 | do {
407 | guard let end = Wire.firstCRLF(in: readableBytesUInt8Span, from: 0) else {
| `- error: cannot find 'readableBytesUInt8Span' in scope
408 | return nil
409 | }
[1252/1294] Compiling Nats KeyValueScan.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1253/1294] Compiling Nats KeyValueStatus.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1254/1294] Compiling Nats KeyValueWatcher.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1255/1294] Compiling Nats JetStreamMessage.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1256/1294] Compiling Nats PubAck.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1257/1294] Compiling Nats Stream.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1258/1294] Compiling Nats StreamConfig.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1259/1294] Compiling Nats StreamInfo.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1260/1294] Compiling Nats NatsHeaders.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1261/1294] Compiling Nats NatsMessage.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1262/1294] Compiling Nats ServerInfo.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1263/1294] Compiling Nats ServerOp.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1264/1294] Compiling Nats Subscription.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1265/1294] Compiling Nats TLSConfiguration.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1266/1294] Compiling Nats TLSHandshakeObserver.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1267/1294] Compiling Nats ConnectionHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1268/1294] Compiling Nats OutboundQueue.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1269/1294] Compiling Nats Reconnection.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1270/1294] Compiling Nats ConnectionError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1271/1294] Compiling Nats JetStreamError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1272/1294] Compiling Nats NatsError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1273/1294] Compiling Nats AuthHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:54: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
119 | logger: Logger = Logger(label: "nats.client"),
120 | inboxPrefix: String = "_INBOX",
121 | writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 | writeBackpressureTimeout: Duration = .seconds(5),
123 | writeTimeout: Duration = .seconds(30),
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:826:21: warning: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable
824 | .channelInitializer { channel in
825 | channel.pipeline.addHandlers([
826 | MessageToByteHandler(ProtocolEncoder(logger: protocolLogger)),
| `- warning: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable
827 | ByteToMessageHandler(ProtocolDecoder(logger: protocolLogger)),
828 | handler
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:810:1: note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
808 |
809 | @available(*, unavailable)
810 | extension MessageToByteHandler: Sendable {}
| `- note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
811 |
812 | extension MessageToByteHandler {
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:827:21: warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable
825 | channel.pipeline.addHandlers([
826 | MessageToByteHandler(ProtocolEncoder(logger: protocolLogger)),
827 | ByteToMessageHandler(ProtocolDecoder(logger: protocolLogger)),
| `- warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable
828 | handler
829 | ])
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:507:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
505 |
506 | @available(*, unavailable)
507 | extension ByteToMessageHandler: Sendable {}
| `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
508 |
509 | // MARK: ByteToMessageHandler: Test Helpers
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:1095:47: warning: type 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
1093 | Task { await self?.markTLSHandshakeCompleted(generation: generation) }
1094 | }
1095 | try await channel.pipeline.addHandler(observer, position: .first).get()
| `- warning: type 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
1096 |
1097 | // Add TLS handler at the front of the pipeline (before protocol encoder/decoder)
/host/spi-builder-workspace/Sources/Nats/TLS/TLSHandshakeObserver.swift:15:13: note: class 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
13 | /// ClientHello from a peer that never sent INFO — both simply run out the
14 | /// connect deadline and report a bare timeout.
15 | final class TLSHandshakeObserver: ChannelInboundHandler {
| `- note: class 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
16 | typealias InboundIn = Any
17 | typealias InboundOut = Any
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:1098:47: warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable
1096 |
1097 | // Add TLS handler at the front of the pipeline (before protocol encoder/decoder)
1098 | try await channel.pipeline.addHandler(sslHandler, position: .first).get()
| `- warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable
1099 |
1100 | logger.debug("TLS handler added to pipeline")
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/NIOSSLClientHandler.swift:294:1: note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
292 | #if compiler(<6.2)
293 | @available(*, unavailable)
294 | extension NIOSSLClientHandler: Sendable {}
| `- note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
295 | #endif
296 |
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:67:38: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
65 | /// bounds are what stop a peer that stops reading from turning into
66 | /// unbounded memory growth on this side.
67 | public var writeBufferWaterMark: WriteBufferWaterMark
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
68 |
69 | /// How long a write waits for a saturated connection to drain before being
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:31: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
119 | logger: Logger = Logger(label: "nats.client"),
120 | inboxPrefix: String = "_INBOX",
121 | writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 | writeBackpressureTimeout: Duration = .seconds(5),
123 | writeTimeout: Duration = .seconds(30),
[1274/1294] Compiling Nats JWTAuth.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:54: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
119 | logger: Logger = Logger(label: "nats.client"),
120 | inboxPrefix: String = "_INBOX",
121 | writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 | writeBackpressureTimeout: Duration = .seconds(5),
123 | writeTimeout: Duration = .seconds(30),
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:826:21: warning: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable
824 | .channelInitializer { channel in
825 | channel.pipeline.addHandlers([
826 | MessageToByteHandler(ProtocolEncoder(logger: protocolLogger)),
| `- warning: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable
827 | ByteToMessageHandler(ProtocolDecoder(logger: protocolLogger)),
828 | handler
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:810:1: note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
808 |
809 | @available(*, unavailable)
810 | extension MessageToByteHandler: Sendable {}
| `- note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
811 |
812 | extension MessageToByteHandler {
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:827:21: warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable
825 | channel.pipeline.addHandlers([
826 | MessageToByteHandler(ProtocolEncoder(logger: protocolLogger)),
827 | ByteToMessageHandler(ProtocolDecoder(logger: protocolLogger)),
| `- warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable
828 | handler
829 | ])
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:507:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
505 |
506 | @available(*, unavailable)
507 | extension ByteToMessageHandler: Sendable {}
| `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
508 |
509 | // MARK: ByteToMessageHandler: Test Helpers
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:1095:47: warning: type 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
1093 | Task { await self?.markTLSHandshakeCompleted(generation: generation) }
1094 | }
1095 | try await channel.pipeline.addHandler(observer, position: .first).get()
| `- warning: type 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
1096 |
1097 | // Add TLS handler at the front of the pipeline (before protocol encoder/decoder)
/host/spi-builder-workspace/Sources/Nats/TLS/TLSHandshakeObserver.swift:15:13: note: class 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
13 | /// ClientHello from a peer that never sent INFO — both simply run out the
14 | /// connect deadline and report a bare timeout.
15 | final class TLSHandshakeObserver: ChannelInboundHandler {
| `- note: class 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
16 | typealias InboundIn = Any
17 | typealias InboundOut = Any
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:1098:47: warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable
1096 |
1097 | // Add TLS handler at the front of the pipeline (before protocol encoder/decoder)
1098 | try await channel.pipeline.addHandler(sslHandler, position: .first).get()
| `- warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable
1099 |
1100 | logger.debug("TLS handler added to pipeline")
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/NIOSSLClientHandler.swift:294:1: note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
292 | #if compiler(<6.2)
293 | @available(*, unavailable)
294 | extension NIOSSLClientHandler: Sendable {}
| `- note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
295 | #endif
296 |
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:67:38: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
65 | /// bounds are what stop a peer that stops reading from turning into
66 | /// unbounded memory growth on this side.
67 | public var writeBufferWaterMark: WriteBufferWaterMark
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
68 |
69 | /// How long a write waits for a saturated connection to drain before being
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:31: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
119 | logger: Logger = Logger(label: "nats.client"),
120 | inboxPrefix: String = "_INBOX",
121 | writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 | writeBackpressureTimeout: Duration = .seconds(5),
123 | writeTimeout: Duration = .seconds(30),
[1275/1294] Compiling Nats NKeyAuth.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:54: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
119 | logger: Logger = Logger(label: "nats.client"),
120 | inboxPrefix: String = "_INBOX",
121 | writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 | writeBackpressureTimeout: Duration = .seconds(5),
123 | writeTimeout: Duration = .seconds(30),
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:826:21: warning: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable
824 | .channelInitializer { channel in
825 | channel.pipeline.addHandlers([
826 | MessageToByteHandler(ProtocolEncoder(logger: protocolLogger)),
| `- warning: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable
827 | ByteToMessageHandler(ProtocolDecoder(logger: protocolLogger)),
828 | handler
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:810:1: note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
808 |
809 | @available(*, unavailable)
810 | extension MessageToByteHandler: Sendable {}
| `- note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
811 |
812 | extension MessageToByteHandler {
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:827:21: warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable
825 | channel.pipeline.addHandlers([
826 | MessageToByteHandler(ProtocolEncoder(logger: protocolLogger)),
827 | ByteToMessageHandler(ProtocolDecoder(logger: protocolLogger)),
| `- warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable
828 | handler
829 | ])
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:507:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
505 |
506 | @available(*, unavailable)
507 | extension ByteToMessageHandler: Sendable {}
| `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
508 |
509 | // MARK: ByteToMessageHandler: Test Helpers
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:1095:47: warning: type 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
1093 | Task { await self?.markTLSHandshakeCompleted(generation: generation) }
1094 | }
1095 | try await channel.pipeline.addHandler(observer, position: .first).get()
| `- warning: type 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
1096 |
1097 | // Add TLS handler at the front of the pipeline (before protocol encoder/decoder)
/host/spi-builder-workspace/Sources/Nats/TLS/TLSHandshakeObserver.swift:15:13: note: class 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
13 | /// ClientHello from a peer that never sent INFO — both simply run out the
14 | /// connect deadline and report a bare timeout.
15 | final class TLSHandshakeObserver: ChannelInboundHandler {
| `- note: class 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
16 | typealias InboundIn = Any
17 | typealias InboundOut = Any
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:1098:47: warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable
1096 |
1097 | // Add TLS handler at the front of the pipeline (before protocol encoder/decoder)
1098 | try await channel.pipeline.addHandler(sslHandler, position: .first).get()
| `- warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable
1099 |
1100 | logger.debug("TLS handler added to pipeline")
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/NIOSSLClientHandler.swift:294:1: note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
292 | #if compiler(<6.2)
293 | @available(*, unavailable)
294 | extension NIOSSLClientHandler: Sendable {}
| `- note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
295 | #endif
296 |
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:67:38: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
65 | /// bounds are what stop a peer that stops reading from turning into
66 | /// unbounded memory growth on this side.
67 | public var writeBufferWaterMark: WriteBufferWaterMark
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
68 |
69 | /// How long a write waits for a saturated connection to drain before being
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:31: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
119 | logger: Logger = Logger(label: "nats.client"),
120 | inboxPrefix: String = "_INBOX",
121 | writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 | writeBackpressureTimeout: Duration = .seconds(5),
123 | writeTimeout: Duration = .seconds(30),
[1276/1294] Compiling Nats ClientStateMachine.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:54: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
119 | logger: Logger = Logger(label: "nats.client"),
120 | inboxPrefix: String = "_INBOX",
121 | writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 | writeBackpressureTimeout: Duration = .seconds(5),
123 | writeTimeout: Duration = .seconds(30),
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:826:21: warning: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable
824 | .channelInitializer { channel in
825 | channel.pipeline.addHandlers([
826 | MessageToByteHandler(ProtocolEncoder(logger: protocolLogger)),
| `- warning: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable
827 | ByteToMessageHandler(ProtocolDecoder(logger: protocolLogger)),
828 | handler
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:810:1: note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
808 |
809 | @available(*, unavailable)
810 | extension MessageToByteHandler: Sendable {}
| `- note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
811 |
812 | extension MessageToByteHandler {
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:827:21: warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable
825 | channel.pipeline.addHandlers([
826 | MessageToByteHandler(ProtocolEncoder(logger: protocolLogger)),
827 | ByteToMessageHandler(ProtocolDecoder(logger: protocolLogger)),
| `- warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable
828 | handler
829 | ])
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:507:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
505 |
506 | @available(*, unavailable)
507 | extension ByteToMessageHandler: Sendable {}
| `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
508 |
509 | // MARK: ByteToMessageHandler: Test Helpers
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:1095:47: warning: type 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
1093 | Task { await self?.markTLSHandshakeCompleted(generation: generation) }
1094 | }
1095 | try await channel.pipeline.addHandler(observer, position: .first).get()
| `- warning: type 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
1096 |
1097 | // Add TLS handler at the front of the pipeline (before protocol encoder/decoder)
/host/spi-builder-workspace/Sources/Nats/TLS/TLSHandshakeObserver.swift:15:13: note: class 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
13 | /// ClientHello from a peer that never sent INFO — both simply run out the
14 | /// connect deadline and report a bare timeout.
15 | final class TLSHandshakeObserver: ChannelInboundHandler {
| `- note: class 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
16 | typealias InboundIn = Any
17 | typealias InboundOut = Any
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:1098:47: warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable
1096 |
1097 | // Add TLS handler at the front of the pipeline (before protocol encoder/decoder)
1098 | try await channel.pipeline.addHandler(sslHandler, position: .first).get()
| `- warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable
1099 |
1100 | logger.debug("TLS handler added to pipeline")
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/NIOSSLClientHandler.swift:294:1: note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
292 | #if compiler(<6.2)
293 | @available(*, unavailable)
294 | extension NIOSSLClientHandler: Sendable {}
| `- note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
295 | #endif
296 |
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:67:38: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
65 | /// bounds are what stop a peer that stops reading from turning into
66 | /// unbounded memory growth on this side.
67 | public var writeBufferWaterMark: WriteBufferWaterMark
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
68 |
69 | /// How long a write waits for a saturated connection to drain before being
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:31: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
119 | logger: Logger = Logger(label: "nats.client"),
120 | inboxPrefix: String = "_INBOX",
121 | writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 | writeBackpressureTimeout: Duration = .seconds(5),
123 | writeTimeout: Duration = .seconds(30),
[1277/1294] Compiling Nats NatsClient.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:54: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
119 | logger: Logger = Logger(label: "nats.client"),
120 | inboxPrefix: String = "_INBOX",
121 | writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 | writeBackpressureTimeout: Duration = .seconds(5),
123 | writeTimeout: Duration = .seconds(30),
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:826:21: warning: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable
824 | .channelInitializer { channel in
825 | channel.pipeline.addHandlers([
826 | MessageToByteHandler(ProtocolEncoder(logger: protocolLogger)),
| `- warning: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable
827 | ByteToMessageHandler(ProtocolDecoder(logger: protocolLogger)),
828 | handler
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:810:1: note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
808 |
809 | @available(*, unavailable)
810 | extension MessageToByteHandler: Sendable {}
| `- note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
811 |
812 | extension MessageToByteHandler {
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:827:21: warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable
825 | channel.pipeline.addHandlers([
826 | MessageToByteHandler(ProtocolEncoder(logger: protocolLogger)),
827 | ByteToMessageHandler(ProtocolDecoder(logger: protocolLogger)),
| `- warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable
828 | handler
829 | ])
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:507:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
505 |
506 | @available(*, unavailable)
507 | extension ByteToMessageHandler: Sendable {}
| `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
508 |
509 | // MARK: ByteToMessageHandler: Test Helpers
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:1095:47: warning: type 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
1093 | Task { await self?.markTLSHandshakeCompleted(generation: generation) }
1094 | }
1095 | try await channel.pipeline.addHandler(observer, position: .first).get()
| `- warning: type 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
1096 |
1097 | // Add TLS handler at the front of the pipeline (before protocol encoder/decoder)
/host/spi-builder-workspace/Sources/Nats/TLS/TLSHandshakeObserver.swift:15:13: note: class 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
13 | /// ClientHello from a peer that never sent INFO — both simply run out the
14 | /// connect deadline and report a bare timeout.
15 | final class TLSHandshakeObserver: ChannelInboundHandler {
| `- note: class 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
16 | typealias InboundIn = Any
17 | typealias InboundOut = Any
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:1098:47: warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable
1096 |
1097 | // Add TLS handler at the front of the pipeline (before protocol encoder/decoder)
1098 | try await channel.pipeline.addHandler(sslHandler, position: .first).get()
| `- warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable
1099 |
1100 | logger.debug("TLS handler added to pipeline")
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/NIOSSLClientHandler.swift:294:1: note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
292 | #if compiler(<6.2)
293 | @available(*, unavailable)
294 | extension NIOSSLClientHandler: Sendable {}
| `- note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
295 | #endif
296 |
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:67:38: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
65 | /// bounds are what stop a peer that stops reading from turning into
66 | /// unbounded memory growth on this side.
67 | public var writeBufferWaterMark: WriteBufferWaterMark
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
68 |
69 | /// How long a write waits for a saturated connection to drain before being
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:31: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
119 | logger: Logger = Logger(label: "nats.client"),
120 | inboxPrefix: String = "_INBOX",
121 | writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 | writeBackpressureTimeout: Duration = .seconds(5),
123 | writeTimeout: Duration = .seconds(30),
[1278/1294] Compiling Nats NatsClientOptions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:54: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
119 | logger: Logger = Logger(label: "nats.client"),
120 | inboxPrefix: String = "_INBOX",
121 | writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 | writeBackpressureTimeout: Duration = .seconds(5),
123 | writeTimeout: Duration = .seconds(30),
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:826:21: warning: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable
824 | .channelInitializer { channel in
825 | channel.pipeline.addHandlers([
826 | MessageToByteHandler(ProtocolEncoder(logger: protocolLogger)),
| `- warning: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable
827 | ByteToMessageHandler(ProtocolDecoder(logger: protocolLogger)),
828 | handler
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:810:1: note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
808 |
809 | @available(*, unavailable)
810 | extension MessageToByteHandler: Sendable {}
| `- note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
811 |
812 | extension MessageToByteHandler {
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:827:21: warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable
825 | channel.pipeline.addHandlers([
826 | MessageToByteHandler(ProtocolEncoder(logger: protocolLogger)),
827 | ByteToMessageHandler(ProtocolDecoder(logger: protocolLogger)),
| `- warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable
828 | handler
829 | ])
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:507:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
505 |
506 | @available(*, unavailable)
507 | extension ByteToMessageHandler: Sendable {}
| `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
508 |
509 | // MARK: ByteToMessageHandler: Test Helpers
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:1095:47: warning: type 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
1093 | Task { await self?.markTLSHandshakeCompleted(generation: generation) }
1094 | }
1095 | try await channel.pipeline.addHandler(observer, position: .first).get()
| `- warning: type 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
1096 |
1097 | // Add TLS handler at the front of the pipeline (before protocol encoder/decoder)
/host/spi-builder-workspace/Sources/Nats/TLS/TLSHandshakeObserver.swift:15:13: note: class 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
13 | /// ClientHello from a peer that never sent INFO — both simply run out the
14 | /// connect deadline and report a bare timeout.
15 | final class TLSHandshakeObserver: ChannelInboundHandler {
| `- note: class 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
16 | typealias InboundIn = Any
17 | typealias InboundOut = Any
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:1098:47: warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable
1096 |
1097 | // Add TLS handler at the front of the pipeline (before protocol encoder/decoder)
1098 | try await channel.pipeline.addHandler(sslHandler, position: .first).get()
| `- warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable
1099 |
1100 | logger.debug("TLS handler added to pipeline")
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/NIOSSLClientHandler.swift:294:1: note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
292 | #if compiler(<6.2)
293 | @available(*, unavailable)
294 | extension NIOSSLClientHandler: Sendable {}
| `- note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
295 | #endif
296 |
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:67:38: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
65 | /// bounds are what stop a peer that stops reading from turning into
66 | /// unbounded memory growth on this side.
67 | public var writeBufferWaterMark: WriteBufferWaterMark
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
68 |
69 | /// How long a write waits for a saturated connection to drain before being
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:31: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
119 | logger: Logger = Logger(label: "nats.client"),
120 | inboxPrefix: String = "_INBOX",
121 | writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 | writeBackpressureTimeout: Duration = .seconds(5),
123 | writeTimeout: Duration = .seconds(30),
[1279/1294] Compiling Nats ProtocolError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1280/1294] Compiling Nats ByteBuffer+Extensions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1281/1294] Compiling Nats RFC3339.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1282/1294] Compiling Nats Consumer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1283/1294] Compiling Nats ConsumerConfig.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1284/1294] Compiling Nats ConsumerInfo.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[1285/1294] Compiling Nats PullInbox.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Nats/JetStream/KeyValue/KeyValueBucket.swift:102:27: warning: 'as' test is always true
100 |
101 | return entry
102 | } catch let error as JetStreamError {
| `- warning: 'as' test is always true
103 | if case .apiError(let code, _, _) = error, code == 404 {
104 | return nil
/host/spi-builder-workspace/Sources/Nats/JetStream/KeyValue/KeyValueBucket.swift:450:27: warning: 'as' test is always true
448 |
449 | return KeyValueEntry.fromDirectGet(response, bucket: bucket)
450 | } catch let error as JetStreamError {
| `- warning: 'as' test is always true
451 | if case .apiError(let code, _, _) = error, code == 404 {
452 | return nil
[1286/1294] Compiling Nats JetStreamContext.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Nats/JetStream/KeyValue/KeyValueBucket.swift:102:27: warning: 'as' test is always true
100 |
101 | return entry
102 | } catch let error as JetStreamError {
| `- warning: 'as' test is always true
103 | if case .apiError(let code, _, _) = error, code == 404 {
104 | return nil
/host/spi-builder-workspace/Sources/Nats/JetStream/KeyValue/KeyValueBucket.swift:450:27: warning: 'as' test is always true
448 |
449 | return KeyValueEntry.fromDirectGet(response, bucket: bucket)
450 | } catch let error as JetStreamError {
| `- warning: 'as' test is always true
451 | if case .apiError(let code, _, _) = error, code == 404 {
452 | return nil
[1287/1294] Compiling Nats KeyValueBucket.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Nats/JetStream/KeyValue/KeyValueBucket.swift:102:27: warning: 'as' test is always true
100 |
101 | return entry
102 | } catch let error as JetStreamError {
| `- warning: 'as' test is always true
103 | if case .apiError(let code, _, _) = error, code == 404 {
104 | return nil
/host/spi-builder-workspace/Sources/Nats/JetStream/KeyValue/KeyValueBucket.swift:450:27: warning: 'as' test is always true
448 |
449 | return KeyValueEntry.fromDirectGet(response, bucket: bucket)
450 | } catch let error as JetStreamError {
| `- warning: 'as' test is always true
451 | if case .apiError(let code, _, _) = error, code == 404 {
452 | return nil
[1288/1294] Compiling Nats KeyValueConfig.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Nats/JetStream/KeyValue/KeyValueBucket.swift:102:27: warning: 'as' test is always true
100 |
101 | return entry
102 | } catch let error as JetStreamError {
| `- warning: 'as' test is always true
103 | if case .apiError(let code, _, _) = error, code == 404 {
104 | return nil
/host/spi-builder-workspace/Sources/Nats/JetStream/KeyValue/KeyValueBucket.swift:450:27: warning: 'as' test is always true
448 |
449 | return KeyValueEntry.fromDirectGet(response, bucket: bucket)
450 | } catch let error as JetStreamError {
| `- warning: 'as' test is always true
451 | if case .apiError(let code, _, _) = error, code == 404 {
452 | return nil
[1289/1294] Compiling Nats KeyValueContext.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Nats/JetStream/KeyValue/KeyValueBucket.swift:102:27: warning: 'as' test is always true
100 |
101 | return entry
102 | } catch let error as JetStreamError {
| `- warning: 'as' test is always true
103 | if case .apiError(let code, _, _) = error, code == 404 {
104 | return nil
/host/spi-builder-workspace/Sources/Nats/JetStream/KeyValue/KeyValueBucket.swift:450:27: warning: 'as' test is always true
448 |
449 | return KeyValueEntry.fromDirectGet(response, bucket: bucket)
450 | } catch let error as JetStreamError {
| `- warning: 'as' test is always true
451 | if case .apiError(let code, _, _) = error, code == 404 {
452 | return nil
[1290/1294] Compiling Nats KeyValueEntry.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Nats/JetStream/KeyValue/KeyValueBucket.swift:102:27: warning: 'as' test is always true
100 |
101 | return entry
102 | } catch let error as JetStreamError {
| `- warning: 'as' test is always true
103 | if case .apiError(let code, _, _) = error, code == 404 {
104 | return nil
/host/spi-builder-workspace/Sources/Nats/JetStream/KeyValue/KeyValueBucket.swift:450:27: warning: 'as' test is always true
448 |
449 | return KeyValueEntry.fromDirectGet(response, bucket: bucket)
450 | } catch let error as JetStreamError {
| `- warning: 'as' test is always true
451 | if case .apiError(let code, _, _) = error, code == 404 {
452 | return nil
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:a7f4f752e160f6cbd9e0c26490aa43ccd5312d524c4c6d77f8b144559b526afa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/21] Write swift-version-24593BA9C3E375BF.txt
[2/89] Compiling _NIODataStructures PriorityQueue.swift
[3/89] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[4/89] Compiling InternalCollectionsUtilities UInt+reversed.swift
[5/89] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[6/89] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[7/91] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[8/91] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[11/93] Compiling InternalCollectionsUtilities Span+Extras.swift
[12/93] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[13/93] Compiling _NIODataStructures Heap.swift
[14/93] Emitting module CryptoBoringWrapper
[15/93] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
[16/93] Compiling InternalCollectionsUtilities _SortedCollection.swift
[17/93] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[18/93] Compiling Logging LoggingSystem.swift
[19/94] Compiling CryptoBoringWrapper RandomBytes.swift
[20/94] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[21/94] Compiling CryptoBoringWrapper FiniteFieldArithmeticContext.swift
[22/94] Emitting module _NIOBase64
[23/94] Compiling _NIOBase64 Base64.swift
[27/95] Compiling InternalCollectionsUtilities String+Padding.swift
[28/95] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[29/94] Compiling NIOConcurrencyHelpers NIOLock.swift
[30/94] Compiling Logging MetadataProvider.swift
[31/94] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[32/94] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[33/94] Compiling InternalCollectionsUtilities Debugging.swift
[34/94] Compiling InternalCollectionsUtilities Descriptions.swift
[35/94] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[38/94] Compiling NIOConcurrencyHelpers atomics.swift
[39/94] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[40/94] Compiling NIOConcurrencyHelpers lock.swift
[41/94] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[42/94] Emitting module _NIODataStructures
[43/94] Compiling _NIODataStructures _TinyArray.swift
[44/95] Emitting module NIOConcurrencyHelpers
[47/95] Compiling CryptoBoringWrapper EllipticCurvePoint.swift
[48/95] Compiling CryptoBoringWrapper EllipticCurve.swift
[49/95] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
[50/95] Compiling CryptoBoringWrapper ArbitraryPrecisionInteger.swift
[51/95] Compiling Logging Logger+Attributes.swift
[52/95] Compiling Logging Logger.swift
[54/95] Compiling InternalCollectionsUtilities Integer rank.swift
[55/95] Compiling Logging Logger+With.swift
unable to find node: pound
unable to find node: pound
[58/95] Emitting module Logging
unable to find node: pound
unable to find node: pound
[59/96] Emitting module InternalCollectionsUtilities
[61/95] Wrapping AST for CryptoBoringWrapper for debugging
[70/95] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[72/202] Compiling ContainersPreview Producer+Map.swift
[73/202] Compiling ContainersPreview Producer+Reduce.swift
[74/202] Compiling ContainersPreview Producer.swift
[75/202] Compiling ContainersPreview InputSpan.swift
[76/202] Compiling ContainersPreview MutableRef.swift
[77/206] Emitting module ContainersPreview
[78/206] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[79/206] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[80/206] Compiling ContainersPreview BorrowingSequence.swift
[81/206] Compiling ContainersPreview BidirectionalContainer.swift
[82/206] Compiling ContainersPreview Container+Filter.swift
[83/206] Compiling ContainersPreview PermutableContainer.swift
[84/206] Compiling ContainersPreview RandomAccessContainer.swift
[85/206] Compiling ContainersPreview RangeExpression2.swift
[86/206] Compiling ContainersPreview RangeReplaceableContainer.swift
[87/206] Compiling ContainersPreview Strideable+Limits.swift
[88/206] Compiling ContainersPreview OutputSpan+Extras.swift
[89/206] Compiling ContainersPreview TemporaryAllocation.swift
[90/206] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[91/206] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[92/206] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[93/206] Compiling ContainersPreview Container+SpanwiseZip.swift
[94/206] Compiling ContainersPreview Container.swift
[95/206] Compiling ContainersPreview ContainerIterator.swift
[96/206] Compiling ContainersPreview DynamicContainer.swift
[97/206] Compiling ContainersPreview MutableContainer.swift
[98/206] Compiling ContainersPreview Drain+Map.swift
[99/206] Compiling ContainersPreview Drain+Reduce.swift
[100/206] Compiling ContainersPreview Drain.swift
[101/206] Compiling ContainersPreview Producer+Collect.swift
[102/206] Compiling ContainersPreview Producer+Filter.swift
[103/206] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[104/206] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[105/206] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[106/206] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[107/206] Compiling ContainersPreview BorrowingSequence+Algorithms.swift
[108/206] Compiling ContainersPreview Ref.swift
[109/206] Compiling ContainersPreview Shared.swift
[110/206] Compiling ContainersPreview SpanIterator.swift
[111/206] Compiling ContainersPreview UniqueBox.swift
[113/206] Emitting module Atomics
[124/248] Compiling DequeModule RigidDeque+Equatable.swift
[125/248] Compiling DequeModule RigidDeque+Experimental.swift
[126/248] Compiling DequeModule RigidDeque+Hashable.swift
[127/248] Compiling DequeModule RigidDeque+Initializers.swift
[128/248] Compiling DequeModule RigidDeque+Insertions.swift
[129/248] Compiling DequeModule RigidDeque+Prepend.swift
[130/253] Compiling DequeModule UniqueDeque+Hashable.swift
[131/253] Compiling DequeModule UniqueDeque+Initializers.swift
[132/253] Compiling DequeModule UniqueDeque+Insertions.swift
[133/253] Compiling DequeModule UniqueDeque+Prepend.swift
[134/253] Compiling DequeModule UniqueDeque+Removals.swift
[134/253] Wrapping AST for Atomics for debugging
[136/253] Compiling DequeModule RigidDeque+Removals.swift
[137/253] Compiling DequeModule RigidDeque+Replacements.swift
[138/253] Compiling DequeModule RigidDeque+Testing.swift
[139/253] Compiling DequeModule RigidDeque.swift
[140/253] Compiling DequeModule UniqueDeque+Append.swift
[141/253] Compiling DequeModule UniqueDeque+Consumption.swift
[142/253] Compiling DequeModule UniqueDeque+Container.swift
[143/253] Compiling DequeModule UniqueDeque+Deprecated.swift
[144/253] Compiling DequeModule UniqueDeque+Descriptions.swift
[145/253] Compiling DequeModule UniqueDeque+Equatable.swift
[146/253] Compiling DequeModule UniqueDeque+Experimental.swift
[147/253] Emitting module Crypto
[148/263] Compiling DequeModule Deque+Codable.swift
[149/263] Compiling DequeModule Deque+Collection.swift
[150/263] Compiling DequeModule Deque+CustomReflectable.swift
[151/263] Compiling DequeModule Deque+Descriptions.swift
[152/263] Compiling DequeModule Deque+Equatable.swift
[153/263] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[164/263] Compiling Crypto X25519Keys.swift
[165/263] Compiling Crypto SymmetricKeys.swift
[166/263] Compiling Crypto HMAC.swift
[167/263] Compiling Crypto MACFunctions.swift
[168/263] Compiling Crypto MessageAuthenticationCode.swift
[169/263] Compiling Crypto AES.swift
[170/263] Compiling Crypto ECDSASignature_boring.swift
[171/263] Compiling Crypto ECDSA_boring.swift
[172/263] Compiling Crypto EdDSA_boring.swift
[173/263] Compiling Crypto ECDSA.swift
[174/263] Compiling Crypto HPKE-AEAD.swift
[175/263] Compiling Crypto HPKE-Ciphersuite.swift
[176/263] Compiling Crypto HPKE-KDF.swift
[177/263] Compiling Crypto HPKE-KexKeyDerivation.swift
[178/263] Compiling Crypto HPKE-LabeledExtract.swift
[179/263] Compiling Crypto HPKE-Utils.swift
[180/263] Compiling Crypto DHKEM.swift
[181/263] Compiling Crypto HPKE-KEM-Curve25519.swift
[182/263] Compiling Crypto HPKE-NIST-EC-KEMs.swift
[183/263] Compiling Crypto HPKE-KEM.swift
[186/263] Compiling DequeModule Deque+Extras.swift
[187/263] Compiling DequeModule Deque+Hashable.swift
[188/263] Compiling DequeModule Deque+Testing.swift
[189/263] Compiling DequeModule Deque._Storage.swift
[190/263] Compiling DequeModule Deque._UnsafeHandle.swift
[191/263] Compiling DequeModule Deque.swift
[192/263] Compiling DequeModule _DequeBuffer.swift
[193/263] Compiling DequeModule _DequeBufferHeader.swift
[202/263] Compiling DequeModule RigidDeque+Append.swift
[203/263] Compiling DequeModule RigidDeque+Consumption.swift
[204/263] Compiling DequeModule RigidDeque+Container.swift
[205/263] Compiling DequeModule RigidDeque+Descriptions.swift
[216/263] Compiling DequeModule UniqueDeque+Replacements.swift
[217/263] Compiling DequeModule UniqueDeque.swift
[218/263] Compiling DequeModule _DequeSlot.swift
[219/263] Compiling DequeModule _UnsafeDequeHandle.swift
[220/263] Compiling DequeModule _UnsafeDequeSegments.swift
[221/263] Compiling Crypto ArraySliceBigint.swift
[222/263] Compiling Crypto GeneralizedTime.swift
[223/263] Compiling Crypto ObjectIdentifier.swift
[224/263] Compiling Crypto ECDSASignature.swift
[225/263] Compiling Crypto PEMDocument.swift
[241/263] Emitting module DequeModule
[243/327] Compiling Crypto Ed25519.swift
[244/327] Compiling Crypto Signature.swift
[245/327] Compiling Crypto CryptoKitErrors_boring.swift
[246/327] Compiling Crypto RNG_boring.swift
[247/327] Compiling Crypto SafeCompare_boring.swift
[248/327] Compiling Crypto Zeroization_boring.swift
[249/327] Compiling Crypto PrettyBytes.swift
[250/327] Compiling Crypto SafeCompare.swift
[251/327] Compiling Crypto SecureBytes.swift
[252/327] Compiling Crypto Zeroization.swift
[253/328] Wrapping AST for Crypto for debugging
[255/328] Compiling NIOCore NIOCoreSendableMetatype.swift
[256/328] Compiling NIOCore NIODecodedAsyncSequence.swift
[257/328] Compiling NIOCore NIOLoopBound.swift
[258/328] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[259/328] Compiling NIOCore NIOScheduledCallback.swift
[260/328] Compiling NIOCore NIOSendable.swift
[261/328] Compiling NIOCore NIOSplitLinesMessageDecoder.swift
[262/328] Compiling NIOCore NIOTransportAccessibleChannelCore.swift
[263/328] Compiling NIOCore RecvByteBufferAllocator.swift
[264/336] Compiling NIOCore EventLoopFuture+Deprecated.swift
[265/336] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[266/336] Compiling NIOCore EventLoopFuture.swift
[267/336] Compiling NIOCore FileDescriptor.swift
[268/336] Compiling NIOCore FileHandle.swift
[269/336] Compiling NIOCore FileRegion.swift
[270/336] Compiling NIOCore GlobalSingletons.swift
[271/336] Compiling NIOCore IO.swift
[272/336] Compiling NIOCore IOData.swift
[273/336] Compiling NIOCore AddressedEnvelope.swift
[274/336] Compiling NIOCore AsyncAwaitSupport.swift
[275/336] Compiling NIOCore AsyncChannel.swift
[276/336] Compiling NIOCore AsyncChannelHandler.swift
[277/336] Compiling NIOCore AsyncChannelInboundStream.swift
[278/336] Compiling NIOCore AsyncChannelOutboundWriter.swift
[279/336] Compiling NIOCore NIOAsyncSequenceProducer.swift
[280/336] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[281/336] Compiling NIOCore NIOAsyncWriter.swift
[282/336] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[283/336] Compiling NIOCore SocketAddresses.swift
[284/336] Compiling NIOCore SocketOptionProvider.swift
[285/336] Compiling NIOCore SystemCallHelpers.swift
[286/336] Compiling NIOCore TimeAmount+Duration.swift
[287/336] Compiling NIOCore TypeAssistedChannelHandler.swift
[288/336] Compiling NIOCore UniversalBootstrapSupport.swift
[289/336] Compiling NIOCore Utilities.swift
[290/336] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[291/336] Compiling NIOCore BSDSocketAPI.swift
[292/336] Compiling NIOCore ByteBuffer-aux.swift
[293/336] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[294/336] Compiling NIOCore ByteBuffer-conversions.swift
[295/336] Compiling NIOCore ByteBuffer-core.swift
[296/336] Compiling NIOCore ByteBuffer-hex.swift
[297/336] Compiling NIOCore ByteBuffer-int.swift
[298/336] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[299/336] Compiling NIOCore IPProtocol.swift
[300/336] Compiling NIOCore IntegerBitPacking.swift
[301/336] Compiling NIOCore IntegerTypes.swift
[302/336] Compiling NIOCore Interfaces.swift
[303/336] Compiling NIOCore Linux.swift
[304/336] Compiling NIOCore MarkedCircularBuffer.swift
[305/336] Compiling NIOCore MulticastChannel.swift
[306/336] Compiling NIOCore NIOAny.swift
[307/336] Compiling NIOCore NIOCloseOnErrorHandler.swift
[308/336] Compiling NIOCore CircularBuffer.swift
[309/336] Compiling NIOCore Codec.swift
[310/336] Compiling NIOCore ConvenienceOptionSupport.swift
[311/336] Compiling NIOCore DeadChannel.swift
[312/336] Compiling NIOCore DispatchQueue+WithFuture.swift
[313/336] Compiling NIOCore EventLoop+Deprecated.swift
[314/336] Compiling NIOCore EventLoop+SerialExecutor.swift
[315/336] Compiling NIOCore EventLoop.swift
[316/336] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[317/336] Compiling NIOCore ByteBuffer-multi-int.swift
[318/336] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[319/336] Compiling NIOCore ByteBuffer-views.swift
[320/336] Compiling NIOCore Channel.swift
[321/336] Compiling NIOCore ChannelHandler.swift
[322/336] Compiling NIOCore ChannelHandlers.swift
[323/336] Compiling NIOCore ChannelInvoker.swift
[324/336] Compiling NIOCore ChannelOption.swift
[325/336] Compiling NIOCore ChannelPipeline.swift
[326/336] Emitting module NIOCore
[328/390] Emitting module NIOEmbedded
[329/390] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[330/390] Compiling NIOEmbedded Embedded.swift
[331/390] Compiling NIOEmbedded AsyncTestingChannel.swift
[332/390] Compiling NIOPosix HappyEyeballs.swift
[333/390] Compiling NIOPosix IO.swift
[334/390] Compiling NIOPosix IntegerBitPacking.swift
[335/390] Compiling NIOPosix IntegerTypes.swift
[336/390] Compiling NIOPosix Linux.swift
[337/390] Compiling NIOPosix LinuxCPUSet.swift
[338/390] Compiling NIOPosix LinuxUring.swift
[340/397] Compiling NIOPosix Thread.swift
[341/397] Compiling NIOPosix ThreadPosix.swift
[342/397] Compiling NIOPosix ThreadWindows.swift
[343/397] Compiling NIOPosix Utilities.swift
[344/397] Compiling NIOPosix VsockAddress.swift
[345/397] Compiling NIOPosix VsockChannelEvents.swift
[346/397] Compiling NIOPosix Windows.swift
[347/397] Compiling NIOPosix SelectorWSAPoll.swift
[348/397] Compiling NIOPosix ServerSocket.swift
[349/397] Compiling NIOPosix Socket.swift
[350/397] Compiling NIOPosix SocketChannel.swift
[351/397] Compiling NIOPosix SocketProtocols.swift
[352/397] Compiling NIOPosix StructuredConcurrencyHelpers.swift
[353/397] Compiling NIOPosix System.swift
[354/397] Emitting module NIOPosix
[355/397] Compiling NIOPosix BaseStreamSocketChannel.swift
[356/397] Compiling NIOPosix Bootstrap.swift
[357/397] Compiling NIOPosix ControlMessage.swift
[358/397] Compiling NIOPosix DatagramVectorReadManager.swift
[359/397] Compiling NIOPosix Errors+Any.swift
[360/397] Compiling NIOPosix FileDescriptor.swift
[361/397] Compiling NIOPosix GetaddrinfoResolver.swift
[362/397] Compiling NIOPosix Selectable.swift
[363/397] Compiling NIOPosix SelectableChannel.swift
[364/397] Compiling NIOPosix SelectableEventLoop.swift
[365/397] Compiling NIOPosix SelectorEpoll.swift
[366/397] Compiling NIOPosix SelectorGeneric.swift
[367/397] Compiling NIOPosix SelectorKqueue.swift
[368/397] Compiling NIOPosix SelectorUring.swift
[369/397] Compiling NIOPosix PipeChannel.swift
[370/397] Compiling NIOPosix PipePair.swift
[371/397] Compiling NIOPosix Pool.swift
[372/397] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[373/397] Compiling NIOPosix PosixSingletons.swift
[374/397] Compiling NIOPosix RawSocketBootstrap.swift
[375/397] Compiling NIOPosix Resolver.swift
[376/397] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[377/397] Compiling NIOPosix NIOPosixSendableMetatype.swift
[378/397] Compiling NIOPosix NIORandomizedDNSResolver.swift
[379/397] Compiling NIOPosix NIOThreadPool.swift
[380/397] Compiling NIOPosix NonBlockingFileIO.swift
[381/397] Compiling NIOPosix PendingDatagramWritesManager.swift
[382/397] Compiling NIOPosix PendingWritesManager.swift
[383/397] Compiling NIOPosix BSDSocketAPICommon.swift
[384/397] Compiling NIOPosix BSDSocketAPIPosix.swift
[385/397] Compiling NIOPosix BSDSocketAPIWindows.swift
[386/397] Compiling NIOPosix BaseSocket.swift
[387/397] Compiling NIOPosix BaseSocketChannel+AccessibleTransport.swift
[388/397] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[389/397] Compiling NIOPosix BaseSocketChannel.swift
[391/399] Emitting module NIO
[392/399] Compiling NIO Exports.swift
[394/405] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[395/405] Compiling NIOTLS TLSEvents.swift
[396/405] Emitting module NIOTLS
[397/405] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[398/405] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[399/405] Compiling NIOTLS SNIHandler.swift
[401/435] Compiling NIOSSL AndroidCABundle.swift
[402/435] Compiling NIOSSL ByteBufferBIO.swift
[403/435] Compiling NIOSSL CustomPrivateKey.swift
[404/435] Compiling NIOSSL FreeBSDCABundle.swift
[405/435] Compiling NIOSSL IdentityVerification.swift
[406/439] Compiling NIOSSL NIOSSLServerHandler.swift
[407/439] Compiling NIOSSL ObjectIdentifier.swift
[408/439] Compiling NIOSSL PosixPort.swift
[409/439] Compiling NIOSSL SSLCallbacks.swift
[410/439] Compiling NIOSSL SubjectAlternativeName.swift
[411/439] Compiling NIOSSL NIOSSLSecureBytes.swift
[412/439] Compiling NIOSSL RNG.swift
[413/439] Compiling NIOSSL SafeCompare.swift
[414/439] Compiling NIOSSL LinuxCABundle.swift
[415/439] Compiling NIOSSL NIOSSLClientHandler.swift
[416/439] Compiling NIOSSL NIOSSLHandler+Configuration.swift
[417/439] Compiling NIOSSL NIOSSLHandler.swift
[418/439] Emitting module NIOSSL
[419/439] Compiling NIOSSL SSLPrivateKey.swift
[420/439] Compiling NIOSSL SSLPublicKey.swift
[421/439] Compiling NIOSSL SecurityFrameworkCertificateVerification.swift
[422/439] Compiling NIOSSL String+unsafeUninitializedCapacity.swift
[423/439] Compiling NIOSSL SSLCertificate.swift
[424/439] Compiling NIOSSL SSLCertificateExtensions.swift
[425/439] Compiling NIOSSL SSLCertificateName.swift
[426/439] Compiling NIOSSL SSLConnection.swift
[427/439] Compiling NIOSSL SSLContext.swift
[428/439] Compiling NIOSSL SSLErrors.swift
[429/439] Compiling NIOSSL SSLInit.swift
[430/439] Compiling NIOSSL SSLPKCS12Bundle.swift
[431/439] Compiling NIOSSL Zeroization.swift
[432/439] Compiling NIOSSL TLSConfiguration.swift
[433/439] Compiling NIOSSL UniversalBootstrapSupport.swift
[434/439] Compiling NIOSSL UnsafeKeyAndChainTarget.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[436/479] Emitting module Nats
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:54: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
119 | logger: Logger = Logger(label: "nats.client"),
120 | inboxPrefix: String = "_INBOX",
121 | writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 | writeBackpressureTimeout: Duration = .seconds(5),
123 | writeTimeout: Duration = .seconds(30),
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:67:38: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
65 | /// bounds are what stop a peer that stops reading from turning into
66 | /// unbounded memory growth on this side.
67 | public var writeBufferWaterMark: WriteBufferWaterMark
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
68 |
69 | /// How long a write waits for a saturated connection to drain before being
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:31: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
119 | logger: Logger = Logger(label: "nats.client"),
120 | inboxPrefix: String = "_INBOX",
121 | writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 | writeBackpressureTimeout: Duration = .seconds(5),
123 | writeTimeout: Duration = .seconds(30),
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:125:18: error: cannot find type 'Span' in scope
123 | /// `buffer`, whose readable bytes `bytes` views.
124 | private static func parseControlLine(
125 | _ bytes: Span<UInt8>,
| `- error: cannot find type 'Span' in scope
126 | end: Int,
127 | of buffer: borrowing ByteBuffer
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:309:37: error: cannot find type 'Span' in scope
307 |
308 | /// Offset of the first `\r\n` at or after `start`.
309 | static func firstCRLF(in bytes: Span<UInt8>, from start: Int) -> Int? {
| `- error: cannot find type 'Span' in scope
310 | var index = start
311 | let last = bytes.count - 1
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:321:54: error: cannot find type 'Span' in scope
319 | }
320 |
321 | static func firstIndex(of byte: UInt8, in bytes: Span<UInt8>, _ range: Range<Int>) -> Int? {
| `- error: cannot find type 'Span' in scope
322 | var index = range.lowerBound
323 | while index < range.upperBound {
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:334:32: error: cannot find type 'Span' in scope
332 | /// Split `range` on runs of spaces and tabs. With `maxFields`, the last
333 | /// field runs to the end of the range.
334 | static func split(_ bytes: Span<UInt8>, _ range: Range<Int>, into fields: inout Fields, maxFields: Int = Fields.capacity) {
| `- error: cannot find type 'Span' in scope
335 | var index = range.lowerBound
336 | while index < range.upperBound {
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:353:35: error: cannot find type 'Span' in scope
351 | }
352 |
353 | static func trimming(_ bytes: Span<UInt8>, _ range: Range<Int>, isStrippable: (UInt8) -> Bool) -> Range<Int> {
| `- error: cannot find type 'Span' in scope
354 | var lower = range.lowerBound
355 | var upper = range.upperBound
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:367:34: error: cannot find type 'Span' in scope
365 | /// Whether `bytes[range]` spells `word`, ignoring ASCII case unless
366 | /// `caseSensitive`.
367 | static func matches(_ bytes: Span<UInt8>, _ range: Range<Int>, _ word: StaticString, caseSensitive: Bool = false) -> Bool {
| `- error: cannot find type 'Span' in scope
368 | guard range.count == word.utf8CodeUnitCount else { return false }
369 | return word.withUTF8Buffer { expected in
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:386:34: error: cannot find type 'Span' in scope
384 |
385 | /// A non-negative decimal integer spelled by `bytes[range]`, or nil.
386 | static func integer(_ bytes: Span<UInt8>, _ range: Range<Int>) -> Int? {
| `- error: cannot find type 'Span' in scope
387 | guard !range.isEmpty, range.count <= 18 else { return nil }
388 | var value = 0
[437/484] Compiling Nats ConnectionHandler.swift
[438/484] Compiling Nats OutboundQueue.swift
[439/484] Compiling Nats Reconnection.swift
[440/484] Compiling Nats ConnectionError.swift
[441/484] Compiling Nats JetStreamError.swift
[442/484] Compiling Nats NatsError.swift
[443/484] Compiling Nats KeyValueScan.swift
[444/484] Compiling Nats KeyValueStatus.swift
[445/484] Compiling Nats KeyValueWatcher.swift
[446/484] Compiling Nats JetStreamMessage.swift
[447/484] Compiling Nats PubAck.swift
[448/484] Compiling Nats ServerInfo.swift
[449/484] Compiling Nats ServerOp.swift
[450/484] Compiling Nats Subscription.swift
[451/484] Compiling Nats TLSConfiguration.swift
[452/484] Compiling Nats TLSHandshakeObserver.swift
[453/484] Compiling Nats Stream.swift
[454/484] Compiling Nats StreamConfig.swift
[455/484] Compiling Nats StreamInfo.swift
[456/484] Compiling Nats NatsHeaders.swift
[457/484] Compiling Nats NatsMessage.swift
[458/484] Compiling Nats ProtocolError.swift
[459/484] Compiling Nats ByteBuffer+Extensions.swift
[460/484] Compiling Nats RFC3339.swift
[461/484] Compiling Nats Consumer.swift
[462/484] Compiling Nats ConsumerConfig.swift
[463/484] Compiling Nats ConsumerInfo.swift
[464/484] Compiling Nats PullInbox.swift
/host/spi-builder-workspace/Sources/Nats/JetStream/KeyValue/KeyValueBucket.swift:102:27: warning: 'as' test is always true
100 |
101 | return entry
102 | } catch let error as JetStreamError {
| `- warning: 'as' test is always true
103 | if case .apiError(let code, _, _) = error, code == 404 {
104 | return nil
/host/spi-builder-workspace/Sources/Nats/JetStream/KeyValue/KeyValueBucket.swift:450:27: warning: 'as' test is always true
448 |
449 | return KeyValueEntry.fromDirectGet(response, bucket: bucket)
450 | } catch let error as JetStreamError {
| `- warning: 'as' test is always true
451 | if case .apiError(let code, _, _) = error, code == 404 {
452 | return nil
[465/484] Compiling Nats JetStreamContext.swift
/host/spi-builder-workspace/Sources/Nats/JetStream/KeyValue/KeyValueBucket.swift:102:27: warning: 'as' test is always true
100 |
101 | return entry
102 | } catch let error as JetStreamError {
| `- warning: 'as' test is always true
103 | if case .apiError(let code, _, _) = error, code == 404 {
104 | return nil
/host/spi-builder-workspace/Sources/Nats/JetStream/KeyValue/KeyValueBucket.swift:450:27: warning: 'as' test is always true
448 |
449 | return KeyValueEntry.fromDirectGet(response, bucket: bucket)
450 | } catch let error as JetStreamError {
| `- warning: 'as' test is always true
451 | if case .apiError(let code, _, _) = error, code == 404 {
452 | return nil
[466/484] Compiling Nats KeyValueBucket.swift
/host/spi-builder-workspace/Sources/Nats/JetStream/KeyValue/KeyValueBucket.swift:102:27: warning: 'as' test is always true
100 |
101 | return entry
102 | } catch let error as JetStreamError {
| `- warning: 'as' test is always true
103 | if case .apiError(let code, _, _) = error, code == 404 {
104 | return nil
/host/spi-builder-workspace/Sources/Nats/JetStream/KeyValue/KeyValueBucket.swift:450:27: warning: 'as' test is always true
448 |
449 | return KeyValueEntry.fromDirectGet(response, bucket: bucket)
450 | } catch let error as JetStreamError {
| `- warning: 'as' test is always true
451 | if case .apiError(let code, _, _) = error, code == 404 {
452 | return nil
[467/484] Compiling Nats KeyValueConfig.swift
/host/spi-builder-workspace/Sources/Nats/JetStream/KeyValue/KeyValueBucket.swift:102:27: warning: 'as' test is always true
100 |
101 | return entry
102 | } catch let error as JetStreamError {
| `- warning: 'as' test is always true
103 | if case .apiError(let code, _, _) = error, code == 404 {
104 | return nil
/host/spi-builder-workspace/Sources/Nats/JetStream/KeyValue/KeyValueBucket.swift:450:27: warning: 'as' test is always true
448 |
449 | return KeyValueEntry.fromDirectGet(response, bucket: bucket)
450 | } catch let error as JetStreamError {
| `- warning: 'as' test is always true
451 | if case .apiError(let code, _, _) = error, code == 404 {
452 | return nil
[468/484] Compiling Nats KeyValueContext.swift
/host/spi-builder-workspace/Sources/Nats/JetStream/KeyValue/KeyValueBucket.swift:102:27: warning: 'as' test is always true
100 |
101 | return entry
102 | } catch let error as JetStreamError {
| `- warning: 'as' test is always true
103 | if case .apiError(let code, _, _) = error, code == 404 {
104 | return nil
/host/spi-builder-workspace/Sources/Nats/JetStream/KeyValue/KeyValueBucket.swift:450:27: warning: 'as' test is always true
448 |
449 | return KeyValueEntry.fromDirectGet(response, bucket: bucket)
450 | } catch let error as JetStreamError {
| `- warning: 'as' test is always true
451 | if case .apiError(let code, _, _) = error, code == 404 {
452 | return nil
[469/484] Compiling Nats KeyValueEntry.swift
/host/spi-builder-workspace/Sources/Nats/JetStream/KeyValue/KeyValueBucket.swift:102:27: warning: 'as' test is always true
100 |
101 | return entry
102 | } catch let error as JetStreamError {
| `- warning: 'as' test is always true
103 | if case .apiError(let code, _, _) = error, code == 404 {
104 | return nil
/host/spi-builder-workspace/Sources/Nats/JetStream/KeyValue/KeyValueBucket.swift:450:27: warning: 'as' test is always true
448 |
449 | return KeyValueEntry.fromDirectGet(response, bucket: bucket)
450 | } catch let error as JetStreamError {
| `- warning: 'as' test is always true
451 | if case .apiError(let code, _, _) = error, code == 404 {
452 | return nil
[470/484] Compiling Nats Subject.swift
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:125:18: error: cannot find type 'Span' in scope
123 | /// `buffer`, whose readable bytes `bytes` views.
124 | private static func parseControlLine(
125 | _ bytes: Span<UInt8>,
| `- error: cannot find type 'Span' in scope
126 | end: Int,
127 | of buffer: borrowing ByteBuffer
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:309:37: error: cannot find type 'Span' in scope
307 |
308 | /// Offset of the first `\r\n` at or after `start`.
309 | static func firstCRLF(in bytes: Span<UInt8>, from start: Int) -> Int? {
| `- error: cannot find type 'Span' in scope
310 | var index = start
311 | let last = bytes.count - 1
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:321:54: error: cannot find type 'Span' in scope
319 | }
320 |
321 | static func firstIndex(of byte: UInt8, in bytes: Span<UInt8>, _ range: Range<Int>) -> Int? {
| `- error: cannot find type 'Span' in scope
322 | var index = range.lowerBound
323 | while index < range.upperBound {
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:334:32: error: cannot find type 'Span' in scope
332 | /// Split `range` on runs of spaces and tabs. With `maxFields`, the last
333 | /// field runs to the end of the range.
334 | static func split(_ bytes: Span<UInt8>, _ range: Range<Int>, into fields: inout Fields, maxFields: Int = Fields.capacity) {
| `- error: cannot find type 'Span' in scope
335 | var index = range.lowerBound
336 | while index < range.upperBound {
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:353:35: error: cannot find type 'Span' in scope
351 | }
352 |
353 | static func trimming(_ bytes: Span<UInt8>, _ range: Range<Int>, isStrippable: (UInt8) -> Bool) -> Range<Int> {
| `- error: cannot find type 'Span' in scope
354 | var lower = range.lowerBound
355 | var upper = range.upperBound
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:367:34: error: cannot find type 'Span' in scope
365 | /// Whether `bytes[range]` spells `word`, ignoring ASCII case unless
366 | /// `caseSensitive`.
367 | static func matches(_ bytes: Span<UInt8>, _ range: Range<Int>, _ word: StaticString, caseSensitive: Bool = false) -> Bool {
| `- error: cannot find type 'Span' in scope
368 | guard range.count == word.utf8CodeUnitCount else { return false }
369 | return word.withUTF8Buffer { expected in
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:386:34: error: cannot find type 'Span' in scope
384 |
385 | /// A non-negative decimal integer spelled by `bytes[range]`, or nil.
386 | static func integer(_ bytes: Span<UInt8>, _ range: Range<Int>) -> Int? {
| `- error: cannot find type 'Span' in scope
387 | guard !range.isEmpty, range.count <= 18 else { return nil }
388 | var value = 0
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:44:32: error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
42 | // Everything that needs the bytes happens while the span is alive;
43 | // the buffer is only moved once it has ended.
44 | let bytes = buffer.readableBytesUInt8Span
| `- error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
45 | guard let lineEnd = Wire.firstCRLF(in: bytes, from: 0) else {
46 | return nil
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:209:27: error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
207 | static func parseHeaders(_ block: ByteBuffer) -> NatsHeaders {
208 | var headers = NatsHeaders()
209 | let bytes = block.readableBytesUInt8Span
| `- error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
210 | let count = bytes.count
211 |
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:407:48: error: cannot find 'readableBytesUInt8Span' in scope
405 | let lineEnd: Int
406 | do {
407 | guard let end = Wire.firstCRLF(in: readableBytesUInt8Span, from: 0) else {
| `- error: cannot find 'readableBytesUInt8Span' in scope
408 | return nil
409 | }
[471/484] Compiling Nats ClientOp.swift
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:125:18: error: cannot find type 'Span' in scope
123 | /// `buffer`, whose readable bytes `bytes` views.
124 | private static func parseControlLine(
125 | _ bytes: Span<UInt8>,
| `- error: cannot find type 'Span' in scope
126 | end: Int,
127 | of buffer: borrowing ByteBuffer
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:309:37: error: cannot find type 'Span' in scope
307 |
308 | /// Offset of the first `\r\n` at or after `start`.
309 | static func firstCRLF(in bytes: Span<UInt8>, from start: Int) -> Int? {
| `- error: cannot find type 'Span' in scope
310 | var index = start
311 | let last = bytes.count - 1
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:321:54: error: cannot find type 'Span' in scope
319 | }
320 |
321 | static func firstIndex(of byte: UInt8, in bytes: Span<UInt8>, _ range: Range<Int>) -> Int? {
| `- error: cannot find type 'Span' in scope
322 | var index = range.lowerBound
323 | while index < range.upperBound {
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:334:32: error: cannot find type 'Span' in scope
332 | /// Split `range` on runs of spaces and tabs. With `maxFields`, the last
333 | /// field runs to the end of the range.
334 | static func split(_ bytes: Span<UInt8>, _ range: Range<Int>, into fields: inout Fields, maxFields: Int = Fields.capacity) {
| `- error: cannot find type 'Span' in scope
335 | var index = range.lowerBound
336 | while index < range.upperBound {
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:353:35: error: cannot find type 'Span' in scope
351 | }
352 |
353 | static func trimming(_ bytes: Span<UInt8>, _ range: Range<Int>, isStrippable: (UInt8) -> Bool) -> Range<Int> {
| `- error: cannot find type 'Span' in scope
354 | var lower = range.lowerBound
355 | var upper = range.upperBound
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:367:34: error: cannot find type 'Span' in scope
365 | /// Whether `bytes[range]` spells `word`, ignoring ASCII case unless
366 | /// `caseSensitive`.
367 | static func matches(_ bytes: Span<UInt8>, _ range: Range<Int>, _ word: StaticString, caseSensitive: Bool = false) -> Bool {
| `- error: cannot find type 'Span' in scope
368 | guard range.count == word.utf8CodeUnitCount else { return false }
369 | return word.withUTF8Buffer { expected in
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:386:34: error: cannot find type 'Span' in scope
384 |
385 | /// A non-negative decimal integer spelled by `bytes[range]`, or nil.
386 | static func integer(_ bytes: Span<UInt8>, _ range: Range<Int>) -> Int? {
| `- error: cannot find type 'Span' in scope
387 | guard !range.isEmpty, range.count <= 18 else { return nil }
388 | var value = 0
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:44:32: error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
42 | // Everything that needs the bytes happens while the span is alive;
43 | // the buffer is only moved once it has ended.
44 | let bytes = buffer.readableBytesUInt8Span
| `- error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
45 | guard let lineEnd = Wire.firstCRLF(in: bytes, from: 0) else {
46 | return nil
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:209:27: error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
207 | static func parseHeaders(_ block: ByteBuffer) -> NatsHeaders {
208 | var headers = NatsHeaders()
209 | let bytes = block.readableBytesUInt8Span
| `- error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
210 | let count = bytes.count
211 |
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:407:48: error: cannot find 'readableBytesUInt8Span' in scope
405 | let lineEnd: Int
406 | do {
407 | guard let end = Wire.firstCRLF(in: readableBytesUInt8Span, from: 0) else {
| `- error: cannot find 'readableBytesUInt8Span' in scope
408 | return nil
409 | }
[472/484] Compiling Nats ConnectInfo.swift
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:125:18: error: cannot find type 'Span' in scope
123 | /// `buffer`, whose readable bytes `bytes` views.
124 | private static func parseControlLine(
125 | _ bytes: Span<UInt8>,
| `- error: cannot find type 'Span' in scope
126 | end: Int,
127 | of buffer: borrowing ByteBuffer
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:309:37: error: cannot find type 'Span' in scope
307 |
308 | /// Offset of the first `\r\n` at or after `start`.
309 | static func firstCRLF(in bytes: Span<UInt8>, from start: Int) -> Int? {
| `- error: cannot find type 'Span' in scope
310 | var index = start
311 | let last = bytes.count - 1
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:321:54: error: cannot find type 'Span' in scope
319 | }
320 |
321 | static func firstIndex(of byte: UInt8, in bytes: Span<UInt8>, _ range: Range<Int>) -> Int? {
| `- error: cannot find type 'Span' in scope
322 | var index = range.lowerBound
323 | while index < range.upperBound {
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:334:32: error: cannot find type 'Span' in scope
332 | /// Split `range` on runs of spaces and tabs. With `maxFields`, the last
333 | /// field runs to the end of the range.
334 | static func split(_ bytes: Span<UInt8>, _ range: Range<Int>, into fields: inout Fields, maxFields: Int = Fields.capacity) {
| `- error: cannot find type 'Span' in scope
335 | var index = range.lowerBound
336 | while index < range.upperBound {
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:353:35: error: cannot find type 'Span' in scope
351 | }
352 |
353 | static func trimming(_ bytes: Span<UInt8>, _ range: Range<Int>, isStrippable: (UInt8) -> Bool) -> Range<Int> {
| `- error: cannot find type 'Span' in scope
354 | var lower = range.lowerBound
355 | var upper = range.upperBound
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:367:34: error: cannot find type 'Span' in scope
365 | /// Whether `bytes[range]` spells `word`, ignoring ASCII case unless
366 | /// `caseSensitive`.
367 | static func matches(_ bytes: Span<UInt8>, _ range: Range<Int>, _ word: StaticString, caseSensitive: Bool = false) -> Bool {
| `- error: cannot find type 'Span' in scope
368 | guard range.count == word.utf8CodeUnitCount else { return false }
369 | return word.withUTF8Buffer { expected in
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:386:34: error: cannot find type 'Span' in scope
384 |
385 | /// A non-negative decimal integer spelled by `bytes[range]`, or nil.
386 | static func integer(_ bytes: Span<UInt8>, _ range: Range<Int>) -> Int? {
| `- error: cannot find type 'Span' in scope
387 | guard !range.isEmpty, range.count <= 18 else { return nil }
388 | var value = 0
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:44:32: error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
42 | // Everything that needs the bytes happens while the span is alive;
43 | // the buffer is only moved once it has ended.
44 | let bytes = buffer.readableBytesUInt8Span
| `- error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
45 | guard let lineEnd = Wire.firstCRLF(in: bytes, from: 0) else {
46 | return nil
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:209:27: error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
207 | static func parseHeaders(_ block: ByteBuffer) -> NatsHeaders {
208 | var headers = NatsHeaders()
209 | let bytes = block.readableBytesUInt8Span
| `- error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
210 | let count = bytes.count
211 |
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:407:48: error: cannot find 'readableBytesUInt8Span' in scope
405 | let lineEnd: Int
406 | do {
407 | guard let end = Wire.firstCRLF(in: readableBytesUInt8Span, from: 0) else {
| `- error: cannot find 'readableBytesUInt8Span' in scope
408 | return nil
409 | }
[473/484] Compiling Nats ProtocolDecoder.swift
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:125:18: error: cannot find type 'Span' in scope
123 | /// `buffer`, whose readable bytes `bytes` views.
124 | private static func parseControlLine(
125 | _ bytes: Span<UInt8>,
| `- error: cannot find type 'Span' in scope
126 | end: Int,
127 | of buffer: borrowing ByteBuffer
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:309:37: error: cannot find type 'Span' in scope
307 |
308 | /// Offset of the first `\r\n` at or after `start`.
309 | static func firstCRLF(in bytes: Span<UInt8>, from start: Int) -> Int? {
| `- error: cannot find type 'Span' in scope
310 | var index = start
311 | let last = bytes.count - 1
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:321:54: error: cannot find type 'Span' in scope
319 | }
320 |
321 | static func firstIndex(of byte: UInt8, in bytes: Span<UInt8>, _ range: Range<Int>) -> Int? {
| `- error: cannot find type 'Span' in scope
322 | var index = range.lowerBound
323 | while index < range.upperBound {
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:334:32: error: cannot find type 'Span' in scope
332 | /// Split `range` on runs of spaces and tabs. With `maxFields`, the last
333 | /// field runs to the end of the range.
334 | static func split(_ bytes: Span<UInt8>, _ range: Range<Int>, into fields: inout Fields, maxFields: Int = Fields.capacity) {
| `- error: cannot find type 'Span' in scope
335 | var index = range.lowerBound
336 | while index < range.upperBound {
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:353:35: error: cannot find type 'Span' in scope
351 | }
352 |
353 | static func trimming(_ bytes: Span<UInt8>, _ range: Range<Int>, isStrippable: (UInt8) -> Bool) -> Range<Int> {
| `- error: cannot find type 'Span' in scope
354 | var lower = range.lowerBound
355 | var upper = range.upperBound
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:367:34: error: cannot find type 'Span' in scope
365 | /// Whether `bytes[range]` spells `word`, ignoring ASCII case unless
366 | /// `caseSensitive`.
367 | static func matches(_ bytes: Span<UInt8>, _ range: Range<Int>, _ word: StaticString, caseSensitive: Bool = false) -> Bool {
| `- error: cannot find type 'Span' in scope
368 | guard range.count == word.utf8CodeUnitCount else { return false }
369 | return word.withUTF8Buffer { expected in
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:386:34: error: cannot find type 'Span' in scope
384 |
385 | /// A non-negative decimal integer spelled by `bytes[range]`, or nil.
386 | static func integer(_ bytes: Span<UInt8>, _ range: Range<Int>) -> Int? {
| `- error: cannot find type 'Span' in scope
387 | guard !range.isEmpty, range.count <= 18 else { return nil }
388 | var value = 0
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:44:32: error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
42 | // Everything that needs the bytes happens while the span is alive;
43 | // the buffer is only moved once it has ended.
44 | let bytes = buffer.readableBytesUInt8Span
| `- error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
45 | guard let lineEnd = Wire.firstCRLF(in: bytes, from: 0) else {
46 | return nil
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:209:27: error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
207 | static func parseHeaders(_ block: ByteBuffer) -> NatsHeaders {
208 | var headers = NatsHeaders()
209 | let bytes = block.readableBytesUInt8Span
| `- error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
210 | let count = bytes.count
211 |
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:407:48: error: cannot find 'readableBytesUInt8Span' in scope
405 | let lineEnd: Int
406 | do {
407 | guard let end = Wire.firstCRLF(in: readableBytesUInt8Span, from: 0) else {
| `- error: cannot find 'readableBytesUInt8Span' in scope
408 | return nil
409 | }
[474/484] Compiling Nats ProtocolEncoder.swift
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:125:18: error: cannot find type 'Span' in scope
123 | /// `buffer`, whose readable bytes `bytes` views.
124 | private static func parseControlLine(
125 | _ bytes: Span<UInt8>,
| `- error: cannot find type 'Span' in scope
126 | end: Int,
127 | of buffer: borrowing ByteBuffer
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:309:37: error: cannot find type 'Span' in scope
307 |
308 | /// Offset of the first `\r\n` at or after `start`.
309 | static func firstCRLF(in bytes: Span<UInt8>, from start: Int) -> Int? {
| `- error: cannot find type 'Span' in scope
310 | var index = start
311 | let last = bytes.count - 1
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:321:54: error: cannot find type 'Span' in scope
319 | }
320 |
321 | static func firstIndex(of byte: UInt8, in bytes: Span<UInt8>, _ range: Range<Int>) -> Int? {
| `- error: cannot find type 'Span' in scope
322 | var index = range.lowerBound
323 | while index < range.upperBound {
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:334:32: error: cannot find type 'Span' in scope
332 | /// Split `range` on runs of spaces and tabs. With `maxFields`, the last
333 | /// field runs to the end of the range.
334 | static func split(_ bytes: Span<UInt8>, _ range: Range<Int>, into fields: inout Fields, maxFields: Int = Fields.capacity) {
| `- error: cannot find type 'Span' in scope
335 | var index = range.lowerBound
336 | while index < range.upperBound {
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:353:35: error: cannot find type 'Span' in scope
351 | }
352 |
353 | static func trimming(_ bytes: Span<UInt8>, _ range: Range<Int>, isStrippable: (UInt8) -> Bool) -> Range<Int> {
| `- error: cannot find type 'Span' in scope
354 | var lower = range.lowerBound
355 | var upper = range.upperBound
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:367:34: error: cannot find type 'Span' in scope
365 | /// Whether `bytes[range]` spells `word`, ignoring ASCII case unless
366 | /// `caseSensitive`.
367 | static func matches(_ bytes: Span<UInt8>, _ range: Range<Int>, _ word: StaticString, caseSensitive: Bool = false) -> Bool {
| `- error: cannot find type 'Span' in scope
368 | guard range.count == word.utf8CodeUnitCount else { return false }
369 | return word.withUTF8Buffer { expected in
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:386:34: error: cannot find type 'Span' in scope
384 |
385 | /// A non-negative decimal integer spelled by `bytes[range]`, or nil.
386 | static func integer(_ bytes: Span<UInt8>, _ range: Range<Int>) -> Int? {
| `- error: cannot find type 'Span' in scope
387 | guard !range.isEmpty, range.count <= 18 else { return nil }
388 | var value = 0
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:44:32: error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
42 | // Everything that needs the bytes happens while the span is alive;
43 | // the buffer is only moved once it has ended.
44 | let bytes = buffer.readableBytesUInt8Span
| `- error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
45 | guard let lineEnd = Wire.firstCRLF(in: bytes, from: 0) else {
46 | return nil
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:209:27: error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
207 | static func parseHeaders(_ block: ByteBuffer) -> NatsHeaders {
208 | var headers = NatsHeaders()
209 | let bytes = block.readableBytesUInt8Span
| `- error: value of type 'ByteBuffer' has no member 'readableBytesUInt8Span'
210 | let count = bytes.count
211 |
/host/spi-builder-workspace/Sources/Nats/Protocol/ProtocolDecoder.swift:407:48: error: cannot find 'readableBytesUInt8Span' in scope
405 | let lineEnd: Int
406 | do {
407 | guard let end = Wire.firstCRLF(in: readableBytesUInt8Span, from: 0) else {
| `- error: cannot find 'readableBytesUInt8Span' in scope
408 | return nil
409 | }
[475/484] Compiling Nats AuthHandler.swift
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:54: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
119 | logger: Logger = Logger(label: "nats.client"),
120 | inboxPrefix: String = "_INBOX",
121 | writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 | writeBackpressureTimeout: Duration = .seconds(5),
123 | writeTimeout: Duration = .seconds(30),
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:826:21: warning: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable
824 | .channelInitializer { channel in
825 | channel.pipeline.addHandlers([
826 | MessageToByteHandler(ProtocolEncoder(logger: protocolLogger)),
| `- warning: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable
827 | ByteToMessageHandler(ProtocolDecoder(logger: protocolLogger)),
828 | handler
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:810:1: note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
808 |
809 | @available(*, unavailable)
810 | extension MessageToByteHandler: Sendable {}
| `- note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
811 |
812 | extension MessageToByteHandler {
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:827:21: warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable
825 | channel.pipeline.addHandlers([
826 | MessageToByteHandler(ProtocolEncoder(logger: protocolLogger)),
827 | ByteToMessageHandler(ProtocolDecoder(logger: protocolLogger)),
| `- warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable
828 | handler
829 | ])
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:507:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
505 |
506 | @available(*, unavailable)
507 | extension ByteToMessageHandler: Sendable {}
| `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
508 |
509 | // MARK: ByteToMessageHandler: Test Helpers
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:1095:47: warning: type 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
1093 | Task { await self?.markTLSHandshakeCompleted(generation: generation) }
1094 | }
1095 | try await channel.pipeline.addHandler(observer, position: .first).get()
| `- warning: type 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
1096 |
1097 | // Add TLS handler at the front of the pipeline (before protocol encoder/decoder)
/host/spi-builder-workspace/Sources/Nats/TLS/TLSHandshakeObserver.swift:15:13: note: class 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
13 | /// ClientHello from a peer that never sent INFO — both simply run out the
14 | /// connect deadline and report a bare timeout.
15 | final class TLSHandshakeObserver: ChannelInboundHandler {
| `- note: class 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
16 | typealias InboundIn = Any
17 | typealias InboundOut = Any
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:1098:47: warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable
1096 |
1097 | // Add TLS handler at the front of the pipeline (before protocol encoder/decoder)
1098 | try await channel.pipeline.addHandler(sslHandler, position: .first).get()
| `- warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable
1099 |
1100 | logger.debug("TLS handler added to pipeline")
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/NIOSSLClientHandler.swift:294:1: note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
292 | #if compiler(<6.2)
293 | @available(*, unavailable)
294 | extension NIOSSLClientHandler: Sendable {}
| `- note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
295 | #endif
296 |
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:67:38: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
65 | /// bounds are what stop a peer that stops reading from turning into
66 | /// unbounded memory growth on this side.
67 | public var writeBufferWaterMark: WriteBufferWaterMark
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
68 |
69 | /// How long a write waits for a saturated connection to drain before being
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:31: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
119 | logger: Logger = Logger(label: "nats.client"),
120 | inboxPrefix: String = "_INBOX",
121 | writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 | writeBackpressureTimeout: Duration = .seconds(5),
123 | writeTimeout: Duration = .seconds(30),
[476/484] Compiling Nats JWTAuth.swift
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:54: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
119 | logger: Logger = Logger(label: "nats.client"),
120 | inboxPrefix: String = "_INBOX",
121 | writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 | writeBackpressureTimeout: Duration = .seconds(5),
123 | writeTimeout: Duration = .seconds(30),
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:826:21: warning: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable
824 | .channelInitializer { channel in
825 | channel.pipeline.addHandlers([
826 | MessageToByteHandler(ProtocolEncoder(logger: protocolLogger)),
| `- warning: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable
827 | ByteToMessageHandler(ProtocolDecoder(logger: protocolLogger)),
828 | handler
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:810:1: note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
808 |
809 | @available(*, unavailable)
810 | extension MessageToByteHandler: Sendable {}
| `- note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
811 |
812 | extension MessageToByteHandler {
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:827:21: warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable
825 | channel.pipeline.addHandlers([
826 | MessageToByteHandler(ProtocolEncoder(logger: protocolLogger)),
827 | ByteToMessageHandler(ProtocolDecoder(logger: protocolLogger)),
| `- warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable
828 | handler
829 | ])
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:507:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
505 |
506 | @available(*, unavailable)
507 | extension ByteToMessageHandler: Sendable {}
| `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
508 |
509 | // MARK: ByteToMessageHandler: Test Helpers
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:1095:47: warning: type 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
1093 | Task { await self?.markTLSHandshakeCompleted(generation: generation) }
1094 | }
1095 | try await channel.pipeline.addHandler(observer, position: .first).get()
| `- warning: type 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
1096 |
1097 | // Add TLS handler at the front of the pipeline (before protocol encoder/decoder)
/host/spi-builder-workspace/Sources/Nats/TLS/TLSHandshakeObserver.swift:15:13: note: class 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
13 | /// ClientHello from a peer that never sent INFO — both simply run out the
14 | /// connect deadline and report a bare timeout.
15 | final class TLSHandshakeObserver: ChannelInboundHandler {
| `- note: class 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
16 | typealias InboundIn = Any
17 | typealias InboundOut = Any
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:1098:47: warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable
1096 |
1097 | // Add TLS handler at the front of the pipeline (before protocol encoder/decoder)
1098 | try await channel.pipeline.addHandler(sslHandler, position: .first).get()
| `- warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable
1099 |
1100 | logger.debug("TLS handler added to pipeline")
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/NIOSSLClientHandler.swift:294:1: note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
292 | #if compiler(<6.2)
293 | @available(*, unavailable)
294 | extension NIOSSLClientHandler: Sendable {}
| `- note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
295 | #endif
296 |
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:67:38: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
65 | /// bounds are what stop a peer that stops reading from turning into
66 | /// unbounded memory growth on this side.
67 | public var writeBufferWaterMark: WriteBufferWaterMark
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
68 |
69 | /// How long a write waits for a saturated connection to drain before being
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:31: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
119 | logger: Logger = Logger(label: "nats.client"),
120 | inboxPrefix: String = "_INBOX",
121 | writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 | writeBackpressureTimeout: Duration = .seconds(5),
123 | writeTimeout: Duration = .seconds(30),
[477/484] Compiling Nats NKeyAuth.swift
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:54: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
119 | logger: Logger = Logger(label: "nats.client"),
120 | inboxPrefix: String = "_INBOX",
121 | writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 | writeBackpressureTimeout: Duration = .seconds(5),
123 | writeTimeout: Duration = .seconds(30),
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:826:21: warning: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable
824 | .channelInitializer { channel in
825 | channel.pipeline.addHandlers([
826 | MessageToByteHandler(ProtocolEncoder(logger: protocolLogger)),
| `- warning: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable
827 | ByteToMessageHandler(ProtocolDecoder(logger: protocolLogger)),
828 | handler
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:810:1: note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
808 |
809 | @available(*, unavailable)
810 | extension MessageToByteHandler: Sendable {}
| `- note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
811 |
812 | extension MessageToByteHandler {
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:827:21: warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable
825 | channel.pipeline.addHandlers([
826 | MessageToByteHandler(ProtocolEncoder(logger: protocolLogger)),
827 | ByteToMessageHandler(ProtocolDecoder(logger: protocolLogger)),
| `- warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable
828 | handler
829 | ])
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:507:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
505 |
506 | @available(*, unavailable)
507 | extension ByteToMessageHandler: Sendable {}
| `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
508 |
509 | // MARK: ByteToMessageHandler: Test Helpers
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:1095:47: warning: type 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
1093 | Task { await self?.markTLSHandshakeCompleted(generation: generation) }
1094 | }
1095 | try await channel.pipeline.addHandler(observer, position: .first).get()
| `- warning: type 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
1096 |
1097 | // Add TLS handler at the front of the pipeline (before protocol encoder/decoder)
/host/spi-builder-workspace/Sources/Nats/TLS/TLSHandshakeObserver.swift:15:13: note: class 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
13 | /// ClientHello from a peer that never sent INFO — both simply run out the
14 | /// connect deadline and report a bare timeout.
15 | final class TLSHandshakeObserver: ChannelInboundHandler {
| `- note: class 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
16 | typealias InboundIn = Any
17 | typealias InboundOut = Any
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:1098:47: warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable
1096 |
1097 | // Add TLS handler at the front of the pipeline (before protocol encoder/decoder)
1098 | try await channel.pipeline.addHandler(sslHandler, position: .first).get()
| `- warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable
1099 |
1100 | logger.debug("TLS handler added to pipeline")
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/NIOSSLClientHandler.swift:294:1: note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
292 | #if compiler(<6.2)
293 | @available(*, unavailable)
294 | extension NIOSSLClientHandler: Sendable {}
| `- note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
295 | #endif
296 |
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:67:38: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
65 | /// bounds are what stop a peer that stops reading from turning into
66 | /// unbounded memory growth on this side.
67 | public var writeBufferWaterMark: WriteBufferWaterMark
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
68 |
69 | /// How long a write waits for a saturated connection to drain before being
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:31: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
119 | logger: Logger = Logger(label: "nats.client"),
120 | inboxPrefix: String = "_INBOX",
121 | writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 | writeBackpressureTimeout: Duration = .seconds(5),
123 | writeTimeout: Duration = .seconds(30),
[478/484] Compiling Nats ClientStateMachine.swift
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:54: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
119 | logger: Logger = Logger(label: "nats.client"),
120 | inboxPrefix: String = "_INBOX",
121 | writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 | writeBackpressureTimeout: Duration = .seconds(5),
123 | writeTimeout: Duration = .seconds(30),
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:826:21: warning: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable
824 | .channelInitializer { channel in
825 | channel.pipeline.addHandlers([
826 | MessageToByteHandler(ProtocolEncoder(logger: protocolLogger)),
| `- warning: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable
827 | ByteToMessageHandler(ProtocolDecoder(logger: protocolLogger)),
828 | handler
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:810:1: note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
808 |
809 | @available(*, unavailable)
810 | extension MessageToByteHandler: Sendable {}
| `- note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
811 |
812 | extension MessageToByteHandler {
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:827:21: warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable
825 | channel.pipeline.addHandlers([
826 | MessageToByteHandler(ProtocolEncoder(logger: protocolLogger)),
827 | ByteToMessageHandler(ProtocolDecoder(logger: protocolLogger)),
| `- warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable
828 | handler
829 | ])
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:507:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
505 |
506 | @available(*, unavailable)
507 | extension ByteToMessageHandler: Sendable {}
| `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
508 |
509 | // MARK: ByteToMessageHandler: Test Helpers
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:1095:47: warning: type 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
1093 | Task { await self?.markTLSHandshakeCompleted(generation: generation) }
1094 | }
1095 | try await channel.pipeline.addHandler(observer, position: .first).get()
| `- warning: type 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
1096 |
1097 | // Add TLS handler at the front of the pipeline (before protocol encoder/decoder)
/host/spi-builder-workspace/Sources/Nats/TLS/TLSHandshakeObserver.swift:15:13: note: class 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
13 | /// ClientHello from a peer that never sent INFO — both simply run out the
14 | /// connect deadline and report a bare timeout.
15 | final class TLSHandshakeObserver: ChannelInboundHandler {
| `- note: class 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
16 | typealias InboundIn = Any
17 | typealias InboundOut = Any
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:1098:47: warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable
1096 |
1097 | // Add TLS handler at the front of the pipeline (before protocol encoder/decoder)
1098 | try await channel.pipeline.addHandler(sslHandler, position: .first).get()
| `- warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable
1099 |
1100 | logger.debug("TLS handler added to pipeline")
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/NIOSSLClientHandler.swift:294:1: note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
292 | #if compiler(<6.2)
293 | @available(*, unavailable)
294 | extension NIOSSLClientHandler: Sendable {}
| `- note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
295 | #endif
296 |
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:67:38: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
65 | /// bounds are what stop a peer that stops reading from turning into
66 | /// unbounded memory growth on this side.
67 | public var writeBufferWaterMark: WriteBufferWaterMark
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
68 |
69 | /// How long a write waits for a saturated connection to drain before being
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:31: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
119 | logger: Logger = Logger(label: "nats.client"),
120 | inboxPrefix: String = "_INBOX",
121 | writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 | writeBackpressureTimeout: Duration = .seconds(5),
123 | writeTimeout: Duration = .seconds(30),
[479/484] Compiling Nats NatsClient.swift
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:54: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
119 | logger: Logger = Logger(label: "nats.client"),
120 | inboxPrefix: String = "_INBOX",
121 | writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 | writeBackpressureTimeout: Duration = .seconds(5),
123 | writeTimeout: Duration = .seconds(30),
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:826:21: warning: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable
824 | .channelInitializer { channel in
825 | channel.pipeline.addHandlers([
826 | MessageToByteHandler(ProtocolEncoder(logger: protocolLogger)),
| `- warning: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable
827 | ByteToMessageHandler(ProtocolDecoder(logger: protocolLogger)),
828 | handler
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:810:1: note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
808 |
809 | @available(*, unavailable)
810 | extension MessageToByteHandler: Sendable {}
| `- note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
811 |
812 | extension MessageToByteHandler {
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:827:21: warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable
825 | channel.pipeline.addHandlers([
826 | MessageToByteHandler(ProtocolEncoder(logger: protocolLogger)),
827 | ByteToMessageHandler(ProtocolDecoder(logger: protocolLogger)),
| `- warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable
828 | handler
829 | ])
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:507:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
505 |
506 | @available(*, unavailable)
507 | extension ByteToMessageHandler: Sendable {}
| `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
508 |
509 | // MARK: ByteToMessageHandler: Test Helpers
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:1095:47: warning: type 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
1093 | Task { await self?.markTLSHandshakeCompleted(generation: generation) }
1094 | }
1095 | try await channel.pipeline.addHandler(observer, position: .first).get()
| `- warning: type 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
1096 |
1097 | // Add TLS handler at the front of the pipeline (before protocol encoder/decoder)
/host/spi-builder-workspace/Sources/Nats/TLS/TLSHandshakeObserver.swift:15:13: note: class 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
13 | /// ClientHello from a peer that never sent INFO — both simply run out the
14 | /// connect deadline and report a bare timeout.
15 | final class TLSHandshakeObserver: ChannelInboundHandler {
| `- note: class 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
16 | typealias InboundIn = Any
17 | typealias InboundOut = Any
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:1098:47: warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable
1096 |
1097 | // Add TLS handler at the front of the pipeline (before protocol encoder/decoder)
1098 | try await channel.pipeline.addHandler(sslHandler, position: .first).get()
| `- warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable
1099 |
1100 | logger.debug("TLS handler added to pipeline")
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/NIOSSLClientHandler.swift:294:1: note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
292 | #if compiler(<6.2)
293 | @available(*, unavailable)
294 | extension NIOSSLClientHandler: Sendable {}
| `- note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
295 | #endif
296 |
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:67:38: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
65 | /// bounds are what stop a peer that stops reading from turning into
66 | /// unbounded memory growth on this side.
67 | public var writeBufferWaterMark: WriteBufferWaterMark
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
68 |
69 | /// How long a write waits for a saturated connection to drain before being
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:31: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
119 | logger: Logger = Logger(label: "nats.client"),
120 | inboxPrefix: String = "_INBOX",
121 | writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 | writeBackpressureTimeout: Duration = .seconds(5),
123 | writeTimeout: Duration = .seconds(30),
[480/484] Compiling Nats NatsClientOptions.swift
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:54: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
119 | logger: Logger = Logger(label: "nats.client"),
120 | inboxPrefix: String = "_INBOX",
121 | writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 | writeBackpressureTimeout: Duration = .seconds(5),
123 | writeTimeout: Duration = .seconds(30),
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:826:21: warning: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable
824 | .channelInitializer { channel in
825 | channel.pipeline.addHandlers([
826 | MessageToByteHandler(ProtocolEncoder(logger: protocolLogger)),
| `- warning: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable
827 | ByteToMessageHandler(ProtocolDecoder(logger: protocolLogger)),
828 | handler
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:810:1: note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
808 |
809 | @available(*, unavailable)
810 | extension MessageToByteHandler: Sendable {}
| `- note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
811 |
812 | extension MessageToByteHandler {
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:827:21: warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable
825 | channel.pipeline.addHandlers([
826 | MessageToByteHandler(ProtocolEncoder(logger: protocolLogger)),
827 | ByteToMessageHandler(ProtocolDecoder(logger: protocolLogger)),
| `- warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable
828 | handler
829 | ])
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:507:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
505 |
506 | @available(*, unavailable)
507 | extension ByteToMessageHandler: Sendable {}
| `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
508 |
509 | // MARK: ByteToMessageHandler: Test Helpers
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:1095:47: warning: type 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
1093 | Task { await self?.markTLSHandshakeCompleted(generation: generation) }
1094 | }
1095 | try await channel.pipeline.addHandler(observer, position: .first).get()
| `- warning: type 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
1096 |
1097 | // Add TLS handler at the front of the pipeline (before protocol encoder/decoder)
/host/spi-builder-workspace/Sources/Nats/TLS/TLSHandshakeObserver.swift:15:13: note: class 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
13 | /// ClientHello from a peer that never sent INFO — both simply run out the
14 | /// connect deadline and report a bare timeout.
15 | final class TLSHandshakeObserver: ChannelInboundHandler {
| `- note: class 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol
16 | typealias InboundIn = Any
17 | typealias InboundOut = Any
/host/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:1098:47: warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable
1096 |
1097 | // Add TLS handler at the front of the pipeline (before protocol encoder/decoder)
1098 | try await channel.pipeline.addHandler(sslHandler, position: .first).get()
| `- warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable
1099 |
1100 | logger.debug("TLS handler added to pipeline")
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/NIOSSLClientHandler.swift:294:1: note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
292 | #if compiler(<6.2)
293 | @available(*, unavailable)
294 | extension NIOSSLClientHandler: Sendable {}
| `- note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
295 | #endif
296 |
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:67:38: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
65 | /// bounds are what stop a peer that stops reading from turning into
66 | /// unbounded memory growth on this side.
67 | public var writeBufferWaterMark: WriteBufferWaterMark
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
68 |
69 | /// How long a write waits for a saturated connection to drain before being
/host/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:31: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
119 | logger: Logger = Logger(label: "nats.client"),
120 | inboxPrefix: String = "_INBOX",
121 | writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
| |- warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'
| `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 | writeBackpressureTimeout: Duration = .seconds(5),
123 | writeTimeout: Duration = .seconds(30),
BUILD FAILURE 6.1 android