Build Information
Successful build of Dribble, reference main (7e82e7
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 23:34:44 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: 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-nio.git from cache
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-crypto.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.88s)
Fetched https://github.com/apple/swift-crypto.git from cache (0.88s)
Fetched https://github.com/apple/swift-nio.git from cache (0.90s)
Computing version for https://github.com/apple/swift-crypto.git
Fetched https://github.com/apple/swift-collections.git from cache (0.90s)
Computed https://github.com/apple/swift-crypto.git at 2.1.0 (1.50s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.60.0 (0.63s)
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.48s)
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-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
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
========================================
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.60s)
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.77s)
Fetched https://github.com/apple/swift-nio.git from cache (0.77s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (1.50s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.52s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.56s)
Fetched https://github.com/apple/swift-system.git from cache (0.57s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.64s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.44s)
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.56s)
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
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/orlandos-nl/Dribble.git
Working copy of https://github.com/orlandos-nl/Dribble.git resolved at main (7e82e7f)
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
[16/27] Compiling CNIOLinux liburing_shims.c
[17/27] Compiling CNIOLinux shim.c
[18/27] Compiling CNIOWindows shim.c
[19/27] Write swift-version-2F0A5646E1D333AE.txt
[20/27] Compiling _AtomicsShims.c
[21/128] Compiling CNIODarwin shim.c
[23/128] Compiling Atomics OptionalRawRepresentable.swift
[24/128] Compiling Atomics RawRepresentable.swift
[25/129] Compiling Atomics AtomicBool.swift
[26/129] Compiling Atomics IntegerConformances.swift
[27/129] Compiling Atomics UnsafeAtomic.swift
[28/129] Compiling Atomics UnsafeAtomicLazyReference.swift
[29/129] Compiling Atomics AtomicMemoryOrderings.swift
[30/129] Compiling Atomics DoubleWord.swift
[31/129] Emitting module _NIOBase64
[32/129] Compiling _NIOBase64 Base64.swift
[33/129] Compiling DequeModule _UnsafeWrappedBuffer.swift
[34/129] Compiling Atomics ManagedAtomic.swift
[35/129] Compiling Atomics ManagedAtomicLazyReference.swift
[36/129] Compiling Atomics AtomicStorage.swift
[37/129] Compiling Atomics AtomicValue.swift
[38/129] Compiling Atomics AtomicOptionalWrappable.swift
[39/129] Compiling Atomics AtomicReference.swift
[40/129] Compiling Atomics PointerConformances.swift
[41/129] Compiling Atomics Primitives.native.swift
[42/129] Emitting module DequeModule
[43/129] Compiling Atomics Primitives.shims.swift
[44/129] Compiling Atomics AtomicInteger.swift
[59/131] Compiling Atomics IntegerOperations.swift
[60/131] Compiling Atomics Unmanaged extensions.swift
[61/131] Compiling _NIODataStructures _TinyArray.swift
[64/131] Emitting module Atomics
[67/131] Emitting module _NIODataStructures
[68/131] Compiling _NIODataStructures Heap.swift
[69/131] Compiling _NIODataStructures PriorityQueue.swift
[69/131] Compiling c-nioatomics.c
[70/131] Compiling c-atomics.c
[72/137] Compiling NIOConcurrencyHelpers NIOLock.swift
[73/137] Compiling NIOConcurrencyHelpers lock.swift
[74/137] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[75/137] Compiling NIOConcurrencyHelpers atomics.swift
[76/137] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[77/137] Emitting module NIOConcurrencyHelpers
[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 Interfaces.swift
[85/203] Compiling NIOCore Linux.swift
[86/203] Compiling NIOCore MarkedCircularBuffer.swift
[87/203] Compiling NIOCore MulticastChannel.swift
[88/203] Compiling NIOCore NIOAny.swift
[89/203] Compiling NIOCore NIOCloseOnErrorHandler.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 SocketOptionProvider.swift
[97/203] Compiling NIOCore SystemCallHelpers.swift
[98/203] Compiling NIOCore TimeAmount+Duration.swift
[99/203] Compiling NIOCore TypeAssistedChannelHandler.swift
[100/203] Compiling NIOCore UniversalBootstrapSupport.swift
[101/203] Compiling NIOCore Utilities.swift
[102/203] Compiling NIOCore AddressedEnvelope.swift
[103/203] Compiling NIOCore AsyncAwaitSupport.swift
[104/203] Compiling NIOCore AsyncChannel.swift
[105/203] Compiling NIOCore AsyncChannelInboundStream.swift
[106/203] Compiling NIOCore AsyncChannelInboundStreamChannelHandler.swift
[107/203] Compiling NIOCore AsyncChannelOutboundWriter.swift
[108/203] Compiling NIOCore AsyncChannelOutboundWriterHandler.swift
[109/203] Compiling NIOCore Codec.swift
[110/203] Compiling NIOCore ConvenienceOptionSupport.swift
[111/203] Compiling NIOCore DeadChannel.swift
[112/203] Compiling NIOCore DispatchQueue+WithFuture.swift
[113/203] Compiling NIOCore EventLoop+Deprecated.swift
[114/203] Compiling NIOCore EventLoop+SerialExecutor.swift
[115/203] Compiling NIOCore EventLoop.swift
[134/209] Compiling NIOCore EventLoopFuture+Deprecated.swift
[135/209] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[136/209] Compiling NIOCore EventLoopFuture.swift
[137/209] Compiling NIOCore FileDescriptor.swift
[138/209] Compiling NIOCore FileHandle.swift
[139/209] Compiling NIOCore FileRegion.swift
[140/209] Compiling NIOCore CloseRatchet.swift
[141/209] Compiling NIOCore NIOAsyncSequenceProducer.swift
[142/209] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[143/209] Compiling NIOCore NIOAsyncWriter.swift
[144/209] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[145/209] Compiling NIOCore BSDSocketAPI.swift
[146/209] Compiling NIOCore ByteBuffer-aux.swift
[147/209] Compiling NIOCore Channel.swift
[148/209] Compiling NIOCore ChannelHandler.swift
[149/209] Compiling NIOCore ChannelHandlers.swift
[150/209] Compiling NIOCore ChannelInvoker.swift
[151/209] Compiling NIOCore ChannelOption.swift
[152/209] Compiling NIOCore ChannelPipeline.swift
[153/209] Compiling NIOCore CircularBuffer.swift
[154/209] Compiling NIOCore ByteBuffer-conversions.swift
[155/209] Compiling NIOCore ByteBuffer-core.swift
[156/209] Compiling NIOCore ByteBuffer-hexdump.swift
[157/209] Compiling NIOCore ByteBuffer-int.swift
[158/209] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[159/209] Compiling NIOCore ByteBuffer-multi-int.swift
[160/209] Compiling NIOCore ByteBuffer-views.swift
[172/209] Emitting module Crypto
[173/209] Compiling Crypto SafeCompare_boring.swift
[174/209] Compiling Crypto Zeroization_boring.swift
[175/209] Compiling Crypto PrettyBytes.swift
[176/209] Compiling Crypto SafeCompare.swift
[177/209] Compiling Crypto SecureBytes.swift
[178/209] Compiling Crypto Zeroization.swift
[206/209] Emitting module NIOCore
[207/259] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[208/259] Emitting module NIOEmbedded
[209/259] Compiling NIOEmbedded AsyncTestingChannel.swift
[210/259] Compiling NIOEmbedded Embedded.swift
[211/259] Compiling NIOPosix FileDescriptor.swift
[212/259] Compiling NIOPosix GetaddrinfoResolver.swift
[213/259] Compiling NIOPosix HappyEyeballs.swift
[214/259] Compiling NIOPosix IO.swift
[215/259] Compiling NIOPosix IntegerBitPacking.swift
[216/264] Compiling NIOPosix BSDSocketAPICommon.swift
[217/264] Compiling NIOPosix BSDSocketAPIPosix.swift
[218/264] Compiling NIOPosix BSDSocketAPIWindows.swift
[219/264] Compiling NIOPosix BaseSocket.swift
[220/264] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[221/264] Emitting module NIOPosix
[222/264] Compiling NIOPosix ThreadPosix.swift
[223/264] Compiling NIOPosix ThreadWindows.swift
[224/264] Compiling NIOPosix Utilities.swift
[225/264] Compiling NIOPosix VsockAddress.swift
[226/264] Compiling NIOPosix VsockChannelEvents.swift
[227/264] Compiling NIOPosix RawSocketBootstrap.swift
[228/264] Compiling NIOPosix Resolver.swift
[229/264] Compiling NIOPosix Selectable.swift
[230/264] Compiling NIOPosix SelectableChannel.swift
[231/264] Compiling NIOPosix SelectableEventLoop.swift
[232/264] Compiling NIOPosix PipePair.swift
[233/264] Compiling NIOPosix PointerHelpers.swift
[234/264] Compiling NIOPosix Pool.swift
[235/264] Compiling NIOPosix PooledRecvBufferAllocator.swift
[236/264] Compiling NIOPosix PosixSingletons.swift
[237/264] Compiling NIOPosix SelectorEpoll.swift
[238/264] Compiling NIOPosix SelectorGeneric.swift
[239/264] Compiling NIOPosix SelectorKqueue.swift
[240/264] Compiling NIOPosix SelectorUring.swift
[241/264] Compiling NIOPosix ServerSocket.swift
[242/264] Compiling NIOPosix Socket.swift
[243/264] Compiling NIOPosix SocketChannel.swift
[244/264] Compiling NIOPosix SocketProtocols.swift
[245/264] Compiling NIOPosix System.swift
[246/264] Compiling NIOPosix Thread.swift
[247/264] Compiling NIOPosix NIOThreadPool.swift
[248/264] Compiling NIOPosix NonBlockingFileIO.swift
[249/264] Compiling NIOPosix PendingDatagramWritesManager.swift
[250/264] Compiling NIOPosix PendingWritesManager.swift
[251/264] Compiling NIOPosix PipeChannel.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] Emitting module NIO
[263/266] Compiling NIO Exports.swift
[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 TurnChannels.swift
[272/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 | }
[273/281] Compiling Dribble Heplers.swift
[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
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>
[275/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) {
[276/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]
[277/281] Compiling Dribble STUN.swift
[278/281] Compiling Dribble Errors.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.67s)
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.