Build Information
Successful build of swift-nats, reference main (1ef27d), with Swift 6.4 for macOS (SPM) on 30 Oct 2026 00:09:14 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hjuraev/nats-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hjuraev/nats-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1ef27d2 Merge branch 'fix/connect-confirmation' into 'main'
Cloned https://github.com/hjuraev/nats-swift.git
Revision (git rev-parse @):
1ef27d284e75f527a0de15656bed16a267499f1f
SUCCESS checkout https://github.com/hjuraev/nats-swift.git at main
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/8381] Fetching swift-log
[2/27240] Fetching swift-log, swift-crypto
[86/44134] Fetching swift-log, swift-crypto, swift-nio-ssl
Fetched https://github.com/apple/swift-log.git (1.33s)
[2484/35753] Fetching swift-crypto, swift-nio-ssl
[4928/122449] Fetching swift-crypto, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git (3.30s)
[27256/105555] Fetching swift-crypto, swift-nio
Fetched https://github.com/apple/swift-nio.git (12.14s)
Fetched https://github.com/apple/swift-crypto.git (12.14s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (12.83s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.68s)
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/1893] Fetching swift-atomics
[437/9287] Fetching swift-atomics, swift-system
[1549/38649] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (4.48s)
Fetched https://github.com/apple/swift-collections.git (4.48s)
Fetched https://github.com/apple/swift-atomics.git (4.48s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (5.14s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.60s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (0.67s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (0.57s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (9.99s)
Fetching https://github.com/apple/swift-asn1.git
[1/2051] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.98s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (3.27s)
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "nats-swift",
"name": "swift-nats",
"url": "https://github.com/hjuraev/nats-swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/nats-swift",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "2.104.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.3.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.7.5",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"traits": [
],
"dependencies": [
]
},
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system.git",
"version": "1.8.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"traits": [
"default"
],
"dependencies": [
]
}
]
},
{
"identity": "swift-nio-ssl",
"name": "swift-nio-ssl",
"url": "https://github.com/apple/swift-nio-ssl.git",
"version": "2.37.5",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-ssl",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "2.104.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.3.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.7.5",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"traits": [
],
"dependencies": [
]
},
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system.git",
"version": "1.8.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
},
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.16.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"traits": [
],
"dependencies": [
]
},
{
"identity": "swift-crypto",
"name": "swift-crypto",
"url": "https://github.com/apple/swift-crypto.git",
"version": "3.15.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-crypto",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-asn1",
"name": "swift-asn1",
"url": "https://github.com/apple/swift-asn1.git",
"version": "1.7.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-asn1",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/hjuraev/nats-swift.git
[1/586] Fetching nats-swift
Fetched https://github.com/hjuraev/nats-swift.git (1.04s)
Fetching https://github.com/apple/swift-crypto.git from cache
Fetching https://github.com/apple/swift-nio.git from cache
Fetching https://github.com/apple/swift-nio-ssl.git from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.88s)
Fetched https://github.com/apple/swift-log.git from cache (0.98s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (0.98s)
Fetched https://github.com/apple/swift-crypto.git from cache (0.98s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (1.06s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.03s)
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.57s)
Fetched https://github.com/apple/swift-collections.git from cache (0.66s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.69s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.76s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.03s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (0.05s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (0.03s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.03s)
Fetching https://github.com/apple/swift-asn1.git from cache
Fetched https://github.com/apple/swift-asn1.git from cache (0.47s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.54s)
Creating working copy for https://github.com/hjuraev/nats-swift.git
Working copy of https://github.com/hjuraev/nats-swift.git resolved at main (1ef27d2)
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.5
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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.2
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-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
warning: '.resolve-product-dependencies': dependency 'nats-swift' is not used by any target
Found 4 product dependencies
- swift-nio
- swift-nio-ssl
- swift-log
- swift-crypto
========================================
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.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 957]
[Planning deferred tasks]
[Starting]
[7 / 764]
[186 / 764] swift-crypto_Crypto
[192 / 764]
[209 / 771] Atomics
[213 / 790] CNIOWindows
[216 / 794]
[225 / 828]
[234 / 865]
[251 / 865]
[253 / 865]
[255 / 902]
[266 / 902]
[274 / 902] CNIOBoringSSL
[283 / 902]
[284 / 902]
[289 / 902] CNIOBoringSSL
[300 / 902] _NIODataStructures
[311 / 902]
[318 / 902] CNIOBoringSSL
[320 / 902] _NIODataStructures
[342 / 902] CNIOBoringSSL
[346 / 902] CNIOBoringSSL
[356 / 902] CNIOBoringSSL
[361 / 902]
[365 / 902]
[368 / 902] CNIOBoringSSL
[369 / 902] CNIOBoringSSL
[374 / 902] CNIOBoringSSL
[377 / 902]
[380 / 902] CNIOBoringSSL
[385 / 902] CNIOBoringSSL
[388 / 902] CNIOBoringSSL
[390 / 902] CNIOBoringSSL
[396 / 902] CNIOBoringSSL
[401 / 902] Crypto
[403 / 902] CNIOBoringSSL
[406 / 902] CNIOBoringSSL
[410 / 902] Crypto
[421 / 902] CNIOBoringSSL
[424 / 902] CNIOBoringSSL
[425 / 902] CNIOBoringSSL
[429 / 902] CNIOBoringSSL
[430 / 902] CNIOBoringSSL
[432 / 902] CNIOBoringSSL
[434 / 902] CNIOBoringSSL
[435 / 902] CNIOBoringSSL
[439 / 902] CNIOBoringSSL
[443 / 902] CNIOBoringSSL
[450 / 902] CNIOBoringSSL
[459 / 902] CNIOBoringSSL
[474 / 902] CNIOBoringSSL
[480 / 902] CNIOBoringSSL
[482 / 902] CNIOBoringSSL
[488 / 902] CNIOBoringSSL
[492 / 902] CNIOBoringSSL
[499 / 902] CNIOBoringSSL
[501 / 902] CNIOBoringSSL
[505 / 902] CNIOBoringSSL
[510 / 902] CNIOBoringSSL
[512 / 902] CNIOBoringSSL
[515 / 902] CNIOBoringSSL
[518 / 902] CNIOBoringSSL
[523 / 902] CNIOBoringSSL
[525 / 902] CNIOBoringSSL
[533 / 902] CNIOBoringSSL
[545 / 902] CNIOBoringSSL
[549 / 902] CNIOBoringSSL
[555 / 902] CNIOBoringSSL
[559 / 902] CNIOBoringSSL
[564 / 902] CNIOBoringSSL
[576 / 902] CNIOBoringSSL
[583 / 902] CNIOBoringSSL
[586 / 902] CNIOBoringSSL
[595 / 902] CNIOBoringSSL
[597 / 902] CNIOBoringSSL
[603 / 902] CNIOBoringSSL
[605 / 902] CNIOBoringSSL
[608 / 902] CNIOBoringSSL
[613 / 902] CNIOBoringSSL
[615 / 902] CNIOBoringSSL
[619 / 902] CNIOBoringSSL
[621 / 902] CNIOBoringSSL
[624 / 902] CNIOBoringSSL
[630 / 902] CNIOBoringSSL
[636 / 902] CNIOBoringSSL
[639 / 902] CNIOBoringSSL
[652 / 902] CNIOBoringSSL
[661 / 902] CNIOBoringSSL
[669 / 902] CNIOBoringSSL
[671 / 902] CNIOBoringSSL
[674 / 902] CNIOBoringSSL
[679 / 902] CNIOBoringSSL
[682 / 902] CNIOBoringSSL
[694 / 902] CNIOBoringSSL
[707 / 902] CNIOBoringSSL
[711 / 902] CNIOBoringSSL
[712 / 902] CNIOBoringSSL
[719 / 902] CNIOBoringSSL
[720 / 902] CNIOBoringSSL
[725 / 902]
[739 / 902]
[745 / 902]
[749 / 902]
[755 / 902] Logging
[758 / 902] _NIOBase64
[761 / 902] Logging-product
[764 / 902] Logging
[773 / 902] NIOConcurrencyHelpers
[777 / 902] InternalCollectionsUtilities
[785 / 902] Crypto-product
[787 / 902] Crypto-product
[789 / 902] InternalCollectionsUtilities
[804 / 904]
[814 / 920]
[822 / 920]
[833 / 925]
[845 / 926] DequeModule
[852 / 937]
[854 / 937] CNIODarwin
[857 / 937] DequeModule
[863 / 937]
[863 / 937] DequeModule
[872 / 938] NIOCore
[876 / 956]
[878 / 956]
[888 / 956] NIOCore
[889 / 956] NIOCore
[890 / 956] NIOCore
[890 / 956] CNIOAtomics
[892 / 956] NIOCore
[902 / 958] NIOEmbedded
[906 / 962] NIOPosix
[922 / 990] NIOEmbedded
[923 / 990]
[928 / 990]
[930 / 990]
[931 / 990]
[942 / 990] NIOPosix
[949 / 991] NIO
[958 / 993] NIO
[959 / 994] NIOTLS
[965 / 1000] NIOTLS
[972 / 1001] NIOTLS
[973 / 1001] NIOSSL
[974 / 1014]
[985 / 1014] NIOSSL
[986 / 1014] NIOSSL
[993 / 1015]
[993 / 1015] NIOSSL
[996 / 1029]
[1007 / 1029] Nats
[1008 / 1029] NIOSSL
[1012 / 1029] NIO-product
[1022 / 1030] Nats
[1024 / 1032] NatsBenchmarks-product
[1025 / 1032] Nats
[1028 / 1032] NatsBenchmarks-product
[1030 / 1032] NatsBenchmarks-product
Build complete! (33.18 sec)
/Users/admin/builder/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:67:38: [1;33mwarning: [1;39m'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m65 |[0;0m /// bounds are what stop a peer that stops reading from turning into
[0;36m66 |[0;0m /// unbounded memory growth on this side.
[0;36m67 |[0;0m public var writeBufferWaterMark: WriteBufferWaterMark
[0;36m|[0;0m |- [1;33mwarning: [1;39m'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'ChannelOptions.Types.WriteBufferWaterMark' instead[0;0m
[0;36m68 |[0;0m
[0;36m69 |[0;0m /// How long a write waits for a saturated connection to drain before being
/Users/admin/builder/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:31: [1;33mwarning: [1;39m'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m119 |[0;0m logger: Logger = Logger(label: "nats.client"),
[0;36m120 |[0;0m inboxPrefix: String = "_INBOX",
[0;36m121 |[0;0m writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
[0;36m|[0;0m |- [1;33mwarning: [1;39m'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'ChannelOptions.Types.WriteBufferWaterMark' instead[0;0m
[0;36m122 |[0;0m writeBackpressureTimeout: Duration = .seconds(5),
[0;36m123 |[0;0m writeTimeout: Duration = .seconds(30),
/Users/admin/builder/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:54: [1;33mwarning: [1;39m'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m119 |[0;0m logger: Logger = Logger(label: "nats.client"),
[0;36m120 |[0;0m inboxPrefix: String = "_INBOX",
[0;36m121 |[0;0m writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
[0;36m|[0;0m |- [1;33mwarning: [1;39m'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'ChannelOptions.Types.WriteBufferWaterMark' instead[0;0m
[0;36m122 |[0;0m writeBackpressureTimeout: Duration = .seconds(5),
[0;36m123 |[0;0m writeTimeout: Duration = .seconds(30),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:54: [1;33mwarning: [1;39m'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m119 |[0;0m logger: Logger = Logger(label: "nats.client"),
[0;36m120 |[0;0m inboxPrefix: String = "_INBOX",
[0;36m121 |[0;0m writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
[0;36m|[0;0m |- [1;33mwarning: [1;39m'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'ChannelOptions.Types.WriteBufferWaterMark' instead[0;0m
[0;36m122 |[0;0m writeBackpressureTimeout: Duration = .seconds(5),
[0;36m123 |[0;0m writeTimeout: Duration = .seconds(30),
/Users/admin/builder/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:67:38: [1;33mwarning: [1;39m'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m65 |[0;0m /// bounds are what stop a peer that stops reading from turning into
[0;36m66 |[0;0m /// unbounded memory growth on this side.
[0;36m67 |[0;0m public var writeBufferWaterMark: WriteBufferWaterMark
[0;36m|[0;0m |- [1;33mwarning: [1;39m'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'ChannelOptions.Types.WriteBufferWaterMark' instead[0;0m
[0;36m68 |[0;0m
[0;36m69 |[0;0m /// How long a write waits for a saturated connection to drain before being
/Users/admin/builder/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:31: [1;33mwarning: [1;39m'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m119 |[0;0m logger: Logger = Logger(label: "nats.client"),
[0;36m120 |[0;0m inboxPrefix: String = "_INBOX",
[0;36m121 |[0;0m writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
[0;36m|[0;0m |- [1;33mwarning: [1;39m'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'ChannelOptions.Types.WriteBufferWaterMark' instead[0;0m
[0;36m122 |[0;0m writeBackpressureTimeout: Duration = .seconds(5),
[0;36m123 |[0;0m writeTimeout: Duration = .seconds(30),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/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:450:27: [1;33mwarning: [1;39m'as' test is always true[0;0m
[0;36m448 |[0;0m
[0;36m449 |[0;0m return KeyValueEntry.fromDirectGet(response, bucket: bucket)
[0;36m450 |[0;0m } catch let error as JetStreamError {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'as' test is always true[0;0m
[0;36m451 |[0;0m if case .apiError(let code, _, _) = error, code == 404 {
[0;36m452 |[0;0m return nil
/Users/admin/builder/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:54: [1;33mwarning: [1;39m'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m119 |[0;0m logger: Logger = Logger(label: "nats.client"),
[0;36m120 |[0;0m inboxPrefix: String = "_INBOX",
[0;36m121 |[0;0m writeBufferWaterMark: WriteBufferWaterMark = WriteBufferWaterMark(low: 32 * 1024, high: 64 * 1024),
[0;36m|[0;0m |- [1;33mwarning: [1;39m'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'ChannelOptions.Types.WriteBufferWaterMark' instead[0;0m
[0;36m122 |[0;0m writeBackpressureTimeout: Duration = .seconds(5),
[0;36m123 |[0;0m writeTimeout: Duration = .seconds(30),
/Users/admin/builder/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:826:21: [1;33mwarning: [1;39mconformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable[0;0m
[0;36m824 |[0;0m .channelInitializer { channel in
[0;36m825 |[0;0m channel.pipeline.addHandlers([
[0;36m826 |[0;0m MessageToByteHandler(ProtocolEncoder(logger: protocolLogger)),
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable[0;0m
[0;36m827 |[0;0m ByteToMessageHandler(ProtocolDecoder(logger: protocolLogger)),
[0;36m828 |[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:827:21: [1;33mwarning: [1;39mconformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable[0;0m
[0;36m825 |[0;0m channel.pipeline.addHandlers([
[0;36m826 |[0;0m MessageToByteHandler(ProtocolEncoder(logger: protocolLogger)),
[0;36m827 |[0;0m ByteToMessageHandler(ProtocolDecoder(logger: protocolLogger)),
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable[0;0m
[0;36m828 |[0;0m handler
[0;36m829 |[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 where Decoder : ~Copyable {
[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:1095:47: [1;33mwarning: [1;39mtype 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol[0;0m
[0;36m1093 |[0;0m Task { await self?.markTLSHandshakeCompleted(generation: generation) }
[0;36m1094 |[0;0m }
[0;36m1095 |[0;0m try await channel.pipeline.addHandler(observer, position: .first).get()
[0;36m|[0;0m `- [1;33mwarning: [1;39mtype 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol[0;0m
[0;36m1096 |[0;0m
[0;36m1097 |[0;0m // Add TLS handler at the front of the pipeline (before protocol encoder/decoder)
/Users/admin/builder/spi-builder-workspace/Sources/Nats/TLS/TLSHandshakeObserver.swift:15:13: [1;39mnote: [1;39mclass 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol[0;0m
[0;36m13 |[0;0m /// ClientHello from a peer that never sent INFO — both simply run out the
[0;36m14 |[0;0m /// connect deadline and report a bare timeout.
[0;36m15 |[0;0m final class TLSHandshakeObserver: ChannelInboundHandler {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'TLSHandshakeObserver' does not conform to the 'Sendable' protocol[0;0m
[0;36m16 |[0;0m typealias InboundIn = Any
[0;36m17 |[0;0m typealias InboundOut = Any
/Users/admin/builder/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:1098:47: [1;33mwarning: [1;39mconformance of 'NIOSSLHandler' to 'Sendable' is unavailable[0;0m
[0;36m1096 |[0;0m
[0;36m1097 |[0;0m // Add TLS handler at the front of the pipeline (before protocol encoder/decoder)
[0;36m1098 |[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;36m1099 |[0;0m
[0;36m1100 |[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 }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
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"
]
}
},
{
"name" : "NatsBenchmarks",
"targets" : [
"NatsBenchmarks"
],
"type" : {
"executable" : null
}
}
],
"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/ConcurrentConnectTests.swift",
"Integration/ConnectConfirmationTests.swift",
"Integration/FetchDeadlineTests.swift",
"Integration/JetStreamCostTests.swift",
"Integration/ReconnectionIntegrationTests.swift",
"Integration/StreamTerminationTests.swift",
"IntegrationTests.swift",
"KeyValueTests.swift",
"MessageTests.swift",
"SubjectTests.swift",
"Support/BoundedWait.swift",
"Support/BurstHarness.swift",
"Support/NatsServerProcess.swift",
"Support/StalledPeer.swift",
"Support/StalledPeerSelfTests.swift",
"Unit/AuthHandlerTests.swift",
"Unit/BoundedWriteTests.swift",
"Unit/ClientLifecycleCorrectnessTests.swift",
"Unit/ClientLifecycleTests.swift",
"Unit/ClientStateMachineTests.swift",
"Unit/ConnectCancellationTests.swift",
"Unit/ConnectTimeoutTests.swift",
"Unit/JWTAuthTests.swift",
"Unit/NKeyAuthTests.swift",
"Unit/ProtocolDecoderTests.swift",
"Unit/ProtocolEncoderTests.swift",
"Unit/ReconnectionPolicyTests.swift",
"Unit/SharedEventLoopGroupTests.swift",
"Unit/TLSHandshakeDeadlineTests.swift",
"Unit/URLParsingTests.swift",
"Unit/WireParsingTests.swift",
"Unit/WriteBackpressureTests.swift"
],
"target_dependencies" : [
"Nats"
],
"type" : "test"
},
{
"c99name" : "NatsBenchmarks",
"module_type" : "SwiftTarget",
"name" : "NatsBenchmarks",
"path" : "Benchmarks/NatsBenchmarks",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"NatsBenchmarks"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Nats"
],
"type" : "executable"
},
{
"c99name" : "Nats",
"module_type" : "SwiftTarget",
"name" : "Nats",
"path" : "Sources/Nats",
"product_dependencies" : [
"NIOCore",
"NIOPosix",
"NIOSSL",
"NIOTLS",
"Logging",
"Crypto"
],
"product_memberships" : [
"Nats",
"NatsBenchmarks"
],
"sources" : [
"Auth/AuthHandler.swift",
"Auth/JWTAuth.swift",
"Auth/NKeyAuth.swift",
"Client/ClientStateMachine.swift",
"Client/NatsClient.swift",
"Client/NatsClientOptions.swift",
"Connection/ConnectionHandler.swift",
"Connection/OutboundQueue.swift",
"Connection/Reconnection.swift",
"Errors/ConnectionError.swift",
"Errors/JetStreamError.swift",
"Errors/NatsError.swift",
"Errors/ProtocolError.swift",
"Extensions/ByteBuffer+Extensions.swift",
"Extensions/RFC3339.swift",
"JetStream/Consumer/Consumer.swift",
"JetStream/Consumer/ConsumerConfig.swift",
"JetStream/Consumer/ConsumerInfo.swift",
"JetStream/Consumer/PullInbox.swift",
"JetStream/JetStreamContext.swift",
"JetStream/KeyValue/KeyValueBucket.swift",
"JetStream/KeyValue/KeyValueConfig.swift",
"JetStream/KeyValue/KeyValueContext.swift",
"JetStream/KeyValue/KeyValueEntry.swift",
"JetStream/KeyValue/KeyValueScan.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",
"TLS/TLSHandshakeObserver.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Done.