The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of WebSocketActors, reference 1.1.0 (ca2c25), with Swift 6.1 for Linux on 28 Apr 2025 02:12:09 UTC.

Swift 6 data race errors: 5

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.61.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.1
Building package at path:  $PWD
https://github.com/samalone/websocket-actor-system.git
https://github.com/samalone/websocket-actor-system.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
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
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
[227/2083] Fetching swift-docc-plugin, nio-async-websockets
[261/4702] Fetching swift-docc-plugin, nio-async-websockets, swift-nio-transport-services
[445/8538] Fetching swift-docc-plugin, nio-async-websockets, swift-nio-transport-services, swift-log
Fetched https://github.com/samalone/nio-async-websockets from cache (0.26s)
[4475/8504] Fetching swift-docc-plugin, swift-nio-transport-services, swift-log
Fetched https://github.com/apple/swift-docc-plugin from cache (0.35s)
[1/75436] Fetching swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (4.20s)
Fetched https://github.com/apple/swift-log.git from cache (4.20s)
Fetched https://github.com/apple/swift-nio.git from cache (4.32s)
Computing version for https://github.com/samalone/nio-async-websockets
Computed https://github.com/samalone/nio-async-websockets at 1.0.1 (5.03s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (1.83s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3377] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.32s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.83s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.43s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (0.45s)
Fetching https://github.com/apple/swift-atomics.git
[1/1705] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.38s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (1.08s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4353] Fetching swift-system
[4354/20595] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.05s)
Fetched https://github.com/apple/swift-collections.git from cache (1.08s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.55s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.41s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.66s)
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.24.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-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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/samalone/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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.0
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.3
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/34] Write sources
[19/34] Compiling CNIOWindows shim.c
[20/34] Compiling _AtomicsShims.c
[21/34] Compiling CNIOWindows WSAStartup.c
[22/34] Compiling CNIOWASI CNIOWASI.c
[23/34] Compiling CNIOLLHTTP c_nio_http.c
[24/34] Compiling CNIOSHA1 c_nio_sha1.c
[24/34] Compiling CNIOLLHTTP c_nio_api.c
[24/34] Write sources
[27/34] Compiling CNIOLinux shim.c
[28/34] Compiling CNIOLinux liburing_shims.c
[29/34] Compiling CNIODarwin shim.c
[30/34] Compiling CNIOLLHTTP c_nio_llhttp.c
[31/34] Write swift-version-24593BA9C3E375BF.txt
[33/81] Emitting module InternalCollectionsUtilities
[34/83] Compiling Atomics ManagedAtomic.swift
[35/83] Compiling Atomics ManagedAtomicLazyReference.swift
[36/83] Emitting module Atomics
[37/85] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[38/85] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[39/85] Compiling Atomics AtomicStorage.swift
[40/85] Compiling Atomics AtomicValue.swift
[41/85] Compiling Atomics Primitives.shims.swift
[42/85] Compiling Atomics AtomicInteger.swift
[43/85] Compiling Atomics AtomicOptionalWrappable.swift
[44/85] Compiling Atomics AtomicReference.swift
[47/85] Emitting module _NIOBase64
[48/85] Compiling _NIOBase64 Base64.swift
[49/86] Compiling _NIODataStructures _TinyArray.swift
[50/86] Compiling Atomics IntegerConformances.swift
[51/86] Compiling Atomics PointerConformances.swift
[52/86] Compiling Atomics Primitives.native.swift
[53/86] Compiling Atomics OptionalRawRepresentable.swift
[54/86] Compiling Atomics RawRepresentable.swift
[57/86] Compiling Atomics AtomicMemoryOrderings.swift
[58/86] Compiling Atomics DoubleWord.swift
[61/86] Compiling _NIODataStructures PriorityQueue.swift
[62/86] Compiling Atomics AtomicBool.swift
[76/87] Compiling Atomics IntegerOperations.swift
[77/87] Compiling Atomics Unmanaged extensions.swift
[80/103] Compiling _NIODataStructures Heap.swift
[81/103] Emitting module _NIODataStructures
[81/104] Compiling c-nioatomics.c
[83/104] Emitting module Logging
[84/104] Compiling Logging Locks.swift
[85/104] Compiling Logging LogHandler.swift
[86/104] Compiling Logging Logging.swift
[88/104] Compiling Logging MetadataProvider.swift
[90/105] Compiling DequeModule _DequeBuffer.swift
[91/105] Compiling DequeModule _DequeBufferHeader.swift
[92/107] Compiling DequeModule Deque+CustomReflectable.swift
[93/107] Compiling DequeModule Deque+Descriptions.swift
[94/107] Compiling DequeModule Deque+Equatable.swift
[95/107] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[96/107] Compiling DequeModule Deque+Extras.swift
[97/107] Compiling DequeModule Deque+Hashable.swift
[97/107] Compiling c-atomics.c
[99/113] Compiling DequeModule _DequeSlot.swift
[100/113] Compiling DequeModule _UnsafeWrappedBuffer.swift
[101/113] Compiling DequeModule Deque._UnsafeHandle.swift
[102/113] Compiling DequeModule Deque.swift
[103/113] Compiling DequeModule Deque+Testing.swift
[104/113] Compiling DequeModule Deque._Storage.swift
[105/113] Compiling NIOConcurrencyHelpers lock.swift
[106/113] Compiling DequeModule Deque+Codable.swift
[107/113] Compiling DequeModule Deque+Collection.swift
[108/113] Emitting module DequeModule
[110/114] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[111/114] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[112/114] Compiling NIOConcurrencyHelpers NIOLock.swift
[113/114] Compiling NIOConcurrencyHelpers atomics.swift
[114/114] Emitting module NIOConcurrencyHelpers
[116/174] Compiling NIOCore MarkedCircularBuffer.swift
[117/174] Compiling NIOCore MulticastChannel.swift
[118/174] Compiling NIOCore NIOAny.swift
[119/174] Compiling NIOCore NIOCloseOnErrorHandler.swift
[120/174] Compiling NIOCore NIOLoopBound.swift
[121/174] Compiling NIOCore NIOScheduledCallback.swift
[122/174] Compiling NIOCore NIOSendable.swift
[123/174] Compiling NIOCore RecvByteBufferAllocator.swift
[124/182] Compiling NIOCore GlobalSingletons.swift
[125/182] Compiling NIOCore IO.swift
[126/182] Compiling NIOCore IOData.swift
[127/182] Compiling NIOCore IPProtocol.swift
[128/182] Compiling NIOCore IntegerBitPacking.swift
[129/182] Compiling NIOCore IntegerTypes.swift
[130/182] Compiling NIOCore Interfaces.swift
[131/182] Compiling NIOCore Linux.swift
[132/182] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[133/182] Compiling NIOCore SocketAddresses.swift
[134/182] Compiling NIOCore SocketOptionProvider.swift
[135/182] Compiling NIOCore SystemCallHelpers.swift
[136/182] Compiling NIOCore TimeAmount+Duration.swift
[137/182] Compiling NIOCore TypeAssistedChannelHandler.swift
[138/182] Compiling NIOCore UniversalBootstrapSupport.swift
[139/182] Compiling NIOCore Utilities.swift
[140/182] Compiling NIOCore ChannelPipeline.swift
[141/182] Compiling NIOCore CircularBuffer.swift
[142/182] Compiling NIOCore Codec.swift
[143/182] Compiling NIOCore ConvenienceOptionSupport.swift
[144/182] Compiling NIOCore DeadChannel.swift
[145/182] Compiling NIOCore DispatchQueue+WithFuture.swift
[146/182] Compiling NIOCore EventLoop+Deprecated.swift
[147/182] Compiling NIOCore EventLoop+SerialExecutor.swift
[148/182] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[149/182] Compiling NIOCore BSDSocketAPI.swift
[150/182] Compiling NIOCore ByteBuffer-aux.swift
[151/182] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[152/182] Compiling NIOCore ByteBuffer-conversions.swift
[153/182] Compiling NIOCore ByteBuffer-core.swift
[154/182] Compiling NIOCore ByteBuffer-hex.swift
[155/182] Compiling NIOCore ByteBuffer-int.swift
[156/182] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[157/182] Compiling NIOCore EventLoop.swift
[158/182] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[159/182] Compiling NIOCore EventLoopFuture+Deprecated.swift
[160/182] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[161/182] Compiling NIOCore EventLoopFuture.swift
[162/182] Compiling NIOCore FileDescriptor.swift
[163/182] Compiling NIOCore FileHandle.swift
[164/182] Compiling NIOCore FileRegion.swift
[165/182] Compiling NIOCore AddressedEnvelope.swift
[166/182] Compiling NIOCore AsyncAwaitSupport.swift
[167/182] Compiling NIOCore AsyncChannel.swift
[168/182] Compiling NIOCore AsyncChannelHandler.swift
[169/182] Compiling NIOCore AsyncChannelInboundStream.swift
[170/182] Compiling NIOCore AsyncChannelOutboundWriter.swift
[171/182] Compiling NIOCore NIOAsyncSequenceProducer.swift
[172/182] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[173/182] Compiling NIOCore NIOAsyncWriter.swift
[174/182] Compiling NIOCore ByteBuffer-multi-int.swift
[175/182] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[176/182] Compiling NIOCore ByteBuffer-views.swift
[177/182] Compiling NIOCore Channel.swift
[178/182] Compiling NIOCore ChannelHandler.swift
[179/182] Compiling NIOCore ChannelHandlers.swift
[180/182] Compiling NIOCore ChannelInvoker.swift
[181/182] Compiling NIOCore ChannelOption.swift
[182/182] Emitting module NIOCore
[184/234] Compiling NIOEmbedded Embedded.swift
[185/234] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[186/234] Compiling NIOEmbedded AsyncTestingChannel.swift
[187/234] Emitting module NIOEmbedded
[188/235] Compiling NIOPosix PooledRecvBufferAllocator.swift
[189/235] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[190/235] Compiling NIOPosix PosixSingletons.swift
[191/235] Compiling NIOPosix RawSocketBootstrap.swift
[192/235] Compiling NIOPosix Resolver.swift
[193/235] Compiling NIOPosix Selectable.swift
[195/241] Compiling NIOPosix ThreadPosix.swift
[196/241] Compiling NIOPosix ThreadWindows.swift
[197/241] Compiling NIOPosix UnsafeTransfer.swift
[198/241] Compiling NIOPosix Utilities.swift
[199/241] Compiling NIOPosix VsockAddress.swift
[200/241] Compiling NIOPosix VsockChannelEvents.swift
[201/241] Compiling NIOPosix ServerSocket.swift
[202/241] Compiling NIOPosix Socket.swift
[203/241] Compiling NIOPosix SocketChannel.swift
[204/241] Compiling NIOPosix SocketProtocols.swift
[205/241] Compiling NIOPosix System.swift
[206/241] Compiling NIOPosix Thread.swift
[207/241] Compiling NIOPosix SelectableChannel.swift
[208/241] Compiling NIOPosix SelectableEventLoop.swift
[209/241] Compiling NIOPosix SelectorEpoll.swift
[210/241] Compiling NIOPosix SelectorGeneric.swift
[211/241] Compiling NIOPosix SelectorKqueue.swift
[212/241] Compiling NIOPosix SelectorUring.swift
[213/241] Compiling NIOPosix IO.swift
[214/241] Compiling NIOPosix IntegerBitPacking.swift
[215/241] Compiling NIOPosix IntegerTypes.swift
[216/241] Compiling NIOPosix Linux.swift
[217/241] Compiling NIOPosix LinuxCPUSet.swift
[218/241] Compiling NIOPosix LinuxUring.swift
[219/241] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[220/241] Emitting module NIOPosix
[221/241] Compiling NIOPosix NIOThreadPool.swift
[222/241] Compiling NIOPosix NonBlockingFileIO.swift
[223/241] Compiling NIOPosix PendingDatagramWritesManager.swift
[224/241] Compiling NIOPosix PendingWritesManager.swift
[225/241] Compiling NIOPosix PipeChannel.swift
[226/241] Compiling NIOPosix PipePair.swift
[227/241] Compiling NIOPosix Pool.swift
[228/241] Compiling NIOPosix Bootstrap.swift
[229/241] Compiling NIOPosix ControlMessage.swift
[230/241] Compiling NIOPosix DatagramVectorReadManager.swift
[231/241] Compiling NIOPosix Errors+Any.swift
[232/241] Compiling NIOPosix FileDescriptor.swift
[233/241] Compiling NIOPosix GetaddrinfoResolver.swift
[234/241] Compiling NIOPosix HappyEyeballs.swift
[235/241] Compiling NIOPosix BSDSocketAPICommon.swift
[236/241] Compiling NIOPosix BSDSocketAPIPosix.swift
[237/241] Compiling NIOPosix BSDSocketAPIWindows.swift
[238/241] Compiling NIOPosix BaseSocket.swift
[239/241] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[240/241] Compiling NIOPosix BaseSocketChannel.swift
[241/241] Compiling NIOPosix BaseStreamSocketChannel.swift
[243/244] Emitting module NIO
[244/244] Compiling NIO Exports.swift
[246/272] Compiling NIOTLS TLSEvents.swift
[247/272] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[248/272] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[249/272] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[250/272] Compiling NIOTLS SNIHandler.swift
[251/272] Emitting module NIOTLS
[253/273] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[254/273] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[255/275] Emitting module NIOHTTP1
[256/275] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[257/275] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[258/275] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[259/275] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[260/275] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[261/275] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[262/275] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[263/275] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[264/275] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[265/275] Compiling NIOHTTP1 HTTPTypes.swift
[266/275] Compiling NIOHTTP1 ByteCollectionUtils.swift
[267/275] Compiling NIOHTTP1 HTTPDecoder.swift
[268/275] Compiling NIOHTTP1 HTTPEncoder.swift
[269/275] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[270/275] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[272/286] Emitting module NIOFoundationCompat
[273/286] Compiling NIOWebSocket WebSocketOpcode.swift
[274/287] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[275/287] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[276/287] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[277/287] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[278/287] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[279/288] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[280/288] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[282/288] Emitting module NIOWebSocket
[283/288] Compiling NIOWebSocket NIOWebSocketClientUpgrader.swift
[284/288] Compiling NIOWebSocket NIOWebSocketFrameAggregator.swift
[285/288] Compiling NIOWebSocket WebSocketFrame.swift
[286/288] Compiling NIOWebSocket WebSocketErrorCodes.swift
[287/288] Compiling NIOWebSocket NIOWebSocketServerUpgrader.swift
[288/288] Compiling NIOWebSocket SHA1.swift
[290/311] Compiling NIOTransportServices NIOTSBootstraps.swift
[291/311] Compiling NIOTransportServices NIOTSChannelOptions.swift
[292/311] Compiling NIOTransportServices NIOTSConnectionBootstrap.swift
[293/313] Compiling NIOTransportServices NIOTSNetworkEvents.swift
[294/313] Compiling NIOTransportServices NIOTSSingletons.swift
[295/313] Compiling NIOTransportServices SocketAddress+NWEndpoint.swift
[296/313] Compiling NIOTransportServices StateManagedChannel.swift
[297/313] Compiling NIOTransportServices StateManagedListenerChannel.swift
[298/313] Compiling NIOTransportServices StateManagedNWConnectionChannel.swift
[299/313] Compiling NIOTransportServices NIOTSEventLoopGroup.swift
[300/313] Compiling NIOTransportServices NIOTSListenerBootstrap.swift
[301/313] Compiling NIOTransportServices NIOTSListenerChannel.swift
[302/313] Compiling NIOTransportServices NIOTSConnectionChannel.swift
[303/313] Compiling NIOTransportServices NIOTSErrors.swift
[304/313] Compiling NIOTransportServices NIOTSEventLoop.swift
[305/322] Compiling NIOTransportServices TCPOptions+SocketChannelOption.swift
[306/322] Compiling NIOTransportServices UDPOptions+SocketChannelOption.swift
[307/322] Compiling NIOTransportServices AcceptHandler.swift
[308/322] Compiling NIOTransportServices NIOTSDatagramBootstrap.swift
[309/322] Compiling NIOTransportServices NIOTSDatagramChannel.swift
[310/322] Emitting module NIOTransportServices
[311/322] Compiling NIOTransportServices NIOTSDatagramListener.swift
[312/322] Compiling NIOTransportServices NIOTSDatagramListenerChannel.swift
[313/322] Compiling NIOTransportServices NIOFilterEmptyWritesHandler.swift
[315/323] Compiling NIOAsyncWebSockets NIOTypedPipelineSetup.swift
[316/324] Compiling NIOAsyncWebSockets NIOWebSocketClientUpgrader.swift
[317/324] Compiling NIOAsyncWebSockets NIOWebSocketServerUpgrader.swift
[318/324] Compiling NIOAsyncWebSockets NIOTypedHTTPServerUpgradeHandler.swift
[319/324] Compiling NIOAsyncWebSockets NIOTypedHTTPClientUpgraderStateMachine.swift
[320/324] Compiling NIOAsyncWebSockets NIOTypedHTTPServerUpgraderStateMachine.swift
[321/324] Compiling NIOAsyncWebSockets SHA1.swift
[322/324] Emitting module NIOAsyncWebSockets
[323/324] Compiling NIOAsyncWebSockets HTTPTypedPipelineSetup.swift
[324/324] Compiling NIOAsyncWebSockets NIOTypedHTTPClientUpgradeHandler.swift
[326/345] 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 }
[327/345] 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 }
[328/347] Compiling WebSocketActors Manager.swift
[329/347] Compiling WebSocketActors NIOInvocationDecoder.swift
[330/347] Compiling WebSocketActors NIOInvocationEncoder.swift
[331/347] 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: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
   |                       `- 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/347] 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: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
   |                       `- 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/347] 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: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
   |                       `- 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/347] Compiling WebSocketActors ServerManager.swift
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: add '@MainActor' to make static property '$current' part of global actor 'MainActor'
   |  |                   `- 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 value of non-Sendable type '(CheckedContinuation<ServerListeningChannel, Never>) -> Void' (aka '(CheckedContinuation<NIOAsyncChannel<EventLoopFuture<ServerUpgradeResult>, Never>, Never>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
 54 |         }
 55 |         else {
 56 |             await withContinuation { continuation in
    |                   |- warning: sending value of non-Sendable type '(CheckedContinuation<ServerListeningChannel, Never>) -> Void' (aka '(CheckedContinuation<NIOAsyncChannel<EventLoopFuture<ServerUpgradeResult>, Never>, Never>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
    |                   `- note: sending 'self'-isolated value of non-Sendable type '(CheckedContinuation<ServerListeningChannel, Never>) -> Void' (aka '(CheckedContinuation<NIOAsyncChannel<EventLoopFuture<ServerUpgradeResult>, Never>, Never>) -> ()') to nonisolated callee risks causing races in between 'self'-isolated and nonisolated uses
 57 |                 waitingForChannel.append(continuation)
 58 |             }
/host/spi-builder-workspace/Sources/WebSocketActors/ServerManager.swift:72:32: warning: sending value of non-Sendable type '() async throws -> Void' 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 value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                                `- note: sending 'self'-isolated value of non-Sendable type '() async throws -> Void' to nonisolated callee risks causing races in between 'self'-isolated and nonisolated uses
 73 |                 let channel = try await self.openServerChannel(host: host, port: port)
 74 |                 self.setChannel(channel)
[335/347] Compiling WebSocketActors TaskPath.swift
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: add '@MainActor' to make static property '$current' part of global actor 'MainActor'
   |  |                   `- 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 value of non-Sendable type '(CheckedContinuation<ServerListeningChannel, Never>) -> Void' (aka '(CheckedContinuation<NIOAsyncChannel<EventLoopFuture<ServerUpgradeResult>, Never>, Never>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
 54 |         }
 55 |         else {
 56 |             await withContinuation { continuation in
    |                   |- warning: sending value of non-Sendable type '(CheckedContinuation<ServerListeningChannel, Never>) -> Void' (aka '(CheckedContinuation<NIOAsyncChannel<EventLoopFuture<ServerUpgradeResult>, Never>, Never>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
    |                   `- note: sending 'self'-isolated value of non-Sendable type '(CheckedContinuation<ServerListeningChannel, Never>) -> Void' (aka '(CheckedContinuation<NIOAsyncChannel<EventLoopFuture<ServerUpgradeResult>, Never>, Never>) -> ()') to nonisolated callee risks causing races in between 'self'-isolated and nonisolated uses
 57 |                 waitingForChannel.append(continuation)
 58 |             }
/host/spi-builder-workspace/Sources/WebSocketActors/ServerManager.swift:72:32: warning: sending value of non-Sendable type '() async throws -> Void' 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 value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                                `- note: sending 'self'-isolated value of non-Sendable type '() async throws -> Void' to nonisolated callee risks causing races in between 'self'-isolated and nonisolated uses
 73 |                 let channel = try await self.openServerChannel(host: host, port: port)
 74 |                 self.setChannel(channel)
[336/347] 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 {
[337/347] 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 {
[338/347] 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 {
[339/347] Compiling WebSocketActors RemoteNodeDirectory.swift
/host/spi-builder-workspace/Sources/WebSocketActors/RemoteNodeDirectory.swift:46:19: warning: sending value of non-Sendable type '(CheckedContinuation<RemoteNode, any Error>) -> Void' 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 value of non-Sendable type '(CheckedContinuation<RemoteNode, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                   `- note: sending 'self'-isolated value of non-Sendable type '(CheckedContinuation<RemoteNode, any Error>) -> Void' to nonisolated callee risks causing races in between 'self'-isolated and nonisolated uses
 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.
[340/347] Compiling WebSocketActors ResilientTask.swift
/host/spi-builder-workspace/Sources/WebSocketActors/RemoteNodeDirectory.swift:46:19: warning: sending value of non-Sendable type '(CheckedContinuation<RemoteNode, any Error>) -> Void' 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 value of non-Sendable type '(CheckedContinuation<RemoteNode, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                   `- note: sending 'self'-isolated value of non-Sendable type '(CheckedContinuation<RemoteNode, any Error>) -> Void' to nonisolated callee risks causing races in between 'self'-isolated and nonisolated uses
 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/347] Compiling WebSocketActors ServerAddress.swift
/host/spi-builder-workspace/Sources/WebSocketActors/RemoteNodeDirectory.swift:46:19: warning: sending value of non-Sendable type '(CheckedContinuation<RemoteNode, any Error>) -> Void' 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 value of non-Sendable type '(CheckedContinuation<RemoteNode, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                   `- note: sending 'self'-isolated value of non-Sendable type '(CheckedContinuation<RemoteNode, any Error>) -> Void' to nonisolated callee risks causing races in between 'self'-isolated and nonisolated uses
 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/347] 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: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property '$current' part of global actor 'MainActor'
   |  |                   `- 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
[343/347] Compiling WebSocketActors ActorIdentity.swift
/host/spi-builder-workspace/Sources/WebSocketActors/ClientManager.swift:58:32: warning: sending value of non-Sendable type '() async throws -> Void' 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 value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                                `- note: sending 'self'-isolated value of non-Sendable type '() async throws -> Void' to nonisolated callee risks causing races in between 'self'-isolated and nonisolated uses
 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 value of non-Sendable type '(CheckedContinuation<NodeIdentity, Never>) -> Void' 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 value of non-Sendable type '(CheckedContinuation<NodeIdentity, Never>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: sending 'self'-isolated value of non-Sendable type '(CheckedContinuation<NodeIdentity, Never>) -> Void' to nonisolated callee risks causing races in between 'self'-isolated and nonisolated uses
