Build Information
Successful build of WebSocketActors, reference 1.1.0 (ca2c25
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 23:10:12 UTC.
Swift 6 data race errors: 5
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
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/samalone/websocket-actor-system.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/samalone/websocket-actor-system
* tag 1.1.0 -> FETCH_HEAD
HEAD is now at ca2c25e Merge pull request #10 from samalone/samalone/issue9
Cloned https://github.com/samalone/websocket-actor-system.git
Revision (git rev-parse @):
ca2c25e5702336123f8aa073e9c344fe6befc97c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/samalone/websocket-actor-system.git at 1.1.0
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/samalone/nio-async-websockets
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio.git
[1/34] Fetching nio-async-websockets
[21/1603] Fetching nio-async-websockets, swift-atomics
[69/5263] Fetching nio-async-websockets, swift-atomics, swift-log
[815/7523] Fetching nio-async-websockets, swift-atomics, swift-log, swift-nio-transport-services
[1612/22998] Fetching nio-async-websockets, swift-atomics, swift-log, swift-nio-transport-services, swift-collections
[4537/26151] Fetching nio-async-websockets, swift-atomics, swift-log, swift-nio-transport-services, swift-collections, swift-docc-symbolkit
Fetched https://github.com/apple/swift-atomics.git from cache (1.29s)
[7548/24582] Fetching nio-async-websockets, swift-log, swift-nio-transport-services, swift-collections, swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin
[13287/95729] Fetching nio-async-websockets, swift-log, swift-nio-transport-services, swift-collections, swift-docc-symbolkit, swift-nio
[17248/97767] Fetching nio-async-websockets, swift-log, swift-nio-transport-services, swift-collections, swift-docc-symbolkit, swift-nio, swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.31s)
[62693/95729] Fetching nio-async-websockets, swift-log, swift-nio-transport-services, swift-collections, swift-docc-symbolkit, swift-nio
Fetched https://github.com/apple/swift-docc-symbolkit from cache (4.11s)
Fetched https://github.com/apple/swift-collections.git from cache (4.11s)
Fetched https://github.com/samalone/nio-async-websockets from cache (4.11s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (4.11s)
Fetched https://github.com/apple/swift-log.git from cache (4.50s)
Fetched https://github.com/apple/swift-nio.git from cache (4.50s)
Computing version for https://github.com/samalone/nio-async-websockets
Computed https://github.com/samalone/nio-async-websockets at 1.0.1 (0.53s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (3.66s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.69s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.20.0 (0.67s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.62.0 (0.71s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.67s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.51s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.5 (0.70s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.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-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.20.0
Creating working copy for https://github.com/samalone/nio-async-websockets
Working copy of https://github.com/samalone/nio-async-websockets resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.3
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.62.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": "websocket-actor-system",
"name": "WebSocketActors",
"url": "https://github.com/samalone/websocket-actor-system.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/websocket-actor-system",
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "2.76.1",
"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-nio-transport-services",
"name": "swift-nio-transport-services",
"url": "https://github.com/apple/swift-nio-transport-services.git",
"version": "1.23.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-transport-services",
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "2.76.1",
"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-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-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.6.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"dependencies": [
]
},
{
"identity": "nio-async-websockets",
"name": "NIOAsyncWebSockets",
"url": "https://github.com/samalone/nio-async-websockets",
"version": "1.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/nio-async-websockets",
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "2.76.1",
"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": [
]
}
]
}
]
}
]
}
]
}
Fetching https://github.com/samalone/websocket-actor-system.git
[1/805] Fetching websocket-actor-system
Fetched https://github.com/samalone/websocket-actor-system.git from cache (0.98s)
Fetching https://github.com/samalone/nio-async-websockets from cache
Fetching https://github.com/apple/swift-nio-transport-services.git from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/samalone/nio-async-websockets from cache (0.58s)
Fetched https://github.com/apple/swift-log.git from cache (0.93s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.94s)
Fetched https://github.com/apple/swift-nio.git from cache (0.94s)
Computing version for https://github.com/samalone/nio-async-websockets
Computed https://github.com/samalone/nio-async-websockets at 1.0.1 (0.02s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.48s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.23.0 (0.44s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.51s)
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-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.67s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-system.git
[1/3901] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.98s)
Fetched https://github.com/apple/swift-collections.git from cache (0.98s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (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.75s)
Creating working copy for https://github.com/samalone/nio-async-websockets
Working copy of https://github.com/samalone/nio-async-websockets resolved at 1.0.1
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/samalone/websocket-actor-system.git
Working copy of https://github.com/samalone/websocket-actor-system.git resolved at 1.1.0 (ca2c25e)
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-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.23.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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.76.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
warning: '.resolve-product-dependencies': dependency 'websocket-actor-system' is not used by any target
Found 4 product dependencies
- swift-nio
- swift-nio-transport-services
- swift-log
- NIOAsyncWebSockets
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/samalone/websocket-actor-system.git
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
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/32] Write sources
[18/32] Compiling CNIOWindows WSAStartup.c
[19/32] Compiling CNIOWindows shim.c
[20/32] Write swift-version--7754E27361AE5C74.txt
[21/32] Compiling CNIOLinux liburing_shims.c
[21/32] Compiling CNIOLinux shim.c
[23/38] Compiling _AtomicsShims.c
[24/38] Compiling CNIOLLHTTP c_nio_http.c
[25/38] Compiling CNIOSHA1 c_nio_sha1.c
[25/38] Write sources
[27/56] Compiling CNIOLLHTTP c_nio_api.c
[28/75] Compiling CNIOLLHTTP c_nio_llhttp.c
[29/81] Compiling CNIODarwin shim.c
[30/81] Compiling c-nioatomics.c
[31/81] Compiling c-atomics.c
[33/87] Compiling _NIOBase64 Base64.swift
[34/87] Emitting module _NIOBase64
[35/87] Emitting module DequeModule
[36/88] Compiling Atomics UnsafeAtomic.swift
[37/88] Compiling Atomics UnsafeAtomicLazyReference.swift
[38/90] Compiling Atomics AtomicStorage.swift
[39/90] Compiling Atomics AtomicValue.swift
[44/90] Compiling Atomics AtomicOptionalWrappable.swift
[45/90] Compiling Atomics AtomicReference.swift
[46/90] Compiling Atomics ManagedAtomic.swift
[47/90] Compiling Atomics ManagedAtomicLazyReference.swift
[48/90] Compiling Atomics PointerConformances.swift
[49/90] Compiling Atomics Primitives.native.swift
[50/90] Compiling Atomics Primitives.shims.swift
[51/90] Compiling Atomics AtomicInteger.swift
[54/90] Compiling Atomics AtomicMemoryOrderings.swift
[55/90] Compiling Atomics DoubleWord.swift
[56/90] Emitting module Logging
[57/90] Compiling Atomics IntegerOperations.swift
[58/90] Compiling Atomics Unmanaged extensions.swift
[65/90] Compiling DequeModule _UnsafeWrappedBuffer.swift
[66/90] Compiling Atomics AtomicBool.swift
[67/90] Compiling Atomics IntegerConformances.swift
[68/90] Compiling Atomics OptionalRawRepresentable.swift
[69/90] Compiling Atomics RawRepresentable.swift
[70/90] Compiling Logging MetadataProvider.swift
[71/90] Compiling _NIODataStructures _TinyArray.swift
[72/90] Compiling _NIODataStructures Heap.swift
[73/90] Compiling _NIODataStructures PriorityQueue.swift
[74/90] Emitting module _NIODataStructures
[75/90] Compiling Logging Locks.swift
[76/90] Compiling Logging LogHandler.swift
[77/90] Compiling Logging Logging.swift
[80/90] Compiling NIOConcurrencyHelpers lock.swift
[81/90] Emitting module Atomics
[82/90] Emitting module NIOConcurrencyHelpers
[83/90] Compiling NIOConcurrencyHelpers NIOLock.swift
[84/90] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[85/90] Compiling NIOConcurrencyHelpers atomics.swift
[86/90] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[91/149] Compiling NIOCore GlobalSingletons.swift
[92/149] Compiling NIOCore IO.swift
[93/149] Compiling NIOCore IOData.swift
[94/149] Compiling NIOCore IPProtocol.swift
[95/149] Compiling NIOCore IntegerBitPacking.swift
[96/149] Compiling NIOCore IntegerTypes.swift
[97/155] Compiling NIOCore Interfaces.swift
[98/155] Compiling NIOCore Linux.swift
[99/155] Compiling NIOCore MarkedCircularBuffer.swift
[100/155] Compiling NIOCore MulticastChannel.swift
[101/155] Compiling NIOCore NIOAny.swift
[102/155] Compiling NIOCore NIOCloseOnErrorHandler.swift
[103/155] Compiling NIOCore NIOLoopBound.swift
[104/155] Compiling NIOCore NIOSendable.swift
[105/155] Compiling NIOCore PointerHelpers.swift
[106/155] Compiling NIOCore RecvByteBufferAllocator.swift
[107/155] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[108/155] Compiling NIOCore SocketAddresses.swift
[109/155] Compiling NIOCore AddressedEnvelope.swift
[110/155] Compiling NIOCore AsyncAwaitSupport.swift
[111/155] Compiling NIOCore AsyncChannel.swift
[112/155] Compiling NIOCore AsyncChannelInboundStream.swift
[113/155] Compiling NIOCore AsyncChannelInboundStreamChannelHandler.swift
[114/155] Compiling NIOCore AsyncChannelOutboundWriter.swift
[115/155] Compiling NIOCore AsyncChannelOutboundWriterHandler.swift
[116/155] Compiling NIOCore SocketOptionProvider.swift
[117/155] Compiling NIOCore SystemCallHelpers.swift
[118/155] Compiling NIOCore TimeAmount+Duration.swift
[119/155] Compiling NIOCore TypeAssistedChannelHandler.swift
[120/155] Compiling NIOCore UniversalBootstrapSupport.swift
[121/155] Compiling NIOCore Utilities.swift
[122/155] Compiling NIOCore ConvenienceOptionSupport.swift
[123/155] Compiling NIOCore DeadChannel.swift
[124/155] Compiling NIOCore DispatchQueue+WithFuture.swift
[125/155] Compiling NIOCore EventLoop+Deprecated.swift
[126/155] Compiling NIOCore EventLoop+SerialExecutor.swift
[127/155] Compiling NIOCore EventLoop.swift
[128/155] Compiling NIOCore EventLoopFuture+Deprecated.swift
[129/155] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[130/155] Compiling NIOCore EventLoopFuture.swift
[131/155] Compiling NIOCore FileDescriptor.swift
[132/155] Compiling NIOCore FileHandle.swift
[133/155] Compiling NIOCore FileRegion.swift
[134/155] Compiling NIOCore NIOAsyncSequenceProducer.swift
[135/155] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[136/155] Compiling NIOCore NIOAsyncWriter.swift
[137/155] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[138/155] Compiling NIOCore BSDSocketAPI.swift
[139/155] Compiling NIOCore ByteBuffer-aux.swift
[140/155] Compiling NIOCore ByteBuffer-conversions.swift
[141/155] Compiling NIOCore ChannelHandler.swift
[142/155] Compiling NIOCore ChannelHandlers.swift
[143/155] Compiling NIOCore ChannelInvoker.swift
[144/155] Compiling NIOCore ChannelOption.swift
[145/155] Compiling NIOCore ChannelPipeline.swift
[146/155] Compiling NIOCore CircularBuffer.swift
[147/155] Compiling NIOCore Codec.swift
[148/155] Compiling NIOCore ByteBuffer-core.swift
[149/155] Compiling NIOCore ByteBuffer-hexdump.swift
[150/155] Compiling NIOCore ByteBuffer-int.swift
[151/155] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[152/155] Compiling NIOCore ByteBuffer-multi-int.swift
[153/155] Compiling NIOCore ByteBuffer-views.swift
[154/155] Compiling NIOCore Channel.swift
[155/155] Emitting module NIOCore
[156/205] Emitting module NIOEmbedded
[157/205] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[158/205] Compiling NIOEmbedded Embedded.swift
[159/205] Compiling NIOEmbedded AsyncTestingChannel.swift
[160/205] Compiling NIOPosix PipePair.swift
[161/205] Compiling NIOPosix PointerHelpers.swift
[162/205] Compiling NIOPosix Pool.swift
[163/205] Compiling NIOPosix PooledRecvBufferAllocator.swift
[164/205] Compiling NIOPosix PosixSingletons.swift
[165/210] Compiling NIOPosix BSDSocketAPICommon.swift
[166/210] Compiling NIOPosix BSDSocketAPIPosix.swift
[167/210] Compiling NIOPosix BSDSocketAPIWindows.swift
[168/210] Compiling NIOPosix BaseSocket.swift
[169/210] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[170/210] Compiling NIOPosix IntegerTypes.swift
[171/210] Compiling NIOPosix Linux.swift
[172/210] Compiling NIOPosix LinuxCPUSet.swift
[173/210] Compiling NIOPosix LinuxUring.swift
[174/210] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[175/210] Compiling NIOPosix ThreadPosix.swift
[176/210] Compiling NIOPosix ThreadWindows.swift
[177/210] Compiling NIOPosix Utilities.swift
[178/210] Compiling NIOPosix VsockAddress.swift
[179/210] Compiling NIOPosix VsockChannelEvents.swift
[180/210] Compiling NIOPosix FileDescriptor.swift
[181/210] Compiling NIOPosix GetaddrinfoResolver.swift
[182/210] Compiling NIOPosix HappyEyeballs.swift
[183/210] Compiling NIOPosix IO.swift
[184/210] Compiling NIOPosix IntegerBitPacking.swift
[185/210] Compiling NIOPosix RawSocketBootstrap.swift
[186/210] Compiling NIOPosix Resolver.swift
[187/210] Compiling NIOPosix Selectable.swift
[188/210] Compiling NIOPosix SelectableChannel.swift
[189/210] Compiling NIOPosix SelectableEventLoop.swift
[190/210] Compiling NIOPosix Socket.swift
[191/210] Compiling NIOPosix SocketChannel.swift
[192/210] Compiling NIOPosix SocketProtocols.swift
[193/210] Compiling NIOPosix System.swift
[194/210] Compiling NIOPosix Thread.swift
[195/210] Emitting module NIOPosix
[196/210] Compiling NIOPosix SelectorEpoll.swift
[197/210] Compiling NIOPosix SelectorGeneric.swift
[198/210] Compiling NIOPosix SelectorKqueue.swift
[199/210] Compiling NIOPosix SelectorUring.swift
[200/210] Compiling NIOPosix ServerSocket.swift
[201/210] Compiling NIOPosix BaseSocketChannel.swift
[202/210] Compiling NIOPosix BaseStreamSocketChannel.swift
[203/210] Compiling NIOPosix Bootstrap.swift
[204/210] Compiling NIOPosix ControlMessage.swift
[205/210] Compiling NIOPosix DatagramVectorReadManager.swift
[206/210] Compiling NIOPosix NIOThreadPool.swift
[207/210] Compiling NIOPosix NonBlockingFileIO.swift
[208/210] Compiling NIOPosix PendingDatagramWritesManager.swift
[209/210] Compiling NIOPosix PendingWritesManager.swift
[210/210] Compiling NIOPosix PipeChannel.swift
[211/212] Emitting module NIO
[212/212] Compiling NIO Exports.swift
[213/239] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[214/239] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[215/239] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[216/239] Compiling NIOTLS SNIHandler.swift
[217/239] Compiling NIOTLS TLSEvents.swift
[218/239] Emitting module NIOTLS
[219/239] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[220/239] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[221/240] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[222/240] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[223/240] Compiling NIOHTTP1 HTTPEncoder.swift
[224/240] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[225/240] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[226/240] Compiling NIOHTTP1 ByteCollectionUtils.swift
[227/240] Compiling NIOHTTP1 HTTPDecoder.swift
[228/240] Emitting module NIOHTTP1
[229/240] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[230/240] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[231/240] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[232/240] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[233/240] Compiling NIOHTTP1 HTTPTypes.swift
[234/240] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[235/240] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[236/240] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[237/250] Compiling NIOWebSocket WebSocketOpcode.swift
[238/250] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[239/251] Compiling NIOWebSocket WebSocketErrorCodes.swift
[240/251] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[241/251] Compiling NIOWebSocket WebSocketFrame.swift
[242/251] Compiling NIOWebSocket SHA1.swift
[243/251] Compiling NIOWebSocket NIOWebSocketClientUpgrader.swift
[244/251] Emitting module NIOWebSocket
[245/251] Compiling NIOWebSocket NIOWebSocketFrameAggregator.swift
[246/251] Compiling NIOWebSocket NIOWebSocketServerUpgrader.swift
[247/251] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[248/261] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[249/261] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[250/261] Emitting module NIOFoundationCompat
[251/261] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[252/283] Compiling NIOTransportServices SocketAddress+NWEndpoint.swift
[253/283] Compiling NIOTransportServices StateManagedChannel.swift
[254/283] Compiling NIOTransportServices NIOTSNetworkEvents.swift
[255/283] Compiling NIOTransportServices NIOTSSingletons.swift
[256/285] Emitting module NIOTransportServices
[257/285] Compiling NIOTransportServices AcceptHandler.swift
[258/285] Compiling NIOTransportServices NIOTSDatagramBootstrap.swift
[259/285] Compiling NIOTransportServices NIOTSDatagramChannel.swift
[260/285] Compiling NIOTransportServices NIOTSDatagramListener.swift
[261/285] Compiling NIOTransportServices NIOTSDatagramListenerChannel.swift
[262/285] Compiling NIOTransportServices NIOFilterEmptyWritesHandler.swift
[263/285] Compiling NIOTransportServices NIOTSEventLoop.swift
[264/285] Compiling NIOTransportServices NIOTSEventLoopGroup.swift
[265/285] Compiling NIOTransportServices NIOTSConnectionChannel.swift
[266/285] Compiling NIOTransportServices NIOTSErrors.swift
[267/285] Compiling NIOTransportServices NIOTSBootstraps.swift
[268/285] Compiling NIOTransportServices NIOTSChannelOptions.swift
[269/285] Compiling NIOTransportServices NIOTSConnectionBootstrap.swift
[270/285] Compiling NIOTransportServices NIOTSListenerBootstrap.swift
[271/285] Compiling NIOTransportServices NIOTSListenerChannel.swift
[272/285] Compiling NIOTransportServices StateManagedListenerChannel.swift
[273/285] Compiling NIOTransportServices StateManagedNWConnectionChannel.swift
[274/285] Compiling NIOTransportServices TCPOptions+SocketChannelOption.swift
[275/285] Compiling NIOTransportServices UDPOptions+SocketChannelOption.swift
[276/285] Compiling NIOAsyncWebSockets NIOTypedHTTPServerUpgraderStateMachine.swift
[277/285] Compiling NIOAsyncWebSockets NIOTypedHTTPClientUpgraderStateMachine.swift
[278/285] Compiling NIOAsyncWebSockets NIOTypedHTTPServerUpgradeHandler.swift
[279/285] Compiling NIOAsyncWebSockets HTTPTypedPipelineSetup.swift
[280/285] Compiling NIOAsyncWebSockets NIOTypedHTTPClientUpgradeHandler.swift
[281/285] Emitting module NIOAsyncWebSockets
[282/285] Compiling NIOAsyncWebSockets NIOTypedPipelineSetup.swift
[283/285] Compiling NIOAsyncWebSockets NIOWebSocketServerUpgrader.swift
[284/285] Compiling NIOAsyncWebSockets SHA1.swift
[285/285] Compiling NIOAsyncWebSockets NIOWebSocketClientUpgrader.swift
[286/305] Compiling WebSocketActors NIOInvocationDecoder.swift
[287/305] Compiling WebSocketActors NIOInvocationEncoder.swift
[288/305] Compiling WebSocketActors RemoteNode.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/RemoteNodeDirectory.swift:46:19: warning: sending 'self'-isolated value of type '(CheckedContinuation<RemoteNode, any Error>) -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
44 | action: @escaping (TimedContinuation<RemoteNode>) async -> ()) async throws -> RemoteNode
45 | {
46 | try await withThrowingContinuation { continuation in
| `- warning: sending 'self'-isolated value of type '(CheckedContinuation<RemoteNode, any Error>) -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
47 | Task {
48 | let tc = await TimedContinuation(continuation: continuation,
[289/305] Compiling WebSocketActors RemoteNodeDirectory.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/RemoteNodeDirectory.swift:46:19: warning: sending 'self'-isolated value of type '(CheckedContinuation<RemoteNode, any Error>) -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
44 | action: @escaping (TimedContinuation<RemoteNode>) async -> ()) async throws -> RemoteNode
45 | {
46 | try await withThrowingContinuation { continuation in
| `- warning: sending 'self'-isolated value of type '(CheckedContinuation<RemoteNode, any Error>) -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
47 | Task {
48 | let tc = await TimedContinuation(continuation: continuation,
[290/305] Compiling WebSocketActors ServerManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/ExponentialBackoff.swift:85:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'ExponentialBackoff' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// > Note: See [Exponential backoff](https://en.wikipedia.org/wiki/Exponential_backoff). (2023, September 23). In
20 | /// Wikipedia.
21 | public struct ExponentialBackoff: Sequence {
| `- note: consider making struct 'ExponentialBackoff' conform to the 'Sendable' protocol
22 | /// The first value in the sequence. If this is >= ``jitter``, then the
23 | /// first value will be randomized with jitter.
:
83 | }
84 |
85 | public static let standard = ExponentialBackoff()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'ExponentialBackoff' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | }
87 |
macro expansion @TaskLocal:1:19: warning: static property '$current' is not concurrency-safe because non-'Sendable' type 'TaskLocal<TaskPath>' may have shared mutable state; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/TaskPath.swift:11:61: note: expanded code originates here
8 | import Foundation
9 |
10 | public struct TaskPath: CustomStringConvertible {
| `- note: consider making struct 'TaskPath' conform to the 'Sendable' protocol
11 | @TaskLocal public static var current: TaskPath = .init()
+--- macro expansion @TaskLocal -------------------------------------
|1 | public static let $current: TaskLocal<TaskPath> = TaskLocal(wrappedValue: .init())
| | |- warning: static property '$current' is not concurrency-safe because non-'Sendable' type 'TaskLocal<TaskPath>' may have shared mutable state; this is an error in the Swift 6 language mode
| | |- note: annotate '$current' with '@MainActor' if property should only be accessed from the main actor
| | `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
+--------------------------------------------------------------------
12 |
13 | let path: String
macro expansion @TaskLocal:1:19: warning: type 'TaskPath' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/TaskPath.swift:11:61: note: expanded code originates here
8 | import Foundation
9 |
10 | public struct TaskPath: CustomStringConvertible {
| `- note: consider making struct 'TaskPath' conform to the 'Sendable' protocol
11 | @TaskLocal public static var current: TaskPath = .init()
+--- macro expansion @TaskLocal -------------------------------------
|1 | public static let $current: TaskLocal<TaskPath> = TaskLocal(wrappedValue: .init())
| | `- warning: type 'TaskPath' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+--------------------------------------------------------------------
12 |
13 | let path: String
macro expansion @TaskLocal:1:51: warning: type 'TaskPath' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/TaskPath.swift:11:61: note: expanded code originates here
8 | import Foundation
9 |
10 | public struct TaskPath: CustomStringConvertible {
| `- note: consider making struct 'TaskPath' conform to the 'Sendable' protocol
11 | @TaskLocal public static var current: TaskPath = .init()
+--- macro expansion @TaskLocal -------------------------------------
|1 | public static let $current: TaskLocal<TaskPath> = TaskLocal(wrappedValue: .init())
| | `- warning: type 'TaskPath' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+--------------------------------------------------------------------
12 |
13 | let path: String
macro expansion @TaskLocal:1:51: warning: type 'TaskPath' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/TaskPath.swift:11:61: note: expanded code originates here
8 | import Foundation
9 |
10 | public struct TaskPath: CustomStringConvertible {
| `- note: consider making struct 'TaskPath' conform to the 'Sendable' protocol
11 | @TaskLocal public static var current: TaskPath = .init()
+--- macro expansion @TaskLocal -------------------------------------
|1 | public static let $current: TaskLocal<TaskPath> = TaskLocal(wrappedValue: .init())
| | `- warning: type 'TaskPath' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+--------------------------------------------------------------------
12 |
13 | let path: String
macro expansion @TaskLocal:3:18: warning: type 'TaskPath' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/TaskPath.swift:11:61: note: expanded code originates here
8 | import Foundation
9 |
10 | public struct TaskPath: CustomStringConvertible {
| `- note: consider making struct 'TaskPath' conform to the 'Sendable' protocol
11 | @TaskLocal public static var current: TaskPath = .init()
+--- macro expansion @TaskLocal -------------------------------------
|1 | {
|2 | get {
|3 | $current.get()
| | `- warning: type 'TaskPath' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
|4 | }
|5 | }
+--------------------------------------------------------------------
12 |
13 | let path: String
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/TaskPath.swift:21:35: warning: type 'TaskPath' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct TaskPath: CustomStringConvertible {
| `- note: consider making struct 'TaskPath' conform to the 'Sendable' protocol
11 | @TaskLocal public static var current: TaskPath = .init()
12 |
:
19 | public static func with<R>(name: String, block: () async throws -> R) async rethrows -> R {
20 | let p = current.path
21 | return try await $current.withValue(TaskPath(path: p.isEmpty ? name : p + " > " + name), operation: block)
| `- warning: type 'TaskPath' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/ServerManager.swift:56:19: warning: sending 'self'-isolated value of type '(CheckedContinuation<ServerListeningChannel, Never>) -> Void' (aka '(CheckedContinuation<NIOAsyncChannel<EventLoopFuture<ServerUpgradeResult>, Never>, Never>) -> ()') with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
54 | }
55 | else {
56 | await withContinuation { continuation in
| `- warning: sending 'self'-isolated value of type '(CheckedContinuation<ServerListeningChannel, Never>) -> Void' (aka '(CheckedContinuation<NIOAsyncChannel<EventLoopFuture<ServerUpgradeResult>, Never>, Never>) -> ()') with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
57 | waitingForChannel.append(continuation)
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/ServerManager.swift:72:32: warning: sending 'self'-isolated value of type '() async throws -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
70 | _task = ResilientTask { initialized in
71 |
72 | try await TaskPath.with(name: "server connection") {
| `- warning: sending 'self'-isolated value of type '() async throws -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
73 | let channel = try await self.openServerChannel(host: host, port: port)
74 | self.setChannel(channel)
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/ServerManager.swift:86:43: warning: sending 'self'-isolated value of type '(NIOAsyncChannelInboundStream<EventLoopFuture<ServerUpgradeResult>>, NIOAsyncChannelOutboundWriter<Never>) async throws -> ()' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
84 | if #available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *) {
85 | try await withThrowingDiscardingTaskGroup { group in
86 | try await channel.executeThenClose { inbound, _ in
| `- warning: sending 'self'-isolated value of type '(NIOAsyncChannelInboundStream<EventLoopFuture<ServerUpgradeResult>>, NIOAsyncChannelOutboundWriter<Never>) async throws -> ()' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
87 | for try await upgradeResult in inbound {
88 | group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/ServerManager.swift:98:43: warning: sending 'self'-isolated value of type '(NIOAsyncChannelInboundStream<EventLoopFuture<ServerUpgradeResult>>, NIOAsyncChannelOutboundWriter<Never>) async throws -> ()' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
96 | // Fallback on earlier versions
97 | try await withThrowingTaskGroup(of: Void.self) { group in
98 | try await channel.executeThenClose { inbound, _ in
| `- warning: sending 'self'-isolated value of type '(NIOAsyncChannelInboundStream<EventLoopFuture<ServerUpgradeResult>>, NIOAsyncChannelOutboundWriter<Never>) async throws -> ()' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
99 | for try await upgradeResult in inbound {
100 | group.addTask {
[291/305] Compiling WebSocketActors TaskPath.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/ExponentialBackoff.swift:85:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'ExponentialBackoff' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// > Note: See [Exponential backoff](https://en.wikipedia.org/wiki/Exponential_backoff). (2023, September 23). In
20 | /// Wikipedia.
21 | public struct ExponentialBackoff: Sequence {
| `- note: consider making struct 'ExponentialBackoff' conform to the 'Sendable' protocol
22 | /// The first value in the sequence. If this is >= ``jitter``, then the
23 | /// first value will be randomized with jitter.
:
83 | }
84 |
85 | public static let standard = ExponentialBackoff()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'ExponentialBackoff' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | }
87 |
macro expansion @TaskLocal:1:19: warning: static property '$current' is not concurrency-safe because non-'Sendable' type 'TaskLocal<TaskPath>' may have shared mutable state; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/TaskPath.swift:11:61: note: expanded code originates here
8 | import Foundation
9 |
10 | public struct TaskPath: CustomStringConvertible {
| `- note: consider making struct 'TaskPath' conform to the 'Sendable' protocol
11 | @TaskLocal public static var current: TaskPath = .init()
+--- macro expansion @TaskLocal -------------------------------------
|1 | public static let $current: TaskLocal<TaskPath> = TaskLocal(wrappedValue: .init())
| | |- warning: static property '$current' is not concurrency-safe because non-'Sendable' type 'TaskLocal<TaskPath>' may have shared mutable state; this is an error in the Swift 6 language mode
| | |- note: annotate '$current' with '@MainActor' if property should only be accessed from the main actor
| | `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
+--------------------------------------------------------------------
12 |
13 | let path: String
macro expansion @TaskLocal:1:19: warning: type 'TaskPath' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/TaskPath.swift:11:61: note: expanded code originates here
8 | import Foundation
9 |
10 | public struct TaskPath: CustomStringConvertible {
| `- note: consider making struct 'TaskPath' conform to the 'Sendable' protocol
11 | @TaskLocal public static var current: TaskPath = .init()
+--- macro expansion @TaskLocal -------------------------------------
|1 | public static let $current: TaskLocal<TaskPath> = TaskLocal(wrappedValue: .init())
| | `- warning: type 'TaskPath' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+--------------------------------------------------------------------
12 |
13 | let path: String
macro expansion @TaskLocal:1:51: warning: type 'TaskPath' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/TaskPath.swift:11:61: note: expanded code originates here
8 | import Foundation
9 |
10 | public struct TaskPath: CustomStringConvertible {
| `- note: consider making struct 'TaskPath' conform to the 'Sendable' protocol
11 | @TaskLocal public static var current: TaskPath = .init()
+--- macro expansion @TaskLocal -------------------------------------
|1 | public static let $current: TaskLocal<TaskPath> = TaskLocal(wrappedValue: .init())
| | `- warning: type 'TaskPath' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+--------------------------------------------------------------------
12 |
13 | let path: String
macro expansion @TaskLocal:1:51: warning: type 'TaskPath' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/TaskPath.swift:11:61: note: expanded code originates here
8 | import Foundation
9 |
10 | public struct TaskPath: CustomStringConvertible {
| `- note: consider making struct 'TaskPath' conform to the 'Sendable' protocol
11 | @TaskLocal public static var current: TaskPath = .init()
+--- macro expansion @TaskLocal -------------------------------------
|1 | public static let $current: TaskLocal<TaskPath> = TaskLocal(wrappedValue: .init())
| | `- warning: type 'TaskPath' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+--------------------------------------------------------------------
12 |
13 | let path: String
macro expansion @TaskLocal:3:18: warning: type 'TaskPath' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/TaskPath.swift:11:61: note: expanded code originates here
8 | import Foundation
9 |
10 | public struct TaskPath: CustomStringConvertible {
| `- note: consider making struct 'TaskPath' conform to the 'Sendable' protocol
11 | @TaskLocal public static var current: TaskPath = .init()
+--- macro expansion @TaskLocal -------------------------------------
|1 | {
|2 | get {
|3 | $current.get()
| | `- warning: type 'TaskPath' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
|4 | }
|5 | }
+--------------------------------------------------------------------
12 |
13 | let path: String
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/TaskPath.swift:21:35: warning: type 'TaskPath' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct TaskPath: CustomStringConvertible {
| `- note: consider making struct 'TaskPath' conform to the 'Sendable' protocol
11 | @TaskLocal public static var current: TaskPath = .init()
12 |
:
19 | public static func with<R>(name: String, block: () async throws -> R) async rethrows -> R {
20 | let p = current.path
21 | return try await $current.withValue(TaskPath(path: p.isEmpty ? name : p + " > " + name), operation: block)
| `- warning: type 'TaskPath' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/ServerManager.swift:56:19: warning: sending 'self'-isolated value of type '(CheckedContinuation<ServerListeningChannel, Never>) -> Void' (aka '(CheckedContinuation<NIOAsyncChannel<EventLoopFuture<ServerUpgradeResult>, Never>, Never>) -> ()') with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
54 | }
55 | else {
56 | await withContinuation { continuation in
| `- warning: sending 'self'-isolated value of type '(CheckedContinuation<ServerListeningChannel, Never>) -> Void' (aka '(CheckedContinuation<NIOAsyncChannel<EventLoopFuture<ServerUpgradeResult>, Never>, Never>) -> ()') with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
57 | waitingForChannel.append(continuation)
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/ServerManager.swift:72:32: warning: sending 'self'-isolated value of type '() async throws -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
70 | _task = ResilientTask { initialized in
71 |
72 | try await TaskPath.with(name: "server connection") {
| `- warning: sending 'self'-isolated value of type '() async throws -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
73 | let channel = try await self.openServerChannel(host: host, port: port)
74 | self.setChannel(channel)
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/ServerManager.swift:86:43: warning: sending 'self'-isolated value of type '(NIOAsyncChannelInboundStream<EventLoopFuture<ServerUpgradeResult>>, NIOAsyncChannelOutboundWriter<Never>) async throws -> ()' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
84 | if #available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *) {
85 | try await withThrowingDiscardingTaskGroup { group in
86 | try await channel.executeThenClose { inbound, _ in
| `- warning: sending 'self'-isolated value of type '(NIOAsyncChannelInboundStream<EventLoopFuture<ServerUpgradeResult>>, NIOAsyncChannelOutboundWriter<Never>) async throws -> ()' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
87 | for try await upgradeResult in inbound {
88 | group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/ServerManager.swift:98:43: warning: sending 'self'-isolated value of type '(NIOAsyncChannelInboundStream<EventLoopFuture<ServerUpgradeResult>>, NIOAsyncChannelOutboundWriter<Never>) async throws -> ()' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
96 | // Fallback on earlier versions
97 | try await withThrowingTaskGroup(of: Void.self) { group in
98 | try await channel.executeThenClose { inbound, _ in
| `- warning: sending 'self'-isolated value of type '(NIOAsyncChannelInboundStream<EventLoopFuture<ServerUpgradeResult>>, NIOAsyncChannelOutboundWriter<Never>) async throws -> ()' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
99 | for try await upgradeResult in inbound {
100 | group.addTask {
[292/305] Compiling WebSocketActors TimedPing.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/TimedPing.swift:32:30: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
30 | func start() {
31 | stop()
32 | loop = Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
33 | while !(Task.isCancelled || (self.node == nil)) {
| `- note: closure captures 'self' which is accessible to code in the current task
34 | try await Task.sleep(for: .seconds(self.frequency))
35 | if Task.isCancelled { break }
[293/305] Compiling WebSocketActors WebSocketActorSystem+Client.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/TimedPing.swift:32:30: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
30 | func start() {
31 | stop()
32 | loop = Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
33 | while !(Task.isCancelled || (self.node == nil)) {
| `- note: closure captures 'self' which is accessible to code in the current task
34 | try await Task.sleep(for: .seconds(self.frequency))
35 | if Task.isCancelled { break }
[294/307] Compiling WebSocketActors NodeIdentity.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/PendingReplies.swift:36:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
34 | nonisolated func sendMessage(_ body: @escaping (CallID) async throws -> Void) async throws -> Data {
35 | try await withThrowingContinuation { continuation in
36 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
37 | let callID = await self.expectReply(continuation: continuation)
38 | do {
39 | try await body(callID)
| `- note: closure captures 'body' which is accessible to code in the current task
40 | }
41 | catch {
[295/307] Compiling WebSocketActors PendingReplies.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/PendingReplies.swift:36:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
34 | nonisolated func sendMessage(_ body: @escaping (CallID) async throws -> Void) async throws -> Data {
35 | try await withThrowingContinuation { continuation in
36 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
37 | let callID = await self.expectReply(continuation: continuation)
38 | do {
39 | try await body(callID)
| `- note: closure captures 'body' which is accessible to code in the current task
40 | }
41 | catch {
[296/307] Compiling WebSocketActors LoggingExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/LoggingExtensions.swift:49:60: warning: type 'RemoteCallTarget' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
47 | func with(_ target: RemoteCallTarget) -> Logger {
48 | var logger = self
49 | logger[metadataKey: "target"] = .stringConvertible(target)
| `- warning: type 'RemoteCallTarget' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
50 | return logger
51 | }
Distributed.RemoteCallTarget:2:15: note: struct 'RemoteCallTarget' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct RemoteCallTarget : CustomStringConvertible, Hashable {
| `- note: struct 'RemoteCallTarget' does not conform to the 'Sendable' protocol
3 | public init(_ identifier: String)
4 | public var identifier: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/LoggingExtensions.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Distributed'
6 | */
7 |
8 | import Distributed
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Distributed'
9 | import Foundation
10 | import Logging
[297/307] Compiling WebSocketActors Manager.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/LoggingExtensions.swift:49:60: warning: type 'RemoteCallTarget' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
47 | func with(_ target: RemoteCallTarget) -> Logger {
48 | var logger = self
49 | logger[metadataKey: "target"] = .stringConvertible(target)
| `- warning: type 'RemoteCallTarget' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
50 | return logger
51 | }
Distributed.RemoteCallTarget:2:15: note: struct 'RemoteCallTarget' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct RemoteCallTarget : CustomStringConvertible, Hashable {
| `- note: struct 'RemoteCallTarget' does not conform to the 'Sendable' protocol
3 | public init(_ identifier: String)
4 | public var identifier: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/LoggingExtensions.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Distributed'
6 | */
7 |
8 | import Distributed
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Distributed'
9 | import Foundation
10 | import Logging
[298/307] Compiling WebSocketActors ResilientTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/ExponentialBackoff.swift:85:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'ExponentialBackoff' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// > Note: See [Exponential backoff](https://en.wikipedia.org/wiki/Exponential_backoff). (2023, September 23). In
20 | /// Wikipedia.
21 | public struct ExponentialBackoff: Sequence {
| `- note: consider making struct 'ExponentialBackoff' conform to the 'Sendable' protocol
22 | /// The first value in the sequence. If this is >= ``jitter``, then the
23 | /// first value will be randomized with jitter.
:
83 | }
84 |
85 | public static let standard = ExponentialBackoff()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'ExponentialBackoff' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | }
87 |
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/ResilientTask.swift:53:30: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
51 | action: @escaping Action)
52 | {
53 | task = Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
54 | var iterator = backoff.makeIterator()
55 | while !Task.isCancelled {
56 | do {
57 | await monitor?(.initializing)
58 | try await action {
| `- note: closure captures 'action' which is accessible to code in the current task
59 | // The action calls this code once it has initialized successfully.
60 | // This resets the exponential backoff and clears the current error.
[299/307] Compiling WebSocketActors ServerAddress.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/ExponentialBackoff.swift:85:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'ExponentialBackoff' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// > Note: See [Exponential backoff](https://en.wikipedia.org/wiki/Exponential_backoff). (2023, September 23). In
20 | /// Wikipedia.
21 | public struct ExponentialBackoff: Sequence {
| `- note: consider making struct 'ExponentialBackoff' conform to the 'Sendable' protocol
22 | /// The first value in the sequence. If this is >= ``jitter``, then the
23 | /// first value will be randomized with jitter.
:
83 | }
84 |
85 | public static let standard = ExponentialBackoff()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'ExponentialBackoff' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | }
87 |
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/ResilientTask.swift:53:30: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
51 | action: @escaping Action)
52 | {
53 | task = Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
54 | var iterator = backoff.makeIterator()
55 | while !Task.isCancelled {
56 | do {
57 | await monitor?(.initializing)
58 | try await action {
| `- note: closure captures 'action' which is accessible to code in the current task
59 | // The action calls this code once it has initialized successfully.
60 | // This resets the exponential backoff and clears the current error.
[300/307] Compiling WebSocketActors Continuation.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/ExponentialBackoff.swift:85:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'ExponentialBackoff' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// > Note: See [Exponential backoff](https://en.wikipedia.org/wiki/Exponential_backoff). (2023, September 23). In
20 | /// Wikipedia.
21 | public struct ExponentialBackoff: Sequence {
| `- note: consider making struct 'ExponentialBackoff' conform to the 'Sendable' protocol
22 | /// The first value in the sequence. If this is >= ``jitter``, then the
23 | /// first value will be randomized with jitter.
:
83 | }
84 |
85 | public static let standard = ExponentialBackoff()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'ExponentialBackoff' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | }
87 |
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/Continuation.swift:81:22: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
79 | func resume(returning value: T) {
80 | guard let continuation else { return }
81 | continuation.resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'self'-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
82 | self.continuation = nil
83 | cancelTimeout()
[301/307] Compiling WebSocketActors ExponentialBackoff.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/ExponentialBackoff.swift:85:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'ExponentialBackoff' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// > Note: See [Exponential backoff](https://en.wikipedia.org/wiki/Exponential_backoff). (2023, September 23). In
20 | /// Wikipedia.
21 | public struct ExponentialBackoff: Sequence {
| `- note: consider making struct 'ExponentialBackoff' conform to the 'Sendable' protocol
22 | /// The first value in the sequence. If this is >= ``jitter``, then the
23 | /// first value will be randomized with jitter.
:
83 | }
84 |
85 | public static let standard = ExponentialBackoff()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'ExponentialBackoff' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | }
87 |
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/Continuation.swift:81:22: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
79 | func resume(returning value: T) {
80 | guard let continuation else { return }
81 | continuation.resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'self'-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
82 | self.continuation = nil
83 | cancelTimeout()
[302/307] Emitting module WebSocketActors
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/ExponentialBackoff.swift:85:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'ExponentialBackoff' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// > Note: See [Exponential backoff](https://en.wikipedia.org/wiki/Exponential_backoff). (2023, September 23). In
20 | /// Wikipedia.
21 | public struct ExponentialBackoff: Sequence {
| `- note: consider making struct 'ExponentialBackoff' conform to the 'Sendable' protocol
22 | /// The first value in the sequence. If this is >= ``jitter``, then the
23 | /// first value will be randomized with jitter.
:
83 | }
84 |
85 | public static let standard = ExponentialBackoff()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'ExponentialBackoff' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | }
87 |
macro expansion @TaskLocal:1:19: warning: static property '$current' is not concurrency-safe because non-'Sendable' type 'TaskLocal<TaskPath>' may have shared mutable state; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/TaskPath.swift:11:61: note: expanded code originates here
8 | import Foundation
9 |
10 | public struct TaskPath: CustomStringConvertible {
| `- note: consider making struct 'TaskPath' conform to the 'Sendable' protocol
11 | @TaskLocal public static var current: TaskPath = .init()
+--- macro expansion @TaskLocal -------------------------------------
|1 | public static let $current: TaskLocal<TaskPath> = TaskLocal(wrappedValue: .init())
| | |- warning: static property '$current' is not concurrency-safe because non-'Sendable' type 'TaskLocal<TaskPath>' may have shared mutable state; this is an error in the Swift 6 language mode
| | |- note: annotate '$current' with '@MainActor' if property should only be accessed from the main actor
| | `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
+--------------------------------------------------------------------
12 |
13 | let path: String
macro expansion @TaskLocal:1:19: warning: type 'TaskPath' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/TaskPath.swift:11:61: note: expanded code originates here
8 | import Foundation
9 |
10 | public struct TaskPath: CustomStringConvertible {
| `- note: consider making struct 'TaskPath' conform to the 'Sendable' protocol
11 | @TaskLocal public static var current: TaskPath = .init()
+--- macro expansion @TaskLocal -------------------------------------
|1 | public static let $current: TaskLocal<TaskPath> = TaskLocal(wrappedValue: .init())
| | `- warning: type 'TaskPath' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+--------------------------------------------------------------------
12 |
13 | let path: String
macro expansion @TaskLocal:1:51: warning: type 'TaskPath' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/TaskPath.swift:11:61: note: expanded code originates here
8 | import Foundation
9 |
10 | public struct TaskPath: CustomStringConvertible {
| `- note: consider making struct 'TaskPath' conform to the 'Sendable' protocol
11 | @TaskLocal public static var current: TaskPath = .init()
+--- macro expansion @TaskLocal -------------------------------------
|1 | public static let $current: TaskLocal<TaskPath> = TaskLocal(wrappedValue: .init())
| | `- warning: type 'TaskPath' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+--------------------------------------------------------------------
12 |
13 | let path: String
macro expansion @TaskLocal:1:51: warning: type 'TaskPath' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/TaskPath.swift:11:61: note: expanded code originates here
8 | import Foundation
9 |
10 | public struct TaskPath: CustomStringConvertible {
| `- note: consider making struct 'TaskPath' conform to the 'Sendable' protocol
11 | @TaskLocal public static var current: TaskPath = .init()
+--- macro expansion @TaskLocal -------------------------------------
|1 | public static let $current: TaskLocal<TaskPath> = TaskLocal(wrappedValue: .init())
| | `- warning: type 'TaskPath' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
+--------------------------------------------------------------------
12 |
13 | let path: String
[303/307] Compiling WebSocketActors ActorIdentity.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/ExponentialBackoff.swift:85:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'ExponentialBackoff' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// > Note: See [Exponential backoff](https://en.wikipedia.org/wiki/Exponential_backoff). (2023, September 23). In
20 | /// Wikipedia.
21 | public struct ExponentialBackoff: Sequence {
| `- note: consider making struct 'ExponentialBackoff' conform to the 'Sendable' protocol
22 | /// The first value in the sequence. If this is >= ``jitter``, then the
23 | /// first value will be randomized with jitter.
:
83 | }
84 |
85 | public static let standard = ExponentialBackoff()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'ExponentialBackoff' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | }
87 |
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/ClientManager.swift:58:32: warning: sending 'self'-isolated value of type '() async throws -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
56 | cancel()
57 | task = ResilientTask(monitor: updateConnectionStatus(_:)) { initialized in
58 | try await TaskPath.with(name: "client connection") {
| `- warning: sending 'self'-isolated value of type '() async throws -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
59 | let serverConnection = try await self.openClientChannel(host: host, port: port)
60 | self.system.logger
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/ClientManager.swift:142:22: warning: sending 'self'-isolated value of type '(CheckedContinuation<NodeIdentity, Never>) -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
140 | return remoteNodeID
141 | }
142 | return await withContinuation { continuation in
| `- warning: sending 'self'-isolated value of type '(CheckedContinuation<NodeIdentity, Never>) -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
143 | remoteNodeIDContinuations.append(continuation)
144 | }
[304/307] Compiling WebSocketActors ActorSystemUserInfoKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/ExponentialBackoff.swift:85:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'ExponentialBackoff' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// > Note: See [Exponential backoff](https://en.wikipedia.org/wiki/Exponential_backoff). (2023, September 23). In
20 | /// Wikipedia.
21 | public struct ExponentialBackoff: Sequence {
| `- note: consider making struct 'ExponentialBackoff' conform to the 'Sendable' protocol
22 | /// The first value in the sequence. If this is >= ``jitter``, then the
23 | /// first value will be randomized with jitter.
:
83 | }
84 |
85 | public static let standard = ExponentialBackoff()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'ExponentialBackoff' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | }
87 |
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/ClientManager.swift:58:32: warning: sending 'self'-isolated value of type '() async throws -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
56 | cancel()
57 | task = ResilientTask(monitor: updateConnectionStatus(_:)) { initialized in
58 | try await TaskPath.with(name: "client connection") {
| `- warning: sending 'self'-isolated value of type '() async throws -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
59 | let serverConnection = try await self.openClientChannel(host: host, port: port)
60 | self.system.logger
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/ClientManager.swift:142:22: warning: sending 'self'-isolated value of type '(CheckedContinuation<NodeIdentity, Never>) -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
140 | return remoteNodeID
141 | }
142 | return await withContinuation { continuation in
| `- warning: sending 'self'-isolated value of type '(CheckedContinuation<NodeIdentity, Never>) -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
143 | remoteNodeIDContinuations.append(continuation)
144 | }
[305/307] Compiling WebSocketActors ClientManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/ExponentialBackoff.swift:85:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'ExponentialBackoff' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// > Note: See [Exponential backoff](https://en.wikipedia.org/wiki/Exponential_backoff). (2023, September 23). In
20 | /// Wikipedia.
21 | public struct ExponentialBackoff: Sequence {
| `- note: consider making struct 'ExponentialBackoff' conform to the 'Sendable' protocol
22 | /// The first value in the sequence. If this is >= ``jitter``, then the
23 | /// first value will be randomized with jitter.
:
83 | }
84 |
85 | public static let standard = ExponentialBackoff()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'ExponentialBackoff' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | }
87 |
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/ClientManager.swift:58:32: warning: sending 'self'-isolated value of type '() async throws -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
56 | cancel()
57 | task = ResilientTask(monitor: updateConnectionStatus(_:)) { initialized in
58 | try await TaskPath.with(name: "client connection") {
| `- warning: sending 'self'-isolated value of type '() async throws -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
59 | let serverConnection = try await self.openClientChannel(host: host, port: port)
60 | self.system.logger
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/ClientManager.swift:142:22: warning: sending 'self'-isolated value of type '(CheckedContinuation<NodeIdentity, Never>) -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
140 | return remoteNodeID
141 | }
142 | return await withContinuation { continuation in
| `- warning: sending 'self'-isolated value of type '(CheckedContinuation<NodeIdentity, Never>) -> Void' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
143 | remoteNodeIDContinuations.append(continuation)
144 | }
[306/307] Compiling WebSocketActors WebSocketActorSystem+Server.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/WebSocketActorSystem.swift:397:33: warning: non-sendable type '[ActorSystemUserInfoKey : Any]' in implicitly asynchronous access to actor-isolated property 'userInfo' cannot cross actor boundary; this is an error in the Swift 6 language mode
395 | throw WebSocketActorSystemError.notInDistributedActor
396 | }
397 | return await remoteNode.userInfo[key]
| `- warning: non-sendable type '[ActorSystemUserInfoKey : Any]' in implicitly asynchronous access to actor-isolated property 'userInfo' cannot cross actor boundary; this is an error in the Swift 6 language mode
398 | }
399 |
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/WebSocketActorSystem.swift:220:27: warning: value of non-Sendable type '@isolated(any) @async @callee_guaranteed () -> ()' accessed after being transferred; later accesses could race; this is an error in the Swift 6 language mode
218 | await withDiscardingTaskGroup { group in
219 | for manager in managers {
220 | group.addTask {
| |- warning: value of non-Sendable type '@isolated(any) @async @callee_guaranteed () -> ()' accessed after being transferred; later accesses could race; this is an error in the Swift 6 language mode
| `- note: access can happen concurrently
221 | await manager.cancel()
222 | }
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/WebSocketActorSystem.swift:230:27: warning: value of non-Sendable type '@isolated(any) @async @callee_guaranteed @substituted <τ_0_0> () -> @out τ_0_0 for <()>' accessed after being transferred; later accesses could race; this is an error in the Swift 6 language mode
228 | await withTaskGroup(of: Void.self) { group in
229 | for manager in managers {
230 | group.addTask {
| |- warning: value of non-Sendable type '@isolated(any) @async @callee_guaranteed @substituted <τ_0_0> () -> @out τ_0_0 for <()>' accessed after being transferred; later accesses could race; this is an error in the Swift 6 language mode
| `- note: access can happen concurrently
231 | await manager.cancel()
232 | }
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/WebSocketActorSystem.swift:405:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
403 | throw WebSocketActorSystemError.notInDistributedActor
404 | }
405 | await remoteNode.setUserInfo(key: key, value: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'value' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
406 | }
407 | }
[307/307] Compiling WebSocketActors WebSocketActorSystem.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/WebSocketActorSystem.swift:397:33: warning: non-sendable type '[ActorSystemUserInfoKey : Any]' in implicitly asynchronous access to actor-isolated property 'userInfo' cannot cross actor boundary; this is an error in the Swift 6 language mode
395 | throw WebSocketActorSystemError.notInDistributedActor
396 | }
397 | return await remoteNode.userInfo[key]
| `- warning: non-sendable type '[ActorSystemUserInfoKey : Any]' in implicitly asynchronous access to actor-isolated property 'userInfo' cannot cross actor boundary; this is an error in the Swift 6 language mode
398 | }
399 |
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/WebSocketActorSystem.swift:220:27: warning: value of non-Sendable type '@isolated(any) @async @callee_guaranteed () -> ()' accessed after being transferred; later accesses could race; this is an error in the Swift 6 language mode
218 | await withDiscardingTaskGroup { group in
219 | for manager in managers {
220 | group.addTask {
| |- warning: value of non-Sendable type '@isolated(any) @async @callee_guaranteed () -> ()' accessed after being transferred; later accesses could race; this is an error in the Swift 6 language mode
| `- note: access can happen concurrently
221 | await manager.cancel()
222 | }
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/WebSocketActorSystem.swift:230:27: warning: value of non-Sendable type '@isolated(any) @async @callee_guaranteed @substituted <τ_0_0> () -> @out τ_0_0 for <()>' accessed after being transferred; later accesses could race; this is an error in the Swift 6 language mode
228 | await withTaskGroup(of: Void.self) { group in
229 | for manager in managers {
230 | group.addTask {
| |- warning: value of non-Sendable type '@isolated(any) @async @callee_guaranteed @substituted <τ_0_0> () -> @out τ_0_0 for <()>' accessed after being transferred; later accesses could race; this is an error in the Swift 6 language mode
| `- note: access can happen concurrently
231 | await manager.cancel()
232 | }
/Users/admin/builder/spi-builder-workspace/Sources/WebSocketActors/WebSocketActorSystem.swift:405:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
403 | throw WebSocketActorSystemError.notInDistributedActor
404 | }
405 | await remoteNode.setUserInfo(key: key, value: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'value' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
406 | }
407 | }
Build complete! (55.42s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.12.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-nio-transport-services",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-transport-services.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
},
{
"identity" : "nio-async-websockets",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/samalone/nio-async-websockets"
}
],
"manifest_display_name" : "WebSocketActors",
"name" : "WebSocketActors",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "17.0"
}
],
"products" : [
{
"name" : "WebSocketActors",
"targets" : [
"WebSocketActors"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "WebSocketActors",
"module_type" : "SwiftTarget",
"name" : "WebSocketActors",
"path" : "Sources/WebSocketActors",
"product_dependencies" : [
"NIO",
"NIOHTTP1",
"NIOWebSocket",
"NIOPosix",
"NIOTransportServices",
"Logging",
"NIOAsyncWebSockets"
],
"product_memberships" : [
"WebSocketActors"
],
"sources" : [
"ActorIdentity.swift",
"ActorSystemUserInfoKey.swift",
"ClientManager.swift",
"Continuation.swift",
"ExponentialBackoff.swift",
"LoggingExtensions.swift",
"Manager.swift",
"NIOInvocationDecoder.swift",
"NIOInvocationEncoder.swift",
"NodeIdentity.swift",
"PendingReplies.swift",
"RemoteNode.swift",
"RemoteNodeDirectory.swift",
"ResilientTask.swift",
"ServerAddress.swift",
"ServerManager.swift",
"TaskPath.swift",
"TimedPing.swift",
"WebSocketActorSystem+Client.swift",
"WebSocketActorSystem+Server.swift",
"WebSocketActorSystem.swift"
],
"type" : "library"
},
{
"c99name" : "WebSocketActorTests",
"module_type" : "SwiftTarget",
"name" : "WebSocketActorTests",
"path" : "Tests/WebSocketActorTests",
"sources" : [
"ActorIdentityTests.swift",
"WebSocketActorTests.swift"
],
"target_dependencies" : [
"WebSocketActors"
],
"type" : "test"
}
],
"tools_version" : "5.9"
}
Done.