The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Dribble, reference 0.1.1 (7e82e7), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 23:34:31 UTC.

Swift 6 data race errors: 5

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orlandos-nl/Dribble.git
Reference: 0.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/orlandos-nl/Dribble
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at 7e82e7f Merge pull request #2 from needle-tail/main
Cloned https://github.com/orlandos-nl/Dribble.git
Revision (git rev-parse @):
7e82e7fc28f21da4923ecf4b4d4edd7f3d08d87b
SUCCESS checkout https://github.com/orlandos-nl/Dribble.git at 0.1.1
Fetching https://github.com/apple/swift-nio.git from cache
Fetching https://github.com/apple/swift-crypto.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-atomics.git from cache (0.95s)
Fetched https://github.com/apple/swift-crypto.git from cache (0.95s)
Fetched https://github.com/apple/swift-nio.git from cache (0.96s)
Computing version for https://github.com/apple/swift-crypto.git
Fetched https://github.com/apple/swift-collections.git from cache (0.97s)
Computed https://github.com/apple/swift-crypto.git at 2.1.0 (1.58s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.60.0 (0.62s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.5 (0.59s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.47s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.60.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 2.1.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.5
========================================
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",
  "dependencies": [
    {
      "identity": "dribble",
      "name": "Dribble",
      "url": "https://github.com/orlandos-nl/Dribble.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Dribble",
      "dependencies": [
        {
          "identity": "swift-nio",
          "name": "swift-nio",
          "url": "https://github.com/apple/swift-nio.git",
          "version": "2.82.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
          "dependencies": [
            {
              "identity": "swift-atomics",
              "name": "swift-atomics",
              "url": "https://github.com/apple/swift-atomics.git",
              "version": "1.2.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
              "dependencies": [
              ]
            },
            {
              "identity": "swift-collections",
              "name": "swift-collections",
              "url": "https://github.com/apple/swift-collections.git",
              "version": "1.1.4",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
              "dependencies": [
              ]
            },
            {
              "identity": "swift-system",
              "name": "swift-system",
              "url": "https://github.com/apple/swift-system.git",
              "version": "1.4.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "swift-crypto",
          "name": "swift-crypto",
          "url": "https://github.com/apple/swift-crypto.git",
          "version": "2.6.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-crypto",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/orlandos-nl/Dribble.git
[1/99] Fetching dribble
Fetched https://github.com/orlandos-nl/Dribble.git from cache (0.65s)
Fetching https://github.com/apple/swift-crypto.git from cache
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-crypto.git from cache (0.54s)
Fetched https://github.com/apple/swift-nio.git from cache (0.72s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (1.46s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.57s)
Fetched https://github.com/apple/swift-system.git from cache (0.59s)
Fetched https://github.com/apple/swift-collections.git from cache (0.60s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.66s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.47s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.68s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (0.59s)
Creating working copy for https://github.com/orlandos-nl/Dribble.git
Working copy of https://github.com/orlandos-nl/Dribble.git resolved at 0.1.1 (7e82e7f)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 2.6.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.82.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
warning: '.resolve-product-dependencies': dependency 'dribble' is not used by any target
Found 2 product dependencies
  - swift-nio
  - swift-crypto
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/orlandos-nl/Dribble.git
https://github.com/orlandos-nl/Dribble.git
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.60.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    }
  ],
  "manifest_display_name" : "Dribble",
  "name" : "Dribble",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Dribble",
      "targets" : [
        "Dribble"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CLIExample",
      "targets" : [
        "CLIExample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DribbleTests",
      "module_type" : "SwiftTarget",
      "name" : "DribbleTests",
      "path" : "Tests/DribbleTests",
      "sources" : [
        "DribbleTests.swift"
      ],
      "target_dependencies" : [
        "Dribble"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Dribble",
      "module_type" : "SwiftTarget",
      "name" : "Dribble",
      "path" : "Sources/Dribble",
      "product_dependencies" : [
        "NIO",
        "_NIOConcurrency",
        "NIOFoundationCompat",
        "Crypto"
      ],
      "product_memberships" : [
        "Dribble",
        "CLIExample"
      ],
      "sources" : [
        "Errors.swift",
        "Heplers.swift",
        "STUN.swift",
        "StunClient.swift",
        "StunInboundHandler.swift",
        "TurnAllocation.swift",
        "TurnChannels.swift",
        "TurnClient.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CLIExample",
      "module_type" : "SwiftTarget",
      "name" : "CLIExample",
      "path" : "Sources/CLIExample",
      "product_memberships" : [
        "CLIExample"
      ],
      "sources" : [
        "CLI.swift"
      ],
      "target_dependencies" : [
        "Dribble"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/27] Write sources
[13/27] Write CLIExample-entitlement.plist
[14/27] Write sources
[15/27] Compiling CNIOWindows WSAStartup.c
[15/27] Compiling CNIOWindows shim.c
[17/27] Compiling CNIOLinux shim.c
[18/27] Compiling CNIOLinux liburing_shims.c
[19/27] Write swift-version-2F0A5646E1D333AE.txt
[20/27] Compiling _AtomicsShims.c
[21/128] Compiling CNIODarwin shim.c
[23/128] Compiling Atomics UnsafeAtomic.swift
[24/128] Compiling Atomics UnsafeAtomicLazyReference.swift
[25/129] Compiling Atomics ManagedAtomic.swift
[26/129] Compiling Atomics ManagedAtomicLazyReference.swift
[27/129] Compiling _NIOBase64 Base64.swift
[28/129] Emitting module _NIOBase64
[29/129] Compiling DequeModule _UnsafeWrappedBuffer.swift
[34/131] Compiling Atomics AtomicMemoryOrderings.swift
[35/131] Compiling Atomics DoubleWord.swift
[36/131] Compiling Atomics AtomicStorage.swift
[37/131] Compiling Atomics AtomicValue.swift
[38/131] Compiling Atomics AtomicOptionalWrappable.swift
[39/131] Compiling Atomics AtomicReference.swift
[40/131] Compiling Atomics AtomicBool.swift
[41/131] Compiling Atomics IntegerConformances.swift
[42/131] Compiling Atomics PointerConformances.swift
[43/131] Compiling Atomics Primitives.native.swift
[46/131] Emitting module DequeModule
[47/131] Compiling Atomics Primitives.shims.swift
[48/131] Compiling Atomics AtomicInteger.swift
[49/131] Compiling Atomics OptionalRawRepresentable.swift
[50/131] Compiling Atomics RawRepresentable.swift
[57/131] Compiling Atomics IntegerOperations.swift
[58/131] Compiling Atomics Unmanaged extensions.swift
[65/131] Emitting module Atomics
[66/131] Compiling _NIODataStructures Heap.swift
[67/131] Emitting module _NIODataStructures
[68/131] Compiling _NIODataStructures _TinyArray.swift
[69/131] Compiling _NIODataStructures PriorityQueue.swift
[69/131] Compiling c-nioatomics.c
[70/131] Compiling c-atomics.c
[72/137] Compiling NIOConcurrencyHelpers lock.swift
[73/137] Compiling NIOConcurrencyHelpers NIOLock.swift
[74/137] Emitting module NIOConcurrencyHelpers
[75/137] Compiling NIOConcurrencyHelpers atomics.swift
[76/137] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[77/137] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[78/197] Emitting module Crypto
[79/203] Compiling NIOCore Interfaces.swift
[80/203] Compiling NIOCore Linux.swift
[81/203] Compiling NIOCore MarkedCircularBuffer.swift
[82/203] Compiling Crypto SafeCompare_boring.swift
[83/203] Compiling Crypto Zeroization_boring.swift
[84/203] Compiling Crypto PrettyBytes.swift
[85/209] Compiling NIOCore NIOLoopBound.swift
[86/209] Compiling NIOCore NIOSendable.swift
[87/209] Compiling NIOCore PointerHelpers.swift
[88/209] Compiling NIOCore RecvByteBufferAllocator.swift
[89/209] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[90/209] Compiling NIOCore SocketAddresses.swift
[91/209] Compiling NIOCore AddressedEnvelope.swift
[92/209] Compiling NIOCore AsyncAwaitSupport.swift
[93/209] Compiling NIOCore AsyncChannel.swift
[94/209] Compiling NIOCore AsyncChannelInboundStream.swift
[95/209] Compiling NIOCore AsyncChannelInboundStreamChannelHandler.swift
[96/209] Compiling NIOCore AsyncChannelOutboundWriter.swift
[97/209] Compiling NIOCore AsyncChannelOutboundWriterHandler.swift
[98/209] Compiling NIOCore Codec.swift
[99/209] Compiling NIOCore ConvenienceOptionSupport.swift
[100/209] Compiling NIOCore DeadChannel.swift
[101/209] Compiling NIOCore DispatchQueue+WithFuture.swift
[102/209] Compiling NIOCore EventLoop+Deprecated.swift
[103/209] Compiling NIOCore EventLoop+SerialExecutor.swift
[104/209] Compiling NIOCore EventLoop.swift
[105/209] Compiling NIOCore EventLoopFuture+Deprecated.swift
[106/209] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[107/209] Compiling NIOCore EventLoopFuture.swift
[108/209] Compiling NIOCore FileDescriptor.swift
[109/209] Compiling NIOCore FileHandle.swift
[110/209] Compiling NIOCore FileRegion.swift
[111/209] Compiling NIOCore SocketOptionProvider.swift
[112/209] Compiling NIOCore SystemCallHelpers.swift
[113/209] Compiling NIOCore TimeAmount+Duration.swift
[114/209] Compiling NIOCore TypeAssistedChannelHandler.swift
[115/209] Compiling NIOCore UniversalBootstrapSupport.swift
[116/209] Compiling NIOCore Utilities.swift
[129/209] Compiling NIOCore Channel.swift
[130/209] Compiling NIOCore ChannelHandler.swift
[131/209] Compiling NIOCore ChannelHandlers.swift
[132/209] Compiling NIOCore ChannelInvoker.swift
[133/209] Compiling NIOCore ChannelOption.swift
[134/209] Compiling NIOCore ChannelPipeline.swift
[135/209] Compiling NIOCore CircularBuffer.swift
[155/209] Compiling NIOCore CloseRatchet.swift
[156/209] Compiling NIOCore NIOAsyncSequenceProducer.swift
[157/209] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[158/209] Compiling NIOCore NIOAsyncWriter.swift
[159/209] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[160/209] Compiling NIOCore BSDSocketAPI.swift
[161/209] Compiling NIOCore ByteBuffer-aux.swift
[162/209] Compiling NIOCore GlobalSingletons.swift
[163/209] Compiling NIOCore IO.swift
[164/209] Compiling NIOCore IOData.swift
[165/209] Compiling NIOCore IPProtocol.swift
[166/209] Compiling NIOCore IntegerBitPacking.swift
[167/209] Compiling NIOCore IntegerTypes.swift
[172/209] Compiling NIOCore ByteBuffer-conversions.swift
[173/209] Compiling NIOCore ByteBuffer-core.swift
[174/209] Compiling NIOCore ByteBuffer-hexdump.swift
[175/209] Compiling NIOCore ByteBuffer-int.swift
[176/209] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[177/209] Compiling NIOCore ByteBuffer-multi-int.swift
[178/209] Compiling NIOCore ByteBuffer-views.swift
[200/209] Emitting module NIOCore
[207/259] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[208/259] Compiling NIOEmbedded AsyncTestingChannel.swift
[209/259] Compiling NIOEmbedded Embedded.swift
[210/259] Emitting module NIOEmbedded
[211/259] Compiling NIOPosix IntegerTypes.swift
[212/259] Compiling NIOPosix Linux.swift
[213/259] Compiling NIOPosix LinuxCPUSet.swift
[214/259] Compiling NIOPosix LinuxUring.swift
[215/259] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[216/264] Compiling NIOPosix PipePair.swift
[217/264] Compiling NIOPosix PointerHelpers.swift
[218/264] Compiling NIOPosix Pool.swift
[219/264] Compiling NIOPosix PooledRecvBufferAllocator.swift
[220/264] Compiling NIOPosix PosixSingletons.swift
[221/264] Compiling NIOPosix FileDescriptor.swift
[222/264] Compiling NIOPosix GetaddrinfoResolver.swift
[223/264] Compiling NIOPosix HappyEyeballs.swift
[224/264] Compiling NIOPosix IO.swift
[225/264] Compiling NIOPosix IntegerBitPacking.swift
[226/264] Compiling NIOPosix BSDSocketAPICommon.swift
[227/264] Compiling NIOPosix BSDSocketAPIPosix.swift
[228/264] Compiling NIOPosix BSDSocketAPIWindows.swift
[229/264] Compiling NIOPosix BaseSocket.swift
[230/264] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[231/264] Compiling NIOPosix RawSocketBootstrap.swift
[232/264] Compiling NIOPosix Resolver.swift
[233/264] Compiling NIOPosix Selectable.swift
[234/264] Compiling NIOPosix SelectableChannel.swift
[235/264] Compiling NIOPosix SelectableEventLoop.swift
[236/264] Compiling NIOPosix SelectorEpoll.swift
[237/264] Compiling NIOPosix SelectorGeneric.swift
[238/264] Compiling NIOPosix SelectorKqueue.swift
[239/264] Compiling NIOPosix SelectorUring.swift
[240/264] Compiling NIOPosix ServerSocket.swift
[241/264] Emitting module NIOPosix
[242/264] Compiling NIOPosix ThreadPosix.swift
[243/264] Compiling NIOPosix ThreadWindows.swift
[244/264] Compiling NIOPosix Utilities.swift
[245/264] Compiling NIOPosix VsockAddress.swift
[246/264] Compiling NIOPosix VsockChannelEvents.swift
[247/264] Compiling NIOPosix Socket.swift
[248/264] Compiling NIOPosix SocketChannel.swift
[249/264] Compiling NIOPosix SocketProtocols.swift
[250/264] Compiling NIOPosix System.swift
[251/264] Compiling NIOPosix Thread.swift
[252/264] Compiling NIOPosix NIOThreadPool.swift
[253/264] Compiling NIOPosix NonBlockingFileIO.swift
[254/264] Compiling NIOPosix PendingDatagramWritesManager.swift
[255/264] Compiling NIOPosix PendingWritesManager.swift
[256/264] Compiling NIOPosix PipeChannel.swift
[257/264] Compiling NIOPosix BaseSocketChannel.swift
[258/264] Compiling NIOPosix BaseStreamSocketChannel.swift
[259/264] Compiling NIOPosix Bootstrap.swift
[260/264] Compiling NIOPosix ControlMessage.swift
[261/264] Compiling NIOPosix DatagramVectorReadManager.swift
[262/266] Emitting module NIO
[263/266] Compiling NIO Exports.swift
[264/272] Emitting module _NIOConcurrency
[265/272] Compiling _NIOConcurrency Empty.swift
[266/272] Emitting module NIOFoundationCompat
[267/272] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[268/272] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[269/272] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[270/281] Compiling Dribble TurnChannels.swift
[271/281] Compiling Dribble StunClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Dribble/StunClient.swift:25:21: warning: capture of 'sender' with non-sendable type 'StunInboundHandler' in a '@Sendable' closure
23 |                     },
24 |                     ByteToMessageHandler(StunParser()),
25 |                     sender
   |                     `- warning: capture of 'sender' with non-sendable type 'StunInboundHandler' in a '@Sendable' closure
26 |                 )
27 |             }.bind(
/Users/admin/builder/spi-builder-workspace/Sources/Dribble/StunInboundHandler.swift:9:13: note: class 'StunInboundHandler' does not conform to the 'Sendable' protocol
 7 | }
 8 |
 9 | final class StunInboundHandler: ChannelInboundHandler, StunMessageSender {
   |             `- note: class 'StunInboundHandler' does not conform to the 'Sendable' protocol
10 |     public typealias InboundIn = StunMessage
11 |     public typealias OutboundOut = AddressedEnvelope<ByteBuffer>
[272/281] Compiling Dribble TurnClient.swift
[273/281] Compiling Dribble TurnAllocation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Dribble/TurnAllocation.swift:40:18: warning: stored property 'client' of 'Sendable'-conforming class 'TurnAllocationChannel' has non-sendable type 'TurnClient'; this is an error in the Swift 6 language mode
 38 |
 39 | final class TurnAllocationChannel: Channel, ChannelCore {
 40 |     internal let client: TurnClient
    |                  `- warning: stored property 'client' of 'Sendable'-conforming class 'TurnAllocationChannel' has non-sendable type 'TurnClient'; this is an error in the Swift 6 language mode
 41 |     internal let allocationAddress: SocketAddress
 42 |     public let allocator: ByteBufferAllocator
/Users/admin/builder/spi-builder-workspace/Sources/Dribble/TurnClient.swift:5:20: note: class 'TurnClient' does not conform to the 'Sendable' protocol
 3 | import NIO
 4 |
 5 | public final class TurnClient: StunClient {
   |                    `- note: class 'TurnClient' does not conform to the 'Sendable' protocol
 6 |     public func requestAllocation() async throws -> TurnAllocation {
 7 |         let message = try await sendMessage(.allocationRequest())
/Users/admin/builder/spi-builder-workspace/Sources/Dribble/TurnAllocation.swift:43:17: warning: stored property '_pipeline' of 'Sendable'-conforming class 'TurnAllocationChannel' is mutable; this is an error in the Swift 6 language mode
 41 |     internal let allocationAddress: SocketAddress
 42 |     public let allocator: ByteBufferAllocator
 43 |     private var _pipeline: ChannelPipeline!
    |                 `- warning: stored property '_pipeline' of 'Sendable'-conforming class 'TurnAllocationChannel' is mutable; this is an error in the Swift 6 language mode
 44 |
 45 |     init(client: TurnClient, allocationAddress: SocketAddress) {
/Users/admin/builder/spi-builder-workspace/Sources/Dribble/TurnAllocation.swift:115:47: warning: capture of 'data' with non-sendable type 'NIOAny' in a '@Sendable' local function; this is an error in the Swift 6 language mode
113 |                         StunAttribute(
114 |                             type: .data,
115 |                             value: unwrapData(data)
    |                                               `- warning: capture of 'data' with non-sendable type 'NIOAny' in a '@Sendable' local function; this is an error in the Swift 6 language mode
116 |                         )
117 |                     ]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/NIOAny.swift:45:15: note: struct 'NIOAny' does not conform to the 'Sendable' protocol
 43 | ///         }
 44 | ///     }
 45 | public struct NIOAny {
    |               `- note: struct 'NIOAny' does not conform to the 'Sendable' protocol
 46 |     @usableFromInline
 47 |     /* private but _versioned */ let _storage: _NIOAny
/Users/admin/builder/spi-builder-workspace/Sources/Dribble/TurnAllocation.swift:127:18: warning: sending value of non-Sendable type '() async throws -> ()' risks causing data races; this is an error in the Swift 6 language mode
125 |             }
126 |         } else {
127 |             Task.detached {
    |                  |- warning: sending value of non-Sendable type '() async throws -> ()' risks causing data races; this is an error in the Swift 6 language mode
    |                  `- note: Passing task-isolated value of non-Sendable type '() async throws -> ()' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
128 |                 try await run()
129 |             }
[274/281] Compiling Dribble StunInboundHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/Dribble/StunInboundHandler.swift:82:13: warning: capture of 'promise' with non-sendable type 'EventLoopPromise<StunMessage>' in a '@Sendable' closure
80 |             )
81 |         ).flatMap {
82 |             promise.futureResult
   |             `- warning: capture of 'promise' with non-sendable type 'EventLoopPromise<StunMessage>' in a '@Sendable' closure
83 |         }.get()
84 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Dribble/STUN.swift:442:15: note: consider making struct 'StunMessage' conform to the 'Sendable' protocol
440 | }
441 |
442 | public struct StunMessage {
    |               `- note: consider making struct 'StunMessage' conform to the 'Sendable' protocol
443 |     public internal(set) var header: StunMessageHeader
444 |     public internal(set) var attributes: [StunAttribute]
[275/281] Compiling Dribble Heplers.swift
[276/281] Emitting module Dribble
/Users/admin/builder/spi-builder-workspace/Sources/Dribble/StunClient.swift:25:21: warning: capture of 'sender' with non-sendable type 'StunInboundHandler' in a '@Sendable' closure
23 |                     },
24 |                     ByteToMessageHandler(StunParser()),
25 |                     sender
   |                     `- warning: capture of 'sender' with non-sendable type 'StunInboundHandler' in a '@Sendable' closure
26 |                 )
27 |             }.bind(
/Users/admin/builder/spi-builder-workspace/Sources/Dribble/StunInboundHandler.swift:9:13: note: class 'StunInboundHandler' does not conform to the 'Sendable' protocol
 7 | }
 8 |
 9 | final class StunInboundHandler: ChannelInboundHandler, StunMessageSender {
   |             `- note: class 'StunInboundHandler' does not conform to the 'Sendable' protocol
10 |     public typealias InboundIn = StunMessage
11 |     public typealias OutboundOut = AddressedEnvelope<ByteBuffer>
/Users/admin/builder/spi-builder-workspace/Sources/Dribble/TurnAllocation.swift:40:18: warning: stored property 'client' of 'Sendable'-conforming class 'TurnAllocationChannel' has non-sendable type 'TurnClient'; this is an error in the Swift 6 language mode
 38 |
 39 | final class TurnAllocationChannel: Channel, ChannelCore {
 40 |     internal let client: TurnClient
    |                  `- warning: stored property 'client' of 'Sendable'-conforming class 'TurnAllocationChannel' has non-sendable type 'TurnClient'; this is an error in the Swift 6 language mode
 41 |     internal let allocationAddress: SocketAddress
 42 |     public let allocator: ByteBufferAllocator
/Users/admin/builder/spi-builder-workspace/Sources/Dribble/TurnClient.swift:5:20: note: class 'TurnClient' does not conform to the 'Sendable' protocol
 3 | import NIO
 4 |
 5 | public final class TurnClient: StunClient {
   |                    `- note: class 'TurnClient' does not conform to the 'Sendable' protocol
 6 |     public func requestAllocation() async throws -> TurnAllocation {
 7 |         let message = try await sendMessage(.allocationRequest())
/Users/admin/builder/spi-builder-workspace/Sources/Dribble/TurnAllocation.swift:43:17: warning: stored property '_pipeline' of 'Sendable'-conforming class 'TurnAllocationChannel' is mutable; this is an error in the Swift 6 language mode
 41 |     internal let allocationAddress: SocketAddress
 42 |     public let allocator: ByteBufferAllocator
 43 |     private var _pipeline: ChannelPipeline!
    |                 `- warning: stored property '_pipeline' of 'Sendable'-conforming class 'TurnAllocationChannel' is mutable; this is an error in the Swift 6 language mode
 44 |
 45 |     init(client: TurnClient, allocationAddress: SocketAddress) {
[277/281] Compiling Dribble Errors.swift
[278/281] Compiling Dribble STUN.swift
[279/283] Emitting module CLIExample
/Users/admin/builder/spi-builder-workspace/Sources/CLIExample/CLI.swift:45:43: warning: non-sendable result type 'StunClient' cannot be sent from nonisolated context in call to static method 'connect(to:)'; this is an error in the Swift 6 language mode
43 | struct CLI {
44 |     static func main() async throws {
45 |         let client = try await TurnClient.connect(
   |                                           `- warning: non-sendable result type 'StunClient' cannot be sent from nonisolated context in call to static method 'connect(to:)'; this is an error in the Swift 6 language mode
46 |             to: SocketAddress.makeAddressResolvingHost("10.211.55.4", port: 3478)
47 |         )
/Users/admin/builder/spi-builder-workspace/Sources/Dribble/StunClient.swift:5:14: note: class 'StunClient' does not conform to the 'Sendable' protocol
 3 | import NIO
 4 |
 5 | public class StunClient {
   |              `- note: class 'StunClient' does not conform to the 'Sendable' protocol
 6 |     let channel: Channel
 7 |     let sender: StunMessageSender
/Users/admin/builder/spi-builder-workspace/Sources/CLIExample/CLI.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dribble'
 1 | import Dribble
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dribble'
 2 | import NIO
 3 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIExample/CLI.swift:50:43: warning: non-sendable result type 'TurnAllocation' cannot be sent from nonisolated context in call to instance method 'requestAllocation()'; this is an error in the Swift 6 language mode
48 |
49 |         let myAddress = try await client.requestBinding(addressFamily: .ipv4)
50 |         let allocation = try await client.requestAllocation()
   |                                           `- warning: non-sendable result type 'TurnAllocation' cannot be sent from nonisolated context in call to instance method 'requestAllocation()'; this is an error in the Swift 6 language mode
51 |
52 |         // Normally the other client should also find their address
/Users/admin/builder/spi-builder-workspace/Sources/Dribble/TurnAllocation.swift:3:15: note: struct 'TurnAllocation' does not conform to the 'Sendable' protocol
  1 | import NIO
  2 |
  3 | public struct TurnAllocation {
    |               `- note: struct 'TurnAllocation' does not conform to the 'Sendable' protocol
  4 |     public let ourAddress: SocketAddress
  5 |     internal let client: TurnClient
/Users/admin/builder/spi-builder-workspace/Sources/CLIExample/CLI.swift:69:50: warning: sending value of non-Sendable type 'any ChannelHandler...' risks causing data races; this is an error in the Swift 6 language mode
67 |         let allocationChannel = try await allocation.createChannel(for: theirAddress)
68 |         try await allocationChannel.pipeline.addHandler(ByteToMessageHandler(PrintHandler()))
69 |         try await proxyTargettedChannel.pipeline.addHandlers(
   |                                                  |- warning: sending value of non-Sendable type 'any ChannelHandler...' risks causing data races; this is an error in the Swift 6 language mode
   |                                                  `- note: sending main actor-isolated value of non-Sendable type 'any ChannelHandler...' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
70 |             EnvelopToByteBufferConverter { _ in },
71 |             ByteToMessageHandler(PrintHandler())
[280/283] Compiling CLIExample CLI.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIExample/CLI.swift:45:43: warning: non-sendable result type 'StunClient' cannot be sent from nonisolated context in call to static method 'connect(to:)'; this is an error in the Swift 6 language mode
43 | struct CLI {
44 |     static func main() async throws {
45 |         let client = try await TurnClient.connect(
   |                                           `- warning: non-sendable result type 'StunClient' cannot be sent from nonisolated context in call to static method 'connect(to:)'; this is an error in the Swift 6 language mode
46 |             to: SocketAddress.makeAddressResolvingHost("10.211.55.4", port: 3478)
47 |         )
/Users/admin/builder/spi-builder-workspace/Sources/Dribble/StunClient.swift:5:14: note: class 'StunClient' does not conform to the 'Sendable' protocol
 3 | import NIO
 4 |
 5 | public class StunClient {
   |              `- note: class 'StunClient' does not conform to the 'Sendable' protocol
 6 |     let channel: Channel
 7 |     let sender: StunMessageSender
/Users/admin/builder/spi-builder-workspace/Sources/CLIExample/CLI.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dribble'
 1 | import Dribble
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dribble'
 2 | import NIO
 3 |
/Users/admin/builder/spi-builder-workspace/Sources/CLIExample/CLI.swift:50:43: warning: non-sendable result type 'TurnAllocation' cannot be sent from nonisolated context in call to instance method 'requestAllocation()'; this is an error in the Swift 6 language mode
48 |
49 |         let myAddress = try await client.requestBinding(addressFamily: .ipv4)
50 |         let allocation = try await client.requestAllocation()
   |                                           `- warning: non-sendable result type 'TurnAllocation' cannot be sent from nonisolated context in call to instance method 'requestAllocation()'; this is an error in the Swift 6 language mode
51 |
52 |         // Normally the other client should also find their address
/Users/admin/builder/spi-builder-workspace/Sources/Dribble/TurnAllocation.swift:3:15: note: struct 'TurnAllocation' does not conform to the 'Sendable' protocol
  1 | import NIO
  2 |
  3 | public struct TurnAllocation {
    |               `- note: struct 'TurnAllocation' does not conform to the 'Sendable' protocol
  4 |     public let ourAddress: SocketAddress
  5 |     internal let client: TurnClient
/Users/admin/builder/spi-builder-workspace/Sources/CLIExample/CLI.swift:69:50: warning: sending value of non-Sendable type 'any ChannelHandler...' risks causing data races; this is an error in the Swift 6 language mode
67 |         let allocationChannel = try await allocation.createChannel(for: theirAddress)
68 |         try await allocationChannel.pipeline.addHandler(ByteToMessageHandler(PrintHandler()))
69 |         try await proxyTargettedChannel.pipeline.addHandlers(
   |                                                  |- warning: sending value of non-Sendable type 'any ChannelHandler...' risks causing data races; this is an error in the Swift 6 language mode
   |                                                  `- note: sending main actor-isolated value of non-Sendable type 'any ChannelHandler...' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
70 |             EnvelopToByteBufferConverter { _ in },
71 |             ByteToMessageHandler(PrintHandler())
[280/283] Write Objects.LinkFileList
[281/283] Linking CLIExample
[282/283] Applying CLIExample
Build complete! (17.21s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.60.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    }
  ],
  "manifest_display_name" : "Dribble",
  "name" : "Dribble",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Dribble",
      "targets" : [
        "Dribble"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CLIExample",
      "targets" : [
        "CLIExample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DribbleTests",
      "module_type" : "SwiftTarget",
      "name" : "DribbleTests",
      "path" : "Tests/DribbleTests",
      "sources" : [
        "DribbleTests.swift"
      ],
      "target_dependencies" : [
        "Dribble"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Dribble",
      "module_type" : "SwiftTarget",
      "name" : "Dribble",
      "path" : "Sources/Dribble",
      "product_dependencies" : [
        "NIO",
        "_NIOConcurrency",
        "NIOFoundationCompat",
        "Crypto"
      ],
      "product_memberships" : [
        "Dribble",
        "CLIExample"
      ],
      "sources" : [
        "Errors.swift",
        "Heplers.swift",
        "STUN.swift",
        "StunClient.swift",
        "StunInboundHandler.swift",
        "TurnAllocation.swift",
        "TurnChannels.swift",
        "TurnClient.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CLIExample",
      "module_type" : "SwiftTarget",
      "name" : "CLIExample",
      "path" : "Sources/CLIExample",
      "product_memberships" : [
        "CLIExample"
      ],
      "sources" : [
        "CLI.swift"
      ],
      "target_dependencies" : [
        "Dribble"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.5"
}
Done.