143 |             remoteNodeIDContinuations.append(continuation)
144 |         }
[344/347] Compiling WebSocketActors ActorSystemUserInfoKey.swift
/host/spi-builder-workspace/Sources/WebSocketActors/ClientManager.swift:58:32: warning: sending value of non-Sendable type '() async throws -> Void' 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 value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                                `- note: sending 'self'-isolated value of non-Sendable type '() async throws -> Void' to nonisolated callee risks causing races in between 'self'-isolated and nonisolated uses
 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 value of non-Sendable type '(CheckedContinuation<NodeIdentity, Never>) -> Void' 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 value of non-Sendable type '(CheckedContinuation<NodeIdentity, Never>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: sending 'self'-isolated value of non-Sendable type '(CheckedContinuation<NodeIdentity, Never>) -> Void' to nonisolated callee risks causing races in between 'self'-isolated and nonisolated uses
143 |             remoteNodeIDContinuations.append(continuation)
144 |         }
[345/347] Compiling WebSocketActors ClientManager.swift
/host/spi-builder-workspace/Sources/WebSocketActors/ClientManager.swift:58:32: warning: sending value of non-Sendable type '() async throws -> Void' 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 value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                                `- note: sending 'self'-isolated value of non-Sendable type '() async throws -> Void' to nonisolated callee risks causing races in between 'self'-isolated and nonisolated uses
 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 value of non-Sendable type '(CheckedContinuation<NodeIdentity, Never>) -> Void' 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 value of non-Sendable type '(CheckedContinuation<NodeIdentity, Never>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: sending 'self'-isolated value of non-Sendable type '(CheckedContinuation<NodeIdentity, Never>) -> Void' to nonisolated callee risks causing races in between 'self'-isolated and nonisolated uses
