Build Information
Successful build of WebSocketActors, reference 1.1.0 (ca2c25
), with Swift 6.0 for Linux on 3 Nov 2024 23:03:39 UTC.
Swift 6 data race errors: 5
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/samalone/websocket-actor-system.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/samalone/nio-async-websockets
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/34] Fetching nio-async-websockets
[20/2072] Fetching nio-async-websockets, swift-docc-plugin
[260/4332] Fetching nio-async-websockets, swift-docc-plugin, swift-nio-transport-services
[1458/7992] Fetching nio-async-websockets, swift-docc-plugin, swift-nio-transport-services, swift-log
Fetched https://github.com/samalone/nio-async-websockets from cache (0.39s)
[1624/7958] Fetching swift-docc-plugin, swift-nio-transport-services, swift-log
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.61s)
[1/71147] Fetching swift-nio
Fetched https://github.com/apple/swift-log.git from cache (6.64s)
Fetched https://github.com/apple/swift-docc-plugin from cache (6.66s)
Fetched https://github.com/apple/swift-nio.git from cache (6.76s)
Computing version for https://github.com/samalone/nio-async-websockets
Computed https://github.com/samalone/nio-async-websockets at 1.0.1 (0.79s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (3.25s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.61s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.04s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.78s)
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.75s)
Fetching https://github.com/apple/swift-atomics.git
[1/1569] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.54s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.82s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (1.12s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/3901] Fetching swift-system
[3902/19376] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.54s)
[1703/15475] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.65s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.74s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (1.58s)
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/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.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
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/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-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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/34] Write sources
[19/34] Compiling CNIOWindows WSAStartup.c
[20/34] Compiling CNIOWindows shim.c
[21/34] Compiling _AtomicsShims.c
[22/34] Compiling CNIOLinux liburing_shims.c
[23/34] Compiling CNIOWASI CNIOWASI.c
[24/34] Compiling CNIOSHA1 c_nio_sha1.c
[25/34] Compiling CNIODarwin shim.c
[26/34] Write sources
[27/34] Compiling CNIOLLHTTP c_nio_http.c
[28/34] Compiling CNIOLLHTTP c_nio_api.c
[29/34] Compiling CNIOLinux shim.c
[30/34] Write swift-version-24593BA9C3E375BF.txt
[31/34] Compiling CNIOLLHTTP c_nio_llhttp.c
[32/81] Compiling c-nioatomics.c
[33/81] Compiling c-atomics.c
[35/87] Compiling _NIODataStructures _TinyArray.swift
[36/87] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[37/87] Compiling _NIODataStructures PriorityQueue.swift
[38/87] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[39/87] Compiling InternalCollectionsUtilities Specialize.swift
[40/89] Emitting module _NIOBase64
[41/89] Compiling _NIOBase64 Base64.swift
[42/89] Compiling InternalCollectionsUtilities Debugging.swift
[43/89] Compiling InternalCollectionsUtilities Descriptions.swift
[46/92] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[47/92] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[48/92] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[49/92] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[50/92] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[51/92] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[52/92] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[53/92] Compiling InternalCollectionsUtilities _SortedCollection.swift
[54/92] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[55/92] Emitting module InternalCollectionsUtilities
[56/92] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[57/92] Compiling InternalCollectionsUtilities Integer rank.swift
[58/92] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[59/92] Emitting module Atomics
[68/92] Compiling InternalCollectionsUtilities UInt+reversed.swift
[69/92] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[77/92] Compiling Atomics IntegerOperations.swift
[78/92] Compiling Atomics Unmanaged extensions.swift
[83/94] Compiling NIOConcurrencyHelpers lock.swift
[84/94] Emitting module Logging
[85/94] Compiling Logging Locks.swift
[86/95] Compiling Logging MetadataProvider.swift
[87/97] Emitting module NIOConcurrencyHelpers
[88/97] Compiling NIOConcurrencyHelpers NIOLock.swift
[89/97] Compiling NIOConcurrencyHelpers atomics.swift
[90/97] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[91/97] Compiling _NIODataStructures Heap.swift
[92/97] Emitting module _NIODataStructures
[93/111] Compiling Logging LogHandler.swift
[94/111] Compiling Logging Logging.swift
[97/112] Compiling DequeModule Deque+CustomReflectable.swift
[98/112] Compiling DequeModule Deque+Descriptions.swift
[100/114] Compiling DequeModule _DequeBuffer.swift
[101/114] Compiling DequeModule _DequeBufferHeader.swift
[102/114] Compiling DequeModule _DequeSlot.swift
[103/114] Compiling DequeModule _UnsafeWrappedBuffer.swift
[104/114] Compiling DequeModule Deque+Equatable.swift
[105/114] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[106/114] Compiling DequeModule Deque+Testing.swift
[107/114] Compiling DequeModule Deque._Storage.swift
[108/114] Compiling DequeModule Deque+Extras.swift
[109/114] Compiling DequeModule Deque+Hashable.swift
[110/114] Compiling DequeModule Deque._UnsafeHandle.swift
[111/114] Compiling DequeModule Deque.swift
[112/114] Compiling DequeModule Deque+Codable.swift
[113/114] Compiling DequeModule Deque+Collection.swift
[114/114] Emitting module DequeModule
[116/175] Compiling NIOCore MulticastChannel.swift
[117/175] Compiling NIOCore NIOAny.swift
[118/175] Compiling NIOCore NIOCloseOnErrorHandler.swift
[119/175] Compiling NIOCore NIOLoopBound.swift
[120/175] Compiling NIOCore NIOScheduledCallback.swift
[121/175] Compiling NIOCore NIOSendable.swift
[122/175] Compiling NIOCore PointerHelpers.swift
[123/175] Compiling NIOCore RecvByteBufferAllocator.swift
[124/183] Compiling NIOCore IO.swift
[125/183] Compiling NIOCore IOData.swift
[126/183] Compiling NIOCore IPProtocol.swift
[127/183] Compiling NIOCore IntegerBitPacking.swift
[128/183] Compiling NIOCore IntegerTypes.swift
[129/183] Compiling NIOCore Interfaces.swift
[130/183] Compiling NIOCore Linux.swift
[131/183] Compiling NIOCore MarkedCircularBuffer.swift
[132/183] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[133/183] Compiling NIOCore EventLoopFuture+Deprecated.swift
[134/183] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[135/183] Compiling NIOCore EventLoopFuture.swift
[136/183] Compiling NIOCore FileDescriptor.swift
[137/183] Compiling NIOCore FileHandle.swift
[138/183] Compiling NIOCore FileRegion.swift
[139/183] Compiling NIOCore GlobalSingletons.swift
[140/183] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[141/183] Compiling NIOCore SocketAddresses.swift
[142/183] Compiling NIOCore SocketOptionProvider.swift
[143/183] Compiling NIOCore SystemCallHelpers.swift
[144/183] Compiling NIOCore TimeAmount+Duration.swift
[145/183] Compiling NIOCore TypeAssistedChannelHandler.swift
[146/183] Compiling NIOCore UniversalBootstrapSupport.swift
[147/183] Compiling NIOCore Utilities.swift
[148/183] Compiling NIOCore CircularBuffer.swift
[149/183] Compiling NIOCore Codec.swift
[150/183] Compiling NIOCore ConvenienceOptionSupport.swift
[151/183] Compiling NIOCore DeadChannel.swift
[152/183] Compiling NIOCore DispatchQueue+WithFuture.swift
[153/183] Compiling NIOCore EventLoop+Deprecated.swift
[154/183] Compiling NIOCore EventLoop+SerialExecutor.swift
[155/183] Compiling NIOCore EventLoop.swift
[156/183] Compiling NIOCore AddressedEnvelope.swift
[157/183] Compiling NIOCore AsyncAwaitSupport.swift
[158/183] Compiling NIOCore AsyncChannel.swift
[159/183] Compiling NIOCore AsyncChannelHandler.swift
[160/183] Compiling NIOCore AsyncChannelInboundStream.swift
[161/183] Compiling NIOCore AsyncChannelOutboundWriter.swift
[162/183] Compiling NIOCore NIOAsyncSequenceProducer.swift
[163/183] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[164/183] Compiling NIOCore NIOAsyncWriter.swift
[165/183] Compiling NIOCore ByteBuffer-multi-int.swift
[166/183] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[167/183] Compiling NIOCore ByteBuffer-views.swift
[168/183] Compiling NIOCore Channel.swift
[169/183] Compiling NIOCore ChannelHandler.swift
[170/183] Compiling NIOCore ChannelHandlers.swift
[171/183] Compiling NIOCore ChannelInvoker.swift
[172/183] Compiling NIOCore ChannelOption.swift
[173/183] Compiling NIOCore ChannelPipeline.swift
[174/183] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[175/183] Compiling NIOCore BSDSocketAPI.swift
[176/183] Compiling NIOCore ByteBuffer-aux.swift
[177/183] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[178/183] Compiling NIOCore ByteBuffer-conversions.swift
[179/183] Compiling NIOCore ByteBuffer-core.swift
[180/183] Compiling NIOCore ByteBuffer-hex.swift
[181/183] Compiling NIOCore ByteBuffer-int.swift
[182/183] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[183/183] Emitting module NIOCore
[185/236] Emitting module NIOEmbedded
[186/236] Compiling NIOEmbedded Embedded.swift
[187/236] Compiling NIOEmbedded AsyncTestingChannel.swift
[188/236] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[190/237] Compiling NIOPosix SelectableChannel.swift
[191/237] Compiling NIOPosix SelectableEventLoop.swift
[192/237] Compiling NIOPosix SelectorEpoll.swift
[193/237] Compiling NIOPosix SelectorGeneric.swift
[194/237] Compiling NIOPosix SelectorKqueue.swift
[195/237] Compiling NIOPosix SelectorUring.swift
[196/243] Emitting module NIOPosix
[197/243] Compiling NIOPosix Pool.swift
[198/243] Compiling NIOPosix PooledRecvBufferAllocator.swift
[199/243] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[200/243] Compiling NIOPosix PosixSingletons.swift
[201/243] Compiling NIOPosix RawSocketBootstrap.swift
[202/243] Compiling NIOPosix Resolver.swift
[203/243] Compiling NIOPosix Selectable.swift
[204/243] Compiling NIOPosix ServerSocket.swift
[205/243] Compiling NIOPosix Socket.swift
[206/243] Compiling NIOPosix SocketChannel.swift
[207/243] Compiling NIOPosix SocketProtocols.swift
[208/243] Compiling NIOPosix System.swift
[209/243] Compiling NIOPosix Thread.swift
[210/243] Compiling NIOPosix ThreadPosix.swift
[211/243] Compiling NIOPosix ThreadWindows.swift
[212/243] Compiling NIOPosix UnsafeTransfer.swift
[213/243] Compiling NIOPosix Utilities.swift
[214/243] Compiling NIOPosix VsockAddress.swift
[215/243] Compiling NIOPosix VsockChannelEvents.swift
[216/243] Compiling NIOPosix Bootstrap.swift
[217/243] Compiling NIOPosix ControlMessage.swift
[218/243] Compiling NIOPosix DatagramVectorReadManager.swift
[219/243] Compiling NIOPosix Errors+Any.swift
[220/243] Compiling NIOPosix FileDescriptor.swift
[221/243] Compiling NIOPosix GetaddrinfoResolver.swift
[222/243] Compiling NIOPosix HappyEyeballs.swift
[223/243] Compiling NIOPosix BSDSocketAPICommon.swift
[224/243] Compiling NIOPosix BSDSocketAPIPosix.swift
[225/243] Compiling NIOPosix BSDSocketAPIWindows.swift
[226/243] Compiling NIOPosix BaseSocket.swift
[227/243] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[228/243] Compiling NIOPosix BaseSocketChannel.swift
[229/243] Compiling NIOPosix BaseStreamSocketChannel.swift
[230/243] Compiling NIOPosix NIOThreadPool.swift
[231/243] Compiling NIOPosix NonBlockingFileIO.swift
[232/243] Compiling NIOPosix PendingDatagramWritesManager.swift
[233/243] Compiling NIOPosix PendingWritesManager.swift
[234/243] Compiling NIOPosix PipeChannel.swift
[235/243] Compiling NIOPosix PipePair.swift
[236/243] Compiling NIOPosix PointerHelpers.swift
[237/243] Compiling NIOPosix IO.swift
[238/243] Compiling NIOPosix IntegerBitPacking.swift
[239/243] Compiling NIOPosix IntegerTypes.swift
[240/243] Compiling NIOPosix Linux.swift
[241/243] Compiling NIOPosix LinuxCPUSet.swift
[242/243] Compiling NIOPosix LinuxUring.swift
[243/243] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[245/246] Compiling NIO Exports.swift
[246/246] Emitting module NIO
[248/273] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[249/273] Emitting module NIOTLS
[250/273] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[251/273] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[252/275] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[253/275] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[254/275] Compiling NIOTLS SNIHandler.swift
[255/275] Compiling NIOTLS TLSEvents.swift
[257/276] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[258/276] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[259/276] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[260/276] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[261/276] Emitting module NIOHTTP1
[262/276] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[263/276] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[264/276] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[265/276] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[266/276] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[267/276] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[268/276] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[269/276] Compiling NIOHTTP1 HTTPTypes.swift
[270/276] Compiling NIOHTTP1 ByteCollectionUtils.swift
[271/276] Compiling NIOHTTP1 HTTPDecoder.swift
[272/276] Compiling NIOHTTP1 HTTPEncoder.swift
[274/287] Compiling NIOWebSocket WebSocketOpcode.swift
[275/288] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[276/288] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[277/288] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[278/288] Emitting module NIOWebSocket
[279/288] Compiling NIOWebSocket NIOWebSocketClientUpgrader.swift
[280/288] Compiling NIOWebSocket NIOWebSocketFrameAggregator.swift
[281/288] Compiling NIOWebSocket NIOWebSocketServerUpgrader.swift
[282/288] Compiling NIOWebSocket SHA1.swift
[283/288] Compiling NIOWebSocket WebSocketErrorCodes.swift
[284/288] Compiling NIOWebSocket WebSocketFrame.swift
[286/298] Compiling NIOAsyncWebSockets NIOWebSocketServerUpgrader.swift
[287/298] Compiling NIOAsyncWebSockets NIOWebSocketClientUpgrader.swift
[288/299] Compiling NIOAsyncWebSockets NIOTypedHTTPServerUpgradeHandler.swift
[289/299] Compiling NIOAsyncWebSockets NIOTypedHTTPClientUpgraderStateMachine.swift
[290/299] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[291/299] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[292/299] Compiling NIOAsyncWebSockets HTTPTypedPipelineSetup.swift
[293/299] Compiling NIOAsyncWebSockets NIOTypedHTTPClientUpgradeHandler.swift
[294/299] Emitting module NIOAsyncWebSockets
[295/299] Emitting module NIOFoundationCompat
[296/299] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[297/300] Compiling NIOAsyncWebSockets SHA1.swift
[299/322] Compiling NIOTransportServices AcceptHandler.swift
[300/322] Compiling NIOTransportServices NIOTSDatagramBootstrap.swift
[301/322] Compiling NIOTransportServices NIOTSDatagramChannel.swift
[302/324] Compiling NIOTransportServices NIOTSConnectionChannel.swift
[303/324] Compiling NIOTransportServices NIOTSErrors.swift
[304/324] Compiling NIOTransportServices NIOTSEventLoop.swift
[305/324] Compiling NIOAsyncWebSockets NIOTypedHTTPServerUpgraderStateMachine.swift
[306/324] Compiling NIOAsyncWebSockets NIOTypedPipelineSetup.swift
[307/325] Compiling NIOTransportServices TCPOptions+SocketChannelOption.swift
[308/325] Compiling NIOTransportServices UDPOptions+SocketChannelOption.swift
[309/325] Emitting module NIOTransportServices
[311/325] Compiling NIOTransportServices StateManagedChannel.swift
[312/325] Compiling NIOTransportServices StateManagedListenerChannel.swift
[313/325] Compiling NIOTransportServices StateManagedNWConnectionChannel.swift
[314/325] Compiling NIOTransportServices NIOTSEventLoopGroup.swift
[315/325] Compiling NIOTransportServices NIOTSListenerBootstrap.swift
[316/325] Compiling NIOTransportServices NIOTSListenerChannel.swift
[317/325] Compiling NIOTransportServices NIOTSBootstraps.swift
[318/325] Compiling NIOTransportServices NIOTSChannelOptions.swift
[319/325] Compiling NIOTransportServices NIOTSConnectionBootstrap.swift
[320/325] Compiling NIOTransportServices NIOTSNetworkEvents.swift
[321/325] Compiling NIOTransportServices NIOTSSingletons.swift
[322/325] Compiling NIOTransportServices SocketAddress+NWEndpoint.swift
[323/325] Compiling NIOTransportServices NIOTSDatagramListener.swift
[324/325] Compiling NIOTransportServices NIOTSDatagramListenerChannel.swift
[325/325] Compiling NIOTransportServices NIOFilterEmptyWritesHandler.swift
[327/346] Compiling WebSocketActors NodeIdentity.swift
/host/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 {
[328/346] Compiling WebSocketActors PendingReplies.swift
/host/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 {
[329/346] Compiling WebSocketActors RemoteNode.swift
/host/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 {
[330/348] Emitting module WebSocketActors
/host/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
`- /host/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
`- /host/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
`- /host/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
`- /host/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
[331/348] Compiling WebSocketActors Continuation.swift
/host/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 |
/host/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 }
/host/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
/host/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()
[332/348] Compiling WebSocketActors ExponentialBackoff.swift
/host/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 |
/host/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 }
/host/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
/host/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()
[333/348] Compiling WebSocketActors LoggingExtensions.swift
/host/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 |
/host/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 }
/host/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
/host/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()
[334/348] Compiling WebSocketActors Manager.swift
[335/348] Compiling WebSocketActors NIOInvocationDecoder.swift
[336/348] Compiling WebSocketActors NIOInvocationEncoder.swift
[337/348] Compiling WebSocketActors ActorIdentity.swift
/host/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 |
/host/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
/host/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 | }
[338/348] Compiling WebSocketActors ActorSystemUserInfoKey.swift
/host/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 |
/host/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
/host/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 | }
[339/348] Compiling WebSocketActors ClientManager.swift
/host/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 |
/host/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
/host/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 | }
[340/348] Compiling WebSocketActors RemoteNodeDirectory.swift
/host/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 |
/host/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,
/host/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.
[341/348] Compiling WebSocketActors ResilientTask.swift
/host/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 |
/host/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,
/host/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.
[342/348] Compiling WebSocketActors ServerAddress.swift
/host/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 |
/host/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,
/host/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.
[343/348] Compiling WebSocketActors TimedPing.swift
/host/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 }
[344/348] Compiling WebSocketActors WebSocketActorSystem+Client.swift
/host/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 }
[345/348] Compiling WebSocketActors ServerManager.swift
/host/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
`- /host/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
`- /host/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
`- /host/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
`- /host/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
`- /host/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
/host/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 |
/host/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 | }
/host/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)
/host/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 {
/host/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 {
[346/348] Compiling WebSocketActors TaskPath.swift
/host/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
`- /host/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
`- /host/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
`- /host/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
`- /host/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
`- /host/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
/host/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 |
/host/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 | }
/host/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)
/host/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 {
/host/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 {
[347/348] Compiling WebSocketActors WebSocketActorSystem+Server.swift
/host/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 |
/host/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 | }
/host/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 | }
/host/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 | }
[348/348] Compiling WebSocketActors WebSocketActorSystem.swift
/host/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 |
/host/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 | }
/host/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 | }
/host/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! (122.90s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.