Build Information
Failed to build swift-distributed-actors, reference main (3c03bf
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 15:48:05 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
| |- note: annotate 'ClusterEvent' 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
106 |
107 | internal static let SWIMPingResponse: SerializerID = ._checkProtobufRepresentable(SWIM.PingResponse<SWIMActor, SWIMActor>.self)
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:107:29: warning: static property 'SWIMPingResponse' is not concurrency-safe because non-'Sendable' type '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 |
:
105 | internal static let ClusterEvent: SerializerID = ._checkProtobufRepresentable(Cluster.Event.self)
106 |
107 | internal static let SWIMPingResponse: SerializerID = ._checkProtobufRepresentable(SWIM.PingResponse<SWIMActor, SWIMActor>.self)
| |- warning: static property 'SWIMPingResponse' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SWIMPingResponse' 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
108 |
109 | // op log receptionist
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:110:29: warning: static property 'PushOps' is not concurrency-safe because non-'Sendable' type '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 |
:
108 |
109 | // op log receptionist
110 | internal static let PushOps: SerializerID = .foundationJSON
| |- warning: static property 'PushOps' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PushOps' 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
111 | internal static let AckOps: SerializerID = .foundationJSON
112 |
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:111:29: warning: static property 'AckOps' is not concurrency-safe because non-'Sendable' type '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 |
:
109 | // op log receptionist
110 | internal static let PushOps: SerializerID = .foundationJSON
111 | internal static let AckOps: SerializerID = .foundationJSON
| |- warning: static property 'AckOps' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'AckOps' 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
112 |
113 | internal static let ErrorEnvelope: SerializerID = .foundationJSON
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:113:29: warning: static property 'ErrorEnvelope' is not concurrency-safe because non-'Sendable' type '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 |
:
111 | internal static let AckOps: SerializerID = .foundationJSON
112 |
113 | internal static let ErrorEnvelope: SerializerID = .foundationJSON
| |- warning: static property 'ErrorEnvelope' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ErrorEnvelope' 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
114 | internal static let BestEffortStringError: SerializerID = .foundationJSON
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:114:29: warning: static property 'BestEffortStringError' is not concurrency-safe because non-'Sendable' type '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 |
:
112 |
113 | internal static let ErrorEnvelope: SerializerID = .foundationJSON
114 | internal static let BestEffortStringError: SerializerID = .foundationJSON
| |- warning: static property 'BestEffortStringError' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'BestEffortStringError' 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
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+Serializers+Protobuf.swift:41:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
39 |
40 | override open func deserialize(from buffer: Serialization.Buffer) throws -> Message {
41 | let proto = try ProtobufMessage(serializedData: buffer.readData())
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
42 | return try self.fromProto(proto, context: self.serializationContext)
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization.swift:811:9: warning: stored property 'underlying' of 'Sendable'-conforming struct 'SerializationError' has non-sendable type 'SerializationError._Storage'; this is an error in the Swift 6 language mode
797 | }
798 |
799 | internal class _Storage {
| `- note: class '_Storage' does not conform to the 'Sendable' protocol
800 | let error: _SerializationError
801 | let file: String
:
809 | }
810 |
811 | let underlying: _Storage
| `- warning: stored property 'underlying' of 'Sendable'-conforming struct 'SerializationError' has non-sendable type 'SerializationError._Storage'; this is an error in the Swift 6 language mode
812 |
813 | internal init(_ error: _SerializationError, file: String = #fileID, line: UInt = #line) {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/SerializationPool.swift:128:72: warning: type 'Message' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
120 | @inline(__always)
121 | @usableFromInline
122 | internal func enqueue<Message>(
| `- note: consider making generic parameter 'Message' conform to the 'Sendable' protocol
123 | recipientPath: ActorPath,
124 | promise: EventLoopPromise<Message>,
:
126 | task: @escaping () throws -> Message
127 | ) {
128 | self.enqueue(recipientPath: recipientPath, onComplete: promise.completeWith, workerPool: workerPool, task: { try task() })
| `- warning: type 'Message' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
129 | }
130 |
[1209/1219] Compiling DistributedCluster SerializationPool.swift
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:70:23: warning: static property 'doNotSerialize' 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 |
:
68 |
69 | // ~~~~~~~~~~~~~~~~ general purpose serializer ids ~~~~~~~~~~~~~~~~
70 | public static let doNotSerialize: SerializerID = 0
| |- warning: static property 'doNotSerialize' 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 'doNotSerialize' 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
71 |
72 | public static let specializedWithTypeHint: SerializerID = 1
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:63:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type '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 |
:
61 | extension Optional where Wrapped == Serialization.SerializerID {
62 | /// Use the default serializer, as configured in `Serialization.Settings.defaultSerializerID`.
63 | public static let `default`: Serialization.SerializerID? = nil
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID?' 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
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:72:23: warning: static property 'specializedWithTypeHint' 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 |
:
70 | public static let doNotSerialize: SerializerID = 0
71 |
72 | public static let specializedWithTypeHint: SerializerID = 1
| |- warning: static property 'specializedWithTypeHint' 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 'specializedWithTypeHint' 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
73 | public static let _ProtobufRepresentable: SerializerID = 2
74 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:75:23: warning: static property 'foundationJSON' 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 |
:
73 | public static let _ProtobufRepresentable: SerializerID = 2
74 |
75 | public static let foundationJSON: SerializerID = 3
| |- warning: static property 'foundationJSON' 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 'foundationJSON' 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
76 | public static let foundationPropertyListBinary: SerializerID = 4
77 | public static let foundationPropertyListXML: SerializerID = 5
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:76:23: warning: static property 'foundationPropertyListBinary' 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 |
:
74 |
75 | public static let foundationJSON: SerializerID = 3
76 | public static let foundationPropertyListBinary: SerializerID = 4
| |- warning: static property 'foundationPropertyListBinary' 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 'foundationPropertyListBinary' 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
77 | public static let foundationPropertyListXML: SerializerID = 5
78 | // ... reserved = 6
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:77:23: warning: static property 'foundationPropertyListXML' 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 |
:
75 | public static let foundationJSON: SerializerID = 3
76 | public static let foundationPropertyListBinary: SerializerID = 4
77 | public static let foundationPropertyListXML: SerializerID = 5
| |- warning: static property 'foundationPropertyListXML' 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 'foundationPropertyListXML' 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
78 | // ... reserved = 6
79 | // ... -- || --
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:97:29: warning: static property 'SystemMessage' is not concurrency-safe because non-'Sendable' type '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 |
:
95 | /// in order to allow fine grained evolution and payload size savings.
96 | enum ReservedID {
97 | internal static let SystemMessage: SerializerID = .doNotSerialize
| |- warning: static property 'SystemMessage' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SystemMessage' 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 | internal static let SystemMessageACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.ACK.self)
99 | internal static let SystemMessageNACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.NACK.self)
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:98:29: warning: static property 'SystemMessageACK' is not concurrency-safe because non-'Sendable' type '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 |
:
96 | enum ReservedID {
97 | internal static let SystemMessage: SerializerID = .doNotSerialize
98 | internal static let SystemMessageACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.ACK.self)
| |- warning: static property 'SystemMessageACK' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SystemMessageACK' 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
99 | internal static let SystemMessageNACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.NACK.self)
100 | internal static let SystemMessageEnvelope: SerializerID = ._checkProtobufRepresentable(DistributedCluster.SystemMessageEnvelope.self)
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:99:29: warning: static property 'SystemMessageNACK' is not concurrency-safe because non-'Sendable' type '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 |
:
97 | internal static let SystemMessage: SerializerID = .doNotSerialize
98 | internal static let SystemMessageACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.ACK.self)
99 | internal static let SystemMessageNACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.NACK.self)
| |- warning: static property 'SystemMessageNACK' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SystemMessageNACK' 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
100 | internal static let SystemMessageEnvelope: SerializerID = ._checkProtobufRepresentable(DistributedCluster.SystemMessageEnvelope.self)
101 |
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:100:29: warning: static property 'SystemMessageEnvelope' is not concurrency-safe because non-'Sendable' type '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 |
:
98 | internal static let SystemMessageACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.ACK.self)
99 | internal static let SystemMessageNACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.NACK.self)
100 | internal static let SystemMessageEnvelope: SerializerID = ._checkProtobufRepresentable(DistributedCluster.SystemMessageEnvelope.self)
| |- warning: static property 'SystemMessageEnvelope' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SystemMessageEnvelope' 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
101 |
102 | internal static let ActorID: SerializerID = ._checkProtobufRepresentable(DistributedCluster.ActorID.self)
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:102:29: warning: static property 'ActorID' is not concurrency-safe because non-'Sendable' type '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 |
:
100 | internal static let SystemMessageEnvelope: SerializerID = ._checkProtobufRepresentable(DistributedCluster.SystemMessageEnvelope.self)
101 |
102 | internal static let ActorID: SerializerID = ._checkProtobufRepresentable(DistributedCluster.ActorID.self)
| |- warning: static property 'ActorID' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ActorID' 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
103 |
104 | internal static let ClusterShellMessage: SerializerID = ._checkProtobufRepresentable(ClusterShell.Message.self)
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:104:29: warning: static property 'ClusterShellMessage' is not concurrency-safe because non-'Sendable' type '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 |
:
102 | internal static let ActorID: SerializerID = ._checkProtobufRepresentable(DistributedCluster.ActorID.self)
103 |
104 | internal static let ClusterShellMessage: SerializerID = ._checkProtobufRepresentable(ClusterShell.Message.self)
| |- warning: static property 'ClusterShellMessage' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ClusterShellMessage' 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
105 | internal static let ClusterEvent: SerializerID = ._checkProtobufRepresentable(Cluster.Event.self)
106 |
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:105:29: warning: static property 'ClusterEvent' is not concurrency-safe because non-'Sendable' type '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 |
:
103 |
104 | internal static let ClusterShellMessage: SerializerID = ._checkProtobufRepresentable(ClusterShell.Message.self)
105 | internal static let ClusterEvent: SerializerID = ._checkProtobufRepresentable(Cluster.Event.self)
| |- warning: static property 'ClusterEvent' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ClusterEvent' 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
106 |
107 | internal static let SWIMPingResponse: SerializerID = ._checkProtobufRepresentable(SWIM.PingResponse<SWIMActor, SWIMActor>.self)
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:107:29: warning: static property 'SWIMPingResponse' is not concurrency-safe because non-'Sendable' type '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 |
:
105 | internal static let ClusterEvent: SerializerID = ._checkProtobufRepresentable(Cluster.Event.self)
106 |
107 | internal static let SWIMPingResponse: SerializerID = ._checkProtobufRepresentable(SWIM.PingResponse<SWIMActor, SWIMActor>.self)
| |- warning: static property 'SWIMPingResponse' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SWIMPingResponse' 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
108 |
109 | // op log receptionist
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:110:29: warning: static property 'PushOps' is not concurrency-safe because non-'Sendable' type '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 |
:
108 |
109 | // op log receptionist
110 | internal static let PushOps: SerializerID = .foundationJSON
| |- warning: static property 'PushOps' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PushOps' 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
111 | internal static let AckOps: SerializerID = .foundationJSON
112 |
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:111:29: warning: static property 'AckOps' is not concurrency-safe because non-'Sendable' type '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 |
:
109 | // op log receptionist
110 | internal static let PushOps: SerializerID = .foundationJSON
111 | internal static let AckOps: SerializerID = .foundationJSON
| |- warning: static property 'AckOps' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'AckOps' 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
112 |
113 | internal static let ErrorEnvelope: SerializerID = .foundationJSON
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:113:29: warning: static property 'ErrorEnvelope' is not concurrency-safe because non-'Sendable' type '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 |
:
111 | internal static let AckOps: SerializerID = .foundationJSON
112 |
113 | internal static let ErrorEnvelope: SerializerID = .foundationJSON
| |- warning: static property 'ErrorEnvelope' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ErrorEnvelope' 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
114 | internal static let BestEffortStringError: SerializerID = .foundationJSON
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:114:29: warning: static property 'BestEffortStringError' is not concurrency-safe because non-'Sendable' type '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 |
:
112 |
113 | internal static let ErrorEnvelope: SerializerID = .foundationJSON
114 | internal static let BestEffortStringError: SerializerID = .foundationJSON
| |- warning: static property 'BestEffortStringError' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'BestEffortStringError' 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
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+Serializers+Protobuf.swift:41:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
39 |
40 | override open func deserialize(from buffer: Serialization.Buffer) throws -> Message {
41 | let proto = try ProtobufMessage(serializedData: buffer.readData())
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
42 | return try self.fromProto(proto, context: self.serializationContext)
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization.swift:811:9: warning: stored property 'underlying' of 'Sendable'-conforming struct 'SerializationError' has non-sendable type 'SerializationError._Storage'; this is an error in the Swift 6 language mode
797 | }
798 |
799 | internal class _Storage {
| `- note: class '_Storage' does not conform to the 'Sendable' protocol
800 | let error: _SerializationError
801 | let file: String
:
809 | }
810 |
811 | let underlying: _Storage
| `- warning: stored property 'underlying' of 'Sendable'-conforming struct 'SerializationError' has non-sendable type 'SerializationError._Storage'; this is an error in the Swift 6 language mode
812 |
813 | internal init(_ error: _SerializationError, file: String = #fileID, line: UInt = #line) {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/SerializationPool.swift:128:72: warning: type 'Message' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
120 | @inline(__always)
121 | @usableFromInline
122 | internal func enqueue<Message>(
| `- note: consider making generic parameter 'Message' conform to the 'Sendable' protocol
123 | recipientPath: ActorPath,
124 | promise: EventLoopPromise<Message>,
:
126 | task: @escaping () throws -> Message
127 | ) {
128 | self.enqueue(recipientPath: recipientPath, onComplete: promise.completeWith, workerPool: workerPool, task: { try task() })
| `- warning: type 'Message' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
129 | }
130 |
[1210/1219] Compiling DistributedCluster TopLevelBlobCoders.swift
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:70:23: warning: static property 'doNotSerialize' 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 |
:
68 |
69 | // ~~~~~~~~~~~~~~~~ general purpose serializer ids ~~~~~~~~~~~~~~~~
70 | public static let doNotSerialize: SerializerID = 0
| |- warning: static property 'doNotSerialize' 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 'doNotSerialize' 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
71 |
72 | public static let specializedWithTypeHint: SerializerID = 1
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:63:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type '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 |
:
61 | extension Optional where Wrapped == Serialization.SerializerID {
62 | /// Use the default serializer, as configured in `Serialization.Settings.defaultSerializerID`.
63 | public static let `default`: Serialization.SerializerID? = nil
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID?' 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
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:72:23: warning: static property 'specializedWithTypeHint' 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 |
:
70 | public static let doNotSerialize: SerializerID = 0
71 |
72 | public static let specializedWithTypeHint: SerializerID = 1
| |- warning: static property 'specializedWithTypeHint' 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 'specializedWithTypeHint' 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
73 | public static let _ProtobufRepresentable: SerializerID = 2
74 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:75:23: warning: static property 'foundationJSON' 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 |
:
73 | public static let _ProtobufRepresentable: SerializerID = 2
74 |
75 | public static let foundationJSON: SerializerID = 3
| |- warning: static property 'foundationJSON' 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 'foundationJSON' 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
76 | public static let foundationPropertyListBinary: SerializerID = 4
77 | public static let foundationPropertyListXML: SerializerID = 5
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:76:23: warning: static property 'foundationPropertyListBinary' 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 |
:
74 |
75 | public static let foundationJSON: SerializerID = 3
76 | public static let foundationPropertyListBinary: SerializerID = 4
| |- warning: static property 'foundationPropertyListBinary' 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 'foundationPropertyListBinary' 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
77 | public static let foundationPropertyListXML: SerializerID = 5
78 | // ... reserved = 6
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:77:23: warning: static property 'foundationPropertyListXML' 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 |
:
75 | public static let foundationJSON: SerializerID = 3
76 | public static let foundationPropertyListBinary: SerializerID = 4
77 | public static let foundationPropertyListXML: SerializerID = 5
| |- warning: static property 'foundationPropertyListXML' 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 'foundationPropertyListXML' 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
78 | // ... reserved = 6
79 | // ... -- || --
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:97:29: warning: static property 'SystemMessage' is not concurrency-safe because non-'Sendable' type '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 |
:
95 | /// in order to allow fine grained evolution and payload size savings.
96 | enum ReservedID {
97 | internal static let SystemMessage: SerializerID = .doNotSerialize
| |- warning: static property 'SystemMessage' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SystemMessage' 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 | internal static let SystemMessageACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.ACK.self)
99 | internal static let SystemMessageNACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.NACK.self)
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:98:29: warning: static property 'SystemMessageACK' is not concurrency-safe because non-'Sendable' type '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 |
:
96 | enum ReservedID {
97 | internal static let SystemMessage: SerializerID = .doNotSerialize
98 | internal static let SystemMessageACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.ACK.self)
| |- warning: static property 'SystemMessageACK' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SystemMessageACK' 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
99 | internal static let SystemMessageNACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.NACK.self)
100 | internal static let SystemMessageEnvelope: SerializerID = ._checkProtobufRepresentable(DistributedCluster.SystemMessageEnvelope.self)
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:99:29: warning: static property 'SystemMessageNACK' is not concurrency-safe because non-'Sendable' type '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 |
:
97 | internal static let SystemMessage: SerializerID = .doNotSerialize
98 | internal static let SystemMessageACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.ACK.self)
99 | internal static let SystemMessageNACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.NACK.self)
| |- warning: static property 'SystemMessageNACK' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SystemMessageNACK' 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
100 | internal static let SystemMessageEnvelope: SerializerID = ._checkProtobufRepresentable(DistributedCluster.SystemMessageEnvelope.self)
101 |
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:100:29: warning: static property 'SystemMessageEnvelope' is not concurrency-safe because non-'Sendable' type '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 |
:
98 | internal static let SystemMessageACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.ACK.self)
99 | internal static let SystemMessageNACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.NACK.self)
100 | internal static let SystemMessageEnvelope: SerializerID = ._checkProtobufRepresentable(DistributedCluster.SystemMessageEnvelope.self)
| |- warning: static property 'SystemMessageEnvelope' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SystemMessageEnvelope' 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
101 |
102 | internal static let ActorID: SerializerID = ._checkProtobufRepresentable(DistributedCluster.ActorID.self)
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:102:29: warning: static property 'ActorID' is not concurrency-safe because non-'Sendable' type '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 |
:
100 | internal static let SystemMessageEnvelope: SerializerID = ._checkProtobufRepresentable(DistributedCluster.SystemMessageEnvelope.self)
101 |
102 | internal static let ActorID: SerializerID = ._checkProtobufRepresentable(DistributedCluster.ActorID.self)
| |- warning: static property 'ActorID' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ActorID' 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
103 |
104 | internal static let ClusterShellMessage: SerializerID = ._checkProtobufRepresentable(ClusterShell.Message.self)
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:104:29: warning: static property 'ClusterShellMessage' is not concurrency-safe because non-'Sendable' type '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 |
:
102 | internal static let ActorID: SerializerID = ._checkProtobufRepresentable(DistributedCluster.ActorID.self)
103 |
104 | internal static let ClusterShellMessage: SerializerID = ._checkProtobufRepresentable(ClusterShell.Message.self)
| |- warning: static property 'ClusterShellMessage' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ClusterShellMessage' 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
105 | internal static let ClusterEvent: SerializerID = ._checkProtobufRepresentable(Cluster.Event.self)
106 |
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:105:29: warning: static property 'ClusterEvent' is not concurrency-safe because non-'Sendable' type '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 |
:
103 |
104 | internal static let ClusterShellMessage: SerializerID = ._checkProtobufRepresentable(ClusterShell.Message.self)
105 | internal static let ClusterEvent: SerializerID = ._checkProtobufRepresentable(Cluster.Event.self)
| |- warning: static property 'ClusterEvent' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ClusterEvent' 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
106 |
107 | internal static let SWIMPingResponse: SerializerID = ._checkProtobufRepresentable(SWIM.PingResponse<SWIMActor, SWIMActor>.self)
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:107:29: warning: static property 'SWIMPingResponse' is not concurrency-safe because non-'Sendable' type '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 |
:
105 | internal static let ClusterEvent: SerializerID = ._checkProtobufRepresentable(Cluster.Event.self)
106 |
107 | internal static let SWIMPingResponse: SerializerID = ._checkProtobufRepresentable(SWIM.PingResponse<SWIMActor, SWIMActor>.self)
| |- warning: static property 'SWIMPingResponse' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SWIMPingResponse' 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
108 |
109 | // op log receptionist
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:110:29: warning: static property 'PushOps' is not concurrency-safe because non-'Sendable' type '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 |
:
108 |
109 | // op log receptionist
110 | internal static let PushOps: SerializerID = .foundationJSON
| |- warning: static property 'PushOps' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PushOps' 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
111 | internal static let AckOps: SerializerID = .foundationJSON
112 |
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:111:29: warning: static property 'AckOps' is not concurrency-safe because non-'Sendable' type '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 |
:
109 | // op log receptionist
110 | internal static let PushOps: SerializerID = .foundationJSON
111 | internal static let AckOps: SerializerID = .foundationJSON
| |- warning: static property 'AckOps' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'AckOps' 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
112 |
113 | internal static let ErrorEnvelope: SerializerID = .foundationJSON
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:113:29: warning: static property 'ErrorEnvelope' is not concurrency-safe because non-'Sendable' type '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 |
:
111 | internal static let AckOps: SerializerID = .foundationJSON
112 |
113 | internal static let ErrorEnvelope: SerializerID = .foundationJSON
| |- warning: static property 'ErrorEnvelope' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ErrorEnvelope' 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
114 | internal static let BestEffortStringError: SerializerID = .foundationJSON
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:114:29: warning: static property 'BestEffortStringError' is not concurrency-safe because non-'Sendable' type '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 |
:
112 |
113 | internal static let ErrorEnvelope: SerializerID = .foundationJSON
114 | internal static let BestEffortStringError: SerializerID = .foundationJSON
| |- warning: static property 'BestEffortStringError' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'BestEffortStringError' 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
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+Serializers+Protobuf.swift:41:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
39 |
40 | override open func deserialize(from buffer: Serialization.Buffer) throws -> Message {
41 | let proto = try ProtobufMessage(serializedData: buffer.readData())
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
42 | return try self.fromProto(proto, context: self.serializationContext)
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization.swift:811:9: warning: stored property 'underlying' of 'Sendable'-conforming struct 'SerializationError' has non-sendable type 'SerializationError._Storage'; this is an error in the Swift 6 language mode
797 | }
798 |
799 | internal class _Storage {
| `- note: class '_Storage' does not conform to the 'Sendable' protocol
800 | let error: _SerializationError
801 | let file: String
:
809 | }
810 |
811 | let underlying: _Storage
| `- warning: stored property 'underlying' of 'Sendable'-conforming struct 'SerializationError' has non-sendable type 'SerializationError._Storage'; this is an error in the Swift 6 language mode
812 |
813 | internal init(_ error: _SerializationError, file: String = #fileID, line: UInt = #line) {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/SerializationPool.swift:128:72: warning: type 'Message' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
120 | @inline(__always)
121 | @usableFromInline
122 | internal func enqueue<Message>(
| `- note: consider making generic parameter 'Message' conform to the 'Sendable' protocol
123 | recipientPath: ActorPath,
124 | promise: EventLoopPromise<Message>,
:
126 | task: @escaping () throws -> Message
127 | ) {
128 | self.enqueue(recipientPath: recipientPath, onComplete: promise.completeWith, workerPool: workerPool, task: { try task() })
| `- warning: type 'Message' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
129 | }
130 |
[1211/1219] Compiling DistributedCluster TopLevelBytesBlobCoders.swift
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:70:23: warning: static property 'doNotSerialize' 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 |
:
68 |
69 | // ~~~~~~~~~~~~~~~~ general purpose serializer ids ~~~~~~~~~~~~~~~~
70 | public static let doNotSerialize: SerializerID = 0
| |- warning: static property 'doNotSerialize' 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 'doNotSerialize' 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
71 |
72 | public static let specializedWithTypeHint: SerializerID = 1
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:63:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type '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 |
:
61 | extension Optional where Wrapped == Serialization.SerializerID {
62 | /// Use the default serializer, as configured in `Serialization.Settings.defaultSerializerID`.
63 | public static let `default`: Serialization.SerializerID? = nil
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID?' 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
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:72:23: warning: static property 'specializedWithTypeHint' 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 |
:
70 | public static let doNotSerialize: SerializerID = 0
71 |
72 | public static let specializedWithTypeHint: SerializerID = 1
| |- warning: static property 'specializedWithTypeHint' 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 'specializedWithTypeHint' 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
73 | public static let _ProtobufRepresentable: SerializerID = 2
74 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:75:23: warning: static property 'foundationJSON' 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 |
:
73 | public static let _ProtobufRepresentable: SerializerID = 2
74 |
75 | public static let foundationJSON: SerializerID = 3
| |- warning: static property 'foundationJSON' 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 'foundationJSON' 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
76 | public static let foundationPropertyListBinary: SerializerID = 4
77 | public static let foundationPropertyListXML: SerializerID = 5
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:76:23: warning: static property 'foundationPropertyListBinary' 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 |
:
74 |
75 | public static let foundationJSON: SerializerID = 3
76 | public static let foundationPropertyListBinary: SerializerID = 4
| |- warning: static property 'foundationPropertyListBinary' 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 'foundationPropertyListBinary' 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
77 | public static let foundationPropertyListXML: SerializerID = 5
78 | // ... reserved = 6
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:77:23: warning: static property 'foundationPropertyListXML' 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 |
:
75 | public static let foundationJSON: SerializerID = 3
76 | public static let foundationPropertyListBinary: SerializerID = 4
77 | public static let foundationPropertyListXML: SerializerID = 5
| |- warning: static property 'foundationPropertyListXML' 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 'foundationPropertyListXML' 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
78 | // ... reserved = 6
79 | // ... -- || --
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:97:29: warning: static property 'SystemMessage' is not concurrency-safe because non-'Sendable' type '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 |
:
95 | /// in order to allow fine grained evolution and payload size savings.
96 | enum ReservedID {
97 | internal static let SystemMessage: SerializerID = .doNotSerialize
| |- warning: static property 'SystemMessage' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SystemMessage' 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 | internal static let SystemMessageACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.ACK.self)
99 | internal static let SystemMessageNACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.NACK.self)
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:98:29: warning: static property 'SystemMessageACK' is not concurrency-safe because non-'Sendable' type '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 |
:
96 | enum ReservedID {
97 | internal static let SystemMessage: SerializerID = .doNotSerialize
98 | internal static let SystemMessageACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.ACK.self)
| |- warning: static property 'SystemMessageACK' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SystemMessageACK' 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
99 | internal static let SystemMessageNACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.NACK.self)
100 | internal static let SystemMessageEnvelope: SerializerID = ._checkProtobufRepresentable(DistributedCluster.SystemMessageEnvelope.self)
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:99:29: warning: static property 'SystemMessageNACK' is not concurrency-safe because non-'Sendable' type '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 |
:
97 | internal static let SystemMessage: SerializerID = .doNotSerialize
98 | internal static let SystemMessageACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.ACK.self)
99 | internal static let SystemMessageNACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.NACK.self)
| |- warning: static property 'SystemMessageNACK' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SystemMessageNACK' 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
100 | internal static let SystemMessageEnvelope: SerializerID = ._checkProtobufRepresentable(DistributedCluster.SystemMessageEnvelope.self)
101 |
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:100:29: warning: static property 'SystemMessageEnvelope' is not concurrency-safe because non-'Sendable' type '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 |
:
98 | internal static let SystemMessageACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.ACK.self)
99 | internal static let SystemMessageNACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.NACK.self)
100 | internal static let SystemMessageEnvelope: SerializerID = ._checkProtobufRepresentable(DistributedCluster.SystemMessageEnvelope.self)
| |- warning: static property 'SystemMessageEnvelope' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SystemMessageEnvelope' 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
101 |
102 | internal static let ActorID: SerializerID = ._checkProtobufRepresentable(DistributedCluster.ActorID.self)
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:102:29: warning: static property 'ActorID' is not concurrency-safe because non-'Sendable' type '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 |
:
100 | internal static let SystemMessageEnvelope: SerializerID = ._checkProtobufRepresentable(DistributedCluster.SystemMessageEnvelope.self)
101 |
102 | internal static let ActorID: SerializerID = ._checkProtobufRepresentable(DistributedCluster.ActorID.self)
| |- warning: static property 'ActorID' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ActorID' 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
103 |
104 | internal static let ClusterShellMessage: SerializerID = ._checkProtobufRepresentable(ClusterShell.Message.self)
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:104:29: warning: static property 'ClusterShellMessage' is not concurrency-safe because non-'Sendable' type '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 |
:
102 | internal static let ActorID: SerializerID = ._checkProtobufRepresentable(DistributedCluster.ActorID.self)
103 |
104 | internal static let ClusterShellMessage: SerializerID = ._checkProtobufRepresentable(ClusterShell.Message.self)
| |- warning: static property 'ClusterShellMessage' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ClusterShellMessage' 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
105 | internal static let ClusterEvent: SerializerID = ._checkProtobufRepresentable(Cluster.Event.self)
106 |
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:105:29: warning: static property 'ClusterEvent' is not concurrency-safe because non-'Sendable' type '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 |
:
103 |
104 | internal static let ClusterShellMessage: SerializerID = ._checkProtobufRepresentable(ClusterShell.Message.self)
105 | internal static let ClusterEvent: SerializerID = ._checkProtobufRepresentable(Cluster.Event.self)
| |- warning: static property 'ClusterEvent' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ClusterEvent' 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
106 |
107 | internal static let SWIMPingResponse: SerializerID = ._checkProtobufRepresentable(SWIM.PingResponse<SWIMActor, SWIMActor>.self)
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:107:29: warning: static property 'SWIMPingResponse' is not concurrency-safe because non-'Sendable' type '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 |
:
105 | internal static let ClusterEvent: SerializerID = ._checkProtobufRepresentable(Cluster.Event.self)
106 |
107 | internal static let SWIMPingResponse: SerializerID = ._checkProtobufRepresentable(SWIM.PingResponse<SWIMActor, SWIMActor>.self)
| |- warning: static property 'SWIMPingResponse' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SWIMPingResponse' 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
108 |
109 | // op log receptionist
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:110:29: warning: static property 'PushOps' is not concurrency-safe because non-'Sendable' type '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 |
:
108 |
109 | // op log receptionist
110 | internal static let PushOps: SerializerID = .foundationJSON
| |- warning: static property 'PushOps' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PushOps' 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
111 | internal static let AckOps: SerializerID = .foundationJSON
112 |
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:111:29: warning: static property 'AckOps' is not concurrency-safe because non-'Sendable' type '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 |
:
109 | // op log receptionist
110 | internal static let PushOps: SerializerID = .foundationJSON
111 | internal static let AckOps: SerializerID = .foundationJSON
| |- warning: static property 'AckOps' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'AckOps' 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
112 |
113 | internal static let ErrorEnvelope: SerializerID = .foundationJSON
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:113:29: warning: static property 'ErrorEnvelope' is not concurrency-safe because non-'Sendable' type '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 |
:
111 | internal static let AckOps: SerializerID = .foundationJSON
112 |
113 | internal static let ErrorEnvelope: SerializerID = .foundationJSON
| |- warning: static property 'ErrorEnvelope' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ErrorEnvelope' 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
114 | internal static let BestEffortStringError: SerializerID = .foundationJSON
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:114:29: warning: static property 'BestEffortStringError' is not concurrency-safe because non-'Sendable' type '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 |
:
112 |
113 | internal static let ErrorEnvelope: SerializerID = .foundationJSON
114 | internal static let BestEffortStringError: SerializerID = .foundationJSON
| |- warning: static property 'BestEffortStringError' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'BestEffortStringError' 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
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+Serializers+Protobuf.swift:41:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
39 |
40 | override open func deserialize(from buffer: Serialization.Buffer) throws -> Message {
41 | let proto = try ProtobufMessage(serializedData: buffer.readData())
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
42 | return try self.fromProto(proto, context: self.serializationContext)
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization.swift:811:9: warning: stored property 'underlying' of 'Sendable'-conforming struct 'SerializationError' has non-sendable type 'SerializationError._Storage'; this is an error in the Swift 6 language mode
797 | }
798 |
799 | internal class _Storage {
| `- note: class '_Storage' does not conform to the 'Sendable' protocol
800 | let error: _SerializationError
801 | let file: String
:
809 | }
810 |
811 | let underlying: _Storage
| `- warning: stored property 'underlying' of 'Sendable'-conforming struct 'SerializationError' has non-sendable type 'SerializationError._Storage'; this is an error in the Swift 6 language mode
812 |
813 | internal init(_ error: _SerializationError, file: String = #fileID, line: UInt = #line) {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/SerializationPool.swift:128:72: warning: type 'Message' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
120 | @inline(__always)
121 | @usableFromInline
122 | internal func enqueue<Message>(
| `- note: consider making generic parameter 'Message' conform to the 'Sendable' protocol
123 | recipientPath: ActorPath,
124 | promise: EventLoopPromise<Message>,
:
126 | task: @escaping () throws -> Message
127 | ) {
128 | self.enqueue(recipientPath: recipientPath, onComplete: promise.completeWith, workerPool: workerPool, task: { try task() })
| `- warning: type 'Message' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
129 | }
130 |
[1212/1219] Compiling DistributedCluster TopLevelBytesBlobSerializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:70:23: warning: static property 'doNotSerialize' 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 |
:
68 |
69 | // ~~~~~~~~~~~~~~~~ general purpose serializer ids ~~~~~~~~~~~~~~~~
70 | public static let doNotSerialize: SerializerID = 0
| |- warning: static property 'doNotSerialize' 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 'doNotSerialize' 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
71 |
72 | public static let specializedWithTypeHint: SerializerID = 1
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:63:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type '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 |
:
61 | extension Optional where Wrapped == Serialization.SerializerID {
62 | /// Use the default serializer, as configured in `Serialization.Settings.defaultSerializerID`.
63 | public static let `default`: Serialization.SerializerID? = nil
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID?' 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
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:72:23: warning: static property 'specializedWithTypeHint' 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 |
:
70 | public static let doNotSerialize: SerializerID = 0
71 |
72 | public static let specializedWithTypeHint: SerializerID = 1
| |- warning: static property 'specializedWithTypeHint' 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 'specializedWithTypeHint' 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
73 | public static let _ProtobufRepresentable: SerializerID = 2
74 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:75:23: warning: static property 'foundationJSON' 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 |
:
73 | public static let _ProtobufRepresentable: SerializerID = 2
74 |
75 | public static let foundationJSON: SerializerID = 3
| |- warning: static property 'foundationJSON' 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 'foundationJSON' 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
76 | public static let foundationPropertyListBinary: SerializerID = 4
77 | public static let foundationPropertyListXML: SerializerID = 5
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:76:23: warning: static property 'foundationPropertyListBinary' 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 |
:
74 |
75 | public static let foundationJSON: SerializerID = 3
76 | public static let foundationPropertyListBinary: SerializerID = 4
| |- warning: static property 'foundationPropertyListBinary' 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 'foundationPropertyListBinary' 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
77 | public static let foundationPropertyListXML: SerializerID = 5
78 | // ... reserved = 6
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:77:23: warning: static property 'foundationPropertyListXML' 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 |
:
75 | public static let foundationJSON: SerializerID = 3
76 | public static let foundationPropertyListBinary: SerializerID = 4
77 | public static let foundationPropertyListXML: SerializerID = 5
| |- warning: static property 'foundationPropertyListXML' 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 'foundationPropertyListXML' 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
78 | // ... reserved = 6
79 | // ... -- || --
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:97:29: warning: static property 'SystemMessage' is not concurrency-safe because non-'Sendable' type '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 |
:
95 | /// in order to allow fine grained evolution and payload size savings.
96 | enum ReservedID {
97 | internal static let SystemMessage: SerializerID = .doNotSerialize
| |- warning: static property 'SystemMessage' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SystemMessage' 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 | internal static let SystemMessageACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.ACK.self)
99 | internal static let SystemMessageNACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.NACK.self)
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:98:29: warning: static property 'SystemMessageACK' is not concurrency-safe because non-'Sendable' type '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 |
:
96 | enum ReservedID {
97 | internal static let SystemMessage: SerializerID = .doNotSerialize
98 | internal static let SystemMessageACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.ACK.self)
| |- warning: static property 'SystemMessageACK' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SystemMessageACK' 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
99 | internal static let SystemMessageNACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.NACK.self)
100 | internal static let SystemMessageEnvelope: SerializerID = ._checkProtobufRepresentable(DistributedCluster.SystemMessageEnvelope.self)
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:99:29: warning: static property 'SystemMessageNACK' is not concurrency-safe because non-'Sendable' type '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 |
:
97 | internal static let SystemMessage: SerializerID = .doNotSerialize
98 | internal static let SystemMessageACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.ACK.self)
99 | internal static let SystemMessageNACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.NACK.self)
| |- warning: static property 'SystemMessageNACK' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SystemMessageNACK' 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
100 | internal static let SystemMessageEnvelope: SerializerID = ._checkProtobufRepresentable(DistributedCluster.SystemMessageEnvelope.self)
101 |
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:100:29: warning: static property 'SystemMessageEnvelope' is not concurrency-safe because non-'Sendable' type '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 |
:
98 | internal static let SystemMessageACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.ACK.self)
99 | internal static let SystemMessageNACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.NACK.self)
100 | internal static let SystemMessageEnvelope: SerializerID = ._checkProtobufRepresentable(DistributedCluster.SystemMessageEnvelope.self)
| |- warning: static property 'SystemMessageEnvelope' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SystemMessageEnvelope' 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
101 |
102 | internal static let ActorID: SerializerID = ._checkProtobufRepresentable(DistributedCluster.ActorID.self)
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:102:29: warning: static property 'ActorID' is not concurrency-safe because non-'Sendable' type '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 |
:
100 | internal static let SystemMessageEnvelope: SerializerID = ._checkProtobufRepresentable(DistributedCluster.SystemMessageEnvelope.self)
101 |
102 | internal static let ActorID: SerializerID = ._checkProtobufRepresentable(DistributedCluster.ActorID.self)
| |- warning: static property 'ActorID' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ActorID' 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
103 |
104 | internal static let ClusterShellMessage: SerializerID = ._checkProtobufRepresentable(ClusterShell.Message.self)
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:104:29: warning: static property 'ClusterShellMessage' is not concurrency-safe because non-'Sendable' type '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 |
:
102 | internal static let ActorID: SerializerID = ._checkProtobufRepresentable(DistributedCluster.ActorID.self)
103 |
104 | internal static let ClusterShellMessage: SerializerID = ._checkProtobufRepresentable(ClusterShell.Message.self)
| |- warning: static property 'ClusterShellMessage' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ClusterShellMessage' 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
105 | internal static let ClusterEvent: SerializerID = ._checkProtobufRepresentable(Cluster.Event.self)
106 |
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:105:29: warning: static property 'ClusterEvent' is not concurrency-safe because non-'Sendable' type '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 |
:
103 |
104 | internal static let ClusterShellMessage: SerializerID = ._checkProtobufRepresentable(ClusterShell.Message.self)
105 | internal static let ClusterEvent: SerializerID = ._checkProtobufRepresentable(Cluster.Event.self)
| |- warning: static property 'ClusterEvent' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ClusterEvent' 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
106 |
107 | internal static let SWIMPingResponse: SerializerID = ._checkProtobufRepresentable(SWIM.PingResponse<SWIMActor, SWIMActor>.self)
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:107:29: warning: static property 'SWIMPingResponse' is not concurrency-safe because non-'Sendable' type '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 |
:
105 | internal static let ClusterEvent: SerializerID = ._checkProtobufRepresentable(Cluster.Event.self)
106 |
107 | internal static let SWIMPingResponse: SerializerID = ._checkProtobufRepresentable(SWIM.PingResponse<SWIMActor, SWIMActor>.self)
| |- warning: static property 'SWIMPingResponse' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SWIMPingResponse' 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
108 |
109 | // op log receptionist
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:110:29: warning: static property 'PushOps' is not concurrency-safe because non-'Sendable' type '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 |
:
108 |
109 | // op log receptionist
110 | internal static let PushOps: SerializerID = .foundationJSON
| |- warning: static property 'PushOps' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PushOps' 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
111 | internal static let AckOps: SerializerID = .foundationJSON
112 |
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:111:29: warning: static property 'AckOps' is not concurrency-safe because non-'Sendable' type '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 |
:
109 | // op log receptionist
110 | internal static let PushOps: SerializerID = .foundationJSON
111 | internal static let AckOps: SerializerID = .foundationJSON
| |- warning: static property 'AckOps' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'AckOps' 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
112 |
113 | internal static let ErrorEnvelope: SerializerID = .foundationJSON
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:113:29: warning: static property 'ErrorEnvelope' is not concurrency-safe because non-'Sendable' type '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 |
:
111 | internal static let AckOps: SerializerID = .foundationJSON
112 |
113 | internal static let ErrorEnvelope: SerializerID = .foundationJSON
| |- warning: static property 'ErrorEnvelope' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ErrorEnvelope' 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
114 | internal static let BestEffortStringError: SerializerID = .foundationJSON
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:114:29: warning: static property 'BestEffortStringError' is not concurrency-safe because non-'Sendable' type '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 |
:
112 |
113 | internal static let ErrorEnvelope: SerializerID = .foundationJSON
114 | internal static let BestEffortStringError: SerializerID = .foundationJSON
| |- warning: static property 'BestEffortStringError' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'BestEffortStringError' 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
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+Serializers+Protobuf.swift:41:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
39 |
40 | override open func deserialize(from buffer: Serialization.Buffer) throws -> Message {
41 | let proto = try ProtobufMessage(serializedData: buffer.readData())
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
42 | return try self.fromProto(proto, context: self.serializationContext)
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization.swift:811:9: warning: stored property 'underlying' of 'Sendable'-conforming struct 'SerializationError' has non-sendable type 'SerializationError._Storage'; this is an error in the Swift 6 language mode
797 | }
798 |
799 | internal class _Storage {
| `- note: class '_Storage' does not conform to the 'Sendable' protocol
800 | let error: _SerializationError
801 | let file: String
:
809 | }
810 |
811 | let underlying: _Storage
| `- warning: stored property 'underlying' of 'Sendable'-conforming struct 'SerializationError' has non-sendable type 'SerializationError._Storage'; this is an error in the Swift 6 language mode
812 |
813 | internal init(_ error: _SerializationError, file: String = #fileID, line: UInt = #line) {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/SerializationPool.swift:128:72: warning: type 'Message' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
120 | @inline(__always)
121 | @usableFromInline
122 | internal func enqueue<Message>(
| `- note: consider making generic parameter 'Message' conform to the 'Sendable' protocol
123 | recipientPath: ActorPath,
124 | promise: EventLoopPromise<Message>,
:
126 | task: @escaping () throws -> Message
127 | ) {
128 | self.enqueue(recipientPath: recipientPath, onComplete: promise.completeWith, workerPool: workerPool, task: { try task() })
| `- warning: type 'Message' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
129 | }
130 |
[1213/1219] Compiling DistributedCluster TopLevelProtobufCoders.swift
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:70:23: warning: static property 'doNotSerialize' 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 |
:
68 |
69 | // ~~~~~~~~~~~~~~~~ general purpose serializer ids ~~~~~~~~~~~~~~~~
70 | public static let doNotSerialize: SerializerID = 0
| |- warning: static property 'doNotSerialize' 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 'doNotSerialize' 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
71 |
72 | public static let specializedWithTypeHint: SerializerID = 1
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:63:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type '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 |
:
61 | extension Optional where Wrapped == Serialization.SerializerID {
62 | /// Use the default serializer, as configured in `Serialization.Settings.defaultSerializerID`.
63 | public static let `default`: Serialization.SerializerID? = nil
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID?' 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
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:72:23: warning: static property 'specializedWithTypeHint' 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 |
:
70 | public static let doNotSerialize: SerializerID = 0
71 |
72 | public static let specializedWithTypeHint: SerializerID = 1
| |- warning: static property 'specializedWithTypeHint' 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 'specializedWithTypeHint' 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
73 | public static let _ProtobufRepresentable: SerializerID = 2
74 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:75:23: warning: static property 'foundationJSON' 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 |
:
73 | public static let _ProtobufRepresentable: SerializerID = 2
74 |
75 | public static let foundationJSON: SerializerID = 3
| |- warning: static property 'foundationJSON' 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 'foundationJSON' 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
76 | public static let foundationPropertyListBinary: SerializerID = 4
77 | public static let foundationPropertyListXML: SerializerID = 5
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:76:23: warning: static property 'foundationPropertyListBinary' 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 |
:
74 |
75 | public static let foundationJSON: SerializerID = 3
76 | public static let foundationPropertyListBinary: SerializerID = 4
| |- warning: static property 'foundationPropertyListBinary' 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 'foundationPropertyListBinary' 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
77 | public static let foundationPropertyListXML: SerializerID = 5
78 | // ... reserved = 6
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:77:23: warning: static property 'foundationPropertyListXML' 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 |
:
75 | public static let foundationJSON: SerializerID = 3
76 | public static let foundationPropertyListBinary: SerializerID = 4
77 | public static let foundationPropertyListXML: SerializerID = 5
| |- warning: static property 'foundationPropertyListXML' 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 'foundationPropertyListXML' 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
78 | // ... reserved = 6
79 | // ... -- || --
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:97:29: warning: static property 'SystemMessage' is not concurrency-safe because non-'Sendable' type '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 |
:
95 | /// in order to allow fine grained evolution and payload size savings.
96 | enum ReservedID {
97 | internal static let SystemMessage: SerializerID = .doNotSerialize
| |- warning: static property 'SystemMessage' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SystemMessage' 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 | internal static let SystemMessageACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.ACK.self)
99 | internal static let SystemMessageNACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.NACK.self)
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:98:29: warning: static property 'SystemMessageACK' is not concurrency-safe because non-'Sendable' type '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 |
:
96 | enum ReservedID {
97 | internal static let SystemMessage: SerializerID = .doNotSerialize
98 | internal static let SystemMessageACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.ACK.self)
| |- warning: static property 'SystemMessageACK' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SystemMessageACK' 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
99 | internal static let SystemMessageNACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.NACK.self)
100 | internal static let SystemMessageEnvelope: SerializerID = ._checkProtobufRepresentable(DistributedCluster.SystemMessageEnvelope.self)
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:99:29: warning: static property 'SystemMessageNACK' is not concurrency-safe because non-'Sendable' type '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 |
:
97 | internal static let SystemMessage: SerializerID = .doNotSerialize
98 | internal static let SystemMessageACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.ACK.self)
99 | internal static let SystemMessageNACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.NACK.self)
| |- warning: static property 'SystemMessageNACK' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SystemMessageNACK' 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
100 | internal static let SystemMessageEnvelope: SerializerID = ._checkProtobufRepresentable(DistributedCluster.SystemMessageEnvelope.self)
101 |
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:100:29: warning: static property 'SystemMessageEnvelope' is not concurrency-safe because non-'Sendable' type '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 |
:
98 | internal static let SystemMessageACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.ACK.self)
99 | internal static let SystemMessageNACK: SerializerID = ._checkProtobufRepresentable(_SystemMessage.NACK.self)
100 | internal static let SystemMessageEnvelope: SerializerID = ._checkProtobufRepresentable(DistributedCluster.SystemMessageEnvelope.self)
| |- warning: static property 'SystemMessageEnvelope' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SystemMessageEnvelope' 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
101 |
102 | internal static let ActorID: SerializerID = ._checkProtobufRepresentable(DistributedCluster.ActorID.self)
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:102:29: warning: static property 'ActorID' is not concurrency-safe because non-'Sendable' type '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 |
:
100 | internal static let SystemMessageEnvelope: SerializerID = ._checkProtobufRepresentable(DistributedCluster.SystemMessageEnvelope.self)
101 |
102 | internal static let ActorID: SerializerID = ._checkProtobufRepresentable(DistributedCluster.ActorID.self)
| |- warning: static property 'ActorID' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ActorID' 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
103 |
104 | internal static let ClusterShellMessage: SerializerID = ._checkProtobufRepresentable(ClusterShell.Message.self)
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:104:29: warning: static property 'ClusterShellMessage' is not concurrency-safe because non-'Sendable' type '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 |
:
102 | internal static let ActorID: SerializerID = ._checkProtobufRepresentable(DistributedCluster.ActorID.self)
103 |
104 | internal static let ClusterShellMessage: SerializerID = ._checkProtobufRepresentable(ClusterShell.Message.self)
| |- warning: static property 'ClusterShellMessage' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ClusterShellMessage' 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
105 | internal static let ClusterEvent: SerializerID = ._checkProtobufRepresentable(Cluster.Event.self)
106 |
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:105:29: warning: static property 'ClusterEvent' is not concurrency-safe because non-'Sendable' type '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 |
:
103 |
104 | internal static let ClusterShellMessage: SerializerID = ._checkProtobufRepresentable(ClusterShell.Message.self)
105 | internal static let ClusterEvent: SerializerID = ._checkProtobufRepresentable(Cluster.Event.self)
| |- warning: static property 'ClusterEvent' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ClusterEvent' 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
106 |
107 | internal static let SWIMPingResponse: SerializerID = ._checkProtobufRepresentable(SWIM.PingResponse<SWIMActor, SWIMActor>.self)
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:107:29: warning: static property 'SWIMPingResponse' is not concurrency-safe because non-'Sendable' type '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 |
:
105 | internal static let ClusterEvent: SerializerID = ._checkProtobufRepresentable(Cluster.Event.self)
106 |
107 | internal static let SWIMPingResponse: SerializerID = ._checkProtobufRepresentable(SWIM.PingResponse<SWIMActor, SWIMActor>.self)
| |- warning: static property 'SWIMPingResponse' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SWIMPingResponse' 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
108 |
109 | // op log receptionist
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:110:29: warning: static property 'PushOps' is not concurrency-safe because non-'Sendable' type '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 |
:
108 |
109 | // op log receptionist
110 | internal static let PushOps: SerializerID = .foundationJSON
| |- warning: static property 'PushOps' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PushOps' 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
111 | internal static let AckOps: SerializerID = .foundationJSON
112 |
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:111:29: warning: static property 'AckOps' is not concurrency-safe because non-'Sendable' type '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 |
:
109 | // op log receptionist
110 | internal static let PushOps: SerializerID = .foundationJSON
111 | internal static let AckOps: SerializerID = .foundationJSON
| |- warning: static property 'AckOps' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'AckOps' 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
112 |
113 | internal static let ErrorEnvelope: SerializerID = .foundationJSON
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:113:29: warning: static property 'ErrorEnvelope' is not concurrency-safe because non-'Sendable' type '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 |
:
111 | internal static let AckOps: SerializerID = .foundationJSON
112 |
113 | internal static let ErrorEnvelope: SerializerID = .foundationJSON
| |- warning: static property 'ErrorEnvelope' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ErrorEnvelope' 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
114 | internal static let BestEffortStringError: SerializerID = .foundationJSON
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+SerializerID.swift:114:29: warning: static property 'BestEffortStringError' is not concurrency-safe because non-'Sendable' type '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 |
:
112 |
113 | internal static let ErrorEnvelope: SerializerID = .foundationJSON
114 | internal static let BestEffortStringError: SerializerID = .foundationJSON
| |- warning: static property 'BestEffortStringError' is not concurrency-safe because non-'Sendable' type 'Serialization.SerializerID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'BestEffortStringError' 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
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization+Serializers+Protobuf.swift:41:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
39 |
40 | override open func deserialize(from buffer: Serialization.Buffer) throws -> Message {
41 | let proto = try ProtobufMessage(serializedData: buffer.readData())
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
42 | return try self.fromProto(proto, context: self.serializationContext)
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/Serialization.swift:811:9: warning: stored property 'underlying' of 'Sendable'-conforming struct 'SerializationError' has non-sendable type 'SerializationError._Storage'; this is an error in the Swift 6 language mode
797 | }
798 |
799 | internal class _Storage {
| `- note: class '_Storage' does not conform to the 'Sendable' protocol
800 | let error: _SerializationError
801 | let file: String
:
809 | }
810 |
811 | let underlying: _Storage
| `- warning: stored property 'underlying' of 'Sendable'-conforming struct 'SerializationError' has non-sendable type 'SerializationError._Storage'; this is an error in the Swift 6 language mode
812 |
813 | internal init(_ error: _SerializationError, file: String = #fileID, line: UInt = #line) {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/DistributedCluster/Serialization/SerializationPool.swift:128:72: warning: type 'Message' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
120 | @inline(__always)
121 | @usableFromInline
122 | internal func enqueue<Message>(
| `- note: consider making generic parameter 'Message' conform to the 'Sendable' protocol
123 | recipientPath: ActorPath,
124 | promise: EventLoopPromise<Message>,
:
126 | task: @escaping () throws -> Message
127 | ) {
128 | self.enqueue(recipientPath: recipientPath, onComplete: promise.completeWith, workerPool: workerPool, task: { try task() })
| `- warning: type 'Message' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
129 | }
130 |
[1214/1238] Compiling it_Clustered_swim_suspension_reachability main.swift
/Users/admin/builder/spi-builder-workspace/IntegrationTests/tests_01_cluster/it_Clustered_swim_suspension_reachability/main.swift:45:5: warning: non-sendable type 'Cluster.Event?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
43 |
44 | Task {
45 | for await event in system.cluster.events {
| `- warning: non-sendable type 'Cluster.Event?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
46 | system.log.info("Event: \(event)")
47 | }
/Users/admin/builder/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)
/Users/admin/builder/spi-builder-workspace/IntegrationTests/tests_01_cluster/it_Clustered_swim_suspension_reachability/main.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 |
17 | print("Getting args")
[1215/1238] Emitting module it_Clustered_swim_suspension_reachability
/Users/admin/builder/spi-builder-workspace/IntegrationTests/tests_01_cluster/it_Clustered_swim_suspension_reachability/main.swift:45:5: warning: non-sendable type 'Cluster.Event?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
43 |
44 | Task {
45 | for await event in system.cluster.events {
| `- warning: non-sendable type 'Cluster.Event?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
46 | system.log.info("Event: \(event)")
47 | }
/Users/admin/builder/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)
/Users/admin/builder/spi-builder-workspace/IntegrationTests/tests_01_cluster/it_Clustered_swim_suspension_reachability/main.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 |
17 | print("Getting args")
[1216/1238] Compiling MultiNodeTestKit MultiNodeTestKit+Control.swift
[1217/1238] Compiling MultiNodeTestKit MultiNodeTestSettings.swift
[1217/1238] Write Objects.LinkFileList
[1219/1238] Compiling MultiNodeTestKit MultiNodeTestKit.swift
[1220/1238] Emitting module MultiNodeTestKit
[1221/1238] Compiling MultiNodeTestKit MultiNodeTestConductor.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiNodeTestKit/MultiNodeTestConductor.swift:244:13: warning: non-sendable type 'Cluster.Event?' returned by implicitly asynchronous call to nonisolated 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 nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
245 | self.onClusterEvent(event)
246 | }
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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) }),
/Users/admin/builder/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 {
/Users/admin/builder/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 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1222/1242] Compiling DistributedActorsMultiNodeTests MultiNode+MultiNodeConductorTests.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 |
[1223/1242] Compiling DistributedActorsMultiNodeTests MultiNode+ReceptionistTests.swift
[1224/1242] Emitting module DistributedActorsMultiNodeTests
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 |
[1225/1242] Compiling DistributedActorsMultiNodeTests MultiNode+ClusterSingletonTests.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[1225/1242] Linking it_Clustered_swim_suspension_reachability
BUILD FAILURE 6.0 macosSpm