Build Information
Successful build of swift-nats, reference 1.0.0 (2b2a65), with Swift 6.4 for macOS (SPM) on 25 Sep 2026 10:04:38 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hjuraev/nats-swift.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hjuraev/nats-swift
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 2b2a65a Fix CI: point NATS server configs at the generated certs
Cloned https://github.com/hjuraev/nats-swift.git
Revision (git rev-parse @):
2b2a65a9ead59e298b0931cc0d61c65f7af6fc32
SUCCESS checkout https://github.com/hjuraev/nats-swift.git at 1.0.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/hjuraev/nats-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 928]
[Planning deferred tasks]
[Starting]
[7 / 752] Crypto-product
[181 / 752] swift-nio_NIOPosix
[187 / 752]
[205 / 759] CNIOWindows
[212 / 778] CNIOLinux
[221 / 793] CNIOBoringSSL
[226 / 816] InternalCollectionsUtilities
[232 / 853]
[236 / 853]
[250 / 853]
[252 / 890]
[254 / 890] InternalCollectionsUtilities
[263 / 890]
[277 / 890]
[286 / 890]
[291 / 890]
[295 / 890]
[300 / 890] CNIOBoringSSL
[303 / 890]
[316 / 890]
[318 / 890]
[331 / 890] NIOConcurrencyHelpers
[345 / 890]
[349 / 890] CNIOBoringSSL
[356 / 890]
[363 / 890] CNIOBoringSSL
[366 / 890] CNIOBoringSSL
[368 / 890]
[374 / 890] CNIOBoringSSL
[377 / 890] CNIOBoringSSL
[379 / 890] CNIOBoringSSL
[382 / 890] CNIOBoringSSL
[387 / 890] CNIOBoringSSL
[389 / 890] CNIOBoringSSL
[393 / 890]
[399 / 890] Crypto
[400 / 890] CNIOBoringSSL
[403 / 890] CNIOBoringSSL
[404 / 890] Crypto
[413 / 890] CNIOBoringSSL
[419 / 890] CNIOBoringSSL
[421 / 890] CNIOBoringSSL
[423 / 890] CNIOBoringSSL
[426 / 890] CNIOBoringSSL
[429 / 890] CNIOBoringSSL
[430 / 890] CNIOBoringSSL
[433 / 890] CNIOBoringSSL
[434 / 890] CNIOBoringSSL
[438 / 890] CNIOBoringSSL
[440 / 890] CNIOBoringSSL
[446 / 890] CNIOBoringSSL
[456 / 890] CNIOBoringSSL
[468 / 890] CNIOBoringSSL
[479 / 890] CNIOBoringSSL
[481 / 890] CNIOBoringSSL
[487 / 890] CNIOBoringSSL
[491 / 890] CNIOBoringSSL
[498 / 890] CNIOBoringSSL
[500 / 890] CNIOBoringSSL
[504 / 890] CNIOBoringSSL
[509 / 890] CNIOBoringSSL
[510 / 890] CNIOBoringSSL
[514 / 890] CNIOBoringSSL
[517 / 890] CNIOBoringSSL
[523 / 890] CNIOBoringSSL
[524 / 890] CNIOBoringSSL
[531 / 890] CNIOBoringSSL
[544 / 890] CNIOBoringSSL
[548 / 890] CNIOBoringSSL
[554 / 890] CNIOBoringSSL
[558 / 890] CNIOBoringSSL
[563 / 890] CNIOBoringSSL
[574 / 890] CNIOBoringSSL
[582 / 890] CNIOBoringSSL
[585 / 890] CNIOBoringSSL
[593 / 890] CNIOBoringSSL
[595 / 890] CNIOBoringSSL
[601 / 890] CNIOBoringSSL
[604 / 890] CNIOBoringSSL
[607 / 890] CNIOBoringSSL
[612 / 890] CNIOBoringSSL
[614 / 890] CNIOBoringSSL
[619 / 890] CNIOBoringSSL
[621 / 890] CNIOBoringSSL
[626 / 890] CNIOBoringSSL
[628 / 890] CNIOBoringSSL
[633 / 890] CNIOBoringSSL
[637 / 890] CNIOBoringSSL
[648 / 890] CNIOBoringSSL
[660 / 890] CNIOBoringSSL
[668 / 890] CNIOBoringSSL
[670 / 890] CNIOBoringSSL
[676 / 890] CNIOBoringSSL
[679 / 890] CNIOBoringSSL
[684 / 890] CNIOBoringSSL
[696 / 890] CNIOBoringSSL
[708 / 890] CNIOBoringSSL
[709 / 890] CNIOBoringSSL
[710 / 890] CNIOBoringSSL
[717 / 890] CNIOBoringSSL
[718 / 890] CNIOBoringSSL
[724 / 890]
[737 / 890]
[741 / 890] NIOConcurrencyHelpers
[748 / 890] _AtomicsShims
[751 / 890] CNIOPosix
[756 / 890] Logging
[760 / 890] Logging
[768 / 890] NIOConcurrencyHelpers
[777 / 890] Crypto
[781 / 890] InternalCollectionsUtilities
[787 / 890] InternalCollectionsUtilities
[800 / 892] Atomics-product
[810 / 908] _NIODataStructures
[821 / 909]
[827 / 913] SpanPreview
[839 / 914]
[847 / 925]
[852 / 925] CNIODarwin
[857 / 925] CNIOBoringSSLShims
[858 / 925] DequeModule
[867 / 926] NIOCore
[870 / 943]
[872 / 943]
[882 / 943] NIOCore
[884 / 943] NIOCore
[884 / 943] CNIOAtomics
[884 / 943] NIOCore
[885 / 943] CNIOAtomics
[886 / 943] NIOCore
[896 / 945] NIOEmbedded
[900 / 949] NIOPosix
[916 / 978] NIOEmbedded
[918 / 978]
[923 / 978]
[925 / 978]
[926 / 978]
[937 / 978] NIOPosix
[944 / 979] NIOPosix
[944 / 979] NIO
[953 / 981] NIO
[954 / 982] NIOPosix
[960 / 988] NIOTLS
[967 / 989] NIOTLS
[968 / 989] NIOSSL
[969 / 1002]
[980 / 1002] NIOSSL
[988 / 1003]
[988 / 1003] NIOSSL
[991 / 1017]
[1001 / 1017] Nats
[1002 / 1017] Nats
[1005 / 1017] NIOPosix
[1008 / 1017] NIOSSL
[1014 / 1017] Nats
Build complete! (32.91 sec)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-log.git
[1/8165] Fetching swift-log
[83/26714] Fetching swift-log, swift-crypto
[84/42779] Fetching swift-log, swift-crypto, swift-nio-ssl
[13395/128879] Fetching swift-log, swift-crypto, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-crypto.git (3.69s)
[82778/110330] Fetching swift-log, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio.git (8.23s)
Fetched https://github.com/apple/swift-log.git (8.23s)
Fetched https://github.com/apple/swift-nio-ssl.git (8.23s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (8.91s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.75s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.69s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1881] Fetching swift-atomics
[133/8833] Fetching swift-atomics, swift-system
[2574/36556] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git (1.56s)
[9170/34675] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-collections.git (2.88s)
Fetched https://github.com/apple/swift-system.git (2.88s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.50s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (0.66s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.59s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (2.70s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (1.51s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (3.73s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
/Users/admin/builder/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:435:21: [1;33mwarning: [1;39mconformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable[0;0m
[0;36m433 |[0;0m .channelInitializer { channel in
[0;36m434 |[0;0m channel.pipeline.addHandlers([
[0;36m435 |[0;0m MessageToByteHandler(ProtocolEncoder(logger: protocolLogger)),
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable[0;0m
[0;36m436 |[0;0m ByteToMessageHandler(ProtocolDecoder(logger: protocolLogger)),
[0;36m437 |[0;0m handler
NIOCore.MessageToByteHandler:2:11: [1;39mnote: [1;39mconformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable)
[0;36m2 |[0;0m extension MessageToByteHandler : Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m3 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:436:21: [1;33mwarning: [1;39mconformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable[0;0m
[0;36m434 |[0;0m channel.pipeline.addHandlers([
[0;36m435 |[0;0m MessageToByteHandler(ProtocolEncoder(logger: protocolLogger)),
[0;36m436 |[0;0m ByteToMessageHandler(ProtocolDecoder(logger: protocolLogger)),
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable[0;0m
[0;36m437 |[0;0m handler
[0;36m438 |[0;0m ])
NIOCore.ByteToMessageHandler:2:11: [1;39mnote: [1;39mconformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable)
[0;36m2 |[0;0m extension ByteToMessageHandler : Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m3 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:615:47: [1;33mwarning: [1;39mconformance of 'NIOSSLHandler' to 'Sendable' is unavailable[0;0m
[0;36m613 |[0;0m
[0;36m614 |[0;0m // Add TLS handler at the front of the pipeline (before protocol encoder/decoder)
[0;36m615 |[0;0m try await channel.pipeline.addHandler(sslHandler, position: .first).get()
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'NIOSSLHandler' to 'Sendable' is unavailable[0;0m
[0;36m616 |[0;0m
[0;36m617 |[0;0m logger.debug("TLS handler added to pipeline")
NIOSSL.NIOSSLHandler:2:11: [1;39mnote: [1;39mconformance of 'NIOSSLHandler' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable)
[0;36m2 |[0;0m extension NIOSSLHandler : Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconformance of 'NIOSSLHandler' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m3 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/Nats/JetStream/KeyValue/KeyValueBucket.swift:102:27: [1;33mwarning: [1;39m'as' test is always true[0;0m
[0;36m100 |[0;0m
[0;36m101 |[0;0m return entry
[0;36m102 |[0;0m } catch let error as JetStreamError {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'as' test is always true[0;0m
[0;36m103 |[0;0m if case .apiError(let code, _, _) = error, code == 404 {
[0;36m104 |[0;0m return nil
/Users/admin/builder/spi-builder-workspace/Sources/Nats/JetStream/KeyValue/KeyValueBucket.swift:481:27: [1;33mwarning: [1;39m'as' test is always true[0;0m
[0;36m479 |[0;0m
[0;36m480 |[0;0m return KeyValueEntry.fromDirectGet(response, bucket: bucket)
[0;36m481 |[0;0m } catch let error as JetStreamError {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'as' test is always true[0;0m
[0;36m482 |[0;0m if case .apiError(let code, _, _) = error, code == 404 {
[0;36m483 |[0;0m return nil
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.70.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-nio-ssl",
"requirement" : {
"range" : [
{
"lower_bound" : "2.27.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-ssl.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-crypto",
"requirement" : {
"range" : [
{
"lower_bound" : "3.5.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-crypto.git"
}
],
"manifest_display_name" : "swift-nats",
"name" : "swift-nats",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
},
{
"name" : "ios",
"version" : "18.0"
},
{
"name" : "tvos",
"version" : "18.0"
},
{
"name" : "watchos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "Nats",
"targets" : [
"Nats"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "NatsTests",
"module_type" : "SwiftTarget",
"name" : "NatsTests",
"path" : "Tests/NatsTests",
"sources" : [
"ErrorTests.swift",
"Fixtures/TestCredentials.swift",
"HeadersTests.swift",
"Integration/AuthenticationIntegrationTests.swift",
"Integration/ReconnectionIntegrationTests.swift",
"IntegrationTests.swift",
"KeyValueTests.swift",
"MessageTests.swift",
"SubjectTests.swift",
"Unit/AuthHandlerTests.swift",
"Unit/ClientLifecycleTests.swift",
"Unit/ClientStateMachineTests.swift",
"Unit/JWTAuthTests.swift",
"Unit/NKeyAuthTests.swift",
"Unit/ProtocolDecoderTests.swift",
"Unit/ProtocolEncoderTests.swift",
"Unit/ReconnectionPolicyTests.swift",
"Unit/URLParsingTests.swift"
],
"target_dependencies" : [
"Nats"
],
"type" : "test"
},
{
"c99name" : "Nats",
"module_type" : "SwiftTarget",
"name" : "Nats",
"path" : "Sources/Nats",
"product_dependencies" : [
"NIOCore",
"NIOPosix",
"NIOSSL",
"Logging",
"Crypto"
],
"product_memberships" : [
"Nats"
],
"sources" : [
"Auth/AuthHandler.swift",
"Auth/JWTAuth.swift",
"Auth/NKeyAuth.swift",
"Client/ClientStateMachine.swift",
"Client/NatsClient.swift",
"Client/NatsClientOptions.swift",
"Connection/ConnectionHandler.swift",
"Connection/Reconnection.swift",
"Errors/ConnectionError.swift",
"Errors/JetStreamError.swift",
"Errors/NatsError.swift",
"Errors/ProtocolError.swift",
"Extensions/ByteBuffer+Extensions.swift",
"JetStream/Consumer/Consumer.swift",
"JetStream/Consumer/ConsumerConfig.swift",
"JetStream/Consumer/ConsumerInfo.swift",
"JetStream/JetStreamContext.swift",
"JetStream/KeyValue/KeyValueBucket.swift",
"JetStream/KeyValue/KeyValueConfig.swift",
"JetStream/KeyValue/KeyValueContext.swift",
"JetStream/KeyValue/KeyValueEntry.swift",
"JetStream/KeyValue/KeyValueStatus.swift",
"JetStream/KeyValue/KeyValueWatcher.swift",
"JetStream/Message/JetStreamMessage.swift",
"JetStream/Message/PubAck.swift",
"JetStream/Stream/Stream.swift",
"JetStream/Stream/StreamConfig.swift",
"JetStream/Stream/StreamInfo.swift",
"Messages/NatsHeaders.swift",
"Messages/NatsMessage.swift",
"Messages/Subject.swift",
"Protocol/ClientOp.swift",
"Protocol/ConnectInfo.swift",
"Protocol/ProtocolDecoder.swift",
"Protocol/ProtocolEncoder.swift",
"Protocol/ServerInfo.swift",
"Protocol/ServerOp.swift",
"Subscription/Subscription.swift",
"TLS/TLSConfiguration.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Done.