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