143 |             remoteNodeIDContinuations.append(continuation)
144 |         }
[346/347] Compiling WebSocketActors WebSocketActorSystem+Server.swift
/host/spi-builder-workspace/Sources/WebSocketActors/WebSocketActorSystem+Server.swift:114:40: warning: 'writeAndFlush(_:file:line:)' is deprecated: NIOAny is not Sendable: avoid wrapping the value in NIOAny to silence this warning.
112 |
113 |         do {
114 |             try? await channel.channel.writeAndFlush(NIOAny(WebSocketWireEnvelope.connectionClose))
    |                                        `- warning: 'writeAndFlush(_:file:line:)' is deprecated: NIOAny is not Sendable: avoid wrapping the value in NIOAny to silence this warning.
115 |             try await channel.channel.close(mode: .output)
116 |         }
/host/spi-builder-workspace/Sources/WebSocketActors/WebSocketActorSystem.swift:397:33: warning: non-sendable type '[ActorSystemUserInfoKey : Any]' of property 'userInfo' cannot exit actor-isolated context; 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]' of property 'userInfo' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
398 |     }
399 |
/host/spi-builder-workspace/Sources/WebSocketActors/WebSocketActorSystem.swift:220:27: warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
218 |             await withDiscardingTaskGroup { group in
219 |                 for manager in managers {
220 |                     group.addTask {
    |                           |- warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
    |                           |- note: Passing value of non-Sendable type '() async -> ()' as a 'sending' argument risks causing races in between local and caller code
    |                           `- note: access can happen concurrently
221 |                         await manager.cancel()
222 |                     }
/host/spi-builder-workspace/Sources/WebSocketActors/WebSocketActorSystem.swift:230:27: warning: sending value of non-Sendable type '() async -> ()' risks causing data races; 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: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
    |                           |- note: Passing value of non-Sendable type '() async -> ()' as a 'sending' argument risks causing races in between local and caller code
    |                           `- 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 | }
[347/347] Compiling WebSocketActors WebSocketActorSystem.swift
/host/spi-builder-workspace/Sources/WebSocketActors/WebSocketActorSystem+Server.swift:114:40: warning: 'writeAndFlush(_:file:line:)' is deprecated: NIOAny is not Sendable: avoid wrapping the value in NIOAny to silence this warning.
112 |
113 |         do {
114 |             try? await channel.channel.writeAndFlush(NIOAny(WebSocketWireEnvelope.connectionClose))
    |                                        `- warning: 'writeAndFlush(_:file:line:)' is deprecated: NIOAny is not Sendable: avoid wrapping the value in NIOAny to silence this warning.
115 |             try await channel.channel.close(mode: .output)
116 |         }
/host/spi-builder-workspace/Sources/WebSocketActors/WebSocketActorSystem.swift:397:33: warning: non-sendable type '[ActorSystemUserInfoKey : Any]' of property 'userInfo' cannot exit actor-isolated context; 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]' of property 'userInfo' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
398 |     }
399 |
/host/spi-builder-workspace/Sources/WebSocketActors/WebSocketActorSystem.swift:220:27: warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
218 |             await withDiscardingTaskGroup { group in
219 |                 for manager in managers {
220 |                     group.addTask {
    |                           |- warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
    |                           |- note: Passing value of non-Sendable type '() async -> ()' as a 'sending' argument risks causing races in between local and caller code
    |                           `- note: access can happen concurrently
221 |                         await manager.cancel()
222 |                     }
/host/spi-builder-workspace/Sources/WebSocketActors/WebSocketActorSystem.swift:230:27: warning: sending value of non-Sendable type '() async -> ()' risks causing data races; 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: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
    |                           |- note: Passing value of non-Sendable type '() async -> ()' as a 'sending' argument risks causing races in between local and caller code
    |                           `- 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! (91.79s)
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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.