Build Information
Successful build of WebSocketActors, reference 1.1.0 (ca2c25
), with Swift 6.0 for Linux on 30 Nov 2024 07:11:40 UTC.
Swift 6 data race errors: 5
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
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-4606859-1":/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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 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-nio.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/samalone/nio-async-websockets
[1/34] Fetching nio-async-websockets
[35/2072] Fetching nio-async-websockets, swift-docc-plugin
[2073/5795] Fetching nio-async-websockets, swift-docc-plugin, swift-log
[2371/8083] Fetching nio-async-websockets, swift-docc-plugin, swift-log, swift-nio-transport-services
[8084/80097] Fetching nio-async-websockets, swift-docc-plugin, swift-log, swift-nio-transport-services, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.81s)
Fetched https://github.com/apple/swift-log.git from cache (0.81s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.81s)
[2915/72048] Fetching nio-async-websockets, swift-nio
Fetched https://github.com/samalone/nio-async-websockets from cache (4.41s)
Fetched https://github.com/apple/swift-nio.git from cache (4.51s)
Computing version for https://github.com/samalone/nio-async-websockets
Computed https://github.com/samalone/nio-async-websockets at 1.0.1 (0.49s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (2.23s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3187] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.36s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.53s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.55s)
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.58s)
Fetching https://github.com/apple/swift-atomics.git
[1/1569] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.37s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.45s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.77.0 (0.67s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/3919] Fetching swift-system
[3920/19522] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.40s)
[1717/15603] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.15s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.45s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.70s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.77.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
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.2
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-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/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/34] Write sources
[19/34] Compiling CNIOWASI CNIOWASI.c
[20/34] Compiling _AtomicsShims.c
[21/34] Compiling CNIOWindows shim.c
[22/34] Compiling CNIOWindows WSAStartup.c
[23/34] Compiling CNIOLinux liburing_shims.c
[24/34] Compiling CNIOSHA1 c_nio_sha1.c
[25/34] Compiling CNIOLLHTTP c_nio_http.c
[25/34] Write sources
[27/34] Compiling CNIODarwin shim.c
[28/34] Compiling CNIOLinux shim.c
[29/34] Compiling CNIOLLHTTP c_nio_api.c
[30/34] Write swift-version-24593BA9C3E375BF.txt
[31/34] Compiling CNIOLLHTTP c_nio_llhttp.c
[33/81] Emitting module _NIODataStructures
[33/81] Compiling c-nioatomics.c
[34/81] Compiling c-atomics.c
[36/87] Emitting module Atomics
[37/89] Compiling InternalCollectionsUtilities Debugging.swift
[38/89] Compiling InternalCollectionsUtilities Descriptions.swift
[39/89] Compiling Atomics AtomicMemoryOrderings.swift
[40/89] Compiling Atomics DoubleWord.swift
[41/89] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[42/89] Compiling InternalCollectionsUtilities Specialize.swift
[43/89] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[44/89] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[45/89] Compiling InternalCollectionsUtilities Integer rank.swift
[46/89] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[47/89] Compiling InternalCollectionsUtilities _SortedCollection.swift
[48/89] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[55/89] Compiling Atomics IntegerOperations.swift
[56/89] Compiling Atomics Unmanaged extensions.swift
[57/89] Compiling _NIODataStructures PriorityQueue.swift
[58/91] Compiling _NIOBase64 Base64.swift
[59/91] Emitting module _NIOBase64
[60/92] Compiling InternalCollectionsUtilities UInt+reversed.swift
[61/92] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[62/92] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[67/92] Emitting module InternalCollectionsUtilities
[68/92] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[69/92] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[70/92] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[71/92] Compiling _NIODataStructures _TinyArray.swift
[72/92] Emitting module NIOConcurrencyHelpers
[81/93] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[82/93] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[84/109] Emitting module Logging
[85/109] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[86/109] Compiling NIOConcurrencyHelpers atomics.swift
[87/109] Compiling NIOConcurrencyHelpers lock.swift
[88/109] Compiling _NIODataStructures Heap.swift
[89/110] Compiling NIOConcurrencyHelpers NIOLock.swift
[90/110] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[91/111] Compiling Logging MetadataProvider.swift
[92/111] Compiling DequeModule Deque+CustomReflectable.swift
[93/111] Compiling DequeModule Deque+Descriptions.swift
[94/113] Compiling Logging Locks.swift
[95/113] Compiling Logging LogHandler.swift
[96/113] Compiling Logging Logging.swift
[98/114] Compiling DequeModule _DequeBuffer.swift
[99/114] Compiling DequeModule _DequeBufferHeader.swift
[102/114] Compiling DequeModule Deque+Extras.swift
[103/114] Compiling DequeModule Deque+Hashable.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 _DequeSlot.swift
[109/114] Compiling DequeModule _UnsafeWrappedBuffer.swift
[110/114] Compiling DequeModule Deque._UnsafeHandle.swift
[111/114] Compiling DequeModule Deque.swift
[112/114] Emitting module DequeModule
[113/114] Compiling DequeModule Deque+Codable.swift
[114/114] Compiling DequeModule Deque+Collection.swift
[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 NIOThrowingAsyncSequenceProducer.swift
[157/183] Compiling NIOCore BSDSocketAPI.swift
[158/183] Compiling NIOCore ByteBuffer-aux.swift
[159/183] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[160/183] Compiling NIOCore ByteBuffer-conversions.swift
[161/183] Compiling NIOCore ByteBuffer-core.swift
[162/183] Compiling NIOCore ByteBuffer-hex.swift
[163/183] Compiling NIOCore ByteBuffer-int.swift
[164/183] Compiling NIOCore ByteBuffer-lengthPrefix.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 AddressedEnvelope.swift
[175/183] Compiling NIOCore AsyncAwaitSupport.swift
[176/183] Compiling NIOCore AsyncChannel.swift
[177/183] Compiling NIOCore AsyncChannelHandler.swift
[178/183] Compiling NIOCore AsyncChannelInboundStream.swift
[179/183] Compiling NIOCore AsyncChannelOutboundWriter.swift
[180/183] Compiling NIOCore NIOAsyncSequenceProducer.swift
[181/183] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[182/183] Compiling NIOCore NIOAsyncWriter.swift
[183/183] Emitting module NIOCore
[185/236] Compiling NIOEmbedded AsyncTestingChannel.swift
[186/236] Emitting module NIOEmbedded
[187/236] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[188/236] Compiling NIOEmbedded Embedded.swift
[190/237] Emitting module NIOPosix
[191/243] Compiling NIOPosix Pool.swift
[192/243] Compiling NIOPosix PooledRecvBufferAllocator.swift
[193/243] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[194/243] Compiling NIOPosix PosixSingletons.swift
[195/243] Compiling NIOPosix RawSocketBootstrap.swift
[196/243] Compiling NIOPosix Resolver.swift
[197/243] Compiling NIOPosix Selectable.swift
[198/243] Compiling NIOPosix ServerSocket.swift
[199/243] Compiling NIOPosix Socket.swift
[200/243] Compiling NIOPosix SocketChannel.swift
[201/243] Compiling NIOPosix SocketProtocols.swift
[202/243] Compiling NIOPosix System.swift
[203/243] Compiling NIOPosix Thread.swift
[204/243] Compiling NIOPosix SelectableChannel.swift
[205/243] Compiling NIOPosix SelectableEventLoop.swift
[206/243] Compiling NIOPosix SelectorEpoll.swift
[207/243] Compiling NIOPosix SelectorGeneric.swift
[208/243] Compiling NIOPosix SelectorKqueue.swift
[209/243] Compiling NIOPosix SelectorUring.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 BSDSocketAPICommon.swift
[217/243] Compiling NIOPosix BSDSocketAPIPosix.swift
[218/243] Compiling NIOPosix BSDSocketAPIWindows.swift
[219/243] Compiling NIOPosix BaseSocket.swift
[220/243] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[221/243] Compiling NIOPosix BaseSocketChannel.swift
[222/243] Compiling NIOPosix BaseStreamSocketChannel.swift
[223/243] Compiling NIOPosix Bootstrap.swift
[224/243] Compiling NIOPosix ControlMessage.swift
[225/243] Compiling NIOPosix DatagramVectorReadManager.swift
[226/243] Compiling NIOPosix Errors+Any.swift
[227/243] Compiling NIOPosix FileDescriptor.swift
[228/243] Compiling NIOPosix GetaddrinfoResolver.swift
[229/243] Compiling NIOPosix HappyEyeballs.swift
[230/243] Compiling NIOPosix IO.swift
[231/243] Compiling NIOPosix IntegerBitPacking.swift
[232/243] Compiling NIOPosix IntegerTypes.swift
[233/243] Compiling NIOPosix Linux.swift
[234/243] Compiling NIOPosix LinuxCPUSet.swift
[235/243] Compiling NIOPosix LinuxUring.swift
[236/243] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[237/243] Compiling NIOPosix NIOThreadPool.swift
[238/243] Compiling NIOPosix NonBlockingFileIO.swift
[239/243] Compiling NIOPosix PendingDatagramWritesManager.swift
[240/243] Compiling NIOPosix PendingWritesManager.swift
[241/243] Compiling NIOPosix PipeChannel.swift
[242/243] Compiling NIOPosix PipePair.swift
[243/243] Compiling NIOPosix PointerHelpers.swift
[245/246] Compiling NIO Exports.swift
[246/246] Emitting module NIO
[248/274] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[249/274] Emitting module NIOTLS
[250/274] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[251/274] Compiling NIOTLS TLSEvents.swift
[252/274] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[253/274] Compiling NIOTLS SNIHandler.swift
[255/275] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[256/275] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[257/277] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[258/277] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[259/277] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[260/277] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[261/277] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[262/277] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[263/277] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[264/277] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[265/277] Emitting module NIOHTTP1
[266/277] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[267/277] Compiling NIOHTTP1 HTTPTypes.swift
[268/277] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[269/277] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[270/277] Compiling NIOHTTP1 ByteCollectionUtils.swift
[271/277] Compiling NIOHTTP1 HTTPDecoder.swift
[272/277] Compiling NIOHTTP1 HTTPEncoder.swift
[274/288] Compiling NIOWebSocket WebSocketOpcode.swift
[275/289] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[276/289] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[277/289] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[278/289] Compiling NIOWebSocket WebSocketErrorCodes.swift
[279/289] Compiling NIOWebSocket WebSocketFrame.swift
[280/289] Compiling NIOWebSocket NIOWebSocketClientUpgrader.swift
[281/289] Compiling NIOWebSocket NIOWebSocketFrameAggregator.swift
[282/289] Emitting module NIOWebSocket
[283/289] Compiling NIOWebSocket NIOWebSocketServerUpgrader.swift
[284/289] Compiling NIOWebSocket SHA1.swift
[286/299] Compiling NIOAsyncWebSockets NIOWebSocketServerUpgrader.swift
[287/300] Compiling NIOAsyncWebSockets NIOTypedHTTPClientUpgraderStateMachine.swift
[288/300] Emitting module NIOAsyncWebSockets
[289/300] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[290/300] Compiling NIOAsyncWebSockets HTTPTypedPipelineSetup.swift
[291/300] Compiling NIOAsyncWebSockets NIOTypedHTTPClientUpgradeHandler.swift
[292/300] Compiling NIOAsyncWebSockets NIOTypedHTTPServerUpgradeHandler.swift
[293/300] Compiling NIOAsyncWebSockets NIOWebSocketClientUpgrader.swift
[294/300] Emitting module NIOFoundationCompat
[295/300] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[296/300] Compiling NIOAsyncWebSockets SHA1.swift
[297/300] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[298/300] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[300/323] Compiling NIOTransportServices StateManagedChannel.swift
[301/323] Compiling NIOTransportServices StateManagedListenerChannel.swift
[302/323] Compiling NIOTransportServices StateManagedNWConnectionChannel.swift
[303/325] Compiling NIOTransportServices NIOTSNetworkEvents.swift
[304/325] Compiling NIOTransportServices NIOTSSingletons.swift
[305/325] Compiling NIOTransportServices SocketAddress+NWEndpoint.swift
[306/325] Emitting module NIOTransportServices
[307/325] Compiling NIOAsyncWebSockets NIOTypedHTTPServerUpgraderStateMachine.swift
[308/325] Compiling NIOAsyncWebSockets NIOTypedPipelineSetup.swift
[309/326] Compiling NIOTransportServices NIOTSBootstraps.swift
[310/326] Compiling NIOTransportServices NIOTSChannelOptions.swift
[311/326] Compiling NIOTransportServices NIOTSConnectionBootstrap.swift
[312/326] Compiling NIOTransportServices NIOTSConnectionChannel.swift
[313/326] Compiling NIOTransportServices NIOTSErrors.swift
[314/326] Compiling NIOTransportServices NIOTSEventLoop.swift
[315/326] Compiling NIOTransportServices TCPOptions+SocketChannelOption.swift
[316/326] Compiling NIOTransportServices UDPOptions+SocketChannelOption.swift
[318/326] Compiling NIOTransportServices NIOTSEventLoopGroup.swift
[319/326] Compiling NIOTransportServices NIOTSListenerBootstrap.swift
[320/326] Compiling NIOTransportServices NIOTSListenerChannel.swift
[321/326] Compiling NIOTransportServices AcceptHandler.swift
[322/326] Compiling NIOTransportServices NIOTSDatagramBootstrap.swift
[323/326] Compiling NIOTransportServices NIOTSDatagramChannel.swift
[324/326] Compiling NIOTransportServices NIOTSDatagramListener.swift
[325/326] Compiling NIOTransportServices NIOTSDatagramListenerChannel.swift
[326/326] Compiling NIOTransportServices NIOFilterEmptyWritesHandler.swift
[328/347] 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 }
[329/347] 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 }
[330/349] Compiling WebSocketActors Manager.swift
[331/349] Compiling WebSocketActors NIOInvocationDecoder.swift
[332/349] Compiling WebSocketActors NIOInvocationEncoder.swift
[333/349] 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 {
[334/349] 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 {
[335/349] 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
[336/349] 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 | }
[337/349] 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 | }
[338/349] 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 | }
[339/349] 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 {
[340/349] 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 {
[341/349] 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 {
[342/349] 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.
[343/349] 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.
[344/349] 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.
[345/349] 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()
[346/349] 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()
[347/349] 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()
[348/349] 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 | }
[349/349] 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! (110.65s)
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.