The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Dribble, reference main (7e82e7), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 04:00:12 UTC.

Swift 6 data race errors: 6

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orlandos-nl/Dribble.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/orlandos-nl/Dribble
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-collections.git
[1/1569] Fetching swift-atomics
[33/12776] Fetching swift-atomics, swift-crypto
[112/28379] Fetching swift-atomics, swift-crypto, swift-collections
[1592/100393] Fetching swift-atomics, swift-crypto, swift-collections, swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (7.58s)
Fetched https://github.com/apple/swift-crypto.git from cache (7.58s)
Fetched https://github.com/apple/swift-atomics.git from cache (7.58s)
Computing version for https://github.com/apple/swift-crypto.git
Fetched https://github.com/apple/swift-collections.git from cache (7.58s)
Computed https://github.com/apple/swift-crypto.git at 2.1.0 (0.59s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.60.0 (0.64s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.5 (0.58s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.43s)
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-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-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.77.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.0",
              "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
[3/74] Fetching dribble
Fetched https://github.com/orlandos-nl/Dribble.git from cache (0.69s)
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-nio.git from cache (0.71s)
Fetched https://github.com/apple/swift-crypto.git from cache (0.71s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.77.0 (0.60s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.56s)
[1/3919] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.08s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.08s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.41s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.03s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.69s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (0.58s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.77.0
Creating working copy for https://github.com/orlandos-nl/Dribble.git
Working copy of https://github.com/orlandos-nl/Dribble.git resolved at main (7e82e7f)
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.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
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
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.0
Building package at path:  $PWD
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.1.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
[16/27] Compiling CNIOWindows shim.c
[17/27] Compiling CNIOLinux shim.c
[18/27] Compiling CNIOLinux liburing_shims.c
[19/27] Write swift-version--7754E27361AE5C74.txt
[20/27] Compiling _AtomicsShims.c
[21/128] Compiling CNIODarwin shim.c
[22/128] Compiling c-nioatomics.c
[23/128] Compiling c-atomics.c
[25/134] Compiling Atomics ManagedAtomic.swift
[26/134] Compiling Atomics ManagedAtomicLazyReference.swift
[27/135] Compiling Atomics AtomicMemoryOrderings.swift
[28/135] Compiling Atomics DoubleWord.swift
[29/135] Compiling _NIOBase64 Base64.swift
[30/135] Emitting module _NIOBase64
[31/135] Compiling Atomics AtomicBool.swift
[32/135] Compiling Atomics IntegerConformances.swift
[33/135] Compiling Atomics PointerConformances.swift
[34/135] Compiling Atomics Primitives.native.swift
[35/135] Compiling Atomics UnsafeAtomic.swift
[36/135] Compiling Atomics UnsafeAtomicLazyReference.swift
[39/137] Compiling Atomics AtomicStorage.swift
[40/137] Compiling Atomics AtomicValue.swift
[41/137] Compiling DequeModule _UnsafeWrappedBuffer.swift
[44/137] Compiling Atomics AtomicOptionalWrappable.swift
[45/137] Compiling Atomics AtomicReference.swift
[48/137] Compiling Atomics IntegerOperations.swift
[49/137] Compiling Atomics Unmanaged extensions.swift
[50/137] Emitting module DequeModule
[51/137] Compiling Atomics OptionalRawRepresentable.swift
[52/137] Compiling Atomics RawRepresentable.swift
[53/137] Compiling Atomics Primitives.shims.swift
[54/137] Compiling Atomics AtomicInteger.swift
[55/137] Compiling _NIODataStructures Heap.swift
[56/137] Compiling _NIODataStructures PriorityQueue.swift
[57/137] Emitting module _NIODataStructures
[58/137] Compiling _NIODataStructures _TinyArray.swift
[59/137] Compiling NIOConcurrencyHelpers NIOLock.swift
[60/137] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[61/137] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[62/137] Compiling NIOConcurrencyHelpers lock.swift
[63/137] Emitting module NIOConcurrencyHelpers
[64/137] Compiling NIOConcurrencyHelpers atomics.swift
[75/137] Emitting module Atomics
[78/197] Compiling NIOCore GlobalSingletons.swift
[79/197] Compiling NIOCore IO.swift
[80/197] Compiling NIOCore IOData.swift
[81/197] Compiling NIOCore IPProtocol.swift
[82/197] Compiling NIOCore IntegerBitPacking.swift
[83/197] Compiling NIOCore IntegerTypes.swift
[84/203] Compiling NIOCore EventLoopFuture+Deprecated.swift
[85/203] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[86/203] Compiling NIOCore EventLoopFuture.swift
[87/203] Compiling NIOCore FileDescriptor.swift
[88/203] Compiling NIOCore FileHandle.swift
[89/203] Compiling NIOCore FileRegion.swift
[90/203] Compiling NIOCore NIOLoopBound.swift
[91/203] Compiling NIOCore NIOSendable.swift
[92/203] Compiling NIOCore PointerHelpers.swift
[93/203] Compiling NIOCore RecvByteBufferAllocator.swift
[94/203] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[95/203] Compiling NIOCore SocketAddresses.swift
[96/203] Compiling NIOCore Interfaces.swift
[97/203] Compiling NIOCore Linux.swift
[98/203] Compiling NIOCore MarkedCircularBuffer.swift
[99/203] Compiling NIOCore MulticastChannel.swift
[100/203] Compiling NIOCore NIOAny.swift
[101/203] Compiling NIOCore NIOCloseOnErrorHandler.swift
[102/203] Compiling NIOCore SocketOptionProvider.swift
[103/203] Compiling NIOCore SystemCallHelpers.swift
[104/203] Compiling NIOCore TimeAmount+Duration.swift
[105/203] Compiling NIOCore TypeAssistedChannelHandler.swift
[106/203] Compiling NIOCore UniversalBootstrapSupport.swift
[107/203] Compiling NIOCore Utilities.swift
[108/203] Compiling NIOCore Codec.swift
[109/203] Compiling NIOCore ConvenienceOptionSupport.swift
[110/203] Compiling NIOCore DeadChannel.swift
[111/203] Compiling NIOCore DispatchQueue+WithFuture.swift
[112/203] Compiling NIOCore EventLoop+Deprecated.swift
[113/203] Compiling NIOCore EventLoop+SerialExecutor.swift
[114/203] Compiling NIOCore EventLoop.swift
[121/209] Compiling NIOCore ByteBuffer-aux.swift
[122/209] Compiling NIOCore Channel.swift
[123/209] Compiling NIOCore ChannelHandler.swift
[124/209] Compiling NIOCore ChannelHandlers.swift
[125/209] Compiling NIOCore ChannelInvoker.swift
[126/209] Compiling NIOCore ChannelOption.swift
[139/209] Compiling NIOCore CloseRatchet.swift
[140/209] Compiling NIOCore NIOAsyncSequenceProducer.swift
[141/209] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[142/209] Compiling NIOCore NIOAsyncWriter.swift
[143/209] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[144/209] Compiling NIOCore BSDSocketAPI.swift
[145/209] Compiling NIOCore ChannelPipeline.swift
[146/209] Compiling NIOCore CircularBuffer.swift
[157/209] Compiling NIOCore ByteBuffer-conversions.swift
[158/209] Compiling NIOCore ByteBuffer-core.swift
[159/209] Compiling NIOCore ByteBuffer-hexdump.swift
[160/209] Compiling NIOCore ByteBuffer-int.swift
[161/209] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[162/209] Compiling NIOCore ByteBuffer-multi-int.swift
[163/209] Compiling NIOCore ByteBuffer-views.swift
[164/209] Emitting module Crypto
[165/209] Compiling NIOCore AddressedEnvelope.swift
[166/209] Compiling NIOCore AsyncAwaitSupport.swift
[167/209] Compiling NIOCore AsyncChannel.swift
[168/209] Compiling NIOCore AsyncChannelInboundStream.swift
[169/209] Compiling NIOCore AsyncChannelInboundStreamChannelHandler.swift
[170/209] Compiling NIOCore AsyncChannelOutboundWriter.swift
[171/209] Compiling NIOCore AsyncChannelOutboundWriterHandler.swift
[172/209] Compiling Crypto SafeCompare_boring.swift
[173/209] Compiling Crypto Zeroization_boring.swift
[174/209] Compiling Crypto PrettyBytes.swift
[175/209] Compiling Crypto SafeCompare.swift
[176/209] Compiling Crypto SecureBytes.swift
[177/209] Compiling Crypto Zeroization.swift
[206/209] Emitting module NIOCore
[207/259] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[208/259] Compiling NIOEmbedded Embedded.swift
[209/259] Compiling NIOEmbedded AsyncTestingChannel.swift
[210/259] Emitting module NIOEmbedded
[211/259] Compiling NIOPosix PipePair.swift
[212/259] Compiling NIOPosix PointerHelpers.swift
[213/259] Compiling NIOPosix Pool.swift
[214/259] Compiling NIOPosix PooledRecvBufferAllocator.swift
[215/259] Compiling NIOPosix PosixSingletons.swift
[216/264] Compiling NIOPosix FileDescriptor.swift
[217/264] Compiling NIOPosix GetaddrinfoResolver.swift
[218/264] Compiling NIOPosix HappyEyeballs.swift
[219/264] Compiling NIOPosix IO.swift
[220/264] Compiling NIOPosix IntegerBitPacking.swift
[221/264] Compiling NIOPosix RawSocketBootstrap.swift
[222/264] Compiling NIOPosix Resolver.swift
[223/264] Compiling NIOPosix Selectable.swift
[224/264] Compiling NIOPosix SelectableChannel.swift
[225/264] Compiling NIOPosix SelectableEventLoop.swift
[226/264] Compiling NIOPosix ThreadPosix.swift
[227/264] Compiling NIOPosix ThreadWindows.swift
[228/264] Compiling NIOPosix Utilities.swift
[229/264] Compiling NIOPosix VsockAddress.swift
[230/264] Compiling NIOPosix VsockChannelEvents.swift
[231/264] Compiling NIOPosix Socket.swift
[232/264] Compiling NIOPosix SocketChannel.swift
[233/264] Compiling NIOPosix SocketProtocols.swift
[234/264] Compiling NIOPosix System.swift
[235/264] Compiling NIOPosix Thread.swift
[236/264] Compiling NIOPosix BSDSocketAPICommon.swift
[237/264] Compiling NIOPosix BSDSocketAPIPosix.swift
[238/264] Compiling NIOPosix BSDSocketAPIWindows.swift
[239/264] Compiling NIOPosix BaseSocket.swift
[240/264] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[241/264] Emitting module NIOPosix
[242/264] Compiling NIOPosix NIOThreadPool.swift
[243/264] Compiling NIOPosix NonBlockingFileIO.swift
[244/264] Compiling NIOPosix PendingDatagramWritesManager.swift
[245/264] Compiling NIOPosix PendingWritesManager.swift
[246/264] Compiling NIOPosix PipeChannel.swift
[247/264] Compiling NIOPosix SelectorEpoll.swift
[248/264] Compiling NIOPosix SelectorGeneric.swift
[249/264] Compiling NIOPosix SelectorKqueue.swift
[250/264] Compiling NIOPosix SelectorUring.swift
[251/264] Compiling NIOPosix ServerSocket.swift
[252/264] Compiling NIOPosix IntegerTypes.swift
[253/264] Compiling NIOPosix Linux.swift
[254/264] Compiling NIOPosix LinuxCPUSet.swift
[255/264] Compiling NIOPosix LinuxUring.swift
[256/264] Compiling NIOPosix MultiThreadedEventLoopGroup.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] Compiling NIO Exports.swift
[263/266] Emitting module NIO
[264/272] Emitting module _NIOConcurrency
[265/272] Compiling _NIOConcurrency Empty.swift
[266/272] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[267/272] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[268/272] Emitting module NIOFoundationCompat
[269/272] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[270/281] Compiling Dribble TurnClient.swift
[271/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; this is an error in the Swift 6 language mode
80 |             )
81 |         ).flatMap {
82 |             promise.futureResult
   |             `- warning: capture of 'promise' with non-sendable type 'EventLoopPromise<StunMessage>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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]
[272/281] Compiling Dribble TurnChannels.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: task-isolated value of type '() async throws -> ()' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
125 |             }
126 |         } else {
127 |             Task.detached {
    |                  `- warning: task-isolated value of type '() async throws -> ()' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
128 |                 try await run()
129 |             }
[274/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; this is an error in the Swift 6 language mode
23 |                     },
24 |                     ByteToMessageHandler(StunParser()),
25 |                     sender
   |                     `- warning: capture of 'sender' with non-sendable type 'StunInboundHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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>
[275/281] Compiling Dribble Heplers.swift
[276/281] Compiling Dribble Errors.swift
[277/281] Compiling Dribble STUN.swift
[278/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; this is an error in the Swift 6 language mode
23 |                     },
24 |                     ByteToMessageHandler(StunParser()),
25 |                     sender
   |                     `- warning: capture of 'sender' with non-sendable type 'StunInboundHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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) {
[279/283] Compiling CLIExample CLI.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLIExample/CLI.swift:45:43: warning: non-sendable type 'StunClient' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'StunClient' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'TurnAllocation' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'TurnAllocation' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 main actor-isolated value of type 'any ChannelHandler...' with later accesses to nonisolated context 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 main actor-isolated value of type 'any ChannelHandler...' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
70 |             EnvelopToByteBufferConverter { _ in },
71 |             ByteToMessageHandler(PrintHandler())
[280/283] Emitting module CLIExample
/Users/admin/builder/spi-builder-workspace/Sources/CLIExample/CLI.swift:45:43: warning: non-sendable type 'StunClient' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'StunClient' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'TurnAllocation' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'TurnAllocation' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 main actor-isolated value of type 'any ChannelHandler...' with later accesses to nonisolated context 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 main actor-isolated value of type 'any ChannelHandler...' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
70 |             EnvelopToByteBufferConverter { _ in },
71 |             ByteToMessageHandler(PrintHandler())
[280/283] Write Objects.LinkFileList
[281/283] Linking CLIExample
[282/283] Applying CLIExample
Build complete! (49.94s)
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.