The Swift Package Index logo.Swift Package Index

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 arm64

Build 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: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 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' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                                      `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
 68 |
 69 |     /// 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: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                               `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 |         writeBackpressureTimeout: Duration = .seconds(5),
123 |         writeTimeout: Duration = .seconds(30),
/Users/admin/builder/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:54: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                                                      `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 |         writeBackpressureTimeout: Duration = .seconds(5),
123 |         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: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                                                      `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 |         writeBackpressureTimeout: Duration = .seconds(5),
123 |         writeTimeout: Duration = .seconds(30),
/Users/admin/builder/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:67:38: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 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' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                                      `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
 68 |
 69 |     /// 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: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                               `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 |         writeBackpressureTimeout: Duration = .seconds(5),
123 |         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: 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
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Nats/Client/NatsClientOptions.swift:121:54: warning: 'WriteBufferWaterMark' is deprecated: renamed to 'ChannelOptions.Types.WriteBufferWaterMark' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                                                      `- note: use 'ChannelOptions.Types.WriteBufferWaterMark' instead
122 |         writeBackpressureTimeout: Duration = .seconds(5),
123 |         writeTimeout: Duration = .seconds(30),
/Users/admin/builder/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
NIOCore.MessageToByteHandler:2:11: note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension MessageToByteHandler : Sendable {
  |           `- note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/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 |                 ])
NIOCore.ByteToMessageHandler:2:11: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension ByteToMessageHandler : Sendable where Decoder : ~Copyable {
  |           `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Nats/Client/NatsClient.swift:1098:47: warning: conformance of 'NIOSSLHandler' 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 'NIOSSLHandler' to 'Sendable' is unavailable
1099 |
1100 |         logger.debug("TLS handler added to pipeline")
NIOSSL.NIOSSLHandler:2:11: note: conformance of 'NIOSSLHandler' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NIOSSLHandler : Sendable {
  |           `- note: conformance of 'NIOSSLHandler' to 'Sendable' has been explicitly marked unavailable here
3 | }
[#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.