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

Failed to build swift-distributed-actors, reference 1.0.0-beta.3 (d816a1), with Swift 6.0 for Linux on 29 Nov 2024 20:28:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

 78 |
 79 | /// Defines which per actor (group) metrics are enabled for a given actor.
 80 | public struct ActiveMetricsOptionSet: OptionSet {
    |               `- note: consider making struct 'ActiveMetricsOptionSet' conform to the 'Sendable' protocol
 81 |     public let rawValue: Int
 82 |
    :
 88 |     public static let messageProcessing = ActiveMetricsOptionSet(rawValue: 1 << 1)
 89 |
 90 |     public static let serialization = ActiveMetricsOptionSet(rawValue: 1 << 2)
    |                       |- warning: static property 'serialization' is not concurrency-safe because non-'Sendable' type 'ActiveMetricsOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'serialization' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 91 |     public static let deserialization = ActiveMetricsOptionSet(rawValue: 1 << 3)
 92 |
/host/spi-builder-workspace/Sources/DistributedCluster/Props+Metrics.swift:91:23: warning: static property 'deserialization' is not concurrency-safe because non-'Sendable' type 'ActiveMetricsOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
 78 |
 79 | /// Defines which per actor (group) metrics are enabled for a given actor.
 80 | public struct ActiveMetricsOptionSet: OptionSet {
    |               `- note: consider making struct 'ActiveMetricsOptionSet' conform to the 'Sendable' protocol
 81 |     public let rawValue: Int
 82 |
    :
 89 |
 90 |     public static let serialization = ActiveMetricsOptionSet(rawValue: 1 << 2)
 91 |     public static let deserialization = ActiveMetricsOptionSet(rawValue: 1 << 3)
    |                       |- warning: static property 'deserialization' is not concurrency-safe because non-'Sendable' type 'ActiveMetricsOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'deserialization' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 92 |
 93 |     public static let all: ActiveMetricsOptionSet = [
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/SWIMActor.swift:585:66: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
583 | extension ActorID {
584 |     static func _swim(on node: Cluster.Node) -> ActorID {
585 |         .init(remote: node, path: ActorPath._swim, incarnation: .wellKnown)
    |                                                                  `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
586 |     }
587 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SystemMessages+Redelivery.swift:66:16: warning: static property 'metaType' is not concurrency-safe because non-'Sendable' type 'MetaType<SystemMessageEnvelope>' may have shared mutable state; this is an error in the Swift 6 language mode
 64 |
 65 | extension SystemMessageEnvelope {
 66 |     static let metaType: MetaType<SystemMessageEnvelope> = MetaType(SystemMessageEnvelope.self)
    |                |- warning: static property 'metaType' is not concurrency-safe because non-'Sendable' type 'MetaType<SystemMessageEnvelope>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'metaType' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 67 | }
 68 |
/host/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization.swift:626:17: note: consider making generic struct 'MetaType' conform to the 'Sendable' protocol
624 | /// A meta type is a type eraser for any `T`, such that we can still perform `value is T` checks.
625 | @usableFromInline
626 | internal struct MetaType<T>: Hashable, CustomStringConvertible {
    |                 `- note: consider making generic struct 'MetaType' conform to the 'Sendable' protocol
627 |     let _underlying: Any.Type?
628 |     let id: ObjectIdentifier
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SystemMessages+Redelivery.swift:97:29: warning: static property 'metaType' is not concurrency-safe because non-'Sendable' type 'MetaType<_SystemMessage.NACK>' may have shared mutable state; this is an error in the Swift 6 language mode
 95 |     /// and is used to request all subsequent messages to be redelivered by the sender.
 96 |     struct NACK: Equatable {
 97 |         internal static let metaType: MetaType<NACK> = MetaType(NACK.self)
    |                             |- warning: static property 'metaType' is not concurrency-safe because non-'Sendable' type 'MetaType<_SystemMessage.NACK>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                             |- note: annotate 'metaType' with '@MainActor' if property should only be accessed from the main actor
    |                             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 98 |
 99 |         typealias SequenceNr = SystemMessageEnvelope.SequenceNr
/host/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization.swift:626:17: note: consider making generic struct 'MetaType' conform to the 'Sendable' protocol
624 | /// A meta type is a type eraser for any `T`, such that we can still perform `value is T` checks.
625 | @usableFromInline
626 | internal struct MetaType<T>: Hashable, CustomStringConvertible {
    |                 `- note: consider making generic struct 'MetaType' conform to the 'Sendable' protocol
627 |     let _underlying: Any.Type?
628 |     let id: ObjectIdentifier
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SystemMessages+Redelivery.swift:351:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OutboundSystemMessageRedeliverySettings' may have shared mutable state; this is an error in the Swift 6 language mode
348 | // MARK: Settings
349 |
350 | public struct OutboundSystemMessageRedeliverySettings {
    |               `- note: consider making struct 'OutboundSystemMessageRedeliverySettings' conform to the 'Sendable' protocol
351 |     public static let `default`: OutboundSystemMessageRedeliverySettings = .init()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OutboundSystemMessageRedeliverySettings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
352 |
353 |     /// When enabled, logs all outbound messages using the tracelog facility.
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SystemMessages+Redelivery.swift:382:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'InboundSystemMessageRedeliverySettings' may have shared mutable state; this is an error in the Swift 6 language mode
379 | }
380 |
381 | public struct InboundSystemMessageRedeliverySettings {
    |               `- note: consider making struct 'InboundSystemMessageRedeliverySettings' conform to the 'Sendable' protocol
382 |     public static let `default` = InboundSystemMessageRedeliverySettings()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'InboundSystemMessageRedeliverySettings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
383 |
384 |     /// When enabled, logs all outbound messages using the tracelog facility.
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:106:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
104 |             throw WireFormatError.notEnoughBytes(expectedAtLeastBytes: bytes.readableBytes, hint: "handshake accept")
105 |         }
106 |         let proto = try _ProtoHandshakeResponse(serializedData: data)
    |                         |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
    |                         `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
107 |         return try Wire.HandshakeResponse(proto)
108 |     }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:143:25: warning: capture of 'self' with non-sendable type 'ReceivingHandshakeHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
109 | }
110 |
111 | final class ReceivingHandshakeHandler: ChannelInboundHandler, RemovableChannelHandler {
    |             `- note: class 'ReceivingHandshakeHandler' does not conform to the 'Sendable' protocol
112 |     typealias InboundIn = ByteBuffer
113 |     typealias InboundOut = Never
    :
141 |                 case .success(.accept(let accept)):
142 |                     do {
143 |                         self.log.debug("Write accept handshake to: [\(offer.originNode)]", metadata: metadata)
    |                         `- warning: capture of 'self' with non-sendable type 'ReceivingHandshakeHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
144 |                         try self.writeHandshakeAccept(context, accept)
145 |                     } catch {
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:143:71: warning: capture of 'offer' with non-sendable type 'Wire.HandshakeOffer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
141 |                 case .success(.accept(let accept)):
142 |                     do {
143 |                         self.log.debug("Write accept handshake to: [\(offer.originNode)]", metadata: metadata)
    |                                                                       `- warning: capture of 'offer' with non-sendable type 'Wire.HandshakeOffer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
144 |                         try self.writeHandshakeAccept(context, accept)
145 |                     } catch {
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/WireMessages.swift:42:21: note: consider making struct 'HandshakeOffer' conform to the 'Sendable' protocol
 40 |
 41 |     // TODO: such messages should go over a priority lane
 42 |     internal struct HandshakeOffer: Equatable, WireMessage {
    |                     `- note: consider making struct 'HandshakeOffer' conform to the 'Sendable' protocol
 43 |         internal var version: Version
 44 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:144:55: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
142 |                     do {
143 |                         self.log.debug("Write accept handshake to: [\(offer.originNode)]", metadata: metadata)
144 |                         try self.writeHandshakeAccept(context, accept)
    |                                                       `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
145 |                     } catch {
146 |                         self.log.error("Failed when sending Handshake.Accept: \(accept), error: \(error)")
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:143:71: warning: implicit capture of 'offer' requires that 'Wire.HandshakeOffer' conforms to `Sendable`; this is an error in the Swift 6 language mode
141 |                 case .success(.accept(let accept)):
142 |                     do {
143 |                         self.log.debug("Write accept handshake to: [\(offer.originNode)]", metadata: metadata)
    |                                                                       `- warning: implicit capture of 'offer' requires that 'Wire.HandshakeOffer' conforms to `Sendable`; this is an error in the Swift 6 language mode
144 |                         try self.writeHandshakeAccept(context, accept)
145 |                     } catch {
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/WireMessages.swift:42:21: note: consider making struct 'HandshakeOffer' conform to the 'Sendable' protocol
 40 |
 41 |     // TODO: such messages should go over a priority lane
 42 |     internal struct HandshakeOffer: Equatable, WireMessage {
    |                     `- note: consider making struct 'HandshakeOffer' conform to the 'Sendable' protocol
 43 |         internal var version: Version
 44 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:152:77: warning: implicit capture of 'offer' requires that 'Wire.HandshakeOffer' conforms to `Sendable`; this is an error in the Swift 6 language mode
150 |                 case .success(.reject(let reject)):
151 |                     do {
152 |                         self.log.debug("Write reject handshake offer to: [\(offer.originNode)] reason: [\(reject.reason)]", metadata: metadata)
    |                                                                             `- warning: implicit capture of 'offer' requires that 'Wire.HandshakeOffer' conforms to `Sendable`; this is an error in the Swift 6 language mode
153 |                         try self.writeHandshakeReject(context, reject)
154 |                     } catch {
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/WireMessages.swift:42:21: note: consider making struct 'HandshakeOffer' conform to the 'Sendable' protocol
 40 |
 41 |     // TODO: such messages should go over a priority lane
 42 |     internal struct HandshakeOffer: Equatable, WireMessage {
    |                     `- note: consider making struct 'HandshakeOffer' conform to the 'Sendable' protocol
 43 |         internal var version: Version
 44 |
/host/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:73:23: warning: static property '_ProtobufRepresentable' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID.SerializerID' (aka 'Serialization.SerializerID') may have shared mutable state; this is an error in the Swift 6 language mode
 17 | extension Serialization {
 18 |     /// Used to identify a type (or instance) of a `Serializer`.
 19 |     public struct SerializerID: ExpressibleByIntegerLiteral, Hashable, Comparable, CustomStringConvertible {
    |                   `- note: consider making struct 'SerializerID' conform to the 'Sendable' protocol
 20 |         public typealias IntegerLiteralType = UInt32
 21 |
    :
 71 |
 72 |     public static let specializedWithTypeHint: SerializerID = 1
 73 |     public static let _ProtobufRepresentable: SerializerID = 2
    |                       |- warning: static property '_ProtobufRepresentable' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID.SerializerID' (aka 'Serialization.SerializerID') may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate '_ProtobufRepresentable' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 74 |
 75 |     public static let foundationJSON: SerializerID = 3
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/WireMessages.swift:30:20: warning: static property 'typeHint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 28 |     struct Envelope: Codable {
 29 |         /// This is a very blessed type hint, as it encapsulates all messages and is _assumed_ on the receiving end as the outer wrapper.
 30 |         static var typeHint: String = "_$Awe" // Swift Actors wire envelope
    |                    |- warning: static property 'typeHint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'typeHint' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'typeHint' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |
 32 |         var recipient: ActorID
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:325:32: warning: capture of 'transportEnvelope' with non-sendable type 'TransportEnvelope' in a `@Sendable` closure; this is an error in the Swift 6 language mode
323 |             case .success(let serialized):
324 |                 let wireEnvelope = Wire.Envelope(
325 |                     recipient: transportEnvelope.recipient,
    |                                `- warning: capture of 'transportEnvelope' with non-sendable type 'TransportEnvelope' in a `@Sendable` closure; this is an error in the Swift 6 language mode
326 |                     payload: serialized.buffer,
327 |                     manifest: serialized.manifest
    :
873 |
874 | /// Mirrors `Envelope` however ensures that the payload is a message; i.e. it cannot be a closure.
875 | internal struct TransportEnvelope: CustomStringConvertible, CustomDebugStringConvertible {
    |                 `- note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
876 |     let storage: Storage
877 |     enum Storage {
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:329:17: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
327 |                     manifest: serialized.manifest
328 |                 )
329 |                 context.write(self.wrapOutboundOut(wireEnvelope), promise: promise)
    |                 `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
330 |
331 |             case .failure(let error):
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:329:31: warning: capture of 'self' with non-sendable type 'OutboundSerializationHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
294 | // MARK: Outbound Message handler
295 |
296 | final class OutboundSerializationHandler: ChannelOutboundHandler {
    |             `- note: class 'OutboundSerializationHandler' does not conform to the 'Sendable' protocol
297 |     typealias OutboundIn = TransportEnvelope
298 |     typealias OutboundOut = Wire.Envelope
    :
327 |                     manifest: serialized.manifest
328 |                 )
329 |                 context.write(self.wrapOutboundOut(wireEnvelope), promise: promise)
    |                               `- warning: capture of 'self' with non-sendable type 'OutboundSerializationHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
330 |
331 |             case .failure(let error):
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:335:39: warning: implicit capture of 'transportEnvelope' requires that 'TransportEnvelope' conforms to `Sendable`; this is an error in the Swift 6 language mode
333 |                     "Serialization of outgoing message failed: \(error)",
334 |                     metadata: [
335 |                         "message": "\(transportEnvelope.underlyingMessage)",
    |                                       `- warning: implicit capture of 'transportEnvelope' requires that 'TransportEnvelope' conforms to `Sendable`; this is an error in the Swift 6 language mode
336 |                         "message/type": "\(reflecting: type(of: transportEnvelope.underlyingMessage as Any))",
337 |                         "recipient": "\(transportEnvelope.recipient)",
    :
873 |
874 | /// Mirrors `Envelope` however ensures that the payload is a message; i.e. it cannot be a closure.
875 | internal struct TransportEnvelope: CustomStringConvertible, CustomDebugStringConvertible {
    |                 `- note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
876 |     let storage: Storage
877 |     enum Storage {
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:559:13: warning: capture of 'self' with non-sendable type 'SystemMessageRedeliveryHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
352 | /// It follows the "Shell" pattern, all actual logic is implemented in the `OutboundSystemMessageRedelivery`
353 | /// and `InboundSystemMessages`
354 | internal final class SystemMessageRedeliveryHandler: ChannelDuplexHandler {
    |                      `- note: class 'SystemMessageRedeliveryHandler' does not conform to the 'Sendable' protocol
355 |     // we largely pass-through messages, however if they are system messages we keep them buffered for potential re-delivery
356 |     typealias OutboundIn = TransportEnvelope
    :
557 |         }
558 |         self.redeliveryScheduled?.futureResult.whenComplete { _ in
559 |             self.redeliveryScheduled = nil
    |             `- warning: capture of 'self' with non-sendable type 'SystemMessageRedeliveryHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
560 |             self.onRedeliveryTick(context)
561 |         }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:560:35: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
558 |         self.redeliveryScheduled?.futureResult.whenComplete { _ in
559 |             self.redeliveryScheduled = nil
560 |             self.onRedeliveryTick(context)
    |                                   `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
561 |         }
562 |     }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
<unknown>:0: note: 'file' declared here
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:583:23: warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
567 |     private func tracelog(
568 |         _ type: TraceLogType, message: Any,
569 |         file: String = #filePath, function: String = #function, line: UInt = #line
    |                        `- note: did you mean for parameter 'file' to default to '#fileID'?
570 |     ) {
571 |         let level: Logger.Level?
    :
581 |                 level: level,
582 |                 "[tracelog:sys-msg-redelivery] \(type.description): \(message)",
583 |                 file: file, function: function, line: line
    |                       |- warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
    |                       `- note: add parentheses to silence this warning
584 |             )
585 |         }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:722:36: warning: capture of 'settings' with non-sendable type 'ClusterSystemSettings' in a `@Sendable` closure; this is an error in the Swift 6 language mode
720 |                 // If SSL is enabled, we need to add the SSLServerHandler to the connection
721 |                 var channelHandlers: [(String?, ChannelHandler)] = []
722 |                 if var tlsConfig = settings.tls {
    |                                    `- warning: capture of 'settings' with non-sendable type 'ClusterSystemSettings' in a `@Sendable` closure; this is an error in the Swift 6 language mode
723 |                     // We don't know who will try to talk to us, so we can't verify the hostname here
724 |                     if tlsConfig.certificateVerification == .fullVerification {
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystemSettings.swift:23:15: note: consider making struct 'ClusterSystemSettings' conform to the 'Sendable' protocol
 21 |
 22 | /// Settings used to configure a `ClusterSystem`.
 23 | public struct ClusterSystemSettings {
    |               `- note: consider making struct 'ClusterSystemSettings' conform to the 'Sendable' protocol
 24 |     public enum Default {
 25 |         public static let name: String = "ClusterSystem"
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:728:46: warning: capture of 'self' with non-sendable type 'ClusterShell' in a `@Sendable` closure; this is an error in the Swift 6 language mode
726 |                     }
727 |                     do {
728 |                         let sslContext = try self.makeSSLContext(fromConfig: tlsConfig, passphraseCallback: settings.tlsPassphraseCallback)
    |                                              `- warning: capture of 'self' with non-sendable type 'ClusterShell' in a `@Sendable` closure; this is an error in the Swift 6 language mode
729 |                         let sslHandler = NIOSSLServerHandler(context: sslContext)
730 |                         channelHandlers.append(("ssl", sslHandler))
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/ClusterShell.swift:32:16: note: class 'ClusterShell' does not conform to the 'Sendable' protocol
  30 | ///
  31 | /// It keeps the `Membership` instance that can be seen the source of truth for any membership based decisions.
  32 | internal class ClusterShell {
     |                `- note: class 'ClusterShell' does not conform to the 'Sendable' protocol
  33 |     internal static let naming = _ActorNaming.unique("cluster")
  34 |     public typealias Ref = _ActorRef<ClusterShell.Message>
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:751:82: warning: capture of 'serializationPool' with non-sendable type '_SerializationPool' in a `@Sendable` closure; this is an error in the Swift 6 language mode
749 |                     ("receiving handshake handler", ReceivingHandshakeHandler(log: log, cluster: shell, localNode: bindNode)),
750 |                     // ("bytes dumper", DumpRawBytesDebugHandler(role: .server, log: log)), // FIXME: only include for debug -DSACT_TRACE_NIO things?
751 |                     ("wire envelope handler", WireEnvelopeHandler(serialization: serializationPool.serialization, log: log)),
    |                                                                                  `- warning: capture of 'serializationPool' with non-sendable type '_SerializationPool' in a `@Sendable` closure; this is an error in the Swift 6 language mode
752 |                     ("outbound serialization handler", OutboundSerializationHandler(log: log, serializationPool: serializationPool)),
753 |                     ("system message re-delivery", SystemMessageRedeliveryHandler(log: log, system: system, cluster: shell, serializationPool: serializationPool, outbound: outboundSysMsgs, inbound: inboundSysMsgs)),
/host/spi-builder-workspace/Sources/DistributedCluster/Serialization/SerializationPool.swift:31:20: note: class '_SerializationPool' does not conform to the 'Sendable' protocol
 29 | ///
 30 | // TODO: This should be internal, but is forced to be public by `_deserializeDeliver` on references.
 31 | public final class _SerializationPool {
    |                    `- note: class '_SerializationPool' does not conform to the 'Sendable' protocol
 32 |     @usableFromInline
 33 |     internal let serialization: Serialization
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:783:36: warning: capture of 'settings' with non-sendable type 'ClusterSystemSettings' in a `@Sendable` closure; this is an error in the Swift 6 language mode
781 |                 var channelHandlers: [(String?, ChannelHandler)] = []
782 |
783 |                 if let tlsConfig = settings.tls {
    |                                    `- warning: capture of 'settings' with non-sendable type 'ClusterSystemSettings' in a `@Sendable` closure; this is an error in the Swift 6 language mode
784 |                     do {
785 |                         let targetHost: String?
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystemSettings.swift:23:15: note: consider making struct 'ClusterSystemSettings' conform to the 'Sendable' protocol
 21 |
 22 | /// Settings used to configure a `ClusterSystem`.
 23 | public struct ClusterSystemSettings {
    |               `- note: consider making struct 'ClusterSystemSettings' conform to the 'Sendable' protocol
 24 |     public enum Default {
 25 |         public static let name: String = "ClusterSystem"
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:792:46: warning: capture of 'self' with non-sendable type 'ClusterShell' in a `@Sendable` closure; this is an error in the Swift 6 language mode
790 |                         }
791 |
792 |                         let sslContext = try self.makeSSLContext(fromConfig: tlsConfig, passphraseCallback: settings.tlsPassphraseCallback)
    |                                              `- warning: capture of 'self' with non-sendable type 'ClusterShell' in a `@Sendable` closure; this is an error in the Swift 6 language mode
793 |                         let sslHandler = try NIOSSLClientHandler(context: sslContext, serverHostname: targetHost)
794 |                         channelHandlers.append(("ssl", sslHandler))
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/ClusterShell.swift:32:16: note: class 'ClusterShell' does not conform to the 'Sendable' protocol
  30 | ///
  31 | /// It keeps the `Membership` instance that can be seen the source of truth for any membership based decisions.
  32 | internal class ClusterShell {
     |                `- note: class 'ClusterShell' does not conform to the 'Sendable' protocol
  33 |     internal static let naming = _ActorNaming.unique("cluster")
  34 |     public typealias Ref = _ActorRef<ClusterShell.Message>
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:813:107: warning: capture of 'handshakeOffer' with non-sendable type 'Wire.HandshakeOffer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
811 |                     ("framing writer", LengthFieldPrepender(lengthFieldLength: .four, lengthFieldEndianness: .big)),
812 |                     ("framing reader", ByteToMessageHandler(Framing(lengthFieldLength: .four, lengthFieldEndianness: .big))),
813 |                     ("initiating handshake handler", InitiatingHandshakeHandler(log: log, handshakeOffer: handshakeOffer, cluster: shell)),
    |                                                                                                           `- warning: capture of 'handshakeOffer' with non-sendable type 'Wire.HandshakeOffer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
814 |                     // ("bytes dumper", DumpRawBytesDebugHandler(role: .client, log: log)), // FIXME: make available via compilation flag
815 |                     ("envelope handler", WireEnvelopeHandler(serialization: serializationPool.serialization, log: log)),
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/WireMessages.swift:42:21: note: consider making struct 'HandshakeOffer' conform to the 'Sendable' protocol
 40 |
 41 |     // TODO: such messages should go over a priority lane
 42 |     internal struct HandshakeOffer: Equatable, WireMessage {
    |                     `- note: consider making struct 'HandshakeOffer' conform to the 'Sendable' protocol
 43 |         internal var version: Version
 44 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:815:77: warning: capture of 'serializationPool' with non-sendable type '_SerializationPool' in a `@Sendable` closure; this is an error in the Swift 6 language mode
813 |                     ("initiating handshake handler", InitiatingHandshakeHandler(log: log, handshakeOffer: handshakeOffer, cluster: shell)),
814 |                     // ("bytes dumper", DumpRawBytesDebugHandler(role: .client, log: log)), // FIXME: make available via compilation flag
815 |                     ("envelope handler", WireEnvelopeHandler(serialization: serializationPool.serialization, log: log)),
    |                                                                             `- warning: capture of 'serializationPool' with non-sendable type '_SerializationPool' in a `@Sendable` closure; this is an error in the Swift 6 language mode
816 |                     ("outbound serialization handler", OutboundSerializationHandler(log: log, serializationPool: serializationPool)),
817 |                     ("system message re-delivery", SystemMessageRedeliveryHandler(log: log, system: system, cluster: shell, serializationPool: serializationPool, outbound: outboundSysMsgs, inbound: inboundSysMsgs)),
/host/spi-builder-workspace/Sources/DistributedCluster/Serialization/SerializationPool.swift:31:20: note: class '_SerializationPool' does not conform to the 'Sendable' protocol
 29 | ///
 30 | // TODO: This should be internal, but is forced to be public by `_deserializeDeliver` on references.
 31 | public final class _SerializationPool {
    |                    `- note: class '_SerializationPool' does not conform to the 'Sendable' protocol
 32 |     @usableFromInline
 33 |     internal let serialization: Serialization
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:863:17: warning: capture of 'closure' with non-sendable type '(T) -> EventLoopFuture<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
861 |         for element in elements.dropFirst() {
862 |             acc = acc.flatMap { _ in
863 |                 closure(element)
    |                 |- warning: capture of 'closure' with non-sendable type '(T) -> EventLoopFuture<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
864 |             }
865 |         }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:863:25: warning: capture of 'element' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
852 |     /// i.e. each element will only be processed once the future returned from the previous call is completed. A failed future
853 |     /// will cause the processing to end and the returned future will be failed.
854 |     internal func traverseIgnore<T>(over elements: [T], _ closure: @escaping (T) -> EventLoopFuture<Void>) -> EventLoopFuture<Void> {
    |                                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
855 |         guard let first = elements.first else {
856 |             return self.makeSucceededFuture(())
    :
861 |         for element in elements.dropFirst() {
862 |             acc = acc.flatMap { _ in
863 |                 closure(element)
    |                         `- warning: capture of 'element' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
864 |             }
865 |         }
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1709:9: warning: stored property 'underlying' of 'Sendable'-conforming struct 'ClusterSystemError' has non-sendable type 'ClusterSystemError._Storage'; this is an error in the Swift 6 language mode
1695 |     }
1696 |
1697 |     internal class _Storage {
     |                    `- note: class '_Storage' does not conform to the 'Sendable' protocol
1698 |         let error: _ClusterSystemError
1699 |         let file: String
     :
1707 |     }
1708 |
1709 |     let underlying: _Storage
     |         `- warning: stored property 'underlying' of 'Sendable'-conforming struct 'ClusterSystemError' has non-sendable type 'ClusterSystemError._Storage'; this is an error in the Swift 6 language mode
1710 |
1711 |     internal init(_ error: _ClusterSystemError, file: String = #fileID, line: UInt = #line) {
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1740:9: warning: stored property 'underlying' of 'Sendable'-conforming struct 'ResolveError' has non-sendable type 'ResolveError._Storage'; this is an error in the Swift 6 language mode
1726 |     }
1727 |
1728 |     internal class _Storage {
     |                    `- note: class '_Storage' does not conform to the 'Sendable' protocol
1729 |         let error: _ResolveError
1730 |         let file: String
     :
1738 |     }
1739 |
1740 |     let underlying: _Storage
     |         `- warning: stored property 'underlying' of 'Sendable'-conforming struct 'ResolveError' has non-sendable type 'ResolveError._Storage'; this is an error in the Swift 6 language mode
1741 |
1742 |     internal init(_ error: _ResolveError, file: String = #fileID, line: UInt = #line) {
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1793:9: warning: stored property 'underlying' of 'Sendable'-conforming struct 'RemoteCallError' has non-sendable type 'RemoteCallError._Storage'; this is an error in the Swift 6 language mode
1775 |     }
1776 |
1777 |     internal class _Storage {
     |                    `- note: class '_Storage' does not conform to the 'Sendable' protocol
1778 |         let error: _RemoteCallError
1779 |         let actorID: ActorID
     :
1791 |     }
1792 |
1793 |     let underlying: _Storage
     |         `- warning: stored property 'underlying' of 'Sendable'-conforming struct 'RemoteCallError' has non-sendable type 'RemoteCallError._Storage'; this is an error in the Swift 6 language mode
1794 |
1795 |     internal init(_ error: _RemoteCallError, on actorID: ActorID, target: RemoteCallTarget,
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:236:21: warning: 'installSwiftBacktrace' is deprecated: Backtrace will not longer be offered by the actor system by default, and has to be depended on by end-users
 234 |
 235 |         // rely on swift-backtrace for pretty backtraces on crashes
 236 |         if settings.installSwiftBacktrace {
     |                     `- warning: 'installSwiftBacktrace' is deprecated: Backtrace will not longer be offered by the actor system by default, and has to be depended on by end-users
 237 |             Backtrace.install()
 238 |         }
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:237:23: warning: 'install()' is deprecated: This is no longer needed in Swift 5.9
 235 |         // rely on swift-backtrace for pretty backtraces on crashes
 236 |         if settings.installSwiftBacktrace {
 237 |             Backtrace.install()
     |                       `- warning: 'install()' is deprecated: This is no longer needed in Swift 5.9
 238 |         }
 239 |
/host/spi-builder-workspace/Sources/DistributedCluster/Receptionist/Receptionist.swift:35:25: warning: static property 'naming' is not concurrency-safe because non-'Sendable' type '_ActorNaming' may have shared mutable state; this is an error in the Swift 6 language mode
 33 |     // is to detect that and rather send to the local one.
 34 |
 35 |     internal static let naming: _ActorNaming = .unique("receptionist-ref")
    |                         |- warning: static property 'naming' is not concurrency-safe because non-'Sendable' type '_ActorNaming' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: annotate 'naming' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |
 37 |     /// INTERNAL API
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorNaming.swift:68:15: note: consider making struct '_ActorNaming' conform to the 'Sendable' protocol
 66 |
 67 | /// Used while spawning actors to identify how its name should be created.
 68 | public struct _ActorNaming: ExpressibleByStringLiteral, ExpressibleByStringInterpolation {
    |               `- note: consider making struct '_ActorNaming' conform to the 'Sendable' protocol
 69 |     // We keep an internal enum, but do not expose it as we may want to add more naming strategies in the future?
 70 |     internal enum _Naming {
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:526:17: warning: variable 'knownActors' was written to, but never read
 524 |             // We can't have it acquire the same lock, so we copy the refs out and release the last
 525 |             // references to those actors outside of the naming lock.
 526 |             var knownActors = self.namingLock.withLock {
     |                 `- warning: variable 'knownActors' was written to, but never read
 527 |                 self._managedWellKnownDistributedActors // copy references
 528 |             }
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:639:65: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
 637 |         try behavior.validateAsInitial()
 638 |
 639 |         let incarnation: ActorIncarnation = props._wellKnown ? .wellKnown : .random()
     |                                                                 `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
 640 |
 641 |         // TODO: lock inside provider, not here
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:707:65: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
 705 |     // Reserve an actor address.
 706 |     internal func _reserveName<Act>(type: Act.Type, props: _Props) throws -> ActorID where Act: DistributedActor {
 707 |         let incarnation: ActorIncarnation = props._wellKnown ? .wellKnown : .random()
     |                                                                 `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
 708 |         guard let provider = (props._systemActor ? self.systemProvider : self.userProvider) else {
 709 |             fatalError("Unable to obtain system/user actor provider") // TODO(distributed): just throw here instead
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/HandshakeStateMachine.swift:25:23: warning: static property 'protocolVersion' is not concurrency-safe because non-'Sendable' type 'ClusterSystem.Version' may have shared mutable state; this is an error in the Swift 6 language mode
 23 |     /// This version does not have to match the project version, i.e. a library version `1.5.0` may still be using the protocol version `1.0.0`,
 24 |     /// as this version number is more about the _wire_ compatibility of the underlying protocol, rather than the library capabilities
 25 |     public static let protocolVersion = ClusterSystem.Version(reserved: 0, major: 1, minor: 0, patch: 0)
    |                       |- warning: static property 'protocolVersion' is not concurrency-safe because non-'Sendable' type 'ClusterSystem.Version' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'protocolVersion' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 | }
 27 |
/host/spi-builder-workspace/Sources/DistributedCluster/Version.swift:19:19: note: consider making struct 'Version' conform to the 'Sendable' protocol
17 |     ///
18 |     /// Can be used to determine wire of feature compatibility of nodes joining a cluster.
19 |     public struct Version: Equatable, CustomStringConvertible {
   |                   `- note: consider making struct 'Version' conform to the 'Sendable' protocol
20 |         /// Exact semantics of the reserved field remain to be defined.
21 |         public var reserved: UInt8
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystemSettings.swift:488:31: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ClusterSystemSettings.RemoteCallSettings.CodableErrorAllowanceSettings' may have shared mutable state; this is an error in the Swift 6 language mode
468 |         public var codableErrorAllowance: CodableErrorAllowanceSettings = .all
469 |
470 |         public struct CodableErrorAllowanceSettings {
    |                       `- note: consider making struct 'CodableErrorAllowanceSettings' conform to the 'Sendable' protocol
471 |             internal enum CodableErrorAllowance {
472 |                 case none
    :
486 |
487 |             /// All `Codable` errors will be returned as-is.
488 |             public static let all: CodableErrorAllowanceSettings = .init(allowance: .all)
    |                               |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ClusterSystemSettings.RemoteCallSettings.CodableErrorAllowanceSettings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
489 |
490 |             /// Only the indicated `Codable` errors are allowed. Others are converted to ``GenericRemoteCallError``.
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystemSettings.swift:485:31: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ClusterSystemSettings.RemoteCallSettings.CodableErrorAllowanceSettings' may have shared mutable state; this is an error in the Swift 6 language mode
468 |         public var codableErrorAllowance: CodableErrorAllowanceSettings = .all
469 |
470 |         public struct CodableErrorAllowanceSettings {
    |                       `- note: consider making struct 'CodableErrorAllowanceSettings' conform to the 'Sendable' protocol
471 |             internal enum CodableErrorAllowance {
472 |                 case none
    :
483 |
484 |             /// All `Codable` errors will be converted to ``GenericRemoteCallError``.
485 |             public static let none: CodableErrorAllowanceSettings = .init(allowance: .none)
    |                               |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ClusterSystemSettings.RemoteCallSettings.CodableErrorAllowanceSettings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
486 |
487 |             /// All `Codable` errors will be returned as-is.
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:838:55: warning: sending 'replayer' risks causing data races; this is an error in the Swift 6 language mode
 832 |         }
 833 |
 834 |         self.log.debug(
     |                  `- note: access can happen concurrently
 835 |             "Streaming \(sequencedOps.count) ops: from [\(replayer.atSeqNr)]",
 836 |             metadata: [
 837 |                 "receptionist/peer": "\(peer.id)",
 838 |                 "receptionist/ops/replay/atSeqNr": "\(replayer.atSeqNr)",
     |                                                       |- warning: sending 'replayer' risks causing data races; this is an error in the Swift 6 language mode
     |                                                       `- note: 'self'-isolated 'replayer' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
 839 |                 "receptionist/ops/maxSeqNr": "\(self.ops.maxSeqNr)",
 840 |             ]
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/SWIMActor.swift:178:37: warning: sending 'self'-isolated value of type '(inout TaskGroup<SWIM.PingResponse<SWIMActor, SWIMActor>>) async -> SWIM.PingResponse<SWIMActor, SWIMActor>?' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
176 |         let pingRequestResponseTimeFirstTimer = self.swim.metrics.shell.pingRequestResponseTimeFirst
177 |
178 |         let firstSuccessful = await withTaskGroup(
    |                                     `- warning: sending 'self'-isolated value of type '(inout TaskGroup<SWIM.PingResponse<SWIMActor, SWIMActor>>) async -> SWIM.PingResponse<SWIMActor, SWIMActor>?' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
179 |             of: SWIM.PingResponse<SWIMActor, SWIMActor>.self,
180 |             returning: SWIM.PingResponse<SWIMActor, SWIMActor>?.self
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/SWIMActor.swift:183:31: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
181 |         ) { [log, metrics, swim] group in
182 |             for pingRequest in directive.requestDetails {
183 |                 group.addTask {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
184 |                     let peerToPingRequestThrough = pingRequest.peerToPingRequestThrough
    |                                                    `- note: closure captures non-Sendable 'pingRequest'
185 |                     let payload = pingRequest.payload
186 |                     let sequenceNumber = pingRequest.sequenceNumber
    :
189 |
190 |                     let pingRequestSentAt: DispatchTime = .now()
191 |                     metrics.shell.messageOutboundCount.increment()
    |                     `- note: closure captures non-Sendable 'metrics'
192 |
193 |                     do {
    :
202 |                         return response
203 |                     } catch {
204 |                         log.debug(".pingRequest resulted in error", metadata: swim!.metadata([ // !-safe, initialized in init()
    |                                                                               `- note: closure captures non-Sendable 'swim'
205 |                             "swim/pingRequest/target": "\(peerToPing)",
206 |                             "swim/pingRequest/peerToPingRequestThrough": "\(peerToPingRequestThrough)",
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/SWIMActor.swift:520:161: warning: sending 'change' risks causing data races; this is an error in the Swift 6 language mode
518 |                 switch directive {
519 |                 case .applied(let change):
520 |                     __secretlyKnownToBeLocal.log.warning("Confirmed node .dead: \(change)", metadata: __secretlyKnownToBeLocal.swim.metadata(["swim/change": "\(change)"]))
    |                                                  |                                                                                                              |- warning: sending 'change' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  |                                                                                                              `- note: '__secretlyKnownToBeLocal'-isolated 'change' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
    |                                                  `- note: access can happen concurrently
521 |                 case .ignored:
522 |                     return
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:457:37: 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
 455 |         public func wait() async throws {
 456 |             // TODO: implement without blocking the internal task;
 457 |             try await 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
 458 |                 if let error = self.receptacle.wait() {
     |                                `- note: closure captures 'self' which is accessible to code in the current task
 459 |                     throw error
 460 |                 }
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1542:38: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
1540 |         switch self.state {
1541 |         case .localDirectReturn(let directReturnContinuation):
1542 |             directReturnContinuation.resume(returning: value)
     |                                      |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
     |                                      `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
1543 |
1544 |         case .remoteCall(let system, let callID, let channel, let recipient):
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1238:60: 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
1236 |
1237 |         let timeout = RemoteCall.timeout ?? self.settings.remoteCall.defaultTimeout
1238 |         let timeoutTask: Task<Void, Error> = 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
1239 |             try await Task.sleep(nanoseconds: UInt64(timeout.nanoseconds))
1240 |             guard !Task.isCancelled else {
     :
1258 |                     // If we're shutting down, it is okay to not get acknowledgements to calls for example,
1259 |                     // and we don't care about them missing -- we're shutting down anyway.
1260 |                     error = RemoteCallError(.clusterAlreadyShutDown, on: actorID, target: target)
     |                                                                                           `- note: closure captures 'target' which is accessible to code in the current task
1261 |                 } else {
1262 |                     error = RemoteCallError(.timedOut(
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1330: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
1328 |
1329 |         let anyReturn = try await withCheckedThrowingContinuation { cc in
1330 |             Task { [invocation] in // FIXME: make an async stream here since we lost ordering guarantees here
     |                  `- 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
1331 |                 var directDecoder = ClusterInvocationDecoder(system: self, invocation: invocation)
     |                                                                                        `- note: closure captures non-Sendable 'invocation'
1332 |                 let directReturnHandler = ClusterInvocationResultHandler(directReturnContinuation: cc)
1333 |
1334 |                 try await executeDistributedTarget(
1335 |                     on: actor,
     |                         `- note: closure captures non-Sendable 'actor'
1336 |                     target: target,
     |                             `- note: closure captures non-Sendable 'target'
1337 |                     invocationDecoder: &directDecoder,
1338 |                     handler: directReturnHandler
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1375: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
1373 |
1374 |         _ = try await withCheckedThrowingContinuation { (cc: CheckedContinuation<Any, Error>) in
1375 |             Task { [invocation] in
     |                  `- 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
1376 |                 var directDecoder = ClusterInvocationDecoder(system: self, invocation: invocation)
     |                                                                                        `- note: closure captures non-Sendable 'invocation'
1377 |                 let directReturnHandler = ClusterInvocationResultHandler(directReturnContinuation: cc)
1378 |
1379 |                 try await executeDistributedTarget(
1380 |                     on: actor,
     |                         `- note: closure captures non-Sendable 'actor'
1381 |                     target: target,
     |                             `- note: closure captures non-Sendable 'target'
1382 |                     invocationDecoder: &directDecoder,
1383 |                     handler: directReturnHandler
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1445:26: warning: sending 'reply' risks causing data races; this is an error in the Swift 6 language mode
1443 |                 return
1444 |             }
1445 |             continuation.resume(returning: reply)
     |                          |- warning: sending 'reply' risks causing data races; this is an error in the Swift 6 language mode
     |                          `- note: task-isolated 'reply' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
1446 |         }
1447 |     }
[1511/1520] Compiling DistributedCluster ClusterSystemSettings.swift
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Protobuf/ClusterEvents.pb.swift:172:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type '_ProtoClusterEvent._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
167 |   ]
168 |
169 |   fileprivate class _StorageClass {
    |                     `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
170 |     var _event: _ProtoClusterEvent.OneOf_Event?
171 |
172 |     static let defaultInstance = _StorageClass()
    |                |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type '_ProtoClusterEvent._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'defaultInstance' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 |
174 |     private init() {}
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Protobuf/ClusterEvents.pb.swift:266:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type '_ProtoClusterMembershipChange._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
259 |   ]
260 |
261 |   fileprivate class _StorageClass {
    |                     `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
262 |     var _node: _ProtoClusterNode? = nil
263 |     var _fromStatus: _ProtoClusterMemberStatus = .unspecified
264 |     var _toStatus: _ProtoClusterMemberStatus = .unspecified
265 |
266 |     static let defaultInstance = _StorageClass()
    |                |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type '_ProtoClusterMembershipChange._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'defaultInstance' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
267 |
268 |     private init() {}
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Protobuf/ClusterEvents.pb.swift:341:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type '_ProtoClusterLeadershipChange._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
335 |   ]
336 |
337 |   fileprivate class _StorageClass {
    |                     `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
338 |     var _oldLeader: _ProtoClusterMember? = nil
339 |     var _newLeader: _ProtoClusterMember? = nil
340 |
341 |     static let defaultInstance = _StorageClass()
    |                |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type '_ProtoClusterLeadershipChange._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'defaultInstance' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
342 |
343 |     private init() {}
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Protobuf/ClusterEvents.pb.swift:95:19: warning: stored property '_storage' of 'Sendable'-conforming struct '_ProtoClusterEvent' has non-sendable type '_ProtoClusterEvent._StorageClass'; this is an error in the Swift 6 language mode
 93 |   public init() {}
 94 |
 95 |   fileprivate var _storage = _StorageClass.defaultInstance
    |                   `- warning: stored property '_storage' of 'Sendable'-conforming struct '_ProtoClusterEvent' has non-sendable type '_ProtoClusterEvent._StorageClass'; this is an error in the Swift 6 language mode
 96 | }
 97 |
    :
167 |   ]
168 |
169 |   fileprivate class _StorageClass {
    |                     `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
170 |     var _event: _ProtoClusterEvent.OneOf_Event?
171 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Protobuf/ClusterEvents.pb.swift:126:19: warning: stored property '_storage' of 'Sendable'-conforming struct '_ProtoClusterMembershipChange' has non-sendable type '_ProtoClusterMembershipChange._StorageClass'; this is an error in the Swift 6 language mode
124 |   public init() {}
125 |
126 |   fileprivate var _storage = _StorageClass.defaultInstance
    |                   `- warning: stored property '_storage' of 'Sendable'-conforming struct '_ProtoClusterMembershipChange' has non-sendable type '_ProtoClusterMembershipChange._StorageClass'; this is an error in the Swift 6 language mode
127 | }
128 |
    :
259 |   ]
260 |
261 |   fileprivate class _StorageClass {
    |                     `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
262 |     var _node: _ProtoClusterNode? = nil
263 |     var _fromStatus: _ProtoClusterMemberStatus = .unspecified
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Protobuf/ClusterEvents.pb.swift:156:19: warning: stored property '_storage' of 'Sendable'-conforming struct '_ProtoClusterLeadershipChange' has non-sendable type '_ProtoClusterLeadershipChange._StorageClass'; this is an error in the Swift 6 language mode
154 |   public init() {}
155 |
156 |   fileprivate var _storage = _StorageClass.defaultInstance
    |                   `- warning: stored property '_storage' of 'Sendable'-conforming struct '_ProtoClusterLeadershipChange' has non-sendable type '_ProtoClusterLeadershipChange._StorageClass'; this is an error in the Swift 6 language mode
157 | }
158 |
    :
335 |   ]
336 |
337 |   fileprivate class _StorageClass {
    |                     `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
338 |     var _oldLeader: _ProtoClusterMember? = nil
339 |     var _newLeader: _ProtoClusterMember? = nil
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Protobuf/Membership.pb.swift:71:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 69 | extension _ProtoClusterMemberReachability: CaseIterable {
 70 |   // The compiler won't synthesize support with the UNRECOGNIZED case.
 71 |   public static var allCases: [_ProtoClusterMemberReachability] = [
    |                     |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 |     .unspecified,
 73 |     .reachable,
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Protobuf/Membership.pb.swift:124:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
122 | extension _ProtoClusterMemberStatus: CaseIterable {
123 |   // The compiler won't synthesize support with the UNRECOGNIZED case.
124 |   public static var allCases: [_ProtoClusterMemberStatus] = [
    |                     |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 |     .unspecified,
126 |     .joining,
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Protobuf/Membership.pb.swift:307:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type '_ProtoClusterMembership._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
301 |   ]
302 |
303 |   fileprivate class _StorageClass {
    |                     `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
304 |     var _members: [_ProtoClusterMember] = []
305 |     var _leaderNode: _ProtoClusterNode? = nil
306 |
307 |     static let defaultInstance = _StorageClass()
    |                |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type '_ProtoClusterMembership._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'defaultInstance' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
308 |
309 |     private init() {}
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Protobuf/Membership.pb.swift:380:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type '_ProtoClusterMember._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
372 |   ]
373 |
374 |   fileprivate class _StorageClass {
    |                     `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
375 |     var _node: _ProtoClusterNode? = nil
376 |     var _status: _ProtoClusterMemberStatus = .unspecified
    :
378 |     var _upNumber: UInt32 = 0
379 |
380 |     static let defaultInstance = _StorageClass()
    |                |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type '_ProtoClusterMember._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'defaultInstance' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
381 |
382 |     private init() {}
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Protobuf/Membership.pb.swift:463:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type '_ProtoClusterMembershipGossip._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
456 |   ]
457 |
458 |   fileprivate class _StorageClass {
    |                     `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
459 |     var _membership: _ProtoClusterMembership? = nil
460 |     var _ownerClusterNodeID: UInt64 = 0
461 |     var _seenTable: _ProtoClusterMembershipSeenTable? = nil
462 |
463 |     static let defaultInstance = _StorageClass()
    |                |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type '_ProtoClusterMembershipGossip._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'defaultInstance' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
464 |
465 |     private init() {}
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Protobuf/Membership.pb.swift:567:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type '_ProtoClusterMembershipSeenTableRow._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
561 |   ]
562 |
563 |   fileprivate class _StorageClass {
    |                     `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
564 |     var _nodeID: UInt64 = 0
565 |     var _version: _ProtoVersionVector? = nil
566 |
567 |     static let defaultInstance = _StorageClass()
    |                |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type '_ProtoClusterMembershipSeenTableRow._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'defaultInstance' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
568 |
569 |     private init() {}
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Protobuf/Membership.pb.swift:159:19: warning: stored property '_storage' of 'Sendable'-conforming struct '_ProtoClusterMembership' has non-sendable type '_ProtoClusterMembership._StorageClass'; this is an error in the Swift 6 language mode
157 |   public init() {}
158 |
159 |   fileprivate var _storage = _StorageClass.defaultInstance
    |                   `- warning: stored property '_storage' of 'Sendable'-conforming struct '_ProtoClusterMembership' has non-sendable type '_ProtoClusterMembership._StorageClass'; this is an error in the Swift 6 language mode
160 | }
161 |
    :
301 |   ]
302 |
303 |   fileprivate class _StorageClass {
    |                     `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
304 |     var _members: [_ProtoClusterMember] = []
305 |     var _leaderNode: _ProtoClusterNode? = nil
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Protobuf/Membership.pb.swift:195:19: warning: stored property '_storage' of 'Sendable'-conforming struct '_ProtoClusterMember' has non-sendable type '_ProtoClusterMember._StorageClass'; this is an error in the Swift 6 language mode
193 |   public init() {}
194 |
195 |   fileprivate var _storage = _StorageClass.defaultInstance
    |                   `- warning: stored property '_storage' of 'Sendable'-conforming struct '_ProtoClusterMember' has non-sendable type '_ProtoClusterMember._StorageClass'; this is an error in the Swift 6 language mode
196 | }
197 |
    :
372 |   ]
373 |
374 |   fileprivate class _StorageClass {
    |                     `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
375 |     var _node: _ProtoClusterNode? = nil
376 |     var _status: _ProtoClusterMemberStatus = .unspecified
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Protobuf/Membership.pb.swift:234:19: warning: stored property '_storage' of 'Sendable'-conforming struct '_ProtoClusterMembershipGossip' has non-sendable type '_ProtoClusterMembershipGossip._StorageClass'; this is an error in the Swift 6 language mode
232 |   public init() {}
233 |
234 |   fileprivate var _storage = _StorageClass.defaultInstance
    |                   `- warning: stored property '_storage' of 'Sendable'-conforming struct '_ProtoClusterMembershipGossip' has non-sendable type '_ProtoClusterMembershipGossip._StorageClass'; this is an error in the Swift 6 language mode
235 | }
236 |
    :
456 |   ]
457 |
458 |   fileprivate class _StorageClass {
    |                     `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
459 |     var _membership: _ProtoClusterMembership? = nil
460 |     var _ownerClusterNodeID: UInt64 = 0
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Protobuf/Membership.pb.swift:272:19: warning: stored property '_storage' of 'Sendable'-conforming struct '_ProtoClusterMembershipSeenTableRow' has non-sendable type '_ProtoClusterMembershipSeenTableRow._StorageClass'; this is an error in the Swift 6 language mode
270 |   public init() {}
271 |
272 |   fileprivate var _storage = _StorageClass.defaultInstance
    |                   `- warning: stored property '_storage' of 'Sendable'-conforming struct '_ProtoClusterMembershipSeenTableRow' has non-sendable type '_ProtoClusterMembershipSeenTableRow._StorageClass'; this is an error in the Swift 6 language mode
273 | }
274 |
    :
561 |   ]
562 |
563 |   fileprivate class _StorageClass {
    |                     `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
564 |     var _nodeID: UInt64 = 0
565 |     var _version: _ProtoVersionVector? = nil
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:1018:17: warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
1016 |     /// Confirms that the remote peer receptionist has received Ops up until the given element,
1017 |     /// allows us to push more elements
1018 |     final class PushOps: Receptionist.Message {
     |                 `- warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
1019 |         // the "sender" of the push
1020 |         let peer: OpLogDistributedReceptionist
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:1076:17: warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
1074 |     /// Confirms that the remote peer receptionist has received Ops up until the given element,
1075 |     /// allows us to push more elements
1076 |     final class AckOps: Receptionist.Message, CustomStringConvertible {
     |                 `- warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
1077 |         /// Cumulative ACK of all ops until (and including) this one.
1078 |         ///
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:1127:17: warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
1125 |     }
1126 |
1127 |     final class PublishLocalListingsTrigger: Receptionist.Message, _NotActuallyCodableMessage, CustomStringConvertible {
     |                 `- warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
1128 |         override init() {
1129 |             super.init()
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:706:21: warning: reference to property 'log' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
 704 |                     ()
 705 |                 default:
 706 |                     log.error("Error: \(error)")
     |                     `- warning: reference to property 'log' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
 707 |                 }
 708 |             }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:29:16: warning: static property 'slowACKReplicationTick' is not concurrency-safe because non-'Sendable' type '_TimerKey' may have shared mutable state; this is an error in the Swift 6 language mode
 27 |     // MARK: Timer Keys
 28 |
 29 |     static let slowACKReplicationTick: _TimerKey = "slow-ack-replication-tick"
    |                |- warning: static property 'slowACKReplicationTick' is not concurrency-safe because non-'Sendable' type '_TimerKey' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'slowACKReplicationTick' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |
 31 |     // ==== ------------------------------------------------------------------------------------------------------------
/host/spi-builder-workspace/Sources/DistributedCluster/_BehaviorTimers.swift:50:17: note: consider making struct '_TimerKey' conform to the 'Sendable' protocol
 48 | ///
 49 | // TODO: replace timers with AsyncTimerSequence from swift-async-algorithms
 50 | internal struct _TimerKey: Hashable {
    |                 `- note: consider making struct '_TimerKey' conform to the 'Sendable' protocol
 51 |     private let identifier: AnyHashable
 52 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:674:11: warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
672 |     /// Confirms that the remote peer receptionist has received Ops up until the given element,
673 |     /// allows us to push more elements
674 |     class PushOps: Receptionist.Message {
    |           `- warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
675 |         // the "sender" of the push
676 |         let peer: _ActorRef<Receptionist.Message>
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:725:11: warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
723 |     /// Confirms that the remote peer receptionist has received Ops up until the given element,
724 |     /// allows us to push more elements
725 |     class AckOps: Receptionist.Message, CustomStringConvertible {
    |           `- warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
726 |         /// Cumulative ACK of all ops until (and including) this one.
727 |         ///
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:776:11: warning: class 'PeriodicAckTick' must restate inherited '@unchecked Sendable' conformance
774 |     }
775 |
776 |     class PeriodicAckTick: Receptionist.Message, _NotActuallyCodableMessage, CustomStringConvertible {
    |           `- warning: class 'PeriodicAckTick' must restate inherited '@unchecked Sendable' conformance
777 |         override init() {
778 |             super.init()
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:790:11: warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
788 |     }
789 |
790 |     class PublishLocalListingsTrigger: Receptionist.Message, _NotActuallyCodableMessage, CustomStringConvertible {
    |           `- warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
791 |         override init() {
792 |             super.init()
<unknown>:0: note: 'file' declared here
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:820:23: warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
812 |     func tracelog(
813 |         _ context: _ActorContext<Message>, _ type: TraceLogType, message: Any,
814 |         file: String = #filePath, function: String = #function, line: UInt = #line
    |                        `- note: did you mean for parameter 'file' to default to '#fileID'?
815 |     ) {
816 |         if let level = context.system.settings.receptionist.traceLogLevel {
    :
818 |                 level: level,
819 |                 "[tracelog:receptionist] \(type.description): \(message)",
820 |                 file: file, function: function, line: line
    |                       |- warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
    |                       `- note: add parentheses to silence this warning
821 |             )
822 |         }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:22:1: warning: extension declares a conformance of imported type 'Status' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
 20 | // MARK: Serialization
 21 |
 22 | extension SWIM.Status: _ProtobufRepresentable {
    | |- warning: extension declares a conformance of imported type 'Status' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 23 |     public typealias ProtobufRepresentation = _ProtoSWIMStatus
 24 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:65:1: warning: extension declares a conformance of imported type 'GossipPayload' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
 63 | }
 64 |
 65 | extension SWIM.GossipPayload: _ProtobufRepresentable {
    | |- warning: extension declares a conformance of imported type 'GossipPayload' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 66 |     public typealias ProtobufRepresentation = _ProtoSWIMGossipPayload
 67 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:92:1: warning: extension declares a conformance of imported type 'Member' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
 90 | }
 91 |
 92 | extension SWIM.Member: _ProtobufRepresentable {
    | |- warning: extension declares a conformance of imported type 'Member' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 93 |     public typealias ProtobufRepresentation = _ProtoSWIMMember
 94 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:116:1: warning: extension declares a conformance of imported type 'PingResponse' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
114 | }
115 |
116 | extension SWIM.PingResponse: _ProtobufRepresentable {
    | |- warning: extension declares a conformance of imported type 'PingResponse' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
117 |     public typealias ProtobufRepresentation = _ProtoSWIMPingResponse
118 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:170:1: warning: extension declares a conformance of imported type 'Node' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'ClusterMembership' introduce this conformance in the future
168 | }
169 |
170 | extension ClusterMembership.Node: _ProtobufRepresentable {
    | |- warning: extension declares a conformance of imported type 'Node' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'ClusterMembership' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
171 |     public typealias ProtobufRepresentation = _ProtoClusterNode
172 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM.pb.swift:363:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type '_ProtoSWIMPingResponse.Ack._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
355 |   ]
356 |
357 |   fileprivate class _StorageClass {
    |                     `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
358 |     var _target: _ProtoActorID? = nil
359 |     var _incarnation: UInt64 = 0
    :
361 |     var _sequenceNumber: UInt32 = 0
362 |
363 |     static let defaultInstance = _StorageClass()
    |                |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type '_ProtoSWIMPingResponse.Ack._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'defaultInstance' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
364 |
365 |     private init() {}
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM.pb.swift:444:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type '_ProtoSWIMPingResponse.Nack._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
438 |   ]
439 |
440 |   fileprivate class _StorageClass {
    |                     `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
441 |     var _target: _ProtoActorID? = nil
442 |     var _sequenceNumber: UInt32 = 0
443 |
444 |     static let defaultInstance = _StorageClass()
    |                |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type '_ProtoSWIMPingResponse.Nack._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'defaultInstance' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
445 |
446 |     private init() {}
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM.pb.swift:277:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type '_ProtoSWIMPingResponse._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
272 |   ]
273 |
274 |   fileprivate class _StorageClass {
    |                     `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
275 |     var _pingResponse: _ProtoSWIMPingResponse.OneOf_PingResponse?
276 |
277 |     static let defaultInstance = _StorageClass()
    |                |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type '_ProtoSWIMPingResponse._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'defaultInstance' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
278 |
279 |     private init() {}
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM.pb.swift:207:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
205 | extension _ProtoSWIMStatus.TypeEnum: CaseIterable {
206 |   // The compiler won't synthesize support with the UNRECOGNIZED case.
207 |   public static var allCases: [_ProtoSWIMStatus.TypeEnum] = [
    |                     |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
208 |     .unspecified,
209 |     .alive,
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM.pb.swift:566:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type '_ProtoSWIMMember._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
559 |   ]
560 |
561 |   fileprivate class _StorageClass {
    |                     `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
562 |     var _id: _ProtoActorID? = nil
563 |     var _status: _ProtoSWIMStatus? = nil
564 |     var _protocolPeriod: UInt64 = 0
565 |
566 |     static let defaultInstance = _StorageClass()
    |                |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type '_ProtoSWIMMember._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'defaultInstance' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
567 |
568 |     private init() {}
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM.pb.swift:147:19: warning: stored property '_storage' of 'Sendable'-conforming struct '_ProtoSWIMPingResponse' has non-sendable type '_ProtoSWIMPingResponse._StorageClass'; this is an error in the Swift 6 language mode
145 |   public init() {}
146 |
147 |   fileprivate var _storage = _StorageClass.defaultInstance
    |                   `- warning: stored property '_storage' of 'Sendable'-conforming struct '_ProtoSWIMPingResponse' has non-sendable type '_ProtoSWIMPingResponse._StorageClass'; this is an error in the Swift 6 language mode
148 | }
149 |
    :
272 |   ]
273 |
274 |   fileprivate class _StorageClass {
    |                     `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
275 |     var _pingResponse: _ProtoSWIMPingResponse.OneOf_PingResponse?
276 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM.pb.swift:116:21: warning: stored property '_storage' of 'Sendable'-conforming struct 'Ack' has non-sendable type '_ProtoSWIMPingResponse.Ack._StorageClass'; this is an error in the Swift 6 language mode
114 |     public init() {}
115 |
116 |     fileprivate var _storage = _StorageClass.defaultInstance
    |                     `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Ack' has non-sendable type '_ProtoSWIMPingResponse.Ack._StorageClass'; this is an error in the Swift 6 language mode
117 |   }
118 |
    :
355 |   ]
356 |
357 |   fileprivate class _StorageClass {
    |                     `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
358 |     var _target: _ProtoActorID? = nil
359 |     var _incarnation: UInt64 = 0
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM.pb.swift:142:21: warning: stored property '_storage' of 'Sendable'-conforming struct 'Nack' has non-sendable type '_ProtoSWIMPingResponse.Nack._StorageClass'; this is an error in the Swift 6 language mode
140 |     public init() {}
141 |
142 |     fileprivate var _storage = _StorageClass.defaultInstance
    |                     `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Nack' has non-sendable type '_ProtoSWIMPingResponse.Nack._StorageClass'; this is an error in the Swift 6 language mode
143 |   }
144 |
    :
438 |   ]
439 |
440 |   fileprivate class _StorageClass {
    |                     `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
441 |     var _target: _ProtoActorID? = nil
442 |     var _sequenceNumber: UInt32 = 0
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM.pb.swift:250:19: warning: stored property '_storage' of 'Sendable'-conforming struct '_ProtoSWIMMember' has non-sendable type '_ProtoSWIMMember._StorageClass'; this is an error in the Swift 6 language mode
248 |   public init() {}
249 |
250 |   fileprivate var _storage = _StorageClass.defaultInstance
    |                   `- warning: stored property '_storage' of 'Sendable'-conforming struct '_ProtoSWIMMember' has non-sendable type '_ProtoSWIMMember._StorageClass'; this is an error in the Swift 6 language mode
251 | }
252 |
    :
559 |   ]
560 |
561 |   fileprivate class _StorageClass {
    |                     `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
562 |     var _id: _ProtoActorID? = nil
563 |     var _status: _ProtoSWIMStatus? = nil
/host/spi-builder-workspace/Sources/DistributedCluster/Props+Metrics.swift:90:23: warning: static property 'serialization' is not concurrency-safe because non-'Sendable' type 'ActiveMetricsOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
 78 |
 79 | /// Defines which per actor (group) metrics are enabled for a given actor.
 80 | public struct ActiveMetricsOptionSet: OptionSet {
    |               `- note: consider making struct 'ActiveMetricsOptionSet' conform to the 'Sendable' protocol
 81 |     public let rawValue: Int
 82 |
    :
 88 |     public static let messageProcessing = ActiveMetricsOptionSet(rawValue: 1 << 1)
 89 |
 90 |     public static let serialization = ActiveMetricsOptionSet(rawValue: 1 << 2)
    |                       |- warning: static property 'serialization' is not concurrency-safe because non-'Sendable' type 'ActiveMetricsOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'serialization' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 91 |     public static let deserialization = ActiveMetricsOptionSet(rawValue: 1 << 3)
 92 |
/host/spi-builder-workspace/Sources/DistributedCluster/Props+Metrics.swift:91:23: warning: static property 'deserialization' is not concurrency-safe because non-'Sendable' type 'ActiveMetricsOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
 78 |
 79 | /// Defines which per actor (group) metrics are enabled for a given actor.
 80 | public struct ActiveMetricsOptionSet: OptionSet {
    |               `- note: consider making struct 'ActiveMetricsOptionSet' conform to the 'Sendable' protocol
 81 |     public let rawValue: Int
 82 |
    :
 89 |
 90 |     public static let serialization = ActiveMetricsOptionSet(rawValue: 1 << 2)
 91 |     public static let deserialization = ActiveMetricsOptionSet(rawValue: 1 << 3)
    |                       |- warning: static property 'deserialization' is not concurrency-safe because non-'Sendable' type 'ActiveMetricsOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'deserialization' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 92 |
 93 |     public static let all: ActiveMetricsOptionSet = [
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/SWIMActor.swift:585:66: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
583 | extension ActorID {
584 |     static func _swim(on node: Cluster.Node) -> ActorID {
585 |         .init(remote: node, path: ActorPath._swim, incarnation: .wellKnown)
    |                                                                  `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
586 |     }
587 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SystemMessages+Redelivery.swift:66:16: warning: static property 'metaType' is not concurrency-safe because non-'Sendable' type 'MetaType<SystemMessageEnvelope>' may have shared mutable state; this is an error in the Swift 6 language mode
 64 |
 65 | extension SystemMessageEnvelope {
 66 |     static let metaType: MetaType<SystemMessageEnvelope> = MetaType(SystemMessageEnvelope.self)
    |                |- warning: static property 'metaType' is not concurrency-safe because non-'Sendable' type 'MetaType<SystemMessageEnvelope>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'metaType' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 67 | }
 68 |
/host/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization.swift:626:17: note: consider making generic struct 'MetaType' conform to the 'Sendable' protocol
624 | /// A meta type is a type eraser for any `T`, such that we can still perform `value is T` checks.
625 | @usableFromInline
626 | internal struct MetaType<T>: Hashable, CustomStringConvertible {
    |                 `- note: consider making generic struct 'MetaType' conform to the 'Sendable' protocol
627 |     let _underlying: Any.Type?
628 |     let id: ObjectIdentifier
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SystemMessages+Redelivery.swift:97:29: warning: static property 'metaType' is not concurrency-safe because non-'Sendable' type 'MetaType<_SystemMessage.NACK>' may have shared mutable state; this is an error in the Swift 6 language mode
 95 |     /// and is used to request all subsequent messages to be redelivered by the sender.
 96 |     struct NACK: Equatable {
 97 |         internal static let metaType: MetaType<NACK> = MetaType(NACK.self)
    |                             |- warning: static property 'metaType' is not concurrency-safe because non-'Sendable' type 'MetaType<_SystemMessage.NACK>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                             |- note: annotate 'metaType' with '@MainActor' if property should only be accessed from the main actor
    |                             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 98 |
 99 |         typealias SequenceNr = SystemMessageEnvelope.SequenceNr
/host/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization.swift:626:17: note: consider making generic struct 'MetaType' conform to the 'Sendable' protocol
624 | /// A meta type is a type eraser for any `T`, such that we can still perform `value is T` checks.
625 | @usableFromInline
626 | internal struct MetaType<T>: Hashable, CustomStringConvertible {
    |                 `- note: consider making generic struct 'MetaType' conform to the 'Sendable' protocol
627 |     let _underlying: Any.Type?
628 |     let id: ObjectIdentifier
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SystemMessages+Redelivery.swift:351:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OutboundSystemMessageRedeliverySettings' may have shared mutable state; this is an error in the Swift 6 language mode
348 | // MARK: Settings
349 |
350 | public struct OutboundSystemMessageRedeliverySettings {
    |               `- note: consider making struct 'OutboundSystemMessageRedeliverySettings' conform to the 'Sendable' protocol
351 |     public static let `default`: OutboundSystemMessageRedeliverySettings = .init()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OutboundSystemMessageRedeliverySettings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
352 |
353 |     /// When enabled, logs all outbound messages using the tracelog facility.
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SystemMessages+Redelivery.swift:382:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'InboundSystemMessageRedeliverySettings' may have shared mutable state; this is an error in the Swift 6 language mode
379 | }
380 |
381 | public struct InboundSystemMessageRedeliverySettings {
    |               `- note: consider making struct 'InboundSystemMessageRedeliverySettings' conform to the 'Sendable' protocol
382 |     public static let `default` = InboundSystemMessageRedeliverySettings()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'InboundSystemMessageRedeliverySettings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
383 |
384 |     /// When enabled, logs all outbound messages using the tracelog facility.
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:106:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
104 |             throw WireFormatError.notEnoughBytes(expectedAtLeastBytes: bytes.readableBytes, hint: "handshake accept")
105 |         }
106 |         let proto = try _ProtoHandshakeResponse(serializedData: data)
    |                         |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
    |                         `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
107 |         return try Wire.HandshakeResponse(proto)
108 |     }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:143:25: warning: capture of 'self' with non-sendable type 'ReceivingHandshakeHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
109 | }
110 |
111 | final class ReceivingHandshakeHandler: ChannelInboundHandler, RemovableChannelHandler {
    |             `- note: class 'ReceivingHandshakeHandler' does not conform to the 'Sendable' protocol
112 |     typealias InboundIn = ByteBuffer
113 |     typealias InboundOut = Never
    :
141 |                 case .success(.accept(let accept)):
142 |                     do {
143 |                         self.log.debug("Write accept handshake to: [\(offer.originNode)]", metadata: metadata)
    |                         `- warning: capture of 'self' with non-sendable type 'ReceivingHandshakeHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
144 |                         try self.writeHandshakeAccept(context, accept)
145 |                     } catch {
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:143:71: warning: capture of 'offer' with non-sendable type 'Wire.HandshakeOffer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
141 |                 case .success(.accept(let accept)):
142 |                     do {
143 |                         self.log.debug("Write accept handshake to: [\(offer.originNode)]", metadata: metadata)
    |                                                                       `- warning: capture of 'offer' with non-sendable type 'Wire.HandshakeOffer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
144 |                         try self.writeHandshakeAccept(context, accept)
145 |                     } catch {
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/WireMessages.swift:42:21: note: consider making struct 'HandshakeOffer' conform to the 'Sendable' protocol
 40 |
 41 |     // TODO: such messages should go over a priority lane
 42 |     internal struct HandshakeOffer: Equatable, WireMessage {
    |                     `- note: consider making struct 'HandshakeOffer' conform to the 'Sendable' protocol
 43 |         internal var version: Version
 44 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:144:55: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
142 |                     do {
143 |                         self.log.debug("Write accept handshake to: [\(offer.originNode)]", metadata: metadata)
144 |                         try self.writeHandshakeAccept(context, accept)
    |                                                       `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
145 |                     } catch {
146 |                         self.log.error("Failed when sending Handshake.Accept: \(accept), error: \(error)")
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:143:71: warning: implicit capture of 'offer' requires that 'Wire.HandshakeOffer' conforms to `Sendable`; this is an error in the Swift 6 language mode
141 |                 case .success(.accept(let accept)):
142 |                     do {
143 |                         self.log.debug("Write accept handshake to: [\(offer.originNode)]", metadata: metadata)
    |                                                                       `- warning: implicit capture of 'offer' requires that 'Wire.HandshakeOffer' conforms to `Sendable`; this is an error in the Swift 6 language mode
144 |                         try self.writeHandshakeAccept(context, accept)
145 |                     } catch {
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/WireMessages.swift:42:21: note: consider making struct 'HandshakeOffer' conform to the 'Sendable' protocol
 40 |
 41 |     // TODO: such messages should go over a priority lane
 42 |     internal struct HandshakeOffer: Equatable, WireMessage {
    |                     `- note: consider making struct 'HandshakeOffer' conform to the 'Sendable' protocol
 43 |         internal var version: Version
 44 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:152:77: warning: implicit capture of 'offer' requires that 'Wire.HandshakeOffer' conforms to `Sendable`; this is an error in the Swift 6 language mode
150 |                 case .success(.reject(let reject)):
151 |                     do {
152 |                         self.log.debug("Write reject handshake offer to: [\(offer.originNode)] reason: [\(reject.reason)]", metadata: metadata)
    |                                                                             `- warning: implicit capture of 'offer' requires that 'Wire.HandshakeOffer' conforms to `Sendable`; this is an error in the Swift 6 language mode
153 |                         try self.writeHandshakeReject(context, reject)
154 |                     } catch {
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/WireMessages.swift:42:21: note: consider making struct 'HandshakeOffer' conform to the 'Sendable' protocol
 40 |
 41 |     // TODO: such messages should go over a priority lane
 42 |     internal struct HandshakeOffer: Equatable, WireMessage {
    |                     `- note: consider making struct 'HandshakeOffer' conform to the 'Sendable' protocol
 43 |         internal var version: Version
 44 |
/host/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:73:23: warning: static property '_ProtobufRepresentable' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID.SerializerID' (aka 'Serialization.SerializerID') may have shared mutable state; this is an error in the Swift 6 language mode
 17 | extension Serialization {
 18 |     /// Used to identify a type (or instance) of a `Serializer`.
 19 |     public struct SerializerID: ExpressibleByIntegerLiteral, Hashable, Comparable, CustomStringConvertible {
    |                   `- note: consider making struct 'SerializerID' conform to the 'Sendable' protocol
 20 |         public typealias IntegerLiteralType = UInt32
 21 |
    :
 71 |
 72 |     public static let specializedWithTypeHint: SerializerID = 1
 73 |     public static let _ProtobufRepresentable: SerializerID = 2
    |                       |- warning: static property '_ProtobufRepresentable' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID.SerializerID' (aka 'Serialization.SerializerID') may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate '_ProtobufRepresentable' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 74 |
 75 |     public static let foundationJSON: SerializerID = 3
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/WireMessages.swift:30:20: warning: static property 'typeHint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 28 |     struct Envelope: Codable {
 29 |         /// This is a very blessed type hint, as it encapsulates all messages and is _assumed_ on the receiving end as the outer wrapper.
 30 |         static var typeHint: String = "_$Awe" // Swift Actors wire envelope
    |                    |- warning: static property 'typeHint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'typeHint' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'typeHint' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |
 32 |         var recipient: ActorID
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:325:32: warning: capture of 'transportEnvelope' with non-sendable type 'TransportEnvelope' in a `@Sendable` closure; this is an error in the Swift 6 language mode
323 |             case .success(let serialized):
324 |                 let wireEnvelope = Wire.Envelope(
325 |                     recipient: transportEnvelope.recipient,
    |                                `- warning: capture of 'transportEnvelope' with non-sendable type 'TransportEnvelope' in a `@Sendable` closure; this is an error in the Swift 6 language mode
326 |                     payload: serialized.buffer,
327 |                     manifest: serialized.manifest
    :
873 |
874 | /// Mirrors `Envelope` however ensures that the payload is a message; i.e. it cannot be a closure.
875 | internal struct TransportEnvelope: CustomStringConvertible, CustomDebugStringConvertible {
    |                 `- note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
876 |     let storage: Storage
877 |     enum Storage {
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:329:17: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
327 |                     manifest: serialized.manifest
328 |                 )
329 |                 context.write(self.wrapOutboundOut(wireEnvelope), promise: promise)
    |                 `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
330 |
331 |             case .failure(let error):
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:329:31: warning: capture of 'self' with non-sendable type 'OutboundSerializationHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
294 | // MARK: Outbound Message handler
295 |
296 | final class OutboundSerializationHandler: ChannelOutboundHandler {
    |             `- note: class 'OutboundSerializationHandler' does not conform to the 'Sendable' protocol
297 |     typealias OutboundIn = TransportEnvelope
298 |     typealias OutboundOut = Wire.Envelope
    :
327 |                     manifest: serialized.manifest
328 |                 )
329 |                 context.write(self.wrapOutboundOut(wireEnvelope), promise: promise)
    |                               `- warning: capture of 'self' with non-sendable type 'OutboundSerializationHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
330 |
331 |             case .failure(let error):
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:335:39: warning: implicit capture of 'transportEnvelope' requires that 'TransportEnvelope' conforms to `Sendable`; this is an error in the Swift 6 language mode
333 |                     "Serialization of outgoing message failed: \(error)",
334 |                     metadata: [
335 |                         "message": "\(transportEnvelope.underlyingMessage)",
    |                                       `- warning: implicit capture of 'transportEnvelope' requires that 'TransportEnvelope' conforms to `Sendable`; this is an error in the Swift 6 language mode
336 |                         "message/type": "\(reflecting: type(of: transportEnvelope.underlyingMessage as Any))",
337 |                         "recipient": "\(transportEnvelope.recipient)",
    :
873 |
874 | /// Mirrors `Envelope` however ensures that the payload is a message; i.e. it cannot be a closure.
875 | internal struct TransportEnvelope: CustomStringConvertible, CustomDebugStringConvertible {
    |                 `- note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
876 |     let storage: Storage
877 |     enum Storage {
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:559:13: warning: capture of 'self' with non-sendable type 'SystemMessageRedeliveryHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
352 | /// It follows the "Shell" pattern, all actual logic is implemented in the `OutboundSystemMessageRedelivery`
353 | /// and `InboundSystemMessages`
354 | internal final class SystemMessageRedeliveryHandler: ChannelDuplexHandler {
    |                      `- note: class 'SystemMessageRedeliveryHandler' does not conform to the 'Sendable' protocol
355 |     // we largely pass-through messages, however if they are system messages we keep them buffered for potential re-delivery
356 |     typealias OutboundIn = TransportEnvelope
    :
557 |         }
558 |         self.redeliveryScheduled?.futureResult.whenComplete { _ in
559 |             self.redeliveryScheduled = nil
    |             `- warning: capture of 'self' with non-sendable type 'SystemMessageRedeliveryHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
560 |             self.onRedeliveryTick(context)
561 |         }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:560:35: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
558 |         self.redeliveryScheduled?.futureResult.whenComplete { _ in
559 |             self.redeliveryScheduled = nil
560 |             self.onRedeliveryTick(context)
    |                                   `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
561 |         }
562 |     }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
<unknown>:0: note: 'file' declared here
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:583:23: warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
567 |     private func tracelog(
568 |         _ type: TraceLogType, message: Any,
569 |         file: String = #filePath, function: String = #function, line: UInt = #line
    |                        `- note: did you mean for parameter 'file' to default to '#fileID'?
570 |     ) {
571 |         let level: Logger.Level?
    :
581 |                 level: level,
582 |                 "[tracelog:sys-msg-redelivery] \(type.description): \(message)",
583 |                 file: file, function: function, line: line
    |                       |- warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
    |                       `- note: add parentheses to silence this warning
584 |             )
585 |         }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:722:36: warning: capture of 'settings' with non-sendable type 'ClusterSystemSettings' in a `@Sendable` closure; this is an error in the Swift 6 language mode
720 |                 // If SSL is enabled, we need to add the SSLServerHandler to the connection
721 |                 var channelHandlers: [(String?, ChannelHandler)] = []
722 |                 if var tlsConfig = settings.tls {
    |                                    `- warning: capture of 'settings' with non-sendable type 'ClusterSystemSettings' in a `@Sendable` closure; this is an error in the Swift 6 language mode
723 |                     // We don't know who will try to talk to us, so we can't verify the hostname here
724 |                     if tlsConfig.certificateVerification == .fullVerification {
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystemSettings.swift:23:15: note: consider making struct 'ClusterSystemSettings' conform to the 'Sendable' protocol
 21 |
 22 | /// Settings used to configure a `ClusterSystem`.
 23 | public struct ClusterSystemSettings {
    |               `- note: consider making struct 'ClusterSystemSettings' conform to the 'Sendable' protocol
 24 |     public enum Default {
 25 |         public static let name: String = "ClusterSystem"
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:728:46: warning: capture of 'self' with non-sendable type 'ClusterShell' in a `@Sendable` closure; this is an error in the Swift 6 language mode
726 |                     }
727 |                     do {
728 |                         let sslContext = try self.makeSSLContext(fromConfig: tlsConfig, passphraseCallback: settings.tlsPassphraseCallback)
    |                                              `- warning: capture of 'self' with non-sendable type 'ClusterShell' in a `@Sendable` closure; this is an error in the Swift 6 language mode
729 |                         let sslHandler = NIOSSLServerHandler(context: sslContext)
730 |                         channelHandlers.append(("ssl", sslHandler))
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/ClusterShell.swift:32:16: note: class 'ClusterShell' does not conform to the 'Sendable' protocol
  30 | ///
  31 | /// It keeps the `Membership` instance that can be seen the source of truth for any membership based decisions.
  32 | internal class ClusterShell {
     |                `- note: class 'ClusterShell' does not conform to the 'Sendable' protocol
  33 |     internal static let naming = _ActorNaming.unique("cluster")
  34 |     public typealias Ref = _ActorRef<ClusterShell.Message>
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:751:82: warning: capture of 'serializationPool' with non-sendable type '_SerializationPool' in a `@Sendable` closure; this is an error in the Swift 6 language mode
749 |                     ("receiving handshake handler", ReceivingHandshakeHandler(log: log, cluster: shell, localNode: bindNode)),
750 |                     // ("bytes dumper", DumpRawBytesDebugHandler(role: .server, log: log)), // FIXME: only include for debug -DSACT_TRACE_NIO things?
751 |                     ("wire envelope handler", WireEnvelopeHandler(serialization: serializationPool.serialization, log: log)),
    |                                                                                  `- warning: capture of 'serializationPool' with non-sendable type '_SerializationPool' in a `@Sendable` closure; this is an error in the Swift 6 language mode
752 |                     ("outbound serialization handler", OutboundSerializationHandler(log: log, serializationPool: serializationPool)),
753 |                     ("system message re-delivery", SystemMessageRedeliveryHandler(log: log, system: system, cluster: shell, serializationPool: serializationPool, outbound: outboundSysMsgs, inbound: inboundSysMsgs)),
/host/spi-builder-workspace/Sources/DistributedCluster/Serialization/SerializationPool.swift:31:20: note: class '_SerializationPool' does not conform to the 'Sendable' protocol
 29 | ///
 30 | // TODO: This should be internal, but is forced to be public by `_deserializeDeliver` on references.
 31 | public final class _SerializationPool {
    |                    `- note: class '_SerializationPool' does not conform to the 'Sendable' protocol
 32 |     @usableFromInline
 33 |     internal let serialization: Serialization
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:783:36: warning: capture of 'settings' with non-sendable type 'ClusterSystemSettings' in a `@Sendable` closure; this is an error in the Swift 6 language mode
781 |                 var channelHandlers: [(String?, ChannelHandler)] = []
782 |
783 |                 if let tlsConfig = settings.tls {
    |                                    `- warning: capture of 'settings' with non-sendable type 'ClusterSystemSettings' in a `@Sendable` closure; this is an error in the Swift 6 language mode
784 |                     do {
785 |                         let targetHost: String?
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystemSettings.swift:23:15: note: consider making struct 'ClusterSystemSettings' conform to the 'Sendable' protocol
 21 |
 22 | /// Settings used to configure a `ClusterSystem`.
 23 | public struct ClusterSystemSettings {
    |               `- note: consider making struct 'ClusterSystemSettings' conform to the 'Sendable' protocol
 24 |     public enum Default {
 25 |         public static let name: String = "ClusterSystem"
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:792:46: warning: capture of 'self' with non-sendable type 'ClusterShell' in a `@Sendable` closure; this is an error in the Swift 6 language mode
790 |                         }
791 |
792 |                         let sslContext = try self.makeSSLContext(fromConfig: tlsConfig, passphraseCallback: settings.tlsPassphraseCallback)
    |                                              `- warning: capture of 'self' with non-sendable type 'ClusterShell' in a `@Sendable` closure; this is an error in the Swift 6 language mode
793 |                         let sslHandler = try NIOSSLClientHandler(context: sslContext, serverHostname: targetHost)
794 |                         channelHandlers.append(("ssl", sslHandler))
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/ClusterShell.swift:32:16: note: class 'ClusterShell' does not conform to the 'Sendable' protocol
  30 | ///
  31 | /// It keeps the `Membership` instance that can be seen the source of truth for any membership based decisions.
  32 | internal class ClusterShell {
     |                `- note: class 'ClusterShell' does not conform to the 'Sendable' protocol
  33 |     internal static let naming = _ActorNaming.unique("cluster")
  34 |     public typealias Ref = _ActorRef<ClusterShell.Message>
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:813:107: warning: capture of 'handshakeOffer' with non-sendable type 'Wire.HandshakeOffer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
811 |                     ("framing writer", LengthFieldPrepender(lengthFieldLength: .four, lengthFieldEndianness: .big)),
812 |                     ("framing reader", ByteToMessageHandler(Framing(lengthFieldLength: .four, lengthFieldEndianness: .big))),
813 |                     ("initiating handshake handler", InitiatingHandshakeHandler(log: log, handshakeOffer: handshakeOffer, cluster: shell)),
    |                                                                                                           `- warning: capture of 'handshakeOffer' with non-sendable type 'Wire.HandshakeOffer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
814 |                     // ("bytes dumper", DumpRawBytesDebugHandler(role: .client, log: log)), // FIXME: make available via compilation flag
815 |                     ("envelope handler", WireEnvelopeHandler(serialization: serializationPool.serialization, log: log)),
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/WireMessages.swift:42:21: note: consider making struct 'HandshakeOffer' conform to the 'Sendable' protocol
 40 |
 41 |     // TODO: such messages should go over a priority lane
 42 |     internal struct HandshakeOffer: Equatable, WireMessage {
    |                     `- note: consider making struct 'HandshakeOffer' conform to the 'Sendable' protocol
 43 |         internal var version: Version
 44 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:815:77: warning: capture of 'serializationPool' with non-sendable type '_SerializationPool' in a `@Sendable` closure; this is an error in the Swift 6 language mode
813 |                     ("initiating handshake handler", InitiatingHandshakeHandler(log: log, handshakeOffer: handshakeOffer, cluster: shell)),
814 |                     // ("bytes dumper", DumpRawBytesDebugHandler(role: .client, log: log)), // FIXME: make available via compilation flag
815 |                     ("envelope handler", WireEnvelopeHandler(serialization: serializationPool.serialization, log: log)),
    |                                                                             `- warning: capture of 'serializationPool' with non-sendable type '_SerializationPool' in a `@Sendable` closure; this is an error in the Swift 6 language mode
816 |                     ("outbound serialization handler", OutboundSerializationHandler(log: log, serializationPool: serializationPool)),
817 |                     ("system message re-delivery", SystemMessageRedeliveryHandler(log: log, system: system, cluster: shell, serializationPool: serializationPool, outbound: outboundSysMsgs, inbound: inboundSysMsgs)),
/host/spi-builder-workspace/Sources/DistributedCluster/Serialization/SerializationPool.swift:31:20: note: class '_SerializationPool' does not conform to the 'Sendable' protocol
 29 | ///
 30 | // TODO: This should be internal, but is forced to be public by `_deserializeDeliver` on references.
 31 | public final class _SerializationPool {
    |                    `- note: class '_SerializationPool' does not conform to the 'Sendable' protocol
 32 |     @usableFromInline
 33 |     internal let serialization: Serialization
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:863:17: warning: capture of 'closure' with non-sendable type '(T) -> EventLoopFuture<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
861 |         for element in elements.dropFirst() {
862 |             acc = acc.flatMap { _ in
863 |                 closure(element)
    |                 |- warning: capture of 'closure' with non-sendable type '(T) -> EventLoopFuture<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
864 |             }
865 |         }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:863:25: warning: capture of 'element' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
852 |     /// i.e. each element will only be processed once the future returned from the previous call is completed. A failed future
853 |     /// will cause the processing to end and the returned future will be failed.
854 |     internal func traverseIgnore<T>(over elements: [T], _ closure: @escaping (T) -> EventLoopFuture<Void>) -> EventLoopFuture<Void> {
    |                                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
855 |         guard let first = elements.first else {
856 |             return self.makeSucceededFuture(())
    :
861 |         for element in elements.dropFirst() {
862 |             acc = acc.flatMap { _ in
863 |                 closure(element)
    |                         `- warning: capture of 'element' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
864 |             }
865 |         }
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1709:9: warning: stored property 'underlying' of 'Sendable'-conforming struct 'ClusterSystemError' has non-sendable type 'ClusterSystemError._Storage'; this is an error in the Swift 6 language mode
1695 |     }
1696 |
1697 |     internal class _Storage {
     |                    `- note: class '_Storage' does not conform to the 'Sendable' protocol
1698 |         let error: _ClusterSystemError
1699 |         let file: String
     :
1707 |     }
1708 |
1709 |     let underlying: _Storage
     |         `- warning: stored property 'underlying' of 'Sendable'-conforming struct 'ClusterSystemError' has non-sendable type 'ClusterSystemError._Storage'; this is an error in the Swift 6 language mode
1710 |
1711 |     internal init(_ error: _ClusterSystemError, file: String = #fileID, line: UInt = #line) {
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1740:9: warning: stored property 'underlying' of 'Sendable'-conforming struct 'ResolveError' has non-sendable type 'ResolveError._Storage'; this is an error in the Swift 6 language mode
1726 |     }
1727 |
1728 |     internal class _Storage {
     |                    `- note: class '_Storage' does not conform to the 'Sendable' protocol
1729 |         let error: _ResolveError
1730 |         let file: String
     :
1738 |     }
1739 |
1740 |     let underlying: _Storage
     |         `- warning: stored property 'underlying' of 'Sendable'-conforming struct 'ResolveError' has non-sendable type 'ResolveError._Storage'; this is an error in the Swift 6 language mode
1741 |
1742 |     internal init(_ error: _ResolveError, file: String = #fileID, line: UInt = #line) {
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1793:9: warning: stored property 'underlying' of 'Sendable'-conforming struct 'RemoteCallError' has non-sendable type 'RemoteCallError._Storage'; this is an error in the Swift 6 language mode
1775 |     }
1776 |
1777 |     internal class _Storage {
     |                    `- note: class '_Storage' does not conform to the 'Sendable' protocol
1778 |         let error: _RemoteCallError
1779 |         let actorID: ActorID
     :
1791 |     }
1792 |
1793 |     let underlying: _Storage
     |         `- warning: stored property 'underlying' of 'Sendable'-conforming struct 'RemoteCallError' has non-sendable type 'RemoteCallError._Storage'; this is an error in the Swift 6 language mode
1794 |
1795 |     internal init(_ error: _RemoteCallError, on actorID: ActorID, target: RemoteCallTarget,
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:236:21: warning: 'installSwiftBacktrace' is deprecated: Backtrace will not longer be offered by the actor system by default, and has to be depended on by end-users
 234 |
 235 |         // rely on swift-backtrace for pretty backtraces on crashes
 236 |         if settings.installSwiftBacktrace {
     |                     `- warning: 'installSwiftBacktrace' is deprecated: Backtrace will not longer be offered by the actor system by default, and has to be depended on by end-users
 237 |             Backtrace.install()
 238 |         }
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:237:23: warning: 'install()' is deprecated: This is no longer needed in Swift 5.9
 235 |         // rely on swift-backtrace for pretty backtraces on crashes
 236 |         if settings.installSwiftBacktrace {
 237 |             Backtrace.install()
     |                       `- warning: 'install()' is deprecated: This is no longer needed in Swift 5.9
 238 |         }
 239 |
/host/spi-builder-workspace/Sources/DistributedCluster/Receptionist/Receptionist.swift:35:25: warning: static property 'naming' is not concurrency-safe because non-'Sendable' type '_ActorNaming' may have shared mutable state; this is an error in the Swift 6 language mode
 33 |     // is to detect that and rather send to the local one.
 34 |
 35 |     internal static let naming: _ActorNaming = .unique("receptionist-ref")
    |                         |- warning: static property 'naming' is not concurrency-safe because non-'Sendable' type '_ActorNaming' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: annotate 'naming' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |
 37 |     /// INTERNAL API
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorNaming.swift:68:15: note: consider making struct '_ActorNaming' conform to the 'Sendable' protocol
 66 |
 67 | /// Used while spawning actors to identify how its name should be created.
 68 | public struct _ActorNaming: ExpressibleByStringLiteral, ExpressibleByStringInterpolation {
    |               `- note: consider making struct '_ActorNaming' conform to the 'Sendable' protocol
 69 |     // We keep an internal enum, but do not expose it as we may want to add more naming strategies in the future?
 70 |     internal enum _Naming {
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:526:17: warning: variable 'knownActors' was written to, but never read
 524 |             // We can't have it acquire the same lock, so we copy the refs out and release the last
 525 |             // references to those actors outside of the naming lock.
 526 |             var knownActors = self.namingLock.withLock {
     |                 `- warning: variable 'knownActors' was written to, but never read
 527 |                 self._managedWellKnownDistributedActors // copy references
 528 |             }
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:639:65: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
 637 |         try behavior.validateAsInitial()
 638 |
 639 |         let incarnation: ActorIncarnation = props._wellKnown ? .wellKnown : .random()
     |                                                                 `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
 640 |
 641 |         // TODO: lock inside provider, not here
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:707:65: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
 705 |     // Reserve an actor address.
 706 |     internal func _reserveName<Act>(type: Act.Type, props: _Props) throws -> ActorID where Act: DistributedActor {
 707 |         let incarnation: ActorIncarnation = props._wellKnown ? .wellKnown : .random()
     |                                                                 `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
 708 |         guard let provider = (props._systemActor ? self.systemProvider : self.userProvider) else {
 709 |             fatalError("Unable to obtain system/user actor provider") // TODO(distributed): just throw here instead
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/HandshakeStateMachine.swift:25:23: warning: static property 'protocolVersion' is not concurrency-safe because non-'Sendable' type 'ClusterSystem.Version' may have shared mutable state; this is an error in the Swift 6 language mode
 23 |     /// This version does not have to match the project version, i.e. a library version `1.5.0` may still be using the protocol version `1.0.0`,
 24 |     /// as this version number is more about the _wire_ compatibility of the underlying protocol, rather than the library capabilities
 25 |     public static let protocolVersion = ClusterSystem.Version(reserved: 0, major: 1, minor: 0, patch: 0)
    |                       |- warning: static property 'protocolVersion' is not concurrency-safe because non-'Sendable' type 'ClusterSystem.Version' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'protocolVersion' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 | }
 27 |
/host/spi-builder-workspace/Sources/DistributedCluster/Version.swift:19:19: note: consider making struct 'Version' conform to the 'Sendable' protocol
17 |     ///
18 |     /// Can be used to determine wire of feature compatibility of nodes joining a cluster.
19 |     public struct Version: Equatable, CustomStringConvertible {
   |                   `- note: consider making struct 'Version' conform to the 'Sendable' protocol
20 |         /// Exact semantics of the reserved field remain to be defined.
21 |         public var reserved: UInt8
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystemSettings.swift:488:31: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ClusterSystemSettings.RemoteCallSettings.CodableErrorAllowanceSettings' may have shared mutable state; this is an error in the Swift 6 language mode
468 |         public var codableErrorAllowance: CodableErrorAllowanceSettings = .all
469 |
470 |         public struct CodableErrorAllowanceSettings {
    |                       `- note: consider making struct 'CodableErrorAllowanceSettings' conform to the 'Sendable' protocol
471 |             internal enum CodableErrorAllowance {
472 |                 case none
    :
486 |
487 |             /// All `Codable` errors will be returned as-is.
488 |             public static let all: CodableErrorAllowanceSettings = .init(allowance: .all)
    |                               |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ClusterSystemSettings.RemoteCallSettings.CodableErrorAllowanceSettings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
489 |
490 |             /// Only the indicated `Codable` errors are allowed. Others are converted to ``GenericRemoteCallError``.
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystemSettings.swift:485:31: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ClusterSystemSettings.RemoteCallSettings.CodableErrorAllowanceSettings' may have shared mutable state; this is an error in the Swift 6 language mode
468 |         public var codableErrorAllowance: CodableErrorAllowanceSettings = .all
469 |
470 |         public struct CodableErrorAllowanceSettings {
    |                       `- note: consider making struct 'CodableErrorAllowanceSettings' conform to the 'Sendable' protocol
471 |             internal enum CodableErrorAllowance {
472 |                 case none
    :
483 |
484 |             /// All `Codable` errors will be converted to ``GenericRemoteCallError``.
485 |             public static let none: CodableErrorAllowanceSettings = .init(allowance: .none)
    |                               |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ClusterSystemSettings.RemoteCallSettings.CodableErrorAllowanceSettings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
486 |
487 |             /// All `Codable` errors will be returned as-is.
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:838:55: warning: sending 'replayer' risks causing data races; this is an error in the Swift 6 language mode
 832 |         }
 833 |
 834 |         self.log.debug(
     |                  `- note: access can happen concurrently
 835 |             "Streaming \(sequencedOps.count) ops: from [\(replayer.atSeqNr)]",
 836 |             metadata: [
 837 |                 "receptionist/peer": "\(peer.id)",
 838 |                 "receptionist/ops/replay/atSeqNr": "\(replayer.atSeqNr)",
     |                                                       |- warning: sending 'replayer' risks causing data races; this is an error in the Swift 6 language mode
     |                                                       `- note: 'self'-isolated 'replayer' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
 839 |                 "receptionist/ops/maxSeqNr": "\(self.ops.maxSeqNr)",
 840 |             ]
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/SWIMActor.swift:178:37: warning: sending 'self'-isolated value of type '(inout TaskGroup<SWIM.PingResponse<SWIMActor, SWIMActor>>) async -> SWIM.PingResponse<SWIMActor, SWIMActor>?' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
176 |         let pingRequestResponseTimeFirstTimer = self.swim.metrics.shell.pingRequestResponseTimeFirst
177 |
178 |         let firstSuccessful = await withTaskGroup(
    |                                     `- warning: sending 'self'-isolated value of type '(inout TaskGroup<SWIM.PingResponse<SWIMActor, SWIMActor>>) async -> SWIM.PingResponse<SWIMActor, SWIMActor>?' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
179 |             of: SWIM.PingResponse<SWIMActor, SWIMActor>.self,
180 |             returning: SWIM.PingResponse<SWIMActor, SWIMActor>?.self
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/SWIMActor.swift:183:31: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
181 |         ) { [log, metrics, swim] group in
182 |             for pingRequest in directive.requestDetails {
183 |                 group.addTask {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
184 |                     let peerToPingRequestThrough = pingRequest.peerToPingRequestThrough
    |                                                    `- note: closure captures non-Sendable 'pingRequest'
185 |                     let payload = pingRequest.payload
186 |                     let sequenceNumber = pingRequest.sequenceNumber
    :
189 |
190 |                     let pingRequestSentAt: DispatchTime = .now()
191 |                     metrics.shell.messageOutboundCount.increment()
    |                     `- note: closure captures non-Sendable 'metrics'
192 |
193 |                     do {
    :
202 |                         return response
203 |                     } catch {
204 |                         log.debug(".pingRequest resulted in error", metadata: swim!.metadata([ // !-safe, initialized in init()
    |                                                                               `- note: closure captures non-Sendable 'swim'
205 |                             "swim/pingRequest/target": "\(peerToPing)",
206 |                             "swim/pingRequest/peerToPingRequestThrough": "\(peerToPingRequestThrough)",
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/SWIMActor.swift:520:161: warning: sending 'change' risks causing data races; this is an error in the Swift 6 language mode
518 |                 switch directive {
519 |                 case .applied(let change):
520 |                     __secretlyKnownToBeLocal.log.warning("Confirmed node .dead: \(change)", metadata: __secretlyKnownToBeLocal.swim.metadata(["swim/change": "\(change)"]))
    |                                                  |                                                                                                              |- warning: sending 'change' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  |                                                                                                              `- note: '__secretlyKnownToBeLocal'-isolated 'change' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
    |                                                  `- note: access can happen concurrently
521 |                 case .ignored:
522 |                     return
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:457:37: 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
 455 |         public func wait() async throws {
 456 |             // TODO: implement without blocking the internal task;
 457 |             try await 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
 458 |                 if let error = self.receptacle.wait() {
     |                                `- note: closure captures 'self' which is accessible to code in the current task
 459 |                     throw error
 460 |                 }
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1542:38: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
1540 |         switch self.state {
1541 |         case .localDirectReturn(let directReturnContinuation):
1542 |             directReturnContinuation.resume(returning: value)
     |                                      |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
     |                                      `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
1543 |
1544 |         case .remoteCall(let system, let callID, let channel, let recipient):
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1238:60: 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
1236 |
1237 |         let timeout = RemoteCall.timeout ?? self.settings.remoteCall.defaultTimeout
1238 |         let timeoutTask: Task<Void, Error> = 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
1239 |             try await Task.sleep(nanoseconds: UInt64(timeout.nanoseconds))
1240 |             guard !Task.isCancelled else {
     :
1258 |                     // If we're shutting down, it is okay to not get acknowledgements to calls for example,
1259 |                     // and we don't care about them missing -- we're shutting down anyway.
1260 |                     error = RemoteCallError(.clusterAlreadyShutDown, on: actorID, target: target)
     |                                                                                           `- note: closure captures 'target' which is accessible to code in the current task
1261 |                 } else {
1262 |                     error = RemoteCallError(.timedOut(
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1330: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
1328 |
1329 |         let anyReturn = try await withCheckedThrowingContinuation { cc in
1330 |             Task { [invocation] in // FIXME: make an async stream here since we lost ordering guarantees here
     |                  `- 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
1331 |                 var directDecoder = ClusterInvocationDecoder(system: self, invocation: invocation)
     |                                                                                        `- note: closure captures non-Sendable 'invocation'
1332 |                 let directReturnHandler = ClusterInvocationResultHandler(directReturnContinuation: cc)
1333 |
1334 |                 try await executeDistributedTarget(
1335 |                     on: actor,
     |                         `- note: closure captures non-Sendable 'actor'
1336 |                     target: target,
     |                             `- note: closure captures non-Sendable 'target'
1337 |                     invocationDecoder: &directDecoder,
1338 |                     handler: directReturnHandler
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1375: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
1373 |
1374 |         _ = try await withCheckedThrowingContinuation { (cc: CheckedContinuation<Any, Error>) in
1375 |             Task { [invocation] in
     |                  `- 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
1376 |                 var directDecoder = ClusterInvocationDecoder(system: self, invocation: invocation)
     |                                                                                        `- note: closure captures non-Sendable 'invocation'
1377 |                 let directReturnHandler = ClusterInvocationResultHandler(directReturnContinuation: cc)
1378 |
1379 |                 try await executeDistributedTarget(
1380 |                     on: actor,
     |                         `- note: closure captures non-Sendable 'actor'
1381 |                     target: target,
     |                             `- note: closure captures non-Sendable 'target'
1382 |                     invocationDecoder: &directDecoder,
1383 |                     handler: directReturnHandler
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1445:26: warning: sending 'reply' risks causing data races; this is an error in the Swift 6 language mode
1443 |                 return
1444 |             }
1445 |             continuation.resume(returning: reply)
     |                          |- warning: sending 'reply' risks causing data races; this is an error in the Swift 6 language mode
     |                          `- note: task-isolated 'reply' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
1446 |         }
1447 |     }
[1512/1521] Wrapping AST for DistributedCluster for debugging
[1514/1540] Compiling MultiNodeTestKit MultiNodeTestSettings.swift
[1515/1540] Compiling DistributedActorsTestKit TestProbes+Receptionist.swift
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/TestProbes+Receptionist.swift:33:71: warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
26 |         expected: Set<_ActorRef<String>>, within timeout: Duration,
27 |         verbose: Bool = false,
28 |         file: StaticString = #filePath, line: UInt = #line, column: UInt = #column
   |                              `- note: did you mean for parameter 'file' to default to '#fileID'?
29 |     ) throws {
30 |         do {
31 |             let listing = try self.fishForMessages(within: timeout, file: file, line: line) {
32 |                 if verbose {
33 |                     pinfo("Received listing: \($0.refs.count)", file: file, line: line)
   |                                                                       |- warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
   |                                                                       `- note: add parentheses to silence this warning
34 |                 }
35 |
DistributedCluster.file (private):1:1: note: 'file' declared here
1 | file: StaticString
  | `- note: 'file' declared here
[1516/1541] Compiling DistributedActorsTestKit Task+Testing.swift
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/Task+Testing.swift:33:23: error: type 'Task<Success, any Error>' has no member 'select'
31 |
32 |         defer { timeoutTask.cancel() }
33 |         return await .select(valueTask, timeoutTask)
   |                       `- error: type 'Task<Success, any Error>' has no member 'select'
34 |     }
35 | }
[1517/1541] Compiling DistributedActorsTestKit SingleClusterSystemXCTestCase.swift
[1518/1541] Compiling MultiNodeTestKit MultiNodeTestKit.swift
[1519/1541] Emitting module it_Clustered_swim_suspension_reachability
[1520/1541] Compiling it_Clustered_swim_suspension_reachability main.swift
[1521/1541] Compiling MultiNodeTestKit MultiNodeTestKit+Control.swift
[1522/1542] Wrapping AST for it_Clustered_swim_suspension_reachability for debugging
[1523/1542] Write Objects.LinkFileList
[1525/1542] Emitting module MultiNodeTestKit
[1526/1542] Compiling MultiNodeTestKit MultiNodeTestConductor.swift
/host/spi-builder-workspace/Sources/MultiNodeTestKit/MultiNodeTestConductor.swift:164:21: warning: dictionary literal of type 'Logger.Metadata' (aka 'Dictionary<String, Logger.MetadataValue>') has duplicate entries for string literal key 'checkPoint/error'
162 |                 self.log.warning("Checkpoint failed, informing node [\(node)]", metadata: [
163 |                     "checkPoint/node": "\(node)",
164 |                     "checkPoint/error": "\(checkPointError)",
    |                     |- warning: dictionary literal of type 'Logger.Metadata' (aka 'Dictionary<String, Logger.MetadataValue>') has duplicate entries for string literal key 'checkPoint/error'
    |                     `- note: duplicate key declared here
165 |                     "checkPoint/error": "\(checkPointError)",
    |                     `- note: duplicate key declared here
166 |                 ])
167 |                 cc.resume(throwing: checkPointError)
/host/spi-builder-workspace/Sources/MultiNodeTestKit/MultiNodeTestConductor.swift:248:13: warning: non-sendable type 'Cluster.Event?' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
246 |
247 |         self.clusterEventsTask = Task {
248 |             for await event in self.actorSystem.cluster.events {
    |             `- warning: non-sendable type 'Cluster.Event?' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
249 |                 self.onClusterEvent(event)
250 |             }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Cluster+Event.swift:22:17: note: enum 'Event' does not conform to the 'Sendable' protocol
 20 |     ///
 21 |     /// Inspect them directly, or `apply` to a `Membership` copy in order to be able to react to membership state of the cluster.
 22 |     public enum Event: Codable, Equatable {
    |                 `- note: enum 'Event' does not conform to the 'Sendable' protocol
 23 |         case snapshot(Membership)
 24 |         case membershipChange(MembershipChange)
/host/spi-builder-workspace/Sources/MultiNodeTestKit/MultiNodeTestConductor.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DistributedCluster'
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | import DistributedCluster
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DistributedCluster'
 16 | import Logging
 17 |
/host/spi-builder-workspace/Sources/MultiNodeTestKit/MultiNodeTestConductor.swift:54:31: warning: cannot access property 'clusterEventsTask' here in deinitializer; this is an error in the Swift 6 language mode
 49 |
 50 |     deinit {
 51 |         guard __isLocalActor(self) else { // workaround for old toolchains
    |                              `- note: after making a copy of 'self', only nonisolated properties of 'self' can be accessed from a deinit
 52 |             return
 53 |         }
 54 |         self.clusterEventsTask?.cancel()
    |                               `- warning: cannot access property 'clusterEventsTask' here in deinitializer; this is an error in the Swift 6 language mode
 55 |     }
 56 |
/host/spi-builder-workspace/Sources/MultiNodeTestKit/MultiNodeTestConductor.swift:134:37: warning: sending 'checkPoint' risks causing data races; this is an error in the Swift 6 language mode
132 |
133 |             for waitingAtCheckpoint in self.nodesAtCheckPoint.values {
134 |                 waitingAtCheckpoint.resume(returning: checkPoint)
    |                                     |- warning: sending 'checkPoint' risks causing data races; this is an error in the Swift 6 language mode
    |                                     `- note: 'self'-isolated 'checkPoint' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
135 |             }
136 |
/host/spi-builder-workspace/Sources/MultiNodeTestKit/MultiNodeTestConductor.swift:175:23: warning: sending 'self'-isolated value of type '(CheckedContinuation<MultiNode.Checkpoint, any Error>) -> Void' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
173 |         }
174 |
175 |         _ = try await withCheckedThrowingContinuation { (cc: CheckedContinuation<MultiNode.Checkpoint, Error>) in
    |                       `- warning: sending 'self'-isolated value of type '(CheckedContinuation<MultiNode.Checkpoint, any Error>) -> Void' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
176 |             checkpointTimeoutTask.cancel()
177 |             self.setContinuation(node: node, cc: cc)
/host/spi-builder-workspace/Sources/MultiNodeTestKit/MultiNodeTestConductor.swift:124:52: warning: sending 'checkPoint' risks causing data races; this is an error in the Swift 6 language mode
122 |         }
123 |         let remainingNodes = self.allNodes.count - 1 - self.nodesAtCheckPoint.count
124 |         self.log.notice("[multi-node][checkpoint:\(checkPoint.name) @ \(self.nodesAtCheckPoint.count + 1)/\(self.allNodes.count)] \(node) entered checkpoint [\(checkPoint)]... Waiting for \(remainingNodes) remaining nodes.", metadata: [
    |                                                    |                                                                                                                                                                                       `- note: access can happen concurrently
    |                                                    |- warning: sending 'checkPoint' risks causing data races; this is an error in the Swift 6 language mode
    |                                                    `- note: 'self'-isolated 'checkPoint' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
125 |             "multiNode/checkpoint": "\(checkPoint.name)",
126 |             "multiNode/checkpoint/missing": Logger.MetadataValue.array(self.checkpointMissingNodes.map { Logger.MetadataValue.string($0) }),
/host/spi-builder-workspace/Sources/MultiNodeTestKit/MultiNodeTestConductor.swift:125:40: warning: sending 'checkPoint' risks causing data races; this is an error in the Swift 6 language mode
123 |         let remainingNodes = self.allNodes.count - 1 - self.nodesAtCheckPoint.count
124 |         self.log.notice("[multi-node][checkpoint:\(checkPoint.name) @ \(self.nodesAtCheckPoint.count + 1)/\(self.allNodes.count)] \(node) entered checkpoint [\(checkPoint)]... Waiting for \(remainingNodes) remaining nodes.", metadata: [
125 |             "multiNode/checkpoint": "\(checkPoint.name)",
    |                                        |- warning: sending 'checkPoint' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: 'self'-isolated 'checkPoint' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
126 |             "multiNode/checkpoint/missing": Logger.MetadataValue.array(self.checkpointMissingNodes.map { Logger.MetadataValue.string($0) }),
127 |         ])
    :
129 |         // last node arriving at the checkpoint, resume them all!
130 |         if remainingNodes == 0 {
131 |             print("[multi-node] [checkpoint:\(checkPoint.name)] All [\(self.allNodes.count)] nodes entered checkpoint! Release: \(checkPoint.name) at \(checkPoint.file):\(checkPoint.line)")
    |                                                          `- note: access can happen concurrently
132 |
133 |             for waitingAtCheckpoint in self.nodesAtCheckPoint.values {
/host/spi-builder-workspace/Sources/MultiNodeTestKit/MultiNodeTestConductor.swift:92:28: warning: sending 'checkPoint' risks causing data races; this is an error in the Swift 6 language mode
 90 |         try await RemoteCall.with(timeout: waitTime) {
 91 |             self.actorSystem.log.warning("CHECKPOINT FROM [\(node)] INNER (\(__isRemoteActor(self)))")
 92 |             try await self._enterCheckPoint(node: node, checkPoint: checkPoint)
    |                            |- warning: sending 'checkPoint' risks causing data races; this is an error in the Swift 6 language mode
    |                            `- note: task-isolated 'checkPoint' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 93 |             self.actorSystem.log.warning("CHECKPOINT FROM [\(node)] DONE")
 94 |         }
[1528/1543] Emitting module DistributedActorsTestKit
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/ActorTestKit.swift:215:9: warning: stored property 'callSite' of 'Sendable'-conforming struct 'EventuallyError' has non-sendable type 'CallSiteInfo'; this is an error in the Swift 6 language mode
213 | /// Intended to be pretty printed in command line test output.
214 | public struct EventuallyError: Error, CustomStringConvertible, CustomDebugStringConvertible {
215 |     let callSite: CallSiteInfo
    |         `- warning: stored property 'callSite' of 'Sendable'-conforming struct 'EventuallyError' has non-sendable type 'CallSiteInfo'; this is an error in the Swift 6 language mode
216 |     let duration: Duration
217 |     let polledTimes: Int
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/ShouldMatchers.swift:534:15: note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
532 | }
533 |
534 | public struct CallSiteInfo {
    |               `- note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
535 |     public let file: StaticString
536 |     public let line: UInt
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/LogCapture.swift:197:9: warning: stored property 'capture' of 'Sendable'-conforming struct 'LogCaptureLogHandler' has non-sendable type 'LogCapture'; this is an error in the Swift 6 language mode
 23 | /// ### Warning
 24 | /// This handler uses locks for each and every operation.
 25 | public final class LogCapture {
    |                    `- note: class 'LogCapture' does not conform to the 'Sendable' protocol
 26 |     private var _logs: [CapturedLogMessage] = []
 27 |     private let lock = DistributedActorsConcurrencyHelpers.Lock()
    :
195 | struct LogCaptureLogHandler: LogHandler {
196 |     let label: String
197 |     let capture: LogCapture
    |         `- warning: stored property 'capture' of 'Sendable'-conforming struct 'LogCaptureLogHandler' has non-sendable type 'LogCapture'; this is an error in the Swift 6 language mode
198 |
199 |     init(label: String, _ capture: LogCapture) {
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/LogCapture.swift:195:8: warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
193 | // MARK: LogCapture LogHandler
194 |
195 | struct LogCaptureLogHandler: LogHandler {
    |        `- warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
196 |     let label: String
197 |     let capture: LogCapture
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:209:17: note: 'log(level:message:metadata:source:file:function:line:)' declared here
133 |     ///     - function: The function the log line was emitted from.
134 |     ///     - line: The line the log message was emitted from.
135 |     func log(
    |          `- note: requirement 'log(level:message:metadata:source:file:function:line:)' declared here
136 |         level: Logger.Level,
137 |         message: Logger.Message,
    :
207 | extension LogHandler {
208 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
209 |     public func log(
    |                 `- note: 'log(level:message:metadata:source:file:function:line:)' declared here
210 |         level: Logger.Level,
211 |         message: Logger.Message,
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/ShouldMatchers.swift:24:35: warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 22 | /// Pretty errors help tremendously to quickly spot exact errors and track them back to source locations,
 23 | /// e.g. on CI or when testing in command line and developing in a separate IDE or editor.
 24 | private let isTty = isatty(fileno(stdin)) == 0
    |                                   `- warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 25 |
 26 | public struct TestMatchers<T> {
SwiftGlibc.stdin:1:12: note: var declared here
1 | public var stdin: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/ShouldMatchers.swift:36:15: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 24 | private let isTty = isatty(fileno(stdin)) == 0
 25 |
 26 | public struct TestMatchers<T> {
    |                            `- note: 'T' previously declared here
 27 |     private let it: T
 28 |
    :
 34 |     }
 35 |
 36 |     func toBe<T>(_ expected: T.Type) {
    |               `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 37 |         if !(self.it is T) {
 38 |             let error = self.callSite.notEqualError(got: self.it, expected: expected)
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/ShouldMatchers.swift:592:16: warning: stored property 'callSite' of 'Sendable'-conforming struct 'CallSiteError' has non-sendable type 'CallSiteInfo'; this is an error in the Swift 6 language mode
532 | }
533 |
534 | public struct CallSiteInfo {
    |               `- note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
535 |     public let file: StaticString
536 |     public let line: UInt
    :
590 | /// It is useful for printing complex failures on the command line and is usually thrown by `should` matchers.
591 | public struct CallSiteError: Error, CustomStringConvertible {
592 |     public let callSite: CallSiteInfo
    |                `- warning: stored property 'callSite' of 'Sendable'-conforming struct 'CallSiteError' has non-sendable type 'CallSiteInfo'; this is an error in the Swift 6 language mode
593 |     public let explained: String
594 |
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/TestProbes.swift:158:14: warning: associated value 'timeoutAwaitingMessage(expected:timeout:)' of 'Sendable'-conforming enum 'ExpectationError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
156 |         case notEnoughMessagesInQueue(actualCount: Int, expectedCount: Int)
157 |         case withinDeadlineExceeded(timeout: Duration)
158 |         case timeoutAwaitingMessage(expected: AnyObject, timeout: Duration)
    |              `- warning: associated value 'timeoutAwaitingMessage(expected:timeout:)' of 'Sendable'-conforming enum 'ExpectationError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
159 |     }
160 | }
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/TestProbes.swift:699:25: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 34 | ///
 35 | /// - SeeAlso: `ActorableTestProbe` which is the equivalent API for `Actorable`s.
 36 | public final class ActorTestProbe<Message: Codable>: @unchecked Sendable {
    |                                   `- note: 'Message' previously declared here
 37 |     /// Name of the test probe (and underlying actor).
 38 |     public let name: String
    :
697 |     /// and our direct message arrives first, before the watch at the destination, causing potentially confusing behavior
698 |     /// in some very ordering delicate testing scenarios.
699 |     public func forward<Message>(_ message: Message, to target: _ActorRef<Message>, file: String = #filePath, line: UInt = #line) where Message: Codable {
    |                         `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
700 |         self.internalRef.tell(ProbeCommands.forwardCommand(send: { () in target.tell(message, file: file, line: line) }))
701 |     }
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/TestProbes.swift:823:27: warning: implicit capture of 'callSite' requires that 'CallSiteInfo' conforms to `Sendable`; this is an error in the Swift 6 language mode
821 |         let task = await Task<Void, Error>.withTimeout(
822 |             timeout: timeout,
823 |             timeoutError: callSite.error("Expected [\(actor)] to terminate within \(timeout.prettyDescription)")
    |                           `- warning: implicit capture of 'callSite' requires that 'CallSiteInfo' conforms to `Sendable`; this is an error in the Swift 6 language mode
824 |         ) {
825 |             _ = try await self._internal.whenLocal { __secretlyKnownToBeLocal in // TODO(distributed): this is annoying, we must track "known to be local" in typesystem instead
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/ShouldMatchers.swift:534:15: note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
532 | }
533 |
534 | public struct CallSiteInfo {
    |               `- note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
535 |     public let file: StaticString
536 |     public let line: UInt
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/TestProbes.swift:828:31: warning: capture of 'callSite' with non-sendable type 'CallSiteInfo' in a `@Sendable` closure; this is an error in the Swift 6 language mode
826 |                 for await terminated in __secretlyKnownToBeLocal.terminatedQueue.items {
827 |                     guard terminated == actor else {
828 |                         throw callSite.error("Expected [\(actor)] to terminate, but received [\(terminated)] terminated signal first instead. " +
    |                               `- warning: capture of 'callSite' with non-sendable type 'CallSiteInfo' in a `@Sendable` closure; this is an error in the Swift 6 language mode
829 |                             "This could be an ordering issue, inspect your signal order assumptions.")
830 |                     }
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/ShouldMatchers.swift:534:15: note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
532 | }
533 |
534 | public struct CallSiteInfo {
    |               `- note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
535 |     public let file: StaticString
536 |     public let line: UInt
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/TestProbes.swift:828:31: warning: capture of 'callSite' with non-sendable type 'CallSiteInfo' in a `@Sendable` closure; this is an error in the Swift 6 language mode
826 |                 for await terminated in __secretlyKnownToBeLocal.terminatedQueue.items {
827 |                     guard terminated == actor else {
828 |                         throw callSite.error("Expected [\(actor)] to terminate, but received [\(terminated)] terminated signal first instead. " +
    |                               `- warning: capture of 'callSite' with non-sendable type 'CallSiteInfo' in a `@Sendable` closure; this is an error in the Swift 6 language mode
829 |                             "This could be an ordering issue, inspect your signal order assumptions.")
830 |                     }
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/ShouldMatchers.swift:534:15: note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
532 | }
533 |
534 | public struct CallSiteInfo {
    |               `- note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
535 |     public let file: StaticString
536 |     public let line: UInt
[1528/1543] Wrapping AST for MultiNodeTestKit for debugging
[1530/1543] Compiling DistributedActorsTestKit TestProbes.swift
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/TestProbes.swift:158:14: warning: associated value 'timeoutAwaitingMessage(expected:timeout:)' of 'Sendable'-conforming enum 'ExpectationError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
156 |         case notEnoughMessagesInQueue(actualCount: Int, expectedCount: Int)
157 |         case withinDeadlineExceeded(timeout: Duration)
158 |         case timeoutAwaitingMessage(expected: AnyObject, timeout: Duration)
    |              `- warning: associated value 'timeoutAwaitingMessage(expected:timeout:)' of 'Sendable'-conforming enum 'ExpectationError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
159 |     }
160 | }
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/TestProbes.swift:699:25: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 34 | ///
 35 | /// - SeeAlso: `ActorableTestProbe` which is the equivalent API for `Actorable`s.
 36 | public final class ActorTestProbe<Message: Codable>: @unchecked Sendable {
    |                                   `- note: 'Message' previously declared here
 37 |     /// Name of the test probe (and underlying actor).
 38 |     public let name: String
    :
697 |     /// and our direct message arrives first, before the watch at the destination, causing potentially confusing behavior
698 |     /// in some very ordering delicate testing scenarios.
699 |     public func forward<Message>(_ message: Message, to target: _ActorRef<Message>, file: String = #filePath, line: UInt = #line) where Message: Codable {
    |                         `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
700 |         self.internalRef.tell(ProbeCommands.forwardCommand(send: { () in target.tell(message, file: file, line: line) }))
701 |     }
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/TestProbes.swift:823:27: warning: implicit capture of 'callSite' requires that 'CallSiteInfo' conforms to `Sendable`; this is an error in the Swift 6 language mode
821 |         let task = await Task<Void, Error>.withTimeout(
822 |             timeout: timeout,
823 |             timeoutError: callSite.error("Expected [\(actor)] to terminate within \(timeout.prettyDescription)")
    |                           `- warning: implicit capture of 'callSite' requires that 'CallSiteInfo' conforms to `Sendable`; this is an error in the Swift 6 language mode
824 |         ) {
825 |             _ = try await self._internal.whenLocal { __secretlyKnownToBeLocal in // TODO(distributed): this is annoying, we must track "known to be local" in typesystem instead
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/ShouldMatchers.swift:534:15: note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
532 | }
533 |
534 | public struct CallSiteInfo {
    |               `- note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
535 |     public let file: StaticString
536 |     public let line: UInt
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/TestProbes.swift:828:31: warning: capture of 'callSite' with non-sendable type 'CallSiteInfo' in a `@Sendable` closure; this is an error in the Swift 6 language mode
826 |                 for await terminated in __secretlyKnownToBeLocal.terminatedQueue.items {
827 |                     guard terminated == actor else {
828 |                         throw callSite.error("Expected [\(actor)] to terminate, but received [\(terminated)] terminated signal first instead. " +
    |                               `- warning: capture of 'callSite' with non-sendable type 'CallSiteInfo' in a `@Sendable` closure; this is an error in the Swift 6 language mode
829 |                             "This could be an ordering issue, inspect your signal order assumptions.")
830 |                     }
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/ShouldMatchers.swift:534:15: note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
532 | }
533 |
534 | public struct CallSiteInfo {
    |               `- note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
535 |     public let file: StaticString
536 |     public let line: UInt
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/TestProbes.swift:828:31: warning: capture of 'callSite' with non-sendable type 'CallSiteInfo' in a `@Sendable` closure; this is an error in the Swift 6 language mode
826 |                 for await terminated in __secretlyKnownToBeLocal.terminatedQueue.items {
827 |                     guard terminated == actor else {
828 |                         throw callSite.error("Expected [\(actor)] to terminate, but received [\(terminated)] terminated signal first instead. " +
    |                               `- warning: capture of 'callSite' with non-sendable type 'CallSiteInfo' in a `@Sendable` closure; this is an error in the Swift 6 language mode
829 |                             "This could be an ordering issue, inspect your signal order assumptions.")
830 |                     }
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/ShouldMatchers.swift:534:15: note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
532 | }
533 |
534 | public struct CallSiteInfo {
    |               `- note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
535 |     public let file: StaticString
536 |     public let line: UInt
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/TestProbes.swift:858:34: warning: sending 'item' risks causing data races; this is an error in the Swift 6 language mode
856 |             self.items = AsyncStream { continuation in
857 |                 self.onEnqueue = { item in
858 |                     continuation.yield(item)
    |                                  |- warning: sending 'item' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'item' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
859 |                 }
860 |             }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1531/1547] Emitting module DistributedActorsMultiNodeTests
/host/spi-builder-workspace/MultiNodeTests/DistributedActorsMultiNodeTests/MultiNode+ClusterSingletonTests.swift:63:25: warning: no 'async' operations occur within 'await' expression
61 |
62 |         try await multiNode.checkPoint("Hosted singleton") // ----------------------------------------------------------
63 |         let reply = try await ref.greet(name: "Hello from \(multiNode.system.name)")
   |                         `- warning: no 'async' operations occur within 'await' expression
64 |         print("[ON: \(multiNode.system.name)] Got reply: \(reply)")
65 |
/host/spi-builder-workspace/MultiNodeTests/DistributedActorsMultiNodeTests/MultiNode+ClusterSingletonTests.swift:54:47: error: default argument cannot be both actor-isolated and actor-isolated
52 |     }
53 |
54 |     public let test_singleton_fromManyNodes = MultiNodeTest(MultiNodeClusterSingletonTests.self) { multiNode in
   |                                               `- error: default argument cannot be both actor-isolated and actor-isolated
55 |         let singletonName = "the-one"
56 |
/host/spi-builder-workspace/MultiNodeTests/DistributedActorsMultiNodeTests/MultiNode+MultiNodeConductorTests.swift:65:29: warning: type 'Cluster.Member' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 |         }
64 |
65 |         try await multiNode.runOn(.first) { first in
   |                             `- warning: type 'Cluster.Member' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
66 |             try await first.cluster.waitFor(multiNode[.second], .down, within: .seconds(30))
67 |         }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Cluster+Member.swift:23:19: note: struct 'Member' does not conform to the 'Sendable' protocol
 21 |     /// It carries `Cluster.MemberStatus` and reachability information.
 22 |     /// Its identity is the underlying `Cluster.Node`, other fields are not taken into account when comparing members.
 23 |     public struct Member: Hashable {
    |                   `- note: struct 'Member' does not conform to the 'Sendable' protocol
 24 |         /// Unique node of this cluster member.
 25 |         public let node: Cluster.Node
/host/spi-builder-workspace/MultiNodeTests/DistributedActorsMultiNodeTests/MultiNode+MultiNodeConductorTests.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DistributedCluster'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import DistributedCluster
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DistributedCluster'
16 | import MultiNodeTestKit
17 |
[1532/1547] Compiling DistributedActorsMultiNodeTests MultiNode+MultiNodeConductorTests.swift
/host/spi-builder-workspace/MultiNodeTests/DistributedActorsMultiNodeTests/MultiNode+MultiNodeConductorTests.swift:65:29: warning: type 'Cluster.Member' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 |         }
64 |
65 |         try await multiNode.runOn(.first) { first in
   |                             `- warning: type 'Cluster.Member' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
66 |             try await first.cluster.waitFor(multiNode[.second], .down, within: .seconds(30))
67 |         }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Cluster+Member.swift:23:19: note: struct 'Member' does not conform to the 'Sendable' protocol
 21 |     /// It carries `Cluster.MemberStatus` and reachability information.
 22 |     /// Its identity is the underlying `Cluster.Node`, other fields are not taken into account when comparing members.
 23 |     public struct Member: Hashable {
    |                   `- note: struct 'Member' does not conform to the 'Sendable' protocol
 24 |         /// Unique node of this cluster member.
 25 |         public let node: Cluster.Node
/host/spi-builder-workspace/MultiNodeTests/DistributedActorsMultiNodeTests/MultiNode+MultiNodeConductorTests.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DistributedCluster'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import DistributedCluster
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DistributedCluster'
16 | import MultiNodeTestKit
17 |
[1533/1547] Compiling DistributedActorsMultiNodeTests MultiNode+ReceptionistTests.swift
[1534/1547] Compiling DistributedActorsMultiNodeTests MultiNode+ClusterSingletonTests.swift
/host/spi-builder-workspace/MultiNodeTests/DistributedActorsMultiNodeTests/MultiNode+ClusterSingletonTests.swift:63:25: warning: no 'async' operations occur within 'await' expression
61 |
62 |         try await multiNode.checkPoint("Hosted singleton") // ----------------------------------------------------------
63 |         let reply = try await ref.greet(name: "Hello from \(multiNode.system.name)")
   |                         `- warning: no 'async' operations occur within 'await' expression
64 |         print("[ON: \(multiNode.system.name)] Got reply: \(reply)")
65 |
/host/spi-builder-workspace/MultiNodeTests/DistributedActorsMultiNodeTests/MultiNode+ClusterSingletonTests.swift:54:47: error: default argument cannot be both actor-isolated and actor-isolated
52 |     }
53 |
54 |     public let test_singleton_fromManyNodes = MultiNodeTest(MultiNodeClusterSingletonTests.self) { multiNode in
   |                                               `- error: default argument cannot be both actor-isolated and actor-isolated
55 |         let singletonName = "the-one"
56 |
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/LogCapture.swift:197:9: warning: stored property 'capture' of 'Sendable'-conforming struct 'LogCaptureLogHandler' has non-sendable type 'LogCapture'; this is an error in the Swift 6 language mode
 23 | /// ### Warning
 24 | /// This handler uses locks for each and every operation.
 25 | public final class LogCapture {
    |                    `- note: class 'LogCapture' does not conform to the 'Sendable' protocol
 26 |     private var _logs: [CapturedLogMessage] = []
 27 |     private let lock = DistributedActorsConcurrencyHelpers.Lock()
    :
195 | struct LogCaptureLogHandler: LogHandler {
196 |     let label: String
197 |     let capture: LogCapture
    |         `- warning: stored property 'capture' of 'Sendable'-conforming struct 'LogCaptureLogHandler' has non-sendable type 'LogCapture'; this is an error in the Swift 6 language mode
198 |
199 |     init(label: String, _ capture: LogCapture) {
[1534/1547] Linking it_Clustered_swim_suspension_reachability
BUILD FAILURE 6.0 linux