Build Information
Failed to build swift-nats, reference main (1ef27d), with Swift 6.1 for Android on 30 Oct 2026 00:10:24 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-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
[1204/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
[1205/1213] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.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
[1206/1213] Compiling NIOTLS ApplicationProtocolNegotiationHandler.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] Compiling NIOTLS SNIHandler.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
[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 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
[1212/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
[1213/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
[1214/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
[1215/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
[1216/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
[1217/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
[1218/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
[1219/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
[1220/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
[1221/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
[1222/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
[1223/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
[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 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
[1233/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
[1234/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
[1235/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
[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 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
[1248/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
[1249/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
[1250/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
[1251/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
[1252/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
[1253/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
[1254/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
[1255/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
[1256/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
[1257/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
[1258/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
[1259/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
[1260/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
[1261/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
[1262/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
[1263/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
[1264/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
[1265/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
[1266/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
[1267/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
[1268/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
[1269/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
[1270/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
[1271/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
[1272/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
[1273/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
[1274/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 | }
[1275/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 | }
[1276/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 | }
[1277/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 | }
[1278/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 | }
[1279/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
[1280/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
[1281/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
[1282/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
[1283/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
[1284/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
[1285/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:821:1: note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
819 |
820 | @available(*, unavailable)
821 | extension MessageToByteHandler: Sendable {}
| `- note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
822 |
823 | 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:509:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
507 |
508 | @available(*, unavailable)
509 | extension ByteToMessageHandler: Sendable where Decoder: ~Copyable {}
| `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
510 |
511 | // 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),
[1286/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:821:1: note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
819 |
820 | @available(*, unavailable)
821 | extension MessageToByteHandler: Sendable {}
| `- note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
822 |
823 | 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:509:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
507 |
508 | @available(*, unavailable)
509 | extension ByteToMessageHandler: Sendable where Decoder: ~Copyable {}
| `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
510 |
511 | // 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),
[1287/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:821:1: note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
819 |
820 | @available(*, unavailable)
821 | extension MessageToByteHandler: Sendable {}
| `- note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
822 |
823 | 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:509:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
507 |
508 | @available(*, unavailable)
509 | extension ByteToMessageHandler: Sendable where Decoder: ~Copyable {}
| `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
510 |
511 | // 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),
[1288/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:821:1: note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
819 |
820 | @available(*, unavailable)
821 | extension MessageToByteHandler: Sendable {}
| `- note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
822 |
823 | 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:509:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
507 |
508 | @available(*, unavailable)
509 | extension ByteToMessageHandler: Sendable where Decoder: ~Copyable {}
| `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
510 |
511 | // 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),
[1289/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:821:1: note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
819 |
820 | @available(*, unavailable)
821 | extension MessageToByteHandler: Sendable {}
| `- note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
822 |
823 | 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:509:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
507 |
508 | @available(*, unavailable)
509 | extension ByteToMessageHandler: Sendable where Decoder: ~Copyable {}
| `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
510 |
511 | // 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),
[1290/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:821:1: note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
819 |
820 | @available(*, unavailable)
821 | extension MessageToByteHandler: Sendable {}
| `- note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
822 |
823 | 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:509:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
507 |
508 | @available(*, unavailable)
509 | extension ByteToMessageHandler: Sendable where Decoder: ~Copyable {}
| `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
510 |
511 | // 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),
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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:1af1ef9e2b8f7a959ad4dced2035c22f050ae85f531ed2857472423d8f2ef4d3
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 Atomics AtomicOptionalWrappable.swift
[3/89] Compiling Atomics AtomicReference.swift
[4/91] Compiling NIOConcurrencyHelpers NIOLock.swift
[5/91] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[6/91] Compiling InternalCollectionsUtilities _SortedCollection.swift
[7/91] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[8/91] Compiling CryptoBoringWrapper EllipticCurve.swift
[9/91] Compiling _NIODataStructures Heap.swift
[10/91] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[11/91] Compiling CryptoBoringWrapper FiniteFieldArithmeticContext.swift
[12/91] Compiling CryptoBoringWrapper RandomBytes.swift
[13/91] Emitting module CryptoBoringWrapper
[14/91] Compiling Logging LoggingSystem.swift
[15/92] Compiling NIOConcurrencyHelpers atomics.swift
[16/92] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[17/92] Compiling NIOConcurrencyHelpers lock.swift
[18/92] Compiling InternalCollectionsUtilities Debugging.swift
[19/92] Compiling InternalCollectionsUtilities Descriptions.swift
[20/92] Compiling Atomics AtomicMemoryOrderings.swift
[21/92] Compiling Atomics DoubleWord.swift
[22/92] Compiling Atomics AtomicInteger.swift
[25/92] Compiling Atomics UnsafeAtomic.swift
[26/92] Compiling Atomics UnsafeAtomicLazyReference.swift
[27/94] Compiling _NIODataStructures PriorityQueue.swift
[28/94] Compiling _NIODataStructures _TinyArray.swift
[29/94] Compiling Logging SwiftLogNoOpLogHandler.swift
[30/94] Compiling Logging Locks.swift
[31/94] Compiling Logging Logger+Attributes.swift
[32/94] Compiling Logging LogEvent.swift
[33/94] Compiling Logging LogHandler.swift
[34/94] Emitting module _NIOBase64
[37/94] Compiling _NIOBase64 Base64.swift
[38/94] Emitting module _NIODataStructures
[39/96] Emitting module NIOConcurrencyHelpers
[41/96] Emitting module InternalCollectionsUtilities
[44/95] Compiling Atomics IntegerOperations.swift
[45/95] Compiling Atomics Unmanaged extensions.swift
[46/95] Compiling Logging MetadataProvider.swift
[49/95] Compiling Logging MultiplexLogHandler.swift
[50/95] Compiling Logging StreamLogHandler.swift
[58/95] Compiling Atomics AtomicStorage.swift
[59/95] Compiling Atomics AtomicValue.swift
[60/95] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
[61/95] Compiling CryptoBoringWrapper ArbitraryPrecisionInteger.swift
[62/95] Compiling CryptoBoringWrapper EllipticCurvePoint.swift
[63/95] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
[64/96] Emitting module Logging
unable to find node: pound
unable to find node: pound
[67/96] Compiling Logging Logger+With.swift
unable to find node: pound
unable to find node: pound
[68/96] Compiling Logging Logger.swift
[71/95] Wrapping AST for CryptoBoringWrapper for debugging
[73/168] Compiling Crypto Nonces.swift
[74/168] Compiling Crypto ASN1.swift
[75/168] Compiling Crypto ASN1Any.swift
[76/168] Compiling Crypto ASN1BitString.swift
[77/168] Compiling Crypto ASN1Boolean.swift
[78/206] Compiling Crypto HPKE-AEAD.swift
[79/206] Compiling Crypto HPKE-Ciphersuite.swift
[80/206] Compiling Crypto HPKE-KDF.swift
[81/206] Compiling Crypto HPKE-KexKeyDerivation.swift
[82/206] Compiling Crypto HPKE-LabeledExtract.swift
[83/206] Compiling Crypto PKCS8PrivateKey.swift
[84/206] Compiling Crypto SEC1PrivateKey.swift
[85/206] Compiling Crypto SubjectPublicKeyInfo.swift
[86/206] Compiling Crypto CryptoError_boring.swift
[87/206] Compiling Crypto CryptoKitErrors.swift
[88/206] Compiling Crypto AES-GCM.swift
[89/206] Compiling Crypto AES-GCM_boring.swift
[90/206] Compiling Crypto ChaChaPoly_boring.swift
[91/206] Compiling Crypto ChaChaPoly.swift
[92/206] Compiling Crypto Cipher.swift
[93/206] Compiling Crypto ASN1Identifier.swift
[94/206] Compiling Crypto ASN1Integer.swift
[95/206] Compiling Crypto ASN1Null.swift
[96/206] Compiling Crypto ASN1OctetString.swift
[97/206] Compiling Crypto ASN1Strings.swift
[98/206] Compiling Crypto HPKE-Utils.swift
[99/206] Compiling Crypto DHKEM.swift
[100/206] Compiling Crypto HPKE-KEM-Curve25519.swift
[101/206] Compiling Crypto HPKE-NIST-EC-KEMs.swift
[102/206] Compiling Crypto HPKE-KEM.swift
[103/206] Emitting module ContainersPreview
[104/206] Compiling Crypto ArraySliceBigint.swift
[105/206] Compiling Crypto GeneralizedTime.swift
[106/206] Compiling Crypto ObjectIdentifier.swift
[107/206] Compiling Crypto ECDSASignature.swift
[108/206] Compiling Crypto PEMDocument.swift
[109/206] Compiling ContainersPreview Ref.swift
[110/206] Compiling ContainersPreview Shared.swift
[111/206] Compiling ContainersPreview SpanIterator.swift
[112/206] Compiling ContainersPreview UniqueBox.swift
[114/206] Emitting module Atomics
[115/247] Compiling DequeModule UniqueDeque+Hashable.swift
[116/247] Compiling DequeModule UniqueDeque+Initializers.swift
[117/247] Compiling DequeModule UniqueDeque+Insertions.swift
[118/247] Compiling DequeModule UniqueDeque+Prepend.swift
[119/247] Compiling DequeModule UniqueDeque+Removals.swift
[120/247] Compiling DequeModule RigidDeque+Equatable.swift
[121/247] Compiling DequeModule RigidDeque+Experimental.swift
[122/247] Compiling DequeModule RigidDeque+Hashable.swift
[123/247] Compiling DequeModule RigidDeque+Initializers.swift
[124/247] Compiling DequeModule RigidDeque+Insertions.swift
[125/247] Compiling DequeModule RigidDeque+Prepend.swift
[126/252] Compiling DequeModule UniqueDeque+Container.swift
[127/252] Compiling DequeModule UniqueDeque+Deprecated.swift
[128/252] Compiling DequeModule UniqueDeque+Descriptions.swift
[129/252] Compiling DequeModule UniqueDeque+Equatable.swift
[130/252] Compiling DequeModule UniqueDeque+Experimental.swift
[131/252] Compiling DequeModule Deque+CustomReflectable.swift
[132/252] Compiling DequeModule Deque+Descriptions.swift
[133/252] Compiling DequeModule Deque+Extras.swift
[134/252] Compiling DequeModule Deque+Hashable.swift
[135/252] Compiling DequeModule Deque+Testing.swift
[136/252] Compiling DequeModule Deque._Storage.swift
[137/252] Compiling DequeModule Deque._UnsafeHandle.swift
[138/252] Compiling DequeModule Deque.swift
[139/253] Compiling DequeModule RigidDeque+Removals.swift
[140/253] Compiling DequeModule RigidDeque+Replacements.swift
[141/253] Compiling DequeModule RigidDeque+Testing.swift
[142/253] Compiling DequeModule RigidDeque.swift
[143/253] Compiling DequeModule UniqueDeque+Append.swift
[144/253] Compiling DequeModule UniqueDeque+Consumption.swift
[145/253] Compiling DequeModule _DequeBuffer.swift
[146/253] Compiling DequeModule _DequeBufferHeader.swift
[147/253] Compiling DequeModule RigidDeque+Append.swift
[148/253] Compiling DequeModule RigidDeque+Consumption.swift
[149/253] Compiling DequeModule RigidDeque+Container.swift
[150/253] Compiling DequeModule RigidDeque+Descriptions.swift
[161/263] Wrapping AST for Atomics for debugging
[173/263] Compiling DequeModule UniqueDeque+Replacements.swift
[174/263] Compiling DequeModule UniqueDeque.swift
[175/263] Compiling DequeModule _DequeSlot.swift
[176/263] Compiling DequeModule _UnsafeDequeHandle.swift
[177/263] Compiling DequeModule _UnsafeDequeSegments.swift
[178/263] Compiling Crypto AES.swift
[179/263] Compiling Crypto ECDSASignature_boring.swift
[180/263] Compiling Crypto ECDSA_boring.swift
[181/263] Compiling Crypto EdDSA_boring.swift
[182/263] Compiling Crypto ECDSA.swift
[183/263] Emitting module Crypto
[184/263] Compiling DequeModule Deque+Codable.swift
[185/263] Compiling DequeModule Deque+Collection.swift
[188/263] Compiling DequeModule Deque+Equatable.swift
[189/263] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[196/263] Compiling Crypto ECDH.swift
[197/263] Compiling Crypto HKDF.swift
[198/263] Compiling Crypto AESWrap.swift
[199/263] Compiling Crypto AESWrap_boring.swift
[200/263] Compiling Crypto Ed25519_boring.swift
[201/263] Compiling Crypto NISTCurvesKeys_boring.swift
[202/263] Compiling Crypto X25519Keys_boring.swift
[203/263] Compiling Crypto Curve25519.swift
[204/263] Compiling Crypto Ed25519Keys.swift
[205/263] Compiling Crypto NISTCurvesKeys.swift
[206/263] Compiling Crypto HPKE-Errors.swift
[207/263] Compiling Crypto HPKE.swift
[208/263] Compiling Crypto HPKE-Context.swift
[209/263] Compiling Crypto HPKE-KeySchedule.swift
[210/263] Compiling Crypto HPKE-Modes.swift
[211/263] Compiling Crypto Insecure.swift
[212/263] Compiling Crypto Insecure_HashFunctions.swift
[213/263] Compiling Crypto KEM.swift
[214/263] Compiling Crypto ECDH_boring.swift
[215/263] Compiling Crypto DH.swift
[221/263] Emitting module DequeModule
[242/264] Compiling Crypto Ed25519.swift
[243/264] Compiling Crypto Signature.swift
[244/264] Compiling Crypto CryptoKitErrors_boring.swift
[245/264] Compiling Crypto RNG_boring.swift
[246/264] Compiling Crypto SafeCompare_boring.swift
[247/264] Compiling Crypto Zeroization_boring.swift
[248/264] Compiling Crypto PrettyBytes.swift
[249/264] Compiling Crypto SafeCompare.swift
[250/264] Compiling Crypto SecureBytes.swift
[251/264] Compiling Crypto Zeroization.swift
[253/264] 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 CircularBuffer.swift
[283/336] Compiling NIOCore Codec.swift
[284/336] Compiling NIOCore ConvenienceOptionSupport.swift
[285/336] Compiling NIOCore DeadChannel.swift
[286/336] Compiling NIOCore DispatchQueue+WithFuture.swift
[287/336] Compiling NIOCore EventLoop+Deprecated.swift
[288/336] Compiling NIOCore EventLoop+SerialExecutor.swift
[289/336] Compiling NIOCore EventLoop.swift
[290/336] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[291/336] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[292/336] Compiling NIOCore BSDSocketAPI.swift
[293/336] Compiling NIOCore ByteBuffer-aux.swift
[294/336] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[295/336] Compiling NIOCore ByteBuffer-conversions.swift
[296/336] Compiling NIOCore ByteBuffer-core.swift
[297/336] Compiling NIOCore ByteBuffer-hex.swift
[298/336] Compiling NIOCore ByteBuffer-int.swift
[299/336] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[300/336] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[301/336] Compiling NIOCore SocketAddresses.swift
[302/336] Compiling NIOCore SocketOptionProvider.swift
[303/336] Compiling NIOCore SystemCallHelpers.swift
[304/336] Compiling NIOCore TimeAmount+Duration.swift
[305/336] Compiling NIOCore TypeAssistedChannelHandler.swift
[306/336] Compiling NIOCore UniversalBootstrapSupport.swift
[307/336] Compiling NIOCore Utilities.swift
[308/336] Compiling NIOCore IPProtocol.swift
[309/336] Compiling NIOCore IntegerBitPacking.swift
[310/336] Compiling NIOCore IntegerTypes.swift
[311/336] Compiling NIOCore Interfaces.swift
[312/336] Compiling NIOCore Linux.swift
[313/336] Compiling NIOCore MarkedCircularBuffer.swift
[314/336] Compiling NIOCore MulticastChannel.swift
[315/336] Compiling NIOCore NIOAny.swift
[316/336] Compiling NIOCore NIOCloseOnErrorHandler.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] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[329/390] Emitting module NIOEmbedded
[330/390] Compiling NIOEmbedded Embedded.swift
[331/390] Compiling NIOEmbedded AsyncTestingChannel.swift
[333/390] Compiling NIOPosix BSDSocketAPICommon.swift
[334/390] Compiling NIOPosix BSDSocketAPIPosix.swift
[335/390] Compiling NIOPosix BSDSocketAPIWindows.swift
[336/390] Compiling NIOPosix BaseSocket.swift
[337/390] Compiling NIOPosix BaseSocketChannel+AccessibleTransport.swift
[338/390] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[339/390] Compiling NIOPosix BaseSocketChannel.swift
[340/397] Compiling NIOPosix Selectable.swift
[341/397] Compiling NIOPosix SelectableChannel.swift
[342/397] Compiling NIOPosix SelectableEventLoop.swift
[343/397] Compiling NIOPosix SelectorEpoll.swift
[344/397] Compiling NIOPosix SelectorGeneric.swift
[345/397] Compiling NIOPosix SelectorKqueue.swift
[346/397] Compiling NIOPosix SelectorUring.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] Compiling NIOPosix PipeChannel.swift
[355/397] Compiling NIOPosix PipePair.swift
[356/397] Compiling NIOPosix Pool.swift
[357/397] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[358/397] Compiling NIOPosix PosixSingletons.swift
[359/397] Compiling NIOPosix RawSocketBootstrap.swift
[360/397] Compiling NIOPosix Resolver.swift
[361/397] Compiling NIOPosix HappyEyeballs.swift
[362/397] Compiling NIOPosix IO.swift
[363/397] Compiling NIOPosix IntegerBitPacking.swift
[364/397] Compiling NIOPosix IntegerTypes.swift
[365/397] Compiling NIOPosix Linux.swift
[366/397] Compiling NIOPosix LinuxCPUSet.swift
[367/397] Compiling NIOPosix LinuxUring.swift
[368/397] Emitting module NIOPosix
[369/397] Compiling NIOPosix BaseStreamSocketChannel.swift
[370/397] Compiling NIOPosix Bootstrap.swift
[371/397] Compiling NIOPosix ControlMessage.swift
[372/397] Compiling NIOPosix DatagramVectorReadManager.swift
[373/397] Compiling NIOPosix Errors+Any.swift
[374/397] Compiling NIOPosix FileDescriptor.swift
[375/397] Compiling NIOPosix GetaddrinfoResolver.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 Thread.swift
[384/397] Compiling NIOPosix ThreadPosix.swift
[385/397] Compiling NIOPosix ThreadWindows.swift
[386/397] Compiling NIOPosix Utilities.swift
[387/397] Compiling NIOPosix VsockAddress.swift
[388/397] Compiling NIOPosix VsockChannelEvents.swift
[389/397] Compiling NIOPosix Windows.swift
[391/399] Emitting module NIO
[392/399] Compiling NIO Exports.swift
[394/405] Emitting module NIOTLS
[395/405] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[396/405] Compiling NIOTLS TLSEvents.swift
[397/405] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[398/405] Compiling NIOTLS SNIHandler.swift
[399/405] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[401/435] Compiling NIOSSL SSLPrivateKey.swift
[402/435] Compiling NIOSSL SSLPublicKey.swift
[403/435] Compiling NIOSSL SecurityFrameworkCertificateVerification.swift
[404/435] Compiling NIOSSL String+unsafeUninitializedCapacity.swift
[405/435] Compiling NIOSSL LinuxCABundle.swift
[406/435] Compiling NIOSSL NIOSSLClientHandler.swift
[407/435] Compiling NIOSSL NIOSSLHandler+Configuration.swift
[408/435] Compiling NIOSSL NIOSSLHandler.swift
[409/439] Compiling NIOSSL SubjectAlternativeName.swift
[410/439] Compiling NIOSSL NIOSSLSecureBytes.swift
[411/439] Compiling NIOSSL RNG.swift
[412/439] Compiling NIOSSL SafeCompare.swift
[413/439] Compiling NIOSSL AndroidCABundle.swift
[414/439] Compiling NIOSSL ByteBufferBIO.swift
[415/439] Compiling NIOSSL CustomPrivateKey.swift
[416/439] Compiling NIOSSL FreeBSDCABundle.swift
[417/439] Compiling NIOSSL IdentityVerification.swift
[418/439] Emitting module NIOSSL
[419/439] Compiling NIOSSL SSLCertificate.swift
[420/439] Compiling NIOSSL SSLCertificateExtensions.swift
[421/439] Compiling NIOSSL SSLCertificateName.swift
[422/439] Compiling NIOSSL SSLConnection.swift
[423/439] Compiling NIOSSL SSLContext.swift
[424/439] Compiling NIOSSL SSLErrors.swift
[425/439] Compiling NIOSSL SSLInit.swift
[426/439] Compiling NIOSSL SSLPKCS12Bundle.swift
[427/439] Compiling NIOSSL NIOSSLServerHandler.swift
[428/439] Compiling NIOSSL ObjectIdentifier.swift
[429/439] Compiling NIOSSL PosixPort.swift
[430/439] Compiling NIOSSL SSLCallbacks.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
[436/479] 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 | }
[437/479] 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 | }
[438/479] 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 | }
[439/479] 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 | }
[440/479] 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 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[441/484] 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
[442/484] Compiling Nats ServerInfo.swift
[443/484] Compiling Nats ServerOp.swift
[444/484] Compiling Nats Subscription.swift
[445/484] Compiling Nats TLSConfiguration.swift
[446/484] Compiling Nats TLSHandshakeObserver.swift
[447/484] Compiling Nats ConnectionHandler.swift
[448/484] Compiling Nats OutboundQueue.swift
[449/484] Compiling Nats Reconnection.swift
[450/484] Compiling Nats ConnectionError.swift
[451/484] Compiling Nats JetStreamError.swift
[452/484] Compiling Nats NatsError.swift
[453/484] Compiling Nats KeyValueScan.swift
[454/484] Compiling Nats KeyValueStatus.swift
[455/484] Compiling Nats KeyValueWatcher.swift
[456/484] Compiling Nats JetStreamMessage.swift
[457/484] Compiling Nats PubAck.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 Stream.swift
[465/484] Compiling Nats StreamConfig.swift
[466/484] Compiling Nats StreamInfo.swift
[467/484] Compiling Nats NatsHeaders.swift
[468/484] Compiling Nats NatsMessage.swift
[469/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
[470/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
[471/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
[472/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
[473/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
[474/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
[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:821:1: note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
819 |
820 | @available(*, unavailable)
821 | extension MessageToByteHandler: Sendable {}
| `- note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
822 |
823 | 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:509:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
507 |
508 | @available(*, unavailable)
509 | extension ByteToMessageHandler: Sendable where Decoder: ~Copyable {}
| `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
510 |
511 | // 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:821:1: note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
819 |
820 | @available(*, unavailable)
821 | extension MessageToByteHandler: Sendable {}
| `- note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
822 |
823 | 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:509:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
507 |
508 | @available(*, unavailable)
509 | extension ByteToMessageHandler: Sendable where Decoder: ~Copyable {}
| `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
510 |
511 | // 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:821:1: note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
819 |
820 | @available(*, unavailable)
821 | extension MessageToByteHandler: Sendable {}
| `- note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
822 |
823 | 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:509:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
507 |
508 | @available(*, unavailable)
509 | extension ByteToMessageHandler: Sendable where Decoder: ~Copyable {}
| `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
510 |
511 | // 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:821:1: note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
819 |
820 | @available(*, unavailable)
821 | extension MessageToByteHandler: Sendable {}
| `- note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
822 |
823 | 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:509:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
507 |
508 | @available(*, unavailable)
509 | extension ByteToMessageHandler: Sendable where Decoder: ~Copyable {}
| `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
510 |
511 | // 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:821:1: note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
819 |
820 | @available(*, unavailable)
821 | extension MessageToByteHandler: Sendable {}
| `- note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
822 |
823 | 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:509:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
507 |
508 | @available(*, unavailable)
509 | extension ByteToMessageHandler: Sendable where Decoder: ~Copyable {}
| `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
510 |
511 | // 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:821:1: note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
819 |
820 | @available(*, unavailable)
821 | extension MessageToByteHandler: Sendable {}
| `- note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
822 |
823 | 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:509:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
507 |
508 | @available(*, unavailable)
509 | extension ByteToMessageHandler: Sendable where Decoder: ~Copyable {}
| `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
510 |
511 | // 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