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 main (3c03bf), with Swift 6.0 for Linux on 31 Oct 2024 15:40:10 UTC.

Build Command

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

Build Log

    |                     `- 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/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:1733: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
1719 |     }
1720 |
1721 |     internal class _Storage {
     |                    `- note: class '_Storage' does not conform to the 'Sendable' protocol
1722 |         let error: _ClusterSystemError
1723 |         let file: String
     :
1731 |     }
1732 |
1733 |     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
1734 |
1735 |     internal init(_ error: _ClusterSystemError, file: String = #fileID, line: UInt = #line) {
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1764: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
1750 |     }
1751 |
1752 |     internal class _Storage {
     |                    `- note: class '_Storage' does not conform to the 'Sendable' protocol
1753 |         let error: _ResolveError
1754 |         let file: String
     :
1762 |     }
1763 |
1764 |     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
1765 |
1766 |     internal init(_ error: _ResolveError, file: String = #fileID, line: UInt = #line) {
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1817: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
1799 |     }
1800 |
1801 |     internal class _Storage {
     |                    `- note: class '_Storage' does not conform to the 'Sendable' protocol
1802 |         let error: _RemoteCallError
1803 |         let actorID: ActorID
     :
1815 |     }
1816 |
1817 |     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
1818 |
1819 |     internal init(_ error: _RemoteCallError, on actorID: ActorID, target: RemoteCallTarget,
/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/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:843:55: warning: sending 'replayer' risks causing data races; this is an error in the Swift 6 language mode
 837 |         }
 838 |
 839 |         self.log.debug(
     |                  `- note: access can happen concurrently
 840 |             "Streaming \(sequencedOps.count) ops: from [\(replayer.atSeqNr)]",
 841 |             metadata: [
 842 |                 "receptionist/peer": "\(peer.id)",
 843 |                 "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
 844 |                 "receptionist/ops/maxSeqNr": "\(self.ops.maxSeqNr)",
 845 |             ]
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/SWIMActor.swift:179: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
177 |         let pingRequestResponseTimeFirstTimer = self.swim.metrics.shell.pingRequestResponseTimeFirst
178 |
179 |         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
180 |             of: SWIM.PingResponse<SWIMActor, SWIMActor>.self,
181 |             returning: SWIM.PingResponse<SWIMActor, SWIMActor>?.self
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/SWIMActor.swift:184: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
182 |         ) { [log, metrics, swim] group in
183 |             for pingRequest in directive.requestDetails {
184 |                 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
185 |                     let peerToPingRequestThrough = pingRequest.peerToPingRequestThrough
    |                                                    `- note: closure captures non-Sendable 'pingRequest'
186 |                     let payload = pingRequest.payload
187 |                     let sequenceNumber = pingRequest.sequenceNumber
    :
190 |
191 |                     let pingRequestSentAt: DispatchTime = .now()
192 |                     metrics.shell.messageOutboundCount.increment()
    |                     `- note: closure captures non-Sendable 'metrics'
193 |
194 |                     do {
    :
203 |                         return response
204 |                     } catch {
205 |                         log.debug(".pingRequest resulted in error", metadata: swim!.metadata([ // !-safe, initialized in init()
    |                                                                               `- note: closure captures non-Sendable 'swim'
206 |                             "swim/pingRequest/target": "\(peerToPing)",
207 |                             "swim/pingRequest/peerToPingRequestThrough": "\(peerToPingRequestThrough)",
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/SWIMActor.swift:528:125: warning: sending 'change' risks causing data races; this is an error in the Swift 6 language mode
526 |                 switch directive {
527 |                 case .applied(let change):
528 |                     myself.log.warning("Confirmed node .dead: \(change)", metadata: myself.swim.metadata(["swim/change": "\(change)"]))
    |                                |                                                                                            |- warning: sending 'change' risks causing data races; this is an error in the Swift 6 language mode
    |                                |                                                                                            `- note: 'myself'-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
529 |                 case .ignored:
530 |                     return
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:461: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
 459 |         public func wait() async throws {
 460 |             // TODO: implement without blocking the internal task;
 461 |             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
 462 |                 if let error = self.receptacle.wait() {
     |                                `- note: closure captures 'self' which is accessible to code in the current task
 463 |                     throw error
 464 |                 }
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1566:38: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
1564 |         switch self.state {
1565 |         case .localDirectReturn(let directReturnContinuation):
1566 |             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
1567 |
1568 |         case .remoteCall(let system, let callID, let channel, let recipient):
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1262: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
1260 |
1261 |         let timeout = RemoteCall.timeout ?? self.settings.remoteCall.defaultTimeout
1262 |         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
1263 |             try await Task.sleep(nanoseconds: UInt64(timeout.nanoseconds))
1264 |             guard !Task.isCancelled else {
     :
1282 |                     // If we're shutting down, it is okay to not get acknowledgements to calls for example,
1283 |                     // and we don't care about them missing -- we're shutting down anyway.
1284 |                     error = RemoteCallError(.clusterAlreadyShutDown, on: actorID, target: target)
     |                                                                                           `- note: closure captures 'target' which is accessible to code in the current task
1285 |                 } else {
1286 |                     error = RemoteCallError(.timedOut(
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1354: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
1352 |
1353 |         let anyReturn = try await withCheckedThrowingContinuation { cc in
1354 |             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
1355 |                 var directDecoder = ClusterInvocationDecoder(system: self, invocation: invocation)
     |                                                                                        `- note: closure captures non-Sendable 'invocation'
1356 |                 let directReturnHandler = ClusterInvocationResultHandler(directReturnContinuation: cc)
1357 |
1358 |                 try await executeDistributedTarget(
1359 |                     on: actor,
     |                         `- note: closure captures non-Sendable 'actor'
1360 |                     target: target,
     |                             `- note: closure captures non-Sendable 'target'
1361 |                     invocationDecoder: &directDecoder,
1362 |                     handler: directReturnHandler
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1399: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
1397 |
1398 |         _ = try await withCheckedThrowingContinuation { (cc: CheckedContinuation<Any, Error>) in
1399 |             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
1400 |                 var directDecoder = ClusterInvocationDecoder(system: self, invocation: invocation)
     |                                                                                        `- note: closure captures non-Sendable 'invocation'
1401 |                 let directReturnHandler = ClusterInvocationResultHandler(directReturnContinuation: cc)
1402 |
1403 |                 try await executeDistributedTarget(
1404 |                     on: actor,
     |                         `- note: closure captures non-Sendable 'actor'
1405 |                     target: target,
     |                             `- note: closure captures non-Sendable 'target'
1406 |                     invocationDecoder: &directDecoder,
1407 |                     handler: directReturnHandler
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1469:26: warning: sending 'reply' risks causing data races; this is an error in the Swift 6 language mode
1467 |                 return
1468 |             }
1469 |             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
1470 |         }
1471 |     }
[1263/1272] 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:1023:17: warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
1021 |     /// Confirms that the remote peer receptionist has received Ops up until the given element,
1022 |     /// allows us to push more elements
1023 |     final class PushOps: Receptionist.Message {
     |                 `- warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
1024 |         // the "sender" of the push
1025 |         let peer: OpLogDistributedReceptionist
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:1081:17: warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
1079 |     /// Confirms that the remote peer receptionist has received Ops up until the given element,
1080 |     /// allows us to push more elements
1081 |     final class AckOps: Receptionist.Message, CustomStringConvertible {
     |                 `- warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
1082 |         /// Cumulative ACK of all ops until (and including) this one.
1083 |         ///
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:1132:17: warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
1130 |     }
1131 |
1132 |     final class PublishLocalListingsTrigger: Receptionist.Message, _NotActuallyCodableMessage, CustomStringConvertible {
     |                 `- warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
1133 |         override init() {
1134 |             super.init()
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:264:17: 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
 262 |         self.eventsListeningTask = Task { [weak self, system] in
 263 |             try await self?.whenLocal { __secretlyKnownToBeLocal in
 264 |                 for try await event in system.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
 265 |                     __secretlyKnownToBeLocal.onClusterEvent(event: event)
 266 |                 }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Cluster+Event.swift:22:17: note: consider making enum 'Event' 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: consider making enum 'Event' conform to the 'Sendable' protocol
 23 |         case snapshot(Membership)
 24 |         case membershipChange(MembershipChange)
/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/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:1733: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
1719 |     }
1720 |
1721 |     internal class _Storage {
     |                    `- note: class '_Storage' does not conform to the 'Sendable' protocol
1722 |         let error: _ClusterSystemError
1723 |         let file: String
     :
1731 |     }
1732 |
1733 |     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
1734 |
1735 |     internal init(_ error: _ClusterSystemError, file: String = #fileID, line: UInt = #line) {
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1764: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
1750 |     }
1751 |
1752 |     internal class _Storage {
     |                    `- note: class '_Storage' does not conform to the 'Sendable' protocol
1753 |         let error: _ResolveError
1754 |         let file: String
     :
1762 |     }
1763 |
1764 |     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
1765 |
1766 |     internal init(_ error: _ResolveError, file: String = #fileID, line: UInt = #line) {
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1817: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
1799 |     }
1800 |
1801 |     internal class _Storage {
     |                    `- note: class '_Storage' does not conform to the 'Sendable' protocol
1802 |         let error: _RemoteCallError
1803 |         let actorID: ActorID
     :
1815 |     }
1816 |
1817 |     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
1818 |
1819 |     internal init(_ error: _RemoteCallError, on actorID: ActorID, target: RemoteCallTarget,
/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/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:843:55: warning: sending 'replayer' risks causing data races; this is an error in the Swift 6 language mode
 837 |         }
 838 |
 839 |         self.log.debug(
     |                  `- note: access can happen concurrently
 840 |             "Streaming \(sequencedOps.count) ops: from [\(replayer.atSeqNr)]",
 841 |             metadata: [
 842 |                 "receptionist/peer": "\(peer.id)",
 843 |                 "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
 844 |                 "receptionist/ops/maxSeqNr": "\(self.ops.maxSeqNr)",
 845 |             ]
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/SWIMActor.swift:179: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
177 |         let pingRequestResponseTimeFirstTimer = self.swim.metrics.shell.pingRequestResponseTimeFirst
178 |
179 |         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
180 |             of: SWIM.PingResponse<SWIMActor, SWIMActor>.self,
181 |             returning: SWIM.PingResponse<SWIMActor, SWIMActor>?.self
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/SWIMActor.swift:184: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
182 |         ) { [log, metrics, swim] group in
183 |             for pingRequest in directive.requestDetails {
184 |                 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
185 |                     let peerToPingRequestThrough = pingRequest.peerToPingRequestThrough
    |                                                    `- note: closure captures non-Sendable 'pingRequest'
186 |                     let payload = pingRequest.payload
187 |                     let sequenceNumber = pingRequest.sequenceNumber
    :
190 |
191 |                     let pingRequestSentAt: DispatchTime = .now()
192 |                     metrics.shell.messageOutboundCount.increment()
    |                     `- note: closure captures non-Sendable 'metrics'
193 |
194 |                     do {
    :
203 |                         return response
204 |                     } catch {
205 |                         log.debug(".pingRequest resulted in error", metadata: swim!.metadata([ // !-safe, initialized in init()
    |                                                                               `- note: closure captures non-Sendable 'swim'
206 |                             "swim/pingRequest/target": "\(peerToPing)",
207 |                             "swim/pingRequest/peerToPingRequestThrough": "\(peerToPingRequestThrough)",
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/SWIMActor.swift:528:125: warning: sending 'change' risks causing data races; this is an error in the Swift 6 language mode
526 |                 switch directive {
527 |                 case .applied(let change):
528 |                     myself.log.warning("Confirmed node .dead: \(change)", metadata: myself.swim.metadata(["swim/change": "\(change)"]))
    |                                |                                                                                            |- warning: sending 'change' risks causing data races; this is an error in the Swift 6 language mode
    |                                |                                                                                            `- note: 'myself'-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
529 |                 case .ignored:
530 |                     return
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:461: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
 459 |         public func wait() async throws {
 460 |             // TODO: implement without blocking the internal task;
 461 |             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
 462 |                 if let error = self.receptacle.wait() {
     |                                `- note: closure captures 'self' which is accessible to code in the current task
 463 |                     throw error
 464 |                 }
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1566:38: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
1564 |         switch self.state {
1565 |         case .localDirectReturn(let directReturnContinuation):
1566 |             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
1567 |
1568 |         case .remoteCall(let system, let callID, let channel, let recipient):
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1262: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
1260 |
1261 |         let timeout = RemoteCall.timeout ?? self.settings.remoteCall.defaultTimeout
1262 |         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
1263 |             try await Task.sleep(nanoseconds: UInt64(timeout.nanoseconds))
1264 |             guard !Task.isCancelled else {
     :
1282 |                     // If we're shutting down, it is okay to not get acknowledgements to calls for example,
1283 |                     // and we don't care about them missing -- we're shutting down anyway.
1284 |                     error = RemoteCallError(.clusterAlreadyShutDown, on: actorID, target: target)
     |                                                                                           `- note: closure captures 'target' which is accessible to code in the current task
1285 |                 } else {
1286 |                     error = RemoteCallError(.timedOut(
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1354: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
1352 |
1353 |         let anyReturn = try await withCheckedThrowingContinuation { cc in
1354 |             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
1355 |                 var directDecoder = ClusterInvocationDecoder(system: self, invocation: invocation)
     |                                                                                        `- note: closure captures non-Sendable 'invocation'
1356 |                 let directReturnHandler = ClusterInvocationResultHandler(directReturnContinuation: cc)
1357 |
1358 |                 try await executeDistributedTarget(
1359 |                     on: actor,
     |                         `- note: closure captures non-Sendable 'actor'
1360 |                     target: target,
     |                             `- note: closure captures non-Sendable 'target'
1361 |                     invocationDecoder: &directDecoder,
1362 |                     handler: directReturnHandler
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1399: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
1397 |
1398 |         _ = try await withCheckedThrowingContinuation { (cc: CheckedContinuation<Any, Error>) in
1399 |             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
1400 |                 var directDecoder = ClusterInvocationDecoder(system: self, invocation: invocation)
     |                                                                                        `- note: closure captures non-Sendable 'invocation'
1401 |                 let directReturnHandler = ClusterInvocationResultHandler(directReturnContinuation: cc)
1402 |
1403 |                 try await executeDistributedTarget(
1404 |                     on: actor,
     |                         `- note: closure captures non-Sendable 'actor'
1405 |                     target: target,
     |                             `- note: closure captures non-Sendable 'target'
1406 |                     invocationDecoder: &directDecoder,
1407 |                     handler: directReturnHandler
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1469:26: warning: sending 'reply' risks causing data races; this is an error in the Swift 6 language mode
1467 |                 return
1468 |             }
1469 |             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
1470 |         }
1471 |     }
[1264/1273] Wrapping AST for DistributedCluster for debugging
[1266/1292] Compiling DistributedActorsTestKit Task+Testing.swift
[1267/1293] Compiling MultiNodeTestKit MultiNodeTestSettings.swift
[1268/1293] 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
[1269/1293] Compiling DistributedActorsTestKit SingleClusterSystemXCTestCase.swift
[1270/1293] Compiling MultiNodeTestKit MultiNodeTestKit.swift
[1271/1293] Emitting module it_Clustered_swim_suspension_reachability
[1272/1293] Compiling it_Clustered_swim_suspension_reachability main.swift
[1273/1294] Compiling MultiNodeTestKit MultiNodeTestKit+Control.swift
[1274/1294] Wrapping AST for it_Clustered_swim_suspension_reachability for debugging
[1275/1294] Write Objects.LinkFileList
[1277/1294] Emitting module MultiNodeTestKit
[1278/1294] Compiling MultiNodeTestKit MultiNodeTestConductor.swift
/host/spi-builder-workspace/Sources/MultiNodeTestKit/MultiNodeTestConductor.swift:244: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
242 |
243 |         self.clusterEventsTask = Task {
244 |             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
245 |                 self.onClusterEvent(event)
246 |             }
/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:131:37: warning: sending 'checkPoint' risks causing data races; this is an error in the Swift 6 language mode
129 |
130 |             for waitingAtCheckpoint in self.nodesAtCheckPoint.values {
131 |                 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
132 |             }
133 |
/host/spi-builder-workspace/Sources/MultiNodeTestKit/MultiNodeTestConductor.swift:171: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
169 |         }
170 |
171 |         _ = 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
172 |             checkpointTimeoutTask.cancel()
173 |             self.setContinuation(node: node, cc: cc)
/host/spi-builder-workspace/Sources/MultiNodeTestKit/MultiNodeTestConductor.swift:121:52: warning: sending 'checkPoint' risks causing data races; this is an error in the Swift 6 language mode
119 |         }
120 |         let remainingNodes = self.allNodes.count - 1 - self.nodesAtCheckPoint.count
121 |         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
122 |             "multiNode/checkpoint": "\(checkPoint.name)",
123 |             "multiNode/checkpoint/missing": Logger.MetadataValue.array(self.checkpointMissingNodes.map { Logger.MetadataValue.string($0) }),
/host/spi-builder-workspace/Sources/MultiNodeTestKit/MultiNodeTestConductor.swift:122:40: warning: sending 'checkPoint' risks causing data races; this is an error in the Swift 6 language mode
120 |         let remainingNodes = self.allNodes.count - 1 - self.nodesAtCheckPoint.count
121 |         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: [
122 |             "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
123 |             "multiNode/checkpoint/missing": Logger.MetadataValue.array(self.checkpointMissingNodes.map { Logger.MetadataValue.string($0) }),
124 |         ])
    :
126 |         // last node arriving at the checkpoint, resume them all!
127 |         if remainingNodes == 0 {
128 |             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
129 |
130 |             for waitingAtCheckpoint in self.nodesAtCheckPoint.values {
/host/spi-builder-workspace/Sources/MultiNodeTestKit/MultiNodeTestConductor.swift:90:28: warning: sending 'checkPoint' risks causing data races; this is an error in the Swift 6 language mode
 88 |     {
 89 |         try await RemoteCall.with(timeout: waitTime) {
 90 |             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
 91 |         }
 92 |     }
[1280/1295] 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:524:15: note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
522 | }
523 |
524 | public struct CallSiteInfo {
    |               `- note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
525 |     public let file: StaticString
526 |     public let line: UInt
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/LogCapture.swift:200: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()
    :
198 | struct LogCaptureLogHandler: LogHandler {
199 |     let label: String
200 |     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
201 |
202 |     init(label: String, _ capture: LogCapture) {
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/LogCapture.swift:198: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
196 | // MARK: LogCapture LogHandler
197 |
198 | 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
199 |     let label: String
200 |     let capture: LogCapture
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:191: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(level: Logger.Level,
    |          `- note: requirement 'log(level:message:metadata:source:file:function:line:)' declared here
136 |              message: Logger.Message,
137 |              metadata: Logger.Metadata?,
    :
189 | extension LogHandler {
190 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
191 |     public func log(level: Logger.Level,
    |                 `- note: 'log(level:message:metadata:source:file:function:line:)' declared here
192 |                     message: Logger.Message,
193 |                     metadata: Logger.Metadata?,
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/ShouldMatchers.swift:21: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
 19 | /// Pretty errors help tremendously to quickly spot exact errors and track them back to source locations,
 20 | /// e.g. on CI or when testing in command line and developing in a separate IDE or editor.
 21 | 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
 22 |
 23 | 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:582: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
522 | }
523 |
524 | public struct CallSiteInfo {
    |               `- note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
525 |     public let file: StaticString
526 |     public let line: UInt
    :
580 | /// It is useful for printing complex failures on the command line and is usually thrown by `should` matchers.
581 | public struct CallSiteError: Error, CustomStringConvertible {
582 |     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
583 |     public let explained: String
584 |
/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: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>.cancelAfter(
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:524:15: note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
522 | }
523 |
524 | public struct CallSiteInfo {
    |               `- note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
525 |     public let file: StaticString
526 |     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:524:15: note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
522 | }
523 |
524 | public struct CallSiteInfo {
    |               `- note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
525 |     public let file: StaticString
526 |     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:524:15: note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
522 | }
523 |
524 | public struct CallSiteInfo {
    |               `- note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
525 |     public let file: StaticString
526 |     public let line: UInt
[1281/1295] Compiling DistributedActorsTestKit ActorTestKit.swift
/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:524:15: note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
522 | }
523 |
524 | public struct CallSiteInfo {
    |               `- note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
525 |     public let file: StaticString
526 |     public let line: UInt
[1282/1295] Compiling DistributedActorsTestKit ByteBuffer+Testing.swift
/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:524:15: note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
522 | }
523 |
524 | public struct CallSiteInfo {
    |               `- note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
525 |     public let file: StaticString
526 |     public let line: UInt
[1282/1295] Wrapping AST for MultiNodeTestKit for debugging
[1284/1299] 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: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>.cancelAfter(
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:524:15: note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
522 | }
523 |
524 | public struct CallSiteInfo {
    |               `- note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
525 |     public let file: StaticString
526 |     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:524:15: note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
522 | }
523 |
524 | public struct CallSiteInfo {
    |               `- note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
525 |     public let file: StaticString
526 |     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:524:15: note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
522 | }
523 |
524 | public struct CallSiteInfo {
    |               `- note: consider making struct 'CallSiteInfo' conform to the 'Sendable' protocol
525 |     public let file: StaticString
526 |     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 |             }
[1285/1299] 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 |
[1286/1299] 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 |
[1287/1299] Compiling DistributedActorsMultiNodeTests MultiNode+ReceptionistTests.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1288/1299] 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 |
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/LogCapture.swift:200: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()
    :
198 | struct LogCaptureLogHandler: LogHandler {
199 |     let label: String
200 |     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
201 |
202 |     init(label: String, _ capture: LogCapture) {
[1288/1299] Linking it_Clustered_swim_suspension_reachability
BUILD FAILURE 6.0 linux