Build Information
Failed to build swift-distributed-actors, reference 1.0.0-beta.3 (d816a1
), with Swift 6.1 for Linux on 27 Apr 2025 17:56:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
873 |
874 | /// Mirrors `Envelope` however ensures that the payload is a message; i.e. it cannot be a closure.
875 | internal struct TransportEnvelope: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
876 | let storage: Storage
877 | enum Storage {
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1593:31: warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1591 | reply = .init(callID: callID, error: GenericRemoteCallError(errorType: errorType))
1592 | }
1593 | try await channel.writeAndFlush(TransportEnvelope(envelope: Payload(payload: .message(reply)), recipient: recipient))
| `- warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1594 | }
1595 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:875:17: note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
873 |
874 | /// Mirrors `Envelope` however ensures that the payload is a message; i.e. it cannot be a closure.
875 | internal struct TransportEnvelope: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
876 | let storage: Storage
877 | enum Storage {
[991/1025] Compiling DistributedCluster TransportPipelines.swift
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:1018:17: warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
1016 | /// Confirms that the remote peer receptionist has received Ops up until the given element,
1017 | /// allows us to push more elements
1018 | final class PushOps: Receptionist.Message {
| `- warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
1019 | // the "sender" of the push
1020 | let peer: OpLogDistributedReceptionist
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:1076:17: warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
1074 | /// Confirms that the remote peer receptionist has received Ops up until the given element,
1075 | /// allows us to push more elements
1076 | final class AckOps: Receptionist.Message, CustomStringConvertible {
| `- warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
1077 | /// Cumulative ACK of all ops until (and including) this one.
1078 | ///
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:1127:17: warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
1125 | }
1126 |
1127 | final class PublishLocalListingsTrigger: Receptionist.Message, _NotActuallyCodableMessage, CustomStringConvertible {
| `- warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
1128 | override init() {
1129 | super.init()
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:706:21: warning: reference to property 'log' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
704 | ()
705 | default:
706 | log.error("Error: \(error)")
| `- warning: reference to property 'log' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
707 | }
708 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:674:11: warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
672 | /// Confirms that the remote peer receptionist has received Ops up until the given element,
673 | /// allows us to push more elements
674 | class PushOps: Receptionist.Message {
| `- warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
675 | // the "sender" of the push
676 | let peer: _ActorRef<Receptionist.Message>
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:725:11: warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
723 | /// Confirms that the remote peer receptionist has received Ops up until the given element,
724 | /// allows us to push more elements
725 | class AckOps: Receptionist.Message, CustomStringConvertible {
| `- warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
726 | /// Cumulative ACK of all ops until (and including) this one.
727 | ///
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:776:11: warning: class 'PeriodicAckTick' must restate inherited '@unchecked Sendable' conformance
774 | }
775 |
776 | class PeriodicAckTick: Receptionist.Message, _NotActuallyCodableMessage, CustomStringConvertible {
| `- warning: class 'PeriodicAckTick' must restate inherited '@unchecked Sendable' conformance
777 | override init() {
778 | super.init()
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:790:11: warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
788 | }
789 |
790 | class PublishLocalListingsTrigger: Receptionist.Message, _NotActuallyCodableMessage, CustomStringConvertible {
| `- warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
791 | override init() {
792 | super.init()
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:820:23: warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
812 | func tracelog(
813 | _ context: _ActorContext<Message>, _ type: TraceLogType, message: Any,
814 | file: String = #filePath, function: String = #function, line: UInt = #line
| `- note: did you mean for parameter 'file' to default to '#fileID'?
815 | ) {
816 | if let level = context.system.settings.receptionist.traceLogLevel {
:
818 | level: level,
819 | "[tracelog:receptionist] \(type.description): \(message)",
820 | file: file, function: function, line: line
| |- warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
| `- note: add parentheses to silence this warning
821 | )
822 | }
Logging.Logger.log.file:2:1: note: 'file' declared here
1 | struct Logger {
2 | file: String}
| `- note: 'file' declared here
3 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:22:1: warning: extension declares a conformance of imported type 'Status' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
20 | // MARK: Serialization
21 |
22 | extension SWIM.Status: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'Status' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
23 | public typealias ProtobufRepresentation = _ProtoSWIMStatus
24 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:65:1: warning: extension declares a conformance of imported type 'GossipPayload' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
63 | }
64 |
65 | extension SWIM.GossipPayload: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'GossipPayload' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
66 | public typealias ProtobufRepresentation = _ProtoSWIMGossipPayload
67 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:92:1: warning: extension declares a conformance of imported type 'Member' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
90 | }
91 |
92 | extension SWIM.Member: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'Member' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
93 | public typealias ProtobufRepresentation = _ProtoSWIMMember
94 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:116:1: warning: extension declares a conformance of imported type 'PingResponse' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
114 | }
115 |
116 | extension SWIM.PingResponse: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'PingResponse' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
117 | public typealias ProtobufRepresentation = _ProtoSWIMPingResponse
118 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:170:1: warning: extension declares a conformance of imported type 'Node' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'ClusterMembership' introduce this conformance in the future
168 | }
169 |
170 | extension ClusterMembership.Node: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'Node' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'ClusterMembership' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
171 | public typealias ProtobufRepresentation = _ProtoClusterNode
172 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/SWIMActor.swift:585:66: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
583 | extension ActorID {
584 | static func _swim(on node: Cluster.Node) -> ActorID {
585 | .init(remote: node, path: ActorPath._swim, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
586 | }
587 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:106:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
104 | throw WireFormatError.notEnoughBytes(expectedAtLeastBytes: bytes.readableBytes, hint: "handshake accept")
105 | }
106 | let proto = try _ProtoHandshakeResponse(serializedData: data)
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
107 | return try Wire.HandshakeResponse(proto)
108 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:583:23: warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
567 | private func tracelog(
568 | _ type: TraceLogType, message: Any,
569 | file: String = #filePath, function: String = #function, line: UInt = #line
| `- note: did you mean for parameter 'file' to default to '#fileID'?
570 | ) {
571 | let level: Logger.Level?
:
581 | level: level,
582 | "[tracelog:sys-msg-redelivery] \(type.description): \(message)",
583 | file: file, function: function, line: line
| |- warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
| `- note: add parentheses to silence this warning
584 | )
585 | }
Logging.Logger.log.file:2:1: note: 'file' declared here
1 | struct Logger {
2 | file: String}
| `- note: 'file' declared here
3 |
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:236:21: warning: 'installSwiftBacktrace' is deprecated: Backtrace will not longer be offered by the actor system by default, and has to be depended on by end-users
234 |
235 | // rely on swift-backtrace for pretty backtraces on crashes
236 | if settings.installSwiftBacktrace {
| `- warning: 'installSwiftBacktrace' is deprecated: Backtrace will not longer be offered by the actor system by default, and has to be depended on by end-users
237 | Backtrace.install()
238 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:237:23: warning: 'install()' is deprecated: This is no longer needed in Swift 5.9
235 | // rely on swift-backtrace for pretty backtraces on crashes
236 | if settings.installSwiftBacktrace {
237 | Backtrace.install()
| `- warning: 'install()' is deprecated: This is no longer needed in Swift 5.9
238 | }
239 |
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:526:17: warning: variable 'knownActors' was written to, but never read
524 | // We can't have it acquire the same lock, so we copy the refs out and release the last
525 | // references to those actors outside of the naming lock.
526 | var knownActors = self.namingLock.withLock {
| `- warning: variable 'knownActors' was written to, but never read
527 | self._managedWellKnownDistributedActors // copy references
528 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:639:65: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
637 | try behavior.validateAsInitial()
638 |
639 | let incarnation: ActorIncarnation = props._wellKnown ? .wellKnown : .random()
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
640 |
641 | // TODO: lock inside provider, not here
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:707:65: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
705 | // Reserve an actor address.
706 | internal func _reserveName<Act>(type: Act.Type, props: _Props) throws -> ActorID where Act: DistributedActor {
707 | let incarnation: ActorIncarnation = props._wellKnown ? .wellKnown : .random()
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
708 | guard let provider = (props._systemActor ? self.systemProvider : self.userProvider) else {
709 | fatalError("Unable to obtain system/user actor provider") // TODO(distributed): just throw here instead
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1551:31: warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1549 |
1550 | let reply = RemoteCallReply<Success>(callID: callID, value: value)
1551 | try await channel.writeAndFlush(TransportEnvelope(envelope: Payload(payload: .message(reply)), recipient: recipient))
| `- warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1552 | }
1553 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:875:17: note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
873 |
874 | /// Mirrors `Envelope` however ensures that the payload is a message; i.e. it cannot be a closure.
875 | internal struct TransportEnvelope: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
876 | let storage: Storage
877 | enum Storage {
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1566:31: warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1564 |
1565 | let reply = RemoteCallReply<_Done>(callID: callID, value: .done)
1566 | try await channel.writeAndFlush(TransportEnvelope(envelope: Payload(payload: .message(reply)), recipient: recipient))
| `- warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1567 | }
1568 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:875:17: note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
873 |
874 | /// Mirrors `Envelope` however ensures that the payload is a message; i.e. it cannot be a closure.
875 | internal struct TransportEnvelope: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
876 | let storage: Storage
877 | enum Storage {
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1593:31: warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1591 | reply = .init(callID: callID, error: GenericRemoteCallError(errorType: errorType))
1592 | }
1593 | try await channel.writeAndFlush(TransportEnvelope(envelope: Payload(payload: .message(reply)), recipient: recipient))
| `- warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1594 | }
1595 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:875:17: note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
873 |
874 | /// Mirrors `Envelope` however ensures that the payload is a message; i.e. it cannot be a closure.
875 | internal struct TransportEnvelope: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
876 | let storage: Storage
877 | enum Storage {
[992/1025] Compiling DistributedCluster WireMessages.swift
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:1018:17: warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
1016 | /// Confirms that the remote peer receptionist has received Ops up until the given element,
1017 | /// allows us to push more elements
1018 | final class PushOps: Receptionist.Message {
| `- warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
1019 | // the "sender" of the push
1020 | let peer: OpLogDistributedReceptionist
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:1076:17: warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
1074 | /// Confirms that the remote peer receptionist has received Ops up until the given element,
1075 | /// allows us to push more elements
1076 | final class AckOps: Receptionist.Message, CustomStringConvertible {
| `- warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
1077 | /// Cumulative ACK of all ops until (and including) this one.
1078 | ///
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:1127:17: warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
1125 | }
1126 |
1127 | final class PublishLocalListingsTrigger: Receptionist.Message, _NotActuallyCodableMessage, CustomStringConvertible {
| `- warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
1128 | override init() {
1129 | super.init()
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:706:21: warning: reference to property 'log' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
704 | ()
705 | default:
706 | log.error("Error: \(error)")
| `- warning: reference to property 'log' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
707 | }
708 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:674:11: warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
672 | /// Confirms that the remote peer receptionist has received Ops up until the given element,
673 | /// allows us to push more elements
674 | class PushOps: Receptionist.Message {
| `- warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
675 | // the "sender" of the push
676 | let peer: _ActorRef<Receptionist.Message>
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:725:11: warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
723 | /// Confirms that the remote peer receptionist has received Ops up until the given element,
724 | /// allows us to push more elements
725 | class AckOps: Receptionist.Message, CustomStringConvertible {
| `- warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
726 | /// Cumulative ACK of all ops until (and including) this one.
727 | ///
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:776:11: warning: class 'PeriodicAckTick' must restate inherited '@unchecked Sendable' conformance
774 | }
775 |
776 | class PeriodicAckTick: Receptionist.Message, _NotActuallyCodableMessage, CustomStringConvertible {
| `- warning: class 'PeriodicAckTick' must restate inherited '@unchecked Sendable' conformance
777 | override init() {
778 | super.init()
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:790:11: warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
788 | }
789 |
790 | class PublishLocalListingsTrigger: Receptionist.Message, _NotActuallyCodableMessage, CustomStringConvertible {
| `- warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
791 | override init() {
792 | super.init()
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:820:23: warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
812 | func tracelog(
813 | _ context: _ActorContext<Message>, _ type: TraceLogType, message: Any,
814 | file: String = #filePath, function: String = #function, line: UInt = #line
| `- note: did you mean for parameter 'file' to default to '#fileID'?
815 | ) {
816 | if let level = context.system.settings.receptionist.traceLogLevel {
:
818 | level: level,
819 | "[tracelog:receptionist] \(type.description): \(message)",
820 | file: file, function: function, line: line
| |- warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
| `- note: add parentheses to silence this warning
821 | )
822 | }
Logging.Logger.log.file:2:1: note: 'file' declared here
1 | struct Logger {
2 | file: String}
| `- note: 'file' declared here
3 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:22:1: warning: extension declares a conformance of imported type 'Status' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
20 | // MARK: Serialization
21 |
22 | extension SWIM.Status: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'Status' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
23 | public typealias ProtobufRepresentation = _ProtoSWIMStatus
24 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:65:1: warning: extension declares a conformance of imported type 'GossipPayload' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
63 | }
64 |
65 | extension SWIM.GossipPayload: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'GossipPayload' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
66 | public typealias ProtobufRepresentation = _ProtoSWIMGossipPayload
67 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:92:1: warning: extension declares a conformance of imported type 'Member' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
90 | }
91 |
92 | extension SWIM.Member: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'Member' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
93 | public typealias ProtobufRepresentation = _ProtoSWIMMember
94 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:116:1: warning: extension declares a conformance of imported type 'PingResponse' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
114 | }
115 |
116 | extension SWIM.PingResponse: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'PingResponse' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
117 | public typealias ProtobufRepresentation = _ProtoSWIMPingResponse
118 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:170:1: warning: extension declares a conformance of imported type 'Node' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'ClusterMembership' introduce this conformance in the future
168 | }
169 |
170 | extension ClusterMembership.Node: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'Node' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'ClusterMembership' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
171 | public typealias ProtobufRepresentation = _ProtoClusterNode
172 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/SWIMActor.swift:585:66: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
583 | extension ActorID {
584 | static func _swim(on node: Cluster.Node) -> ActorID {
585 | .init(remote: node, path: ActorPath._swim, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
586 | }
587 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:106:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
104 | throw WireFormatError.notEnoughBytes(expectedAtLeastBytes: bytes.readableBytes, hint: "handshake accept")
105 | }
106 | let proto = try _ProtoHandshakeResponse(serializedData: data)
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
107 | return try Wire.HandshakeResponse(proto)
108 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:583:23: warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
567 | private func tracelog(
568 | _ type: TraceLogType, message: Any,
569 | file: String = #filePath, function: String = #function, line: UInt = #line
| `- note: did you mean for parameter 'file' to default to '#fileID'?
570 | ) {
571 | let level: Logger.Level?
:
581 | level: level,
582 | "[tracelog:sys-msg-redelivery] \(type.description): \(message)",
583 | file: file, function: function, line: line
| |- warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
| `- note: add parentheses to silence this warning
584 | )
585 | }
Logging.Logger.log.file:2:1: note: 'file' declared here
1 | struct Logger {
2 | file: String}
| `- note: 'file' declared here
3 |
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:236:21: warning: 'installSwiftBacktrace' is deprecated: Backtrace will not longer be offered by the actor system by default, and has to be depended on by end-users
234 |
235 | // rely on swift-backtrace for pretty backtraces on crashes
236 | if settings.installSwiftBacktrace {
| `- warning: 'installSwiftBacktrace' is deprecated: Backtrace will not longer be offered by the actor system by default, and has to be depended on by end-users
237 | Backtrace.install()
238 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:237:23: warning: 'install()' is deprecated: This is no longer needed in Swift 5.9
235 | // rely on swift-backtrace for pretty backtraces on crashes
236 | if settings.installSwiftBacktrace {
237 | Backtrace.install()
| `- warning: 'install()' is deprecated: This is no longer needed in Swift 5.9
238 | }
239 |
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:526:17: warning: variable 'knownActors' was written to, but never read
524 | // We can't have it acquire the same lock, so we copy the refs out and release the last
525 | // references to those actors outside of the naming lock.
526 | var knownActors = self.namingLock.withLock {
| `- warning: variable 'knownActors' was written to, but never read
527 | self._managedWellKnownDistributedActors // copy references
528 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:639:65: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
637 | try behavior.validateAsInitial()
638 |
639 | let incarnation: ActorIncarnation = props._wellKnown ? .wellKnown : .random()
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
640 |
641 | // TODO: lock inside provider, not here
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:707:65: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
705 | // Reserve an actor address.
706 | internal func _reserveName<Act>(type: Act.Type, props: _Props) throws -> ActorID where Act: DistributedActor {
707 | let incarnation: ActorIncarnation = props._wellKnown ? .wellKnown : .random()
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
708 | guard let provider = (props._systemActor ? self.systemProvider : self.userProvider) else {
709 | fatalError("Unable to obtain system/user actor provider") // TODO(distributed): just throw here instead
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1551:31: warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1549 |
1550 | let reply = RemoteCallReply<Success>(callID: callID, value: value)
1551 | try await channel.writeAndFlush(TransportEnvelope(envelope: Payload(payload: .message(reply)), recipient: recipient))
| `- warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1552 | }
1553 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:875:17: note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
873 |
874 | /// Mirrors `Envelope` however ensures that the payload is a message; i.e. it cannot be a closure.
875 | internal struct TransportEnvelope: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
876 | let storage: Storage
877 | enum Storage {
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1566:31: warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1564 |
1565 | let reply = RemoteCallReply<_Done>(callID: callID, value: .done)
1566 | try await channel.writeAndFlush(TransportEnvelope(envelope: Payload(payload: .message(reply)), recipient: recipient))
| `- warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1567 | }
1568 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:875:17: note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
873 |
874 | /// Mirrors `Envelope` however ensures that the payload is a message; i.e. it cannot be a closure.
875 | internal struct TransportEnvelope: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
876 | let storage: Storage
877 | enum Storage {
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1593:31: warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1591 | reply = .init(callID: callID, error: GenericRemoteCallError(errorType: errorType))
1592 | }
1593 | try await channel.writeAndFlush(TransportEnvelope(envelope: Payload(payload: .message(reply)), recipient: recipient))
| `- warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1594 | }
1595 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:875:17: note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
873 |
874 | /// Mirrors `Envelope` however ensures that the payload is a message; i.e. it cannot be a closure.
875 | internal struct TransportEnvelope: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
876 | let storage: Storage
877 | enum Storage {
[993/1025] Compiling DistributedCluster ClusterEndpoint.swift
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:1018:17: warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
1016 | /// Confirms that the remote peer receptionist has received Ops up until the given element,
1017 | /// allows us to push more elements
1018 | final class PushOps: Receptionist.Message {
| `- warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
1019 | // the "sender" of the push
1020 | let peer: OpLogDistributedReceptionist
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:1076:17: warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
1074 | /// Confirms that the remote peer receptionist has received Ops up until the given element,
1075 | /// allows us to push more elements
1076 | final class AckOps: Receptionist.Message, CustomStringConvertible {
| `- warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
1077 | /// Cumulative ACK of all ops until (and including) this one.
1078 | ///
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:1127:17: warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
1125 | }
1126 |
1127 | final class PublishLocalListingsTrigger: Receptionist.Message, _NotActuallyCodableMessage, CustomStringConvertible {
| `- warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
1128 | override init() {
1129 | super.init()
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:706:21: warning: reference to property 'log' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
704 | ()
705 | default:
706 | log.error("Error: \(error)")
| `- warning: reference to property 'log' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
707 | }
708 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:674:11: warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
672 | /// Confirms that the remote peer receptionist has received Ops up until the given element,
673 | /// allows us to push more elements
674 | class PushOps: Receptionist.Message {
| `- warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
675 | // the "sender" of the push
676 | let peer: _ActorRef<Receptionist.Message>
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:725:11: warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
723 | /// Confirms that the remote peer receptionist has received Ops up until the given element,
724 | /// allows us to push more elements
725 | class AckOps: Receptionist.Message, CustomStringConvertible {
| `- warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
726 | /// Cumulative ACK of all ops until (and including) this one.
727 | ///
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:776:11: warning: class 'PeriodicAckTick' must restate inherited '@unchecked Sendable' conformance
774 | }
775 |
776 | class PeriodicAckTick: Receptionist.Message, _NotActuallyCodableMessage, CustomStringConvertible {
| `- warning: class 'PeriodicAckTick' must restate inherited '@unchecked Sendable' conformance
777 | override init() {
778 | super.init()
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:790:11: warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
788 | }
789 |
790 | class PublishLocalListingsTrigger: Receptionist.Message, _NotActuallyCodableMessage, CustomStringConvertible {
| `- warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
791 | override init() {
792 | super.init()
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:820:23: warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
812 | func tracelog(
813 | _ context: _ActorContext<Message>, _ type: TraceLogType, message: Any,
814 | file: String = #filePath, function: String = #function, line: UInt = #line
| `- note: did you mean for parameter 'file' to default to '#fileID'?
815 | ) {
816 | if let level = context.system.settings.receptionist.traceLogLevel {
:
818 | level: level,
819 | "[tracelog:receptionist] \(type.description): \(message)",
820 | file: file, function: function, line: line
| |- warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
| `- note: add parentheses to silence this warning
821 | )
822 | }
Logging.Logger.log.file:2:1: note: 'file' declared here
1 | struct Logger {
2 | file: String}
| `- note: 'file' declared here
3 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:22:1: warning: extension declares a conformance of imported type 'Status' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
20 | // MARK: Serialization
21 |
22 | extension SWIM.Status: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'Status' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
23 | public typealias ProtobufRepresentation = _ProtoSWIMStatus
24 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:65:1: warning: extension declares a conformance of imported type 'GossipPayload' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
63 | }
64 |
65 | extension SWIM.GossipPayload: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'GossipPayload' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
66 | public typealias ProtobufRepresentation = _ProtoSWIMGossipPayload
67 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:92:1: warning: extension declares a conformance of imported type 'Member' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
90 | }
91 |
92 | extension SWIM.Member: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'Member' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
93 | public typealias ProtobufRepresentation = _ProtoSWIMMember
94 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:116:1: warning: extension declares a conformance of imported type 'PingResponse' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
114 | }
115 |
116 | extension SWIM.PingResponse: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'PingResponse' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
117 | public typealias ProtobufRepresentation = _ProtoSWIMPingResponse
118 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:170:1: warning: extension declares a conformance of imported type 'Node' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'ClusterMembership' introduce this conformance in the future
168 | }
169 |
170 | extension ClusterMembership.Node: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'Node' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'ClusterMembership' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
171 | public typealias ProtobufRepresentation = _ProtoClusterNode
172 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/SWIMActor.swift:585:66: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
583 | extension ActorID {
584 | static func _swim(on node: Cluster.Node) -> ActorID {
585 | .init(remote: node, path: ActorPath._swim, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
586 | }
587 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:106:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
104 | throw WireFormatError.notEnoughBytes(expectedAtLeastBytes: bytes.readableBytes, hint: "handshake accept")
105 | }
106 | let proto = try _ProtoHandshakeResponse(serializedData: data)
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
107 | return try Wire.HandshakeResponse(proto)
108 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:583:23: warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
567 | private func tracelog(
568 | _ type: TraceLogType, message: Any,
569 | file: String = #filePath, function: String = #function, line: UInt = #line
| `- note: did you mean for parameter 'file' to default to '#fileID'?
570 | ) {
571 | let level: Logger.Level?
:
581 | level: level,
582 | "[tracelog:sys-msg-redelivery] \(type.description): \(message)",
583 | file: file, function: function, line: line
| |- warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
| `- note: add parentheses to silence this warning
584 | )
585 | }
Logging.Logger.log.file:2:1: note: 'file' declared here
1 | struct Logger {
2 | file: String}
| `- note: 'file' declared here
3 |
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:236:21: warning: 'installSwiftBacktrace' is deprecated: Backtrace will not longer be offered by the actor system by default, and has to be depended on by end-users
234 |
235 | // rely on swift-backtrace for pretty backtraces on crashes
236 | if settings.installSwiftBacktrace {
| `- warning: 'installSwiftBacktrace' is deprecated: Backtrace will not longer be offered by the actor system by default, and has to be depended on by end-users
237 | Backtrace.install()
238 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:237:23: warning: 'install()' is deprecated: This is no longer needed in Swift 5.9
235 | // rely on swift-backtrace for pretty backtraces on crashes
236 | if settings.installSwiftBacktrace {
237 | Backtrace.install()
| `- warning: 'install()' is deprecated: This is no longer needed in Swift 5.9
238 | }
239 |
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:526:17: warning: variable 'knownActors' was written to, but never read
524 | // We can't have it acquire the same lock, so we copy the refs out and release the last
525 | // references to those actors outside of the naming lock.
526 | var knownActors = self.namingLock.withLock {
| `- warning: variable 'knownActors' was written to, but never read
527 | self._managedWellKnownDistributedActors // copy references
528 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:639:65: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
637 | try behavior.validateAsInitial()
638 |
639 | let incarnation: ActorIncarnation = props._wellKnown ? .wellKnown : .random()
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
640 |
641 | // TODO: lock inside provider, not here
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:707:65: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
705 | // Reserve an actor address.
706 | internal func _reserveName<Act>(type: Act.Type, props: _Props) throws -> ActorID where Act: DistributedActor {
707 | let incarnation: ActorIncarnation = props._wellKnown ? .wellKnown : .random()
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
708 | guard let provider = (props._systemActor ? self.systemProvider : self.userProvider) else {
709 | fatalError("Unable to obtain system/user actor provider") // TODO(distributed): just throw here instead
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1551:31: warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1549 |
1550 | let reply = RemoteCallReply<Success>(callID: callID, value: value)
1551 | try await channel.writeAndFlush(TransportEnvelope(envelope: Payload(payload: .message(reply)), recipient: recipient))
| `- warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1552 | }
1553 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:875:17: note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
873 |
874 | /// Mirrors `Envelope` however ensures that the payload is a message; i.e. it cannot be a closure.
875 | internal struct TransportEnvelope: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
876 | let storage: Storage
877 | enum Storage {
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1566:31: warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1564 |
1565 | let reply = RemoteCallReply<_Done>(callID: callID, value: .done)
1566 | try await channel.writeAndFlush(TransportEnvelope(envelope: Payload(payload: .message(reply)), recipient: recipient))
| `- warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1567 | }
1568 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:875:17: note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
873 |
874 | /// Mirrors `Envelope` however ensures that the payload is a message; i.e. it cannot be a closure.
875 | internal struct TransportEnvelope: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
876 | let storage: Storage
877 | enum Storage {
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1593:31: warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1591 | reply = .init(callID: callID, error: GenericRemoteCallError(errorType: errorType))
1592 | }
1593 | try await channel.writeAndFlush(TransportEnvelope(envelope: Payload(payload: .message(reply)), recipient: recipient))
| `- warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1594 | }
1595 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:875:17: note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
873 |
874 | /// Mirrors `Envelope` however ensures that the payload is a message; i.e. it cannot be a closure.
875 | internal struct TransportEnvelope: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
876 | let storage: Storage
877 | enum Storage {
[994/1025] Compiling DistributedCluster ClusterNode.swift
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:1018:17: warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
1016 | /// Confirms that the remote peer receptionist has received Ops up until the given element,
1017 | /// allows us to push more elements
1018 | final class PushOps: Receptionist.Message {
| `- warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
1019 | // the "sender" of the push
1020 | let peer: OpLogDistributedReceptionist
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:1076:17: warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
1074 | /// Confirms that the remote peer receptionist has received Ops up until the given element,
1075 | /// allows us to push more elements
1076 | final class AckOps: Receptionist.Message, CustomStringConvertible {
| `- warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
1077 | /// Cumulative ACK of all ops until (and including) this one.
1078 | ///
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:1127:17: warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
1125 | }
1126 |
1127 | final class PublishLocalListingsTrigger: Receptionist.Message, _NotActuallyCodableMessage, CustomStringConvertible {
| `- warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
1128 | override init() {
1129 | super.init()
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:706:21: warning: reference to property 'log' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
704 | ()
705 | default:
706 | log.error("Error: \(error)")
| `- warning: reference to property 'log' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
707 | }
708 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:674:11: warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
672 | /// Confirms that the remote peer receptionist has received Ops up until the given element,
673 | /// allows us to push more elements
674 | class PushOps: Receptionist.Message {
| `- warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
675 | // the "sender" of the push
676 | let peer: _ActorRef<Receptionist.Message>
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:725:11: warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
723 | /// Confirms that the remote peer receptionist has received Ops up until the given element,
724 | /// allows us to push more elements
725 | class AckOps: Receptionist.Message, CustomStringConvertible {
| `- warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
726 | /// Cumulative ACK of all ops until (and including) this one.
727 | ///
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:776:11: warning: class 'PeriodicAckTick' must restate inherited '@unchecked Sendable' conformance
774 | }
775 |
776 | class PeriodicAckTick: Receptionist.Message, _NotActuallyCodableMessage, CustomStringConvertible {
| `- warning: class 'PeriodicAckTick' must restate inherited '@unchecked Sendable' conformance
777 | override init() {
778 | super.init()
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:790:11: warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
788 | }
789 |
790 | class PublishLocalListingsTrigger: Receptionist.Message, _NotActuallyCodableMessage, CustomStringConvertible {
| `- warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
791 | override init() {
792 | super.init()
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:820:23: warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
812 | func tracelog(
813 | _ context: _ActorContext<Message>, _ type: TraceLogType, message: Any,
814 | file: String = #filePath, function: String = #function, line: UInt = #line
| `- note: did you mean for parameter 'file' to default to '#fileID'?
815 | ) {
816 | if let level = context.system.settings.receptionist.traceLogLevel {
:
818 | level: level,
819 | "[tracelog:receptionist] \(type.description): \(message)",
820 | file: file, function: function, line: line
| |- warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
| `- note: add parentheses to silence this warning
821 | )
822 | }
Logging.Logger.log.file:2:1: note: 'file' declared here
1 | struct Logger {
2 | file: String}
| `- note: 'file' declared here
3 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:22:1: warning: extension declares a conformance of imported type 'Status' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
20 | // MARK: Serialization
21 |
22 | extension SWIM.Status: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'Status' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
23 | public typealias ProtobufRepresentation = _ProtoSWIMStatus
24 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:65:1: warning: extension declares a conformance of imported type 'GossipPayload' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
63 | }
64 |
65 | extension SWIM.GossipPayload: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'GossipPayload' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
66 | public typealias ProtobufRepresentation = _ProtoSWIMGossipPayload
67 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:92:1: warning: extension declares a conformance of imported type 'Member' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
90 | }
91 |
92 | extension SWIM.Member: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'Member' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
93 | public typealias ProtobufRepresentation = _ProtoSWIMMember
94 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:116:1: warning: extension declares a conformance of imported type 'PingResponse' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
114 | }
115 |
116 | extension SWIM.PingResponse: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'PingResponse' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
117 | public typealias ProtobufRepresentation = _ProtoSWIMPingResponse
118 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:170:1: warning: extension declares a conformance of imported type 'Node' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'ClusterMembership' introduce this conformance in the future
168 | }
169 |
170 | extension ClusterMembership.Node: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'Node' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'ClusterMembership' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
171 | public typealias ProtobufRepresentation = _ProtoClusterNode
172 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/SWIMActor.swift:585:66: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
583 | extension ActorID {
584 | static func _swim(on node: Cluster.Node) -> ActorID {
585 | .init(remote: node, path: ActorPath._swim, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
586 | }
587 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:106:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
104 | throw WireFormatError.notEnoughBytes(expectedAtLeastBytes: bytes.readableBytes, hint: "handshake accept")
105 | }
106 | let proto = try _ProtoHandshakeResponse(serializedData: data)
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
107 | return try Wire.HandshakeResponse(proto)
108 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:583:23: warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
567 | private func tracelog(
568 | _ type: TraceLogType, message: Any,
569 | file: String = #filePath, function: String = #function, line: UInt = #line
| `- note: did you mean for parameter 'file' to default to '#fileID'?
570 | ) {
571 | let level: Logger.Level?
:
581 | level: level,
582 | "[tracelog:sys-msg-redelivery] \(type.description): \(message)",
583 | file: file, function: function, line: line
| |- warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
| `- note: add parentheses to silence this warning
584 | )
585 | }
Logging.Logger.log.file:2:1: note: 'file' declared here
1 | struct Logger {
2 | file: String}
| `- note: 'file' declared here
3 |
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:236:21: warning: 'installSwiftBacktrace' is deprecated: Backtrace will not longer be offered by the actor system by default, and has to be depended on by end-users
234 |
235 | // rely on swift-backtrace for pretty backtraces on crashes
236 | if settings.installSwiftBacktrace {
| `- warning: 'installSwiftBacktrace' is deprecated: Backtrace will not longer be offered by the actor system by default, and has to be depended on by end-users
237 | Backtrace.install()
238 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:237:23: warning: 'install()' is deprecated: This is no longer needed in Swift 5.9
235 | // rely on swift-backtrace for pretty backtraces on crashes
236 | if settings.installSwiftBacktrace {
237 | Backtrace.install()
| `- warning: 'install()' is deprecated: This is no longer needed in Swift 5.9
238 | }
239 |
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:526:17: warning: variable 'knownActors' was written to, but never read
524 | // We can't have it acquire the same lock, so we copy the refs out and release the last
525 | // references to those actors outside of the naming lock.
526 | var knownActors = self.namingLock.withLock {
| `- warning: variable 'knownActors' was written to, but never read
527 | self._managedWellKnownDistributedActors // copy references
528 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:639:65: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
637 | try behavior.validateAsInitial()
638 |
639 | let incarnation: ActorIncarnation = props._wellKnown ? .wellKnown : .random()
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
640 |
641 | // TODO: lock inside provider, not here
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:707:65: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
705 | // Reserve an actor address.
706 | internal func _reserveName<Act>(type: Act.Type, props: _Props) throws -> ActorID where Act: DistributedActor {
707 | let incarnation: ActorIncarnation = props._wellKnown ? .wellKnown : .random()
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
708 | guard let provider = (props._systemActor ? self.systemProvider : self.userProvider) else {
709 | fatalError("Unable to obtain system/user actor provider") // TODO(distributed): just throw here instead
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1551:31: warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1549 |
1550 | let reply = RemoteCallReply<Success>(callID: callID, value: value)
1551 | try await channel.writeAndFlush(TransportEnvelope(envelope: Payload(payload: .message(reply)), recipient: recipient))
| `- warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1552 | }
1553 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:875:17: note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
873 |
874 | /// Mirrors `Envelope` however ensures that the payload is a message; i.e. it cannot be a closure.
875 | internal struct TransportEnvelope: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
876 | let storage: Storage
877 | enum Storage {
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1566:31: warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1564 |
1565 | let reply = RemoteCallReply<_Done>(callID: callID, value: .done)
1566 | try await channel.writeAndFlush(TransportEnvelope(envelope: Payload(payload: .message(reply)), recipient: recipient))
| `- warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1567 | }
1568 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:875:17: note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
873 |
874 | /// Mirrors `Envelope` however ensures that the payload is a message; i.e. it cannot be a closure.
875 | internal struct TransportEnvelope: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
876 | let storage: Storage
877 | enum Storage {
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1593:31: warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1591 | reply = .init(callID: callID, error: GenericRemoteCallError(errorType: errorType))
1592 | }
1593 | try await channel.writeAndFlush(TransportEnvelope(envelope: Payload(payload: .message(reply)), recipient: recipient))
| `- warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1594 | }
1595 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:875:17: note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
873 |
874 | /// Mirrors `Envelope` however ensures that the payload is a message; i.e. it cannot be a closure.
875 | internal struct TransportEnvelope: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
876 | let storage: Storage
877 | enum Storage {
[995/1025] Compiling DistributedCluster ClusterSystem.swift
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:1018:17: warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
1016 | /// Confirms that the remote peer receptionist has received Ops up until the given element,
1017 | /// allows us to push more elements
1018 | final class PushOps: Receptionist.Message {
| `- warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
1019 | // the "sender" of the push
1020 | let peer: OpLogDistributedReceptionist
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:1076:17: warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
1074 | /// Confirms that the remote peer receptionist has received Ops up until the given element,
1075 | /// allows us to push more elements
1076 | final class AckOps: Receptionist.Message, CustomStringConvertible {
| `- warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
1077 | /// Cumulative ACK of all ops until (and including) this one.
1078 | ///
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:1127:17: warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
1125 | }
1126 |
1127 | final class PublishLocalListingsTrigger: Receptionist.Message, _NotActuallyCodableMessage, CustomStringConvertible {
| `- warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
1128 | override init() {
1129 | super.init()
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:706:21: warning: reference to property 'log' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
704 | ()
705 | default:
706 | log.error("Error: \(error)")
| `- warning: reference to property 'log' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
707 | }
708 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:674:11: warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
672 | /// Confirms that the remote peer receptionist has received Ops up until the given element,
673 | /// allows us to push more elements
674 | class PushOps: Receptionist.Message {
| `- warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
675 | // the "sender" of the push
676 | let peer: _ActorRef<Receptionist.Message>
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:725:11: warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
723 | /// Confirms that the remote peer receptionist has received Ops up until the given element,
724 | /// allows us to push more elements
725 | class AckOps: Receptionist.Message, CustomStringConvertible {
| `- warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
726 | /// Cumulative ACK of all ops until (and including) this one.
727 | ///
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:776:11: warning: class 'PeriodicAckTick' must restate inherited '@unchecked Sendable' conformance
774 | }
775 |
776 | class PeriodicAckTick: Receptionist.Message, _NotActuallyCodableMessage, CustomStringConvertible {
| `- warning: class 'PeriodicAckTick' must restate inherited '@unchecked Sendable' conformance
777 | override init() {
778 | super.init()
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:790:11: warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
788 | }
789 |
790 | class PublishLocalListingsTrigger: Receptionist.Message, _NotActuallyCodableMessage, CustomStringConvertible {
| `- warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
791 | override init() {
792 | super.init()
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:820:23: warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
812 | func tracelog(
813 | _ context: _ActorContext<Message>, _ type: TraceLogType, message: Any,
814 | file: String = #filePath, function: String = #function, line: UInt = #line
| `- note: did you mean for parameter 'file' to default to '#fileID'?
815 | ) {
816 | if let level = context.system.settings.receptionist.traceLogLevel {
:
818 | level: level,
819 | "[tracelog:receptionist] \(type.description): \(message)",
820 | file: file, function: function, line: line
| |- warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
| `- note: add parentheses to silence this warning
821 | )
822 | }
Logging.Logger.log.file:2:1: note: 'file' declared here
1 | struct Logger {
2 | file: String}
| `- note: 'file' declared here
3 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:22:1: warning: extension declares a conformance of imported type 'Status' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
20 | // MARK: Serialization
21 |
22 | extension SWIM.Status: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'Status' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
23 | public typealias ProtobufRepresentation = _ProtoSWIMStatus
24 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:65:1: warning: extension declares a conformance of imported type 'GossipPayload' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
63 | }
64 |
65 | extension SWIM.GossipPayload: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'GossipPayload' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
66 | public typealias ProtobufRepresentation = _ProtoSWIMGossipPayload
67 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:92:1: warning: extension declares a conformance of imported type 'Member' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
90 | }
91 |
92 | extension SWIM.Member: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'Member' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
93 | public typealias ProtobufRepresentation = _ProtoSWIMMember
94 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:116:1: warning: extension declares a conformance of imported type 'PingResponse' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
114 | }
115 |
116 | extension SWIM.PingResponse: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'PingResponse' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
117 | public typealias ProtobufRepresentation = _ProtoSWIMPingResponse
118 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:170:1: warning: extension declares a conformance of imported type 'Node' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'ClusterMembership' introduce this conformance in the future
168 | }
169 |
170 | extension ClusterMembership.Node: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'Node' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'ClusterMembership' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
171 | public typealias ProtobufRepresentation = _ProtoClusterNode
172 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/SWIMActor.swift:585:66: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
583 | extension ActorID {
584 | static func _swim(on node: Cluster.Node) -> ActorID {
585 | .init(remote: node, path: ActorPath._swim, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
586 | }
587 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:106:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
104 | throw WireFormatError.notEnoughBytes(expectedAtLeastBytes: bytes.readableBytes, hint: "handshake accept")
105 | }
106 | let proto = try _ProtoHandshakeResponse(serializedData: data)
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
107 | return try Wire.HandshakeResponse(proto)
108 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:583:23: warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
567 | private func tracelog(
568 | _ type: TraceLogType, message: Any,
569 | file: String = #filePath, function: String = #function, line: UInt = #line
| `- note: did you mean for parameter 'file' to default to '#fileID'?
570 | ) {
571 | let level: Logger.Level?
:
581 | level: level,
582 | "[tracelog:sys-msg-redelivery] \(type.description): \(message)",
583 | file: file, function: function, line: line
| |- warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
| `- note: add parentheses to silence this warning
584 | )
585 | }
Logging.Logger.log.file:2:1: note: 'file' declared here
1 | struct Logger {
2 | file: String}
| `- note: 'file' declared here
3 |
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:236:21: warning: 'installSwiftBacktrace' is deprecated: Backtrace will not longer be offered by the actor system by default, and has to be depended on by end-users
234 |
235 | // rely on swift-backtrace for pretty backtraces on crashes
236 | if settings.installSwiftBacktrace {
| `- warning: 'installSwiftBacktrace' is deprecated: Backtrace will not longer be offered by the actor system by default, and has to be depended on by end-users
237 | Backtrace.install()
238 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:237:23: warning: 'install()' is deprecated: This is no longer needed in Swift 5.9
235 | // rely on swift-backtrace for pretty backtraces on crashes
236 | if settings.installSwiftBacktrace {
237 | Backtrace.install()
| `- warning: 'install()' is deprecated: This is no longer needed in Swift 5.9
238 | }
239 |
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:526:17: warning: variable 'knownActors' was written to, but never read
524 | // We can't have it acquire the same lock, so we copy the refs out and release the last
525 | // references to those actors outside of the naming lock.
526 | var knownActors = self.namingLock.withLock {
| `- warning: variable 'knownActors' was written to, but never read
527 | self._managedWellKnownDistributedActors // copy references
528 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:639:65: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
637 | try behavior.validateAsInitial()
638 |
639 | let incarnation: ActorIncarnation = props._wellKnown ? .wellKnown : .random()
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
640 |
641 | // TODO: lock inside provider, not here
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:707:65: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
705 | // Reserve an actor address.
706 | internal func _reserveName<Act>(type: Act.Type, props: _Props) throws -> ActorID where Act: DistributedActor {
707 | let incarnation: ActorIncarnation = props._wellKnown ? .wellKnown : .random()
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
708 | guard let provider = (props._systemActor ? self.systemProvider : self.userProvider) else {
709 | fatalError("Unable to obtain system/user actor provider") // TODO(distributed): just throw here instead
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1551:31: warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1549 |
1550 | let reply = RemoteCallReply<Success>(callID: callID, value: value)
1551 | try await channel.writeAndFlush(TransportEnvelope(envelope: Payload(payload: .message(reply)), recipient: recipient))
| `- warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1552 | }
1553 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:875:17: note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
873 |
874 | /// Mirrors `Envelope` however ensures that the payload is a message; i.e. it cannot be a closure.
875 | internal struct TransportEnvelope: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
876 | let storage: Storage
877 | enum Storage {
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1566:31: warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1564 |
1565 | let reply = RemoteCallReply<_Done>(callID: callID, value: .done)
1566 | try await channel.writeAndFlush(TransportEnvelope(envelope: Payload(payload: .message(reply)), recipient: recipient))
| `- warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1567 | }
1568 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:875:17: note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
873 |
874 | /// Mirrors `Envelope` however ensures that the payload is a message; i.e. it cannot be a closure.
875 | internal struct TransportEnvelope: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
876 | let storage: Storage
877 | enum Storage {
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1593:31: warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1591 | reply = .init(callID: callID, error: GenericRemoteCallError(errorType: errorType))
1592 | }
1593 | try await channel.writeAndFlush(TransportEnvelope(envelope: Payload(payload: .message(reply)), recipient: recipient))
| `- warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1594 | }
1595 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:875:17: note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
873 |
874 | /// Mirrors `Envelope` however ensures that the payload is a message; i.e. it cannot be a closure.
875 | internal struct TransportEnvelope: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
876 | let storage: Storage
877 | enum Storage {
[996/1025] Compiling DistributedCluster ClusterSystemSettings.swift
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:1018:17: warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
1016 | /// Confirms that the remote peer receptionist has received Ops up until the given element,
1017 | /// allows us to push more elements
1018 | final class PushOps: Receptionist.Message {
| `- warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
1019 | // the "sender" of the push
1020 | let peer: OpLogDistributedReceptionist
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:1076:17: warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
1074 | /// Confirms that the remote peer receptionist has received Ops up until the given element,
1075 | /// allows us to push more elements
1076 | final class AckOps: Receptionist.Message, CustomStringConvertible {
| `- warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
1077 | /// Cumulative ACK of all ops until (and including) this one.
1078 | ///
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:1127:17: warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
1125 | }
1126 |
1127 | final class PublishLocalListingsTrigger: Receptionist.Message, _NotActuallyCodableMessage, CustomStringConvertible {
| `- warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
1128 | override init() {
1129 | super.init()
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/OperationLogDistributedReceptionist.swift:706:21: warning: reference to property 'log' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
704 | ()
705 | default:
706 | log.error("Error: \(error)")
| `- warning: reference to property 'log' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
707 | }
708 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:674:11: warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
672 | /// Confirms that the remote peer receptionist has received Ops up until the given element,
673 | /// allows us to push more elements
674 | class PushOps: Receptionist.Message {
| `- warning: class 'PushOps' must restate inherited '@unchecked Sendable' conformance
675 | // the "sender" of the push
676 | let peer: _ActorRef<Receptionist.Message>
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:725:11: warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
723 | /// Confirms that the remote peer receptionist has received Ops up until the given element,
724 | /// allows us to push more elements
725 | class AckOps: Receptionist.Message, CustomStringConvertible {
| `- warning: class 'AckOps' must restate inherited '@unchecked Sendable' conformance
726 | /// Cumulative ACK of all ops until (and including) this one.
727 | ///
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:776:11: warning: class 'PeriodicAckTick' must restate inherited '@unchecked Sendable' conformance
774 | }
775 |
776 | class PeriodicAckTick: Receptionist.Message, _NotActuallyCodableMessage, CustomStringConvertible {
| `- warning: class 'PeriodicAckTick' must restate inherited '@unchecked Sendable' conformance
777 | override init() {
778 | super.init()
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:790:11: warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
788 | }
789 |
790 | class PublishLocalListingsTrigger: Receptionist.Message, _NotActuallyCodableMessage, CustomStringConvertible {
| `- warning: class 'PublishLocalListingsTrigger' must restate inherited '@unchecked Sendable' conformance
791 | override init() {
792 | super.init()
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Reception/_OperationLogClusterReceptionistBehavior.swift:820:23: warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
812 | func tracelog(
813 | _ context: _ActorContext<Message>, _ type: TraceLogType, message: Any,
814 | file: String = #filePath, function: String = #function, line: UInt = #line
| `- note: did you mean for parameter 'file' to default to '#fileID'?
815 | ) {
816 | if let level = context.system.settings.receptionist.traceLogLevel {
:
818 | level: level,
819 | "[tracelog:receptionist] \(type.description): \(message)",
820 | file: file, function: function, line: line
| |- warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
| `- note: add parentheses to silence this warning
821 | )
822 | }
Logging.Logger.log.file:2:1: note: 'file' declared here
1 | struct Logger {
2 | file: String}
| `- note: 'file' declared here
3 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:22:1: warning: extension declares a conformance of imported type 'Status' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
20 | // MARK: Serialization
21 |
22 | extension SWIM.Status: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'Status' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
23 | public typealias ProtobufRepresentation = _ProtoSWIMStatus
24 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:65:1: warning: extension declares a conformance of imported type 'GossipPayload' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
63 | }
64 |
65 | extension SWIM.GossipPayload: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'GossipPayload' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
66 | public typealias ProtobufRepresentation = _ProtoSWIMGossipPayload
67 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:92:1: warning: extension declares a conformance of imported type 'Member' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
90 | }
91 |
92 | extension SWIM.Member: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'Member' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
93 | public typealias ProtobufRepresentation = _ProtoSWIMMember
94 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:116:1: warning: extension declares a conformance of imported type 'PingResponse' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
114 | }
115 |
116 | extension SWIM.PingResponse: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'PingResponse' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'SWIM' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
117 | public typealias ProtobufRepresentation = _ProtoSWIMPingResponse
118 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/Protobuf/SWIM+Serialization.swift:170:1: warning: extension declares a conformance of imported type 'Node' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'ClusterMembership' introduce this conformance in the future
168 | }
169 |
170 | extension ClusterMembership.Node: _ProtobufRepresentable {
| |- warning: extension declares a conformance of imported type 'Node' to imported protocols 'Encodable', 'Decodable'; this will not behave correctly if the owners of 'ClusterMembership' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
171 | public typealias ProtobufRepresentation = _ProtoClusterNode
172 |
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/SWIM/SWIMActor.swift:585:66: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
583 | extension ActorID {
584 | static func _swim(on node: Cluster.Node) -> ActorID {
585 | .init(remote: node, path: ActorPath._swim, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
586 | }
587 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:106:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
104 | throw WireFormatError.notEnoughBytes(expectedAtLeastBytes: bytes.readableBytes, hint: "handshake accept")
105 | }
106 | let proto = try _ProtoHandshakeResponse(serializedData: data)
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
107 | return try Wire.HandshakeResponse(proto)
108 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:583:23: warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
567 | private func tracelog(
568 | _ type: TraceLogType, message: Any,
569 | file: String = #filePath, function: String = #function, line: UInt = #line
| `- note: did you mean for parameter 'file' to default to '#fileID'?
570 | ) {
571 | let level: Logger.Level?
:
581 | level: level,
582 | "[tracelog:sys-msg-redelivery] \(type.description): \(message)",
583 | file: file, function: function, line: line
| |- warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
| `- note: add parentheses to silence this warning
584 | )
585 | }
Logging.Logger.log.file:2:1: note: 'file' declared here
1 | struct Logger {
2 | file: String}
| `- note: 'file' declared here
3 |
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:236:21: warning: 'installSwiftBacktrace' is deprecated: Backtrace will not longer be offered by the actor system by default, and has to be depended on by end-users
234 |
235 | // rely on swift-backtrace for pretty backtraces on crashes
236 | if settings.installSwiftBacktrace {
| `- warning: 'installSwiftBacktrace' is deprecated: Backtrace will not longer be offered by the actor system by default, and has to be depended on by end-users
237 | Backtrace.install()
238 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:237:23: warning: 'install()' is deprecated: This is no longer needed in Swift 5.9
235 | // rely on swift-backtrace for pretty backtraces on crashes
236 | if settings.installSwiftBacktrace {
237 | Backtrace.install()
| `- warning: 'install()' is deprecated: This is no longer needed in Swift 5.9
238 | }
239 |
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:526:17: warning: variable 'knownActors' was written to, but never read
524 | // We can't have it acquire the same lock, so we copy the refs out and release the last
525 | // references to those actors outside of the naming lock.
526 | var knownActors = self.namingLock.withLock {
| `- warning: variable 'knownActors' was written to, but never read
527 | self._managedWellKnownDistributedActors // copy references
528 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:639:65: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
637 | try behavior.validateAsInitial()
638 |
639 | let incarnation: ActorIncarnation = props._wellKnown ? .wellKnown : .random()
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
640 |
641 | // TODO: lock inside provider, not here
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:707:65: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
705 | // Reserve an actor address.
706 | internal func _reserveName<Act>(type: Act.Type, props: _Props) throws -> ActorID where Act: DistributedActor {
707 | let incarnation: ActorIncarnation = props._wellKnown ? .wellKnown : .random()
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
708 | guard let provider = (props._systemActor ? self.systemProvider : self.userProvider) else {
709 | fatalError("Unable to obtain system/user actor provider") // TODO(distributed): just throw here instead
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1551:31: warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1549 |
1550 | let reply = RemoteCallReply<Success>(callID: callID, value: value)
1551 | try await channel.writeAndFlush(TransportEnvelope(envelope: Payload(payload: .message(reply)), recipient: recipient))
| `- warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1552 | }
1553 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:875:17: note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
873 |
874 | /// Mirrors `Envelope` however ensures that the payload is a message; i.e. it cannot be a closure.
875 | internal struct TransportEnvelope: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
876 | let storage: Storage
877 | enum Storage {
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1566:31: warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1564 |
1565 | let reply = RemoteCallReply<_Done>(callID: callID, value: .done)
1566 | try await channel.writeAndFlush(TransportEnvelope(envelope: Payload(payload: .message(reply)), recipient: recipient))
| `- warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1567 | }
1568 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:875:17: note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
873 |
874 | /// Mirrors `Envelope` however ensures that the payload is a message; i.e. it cannot be a closure.
875 | internal struct TransportEnvelope: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
876 | let storage: Storage
877 | enum Storage {
/host/spi-builder-workspace/Sources/DistributedCluster/ClusterSystem.swift:1593:31: warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1591 | reply = .init(callID: callID, error: GenericRemoteCallError(errorType: errorType))
1592 | }
1593 | try await channel.writeAndFlush(TransportEnvelope(envelope: Payload(payload: .message(reply)), recipient: recipient))
| `- warning: type 'TransportEnvelope' does not conform to the 'Sendable' protocol
1594 | }
1595 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Cluster/Transport/TransportPipelines.swift:875:17: note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
873 |
874 | /// Mirrors `Envelope` however ensures that the payload is a message; i.e. it cannot be a closure.
875 | internal struct TransportEnvelope: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'TransportEnvelope' conform to the 'Sendable' protocol
876 | let storage: Storage
877 | enum Storage {
[997/1025] Compiling DistributedCluster ReceptionistOperations.swift
/host/spi-builder-workspace/Sources/DistributedCluster/Refs.swift:564:91: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
562 |
563 | do {
564 | self._id = try ActorPath(root: name).makeLocalID(on: localNode, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
565 | } catch {
566 | fatalError("Illegal Guardian path, as those are only to be created by ClusterSystem startup, considering this fatal.")
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:96:66: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
94 | let nextDeadline = DispatchTime.now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(interval.nanoseconds))
95 | f()
96 | self.asyncAfter(deadline: nextDeadline, execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
97 | }
98 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:100:127: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
98 | }
99 |
100 | self.asyncAfter(deadline: .now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(initialDelay.nanoseconds)), execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
101 |
102 | return cancellable
/host/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 | }
[998/1025] Compiling DistributedCluster ReceptionistSettings.swift
/host/spi-builder-workspace/Sources/DistributedCluster/Refs.swift:564:91: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
562 |
563 | do {
564 | self._id = try ActorPath(root: name).makeLocalID(on: localNode, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
565 | } catch {
566 | fatalError("Illegal Guardian path, as those are only to be created by ClusterSystem startup, considering this fatal.")
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:96:66: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
94 | let nextDeadline = DispatchTime.now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(interval.nanoseconds))
95 | f()
96 | self.asyncAfter(deadline: nextDeadline, execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
97 | }
98 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:100:127: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
98 | }
99 |
100 | self.asyncAfter(deadline: .now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(initialDelay.nanoseconds)), execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
101 |
102 | return cancellable
/host/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 | }
[999/1025] Compiling DistributedCluster SystemReceptionist.swift
/host/spi-builder-workspace/Sources/DistributedCluster/Refs.swift:564:91: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
562 |
563 | do {
564 | self._id = try ActorPath(root: name).makeLocalID(on: localNode, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
565 | } catch {
566 | fatalError("Illegal Guardian path, as those are only to be created by ClusterSystem startup, considering this fatal.")
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:96:66: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
94 | let nextDeadline = DispatchTime.now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(interval.nanoseconds))
95 | f()
96 | self.asyncAfter(deadline: nextDeadline, execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
97 | }
98 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:100:127: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
98 | }
99 |
100 | self.asyncAfter(deadline: .now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(initialDelay.nanoseconds)), execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
101 |
102 | return cancellable
/host/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 | }
[1000/1025] Compiling DistributedCluster Refs+any.swift
/host/spi-builder-workspace/Sources/DistributedCluster/Refs.swift:564:91: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
562 |
563 | do {
564 | self._id = try ActorPath(root: name).makeLocalID(on: localNode, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
565 | } catch {
566 | fatalError("Illegal Guardian path, as those are only to be created by ClusterSystem startup, considering this fatal.")
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:96:66: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
94 | let nextDeadline = DispatchTime.now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(interval.nanoseconds))
95 | f()
96 | self.asyncAfter(deadline: nextDeadline, execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
97 | }
98 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:100:127: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
98 | }
99 |
100 | self.asyncAfter(deadline: .now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(initialDelay.nanoseconds)), execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
101 |
102 | return cancellable
/host/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 | }
[1001/1025] Compiling DistributedCluster Refs.swift
/host/spi-builder-workspace/Sources/DistributedCluster/Refs.swift:564:91: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
562 |
563 | do {
564 | self._id = try ActorPath(root: name).makeLocalID(on: localNode, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
565 | } catch {
566 | fatalError("Illegal Guardian path, as those are only to be created by ClusterSystem startup, considering this fatal.")
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:96:66: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
94 | let nextDeadline = DispatchTime.now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(interval.nanoseconds))
95 | f()
96 | self.asyncAfter(deadline: nextDeadline, execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
97 | }
98 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:100:127: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
98 | }
99 |
100 | self.asyncAfter(deadline: .now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(initialDelay.nanoseconds)), execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
101 |
102 | return cancellable
/host/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 | }
[1002/1025] Compiling DistributedCluster Scheduler.swift
/host/spi-builder-workspace/Sources/DistributedCluster/Refs.swift:564:91: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
562 |
563 | do {
564 | self._id = try ActorPath(root: name).makeLocalID(on: localNode, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
565 | } catch {
566 | fatalError("Illegal Guardian path, as those are only to be created by ClusterSystem startup, considering this fatal.")
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:96:66: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
94 | let nextDeadline = DispatchTime.now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(interval.nanoseconds))
95 | f()
96 | self.asyncAfter(deadline: nextDeadline, execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
97 | }
98 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:100:127: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
98 | }
99 |
100 | self.asyncAfter(deadline: .now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(initialDelay.nanoseconds)), execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
101 |
102 | return cancellable
/host/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 | }
[1003/1025] Compiling DistributedCluster ActorRef+Serialization.swift
/host/spi-builder-workspace/Sources/DistributedCluster/Refs.swift:564:91: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
562 |
563 | do {
564 | self._id = try ActorPath(root: name).makeLocalID(on: localNode, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
565 | } catch {
566 | fatalError("Illegal Guardian path, as those are only to be created by ClusterSystem startup, considering this fatal.")
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:96:66: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
94 | let nextDeadline = DispatchTime.now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(interval.nanoseconds))
95 | f()
96 | self.asyncAfter(deadline: nextDeadline, execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
97 | }
98 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:100:127: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
98 | }
99 |
100 | self.asyncAfter(deadline: .now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(initialDelay.nanoseconds)), execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
101 |
102 | return cancellable
/host/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 | }
[1004/1025] Compiling DistributedCluster Serialization.pb.swift
/host/spi-builder-workspace/Sources/DistributedCluster/Refs.swift:564:91: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
562 |
563 | do {
564 | self._id = try ActorPath(root: name).makeLocalID(on: localNode, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
565 | } catch {
566 | fatalError("Illegal Guardian path, as those are only to be created by ClusterSystem startup, considering this fatal.")
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:96:66: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
94 | let nextDeadline = DispatchTime.now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(interval.nanoseconds))
95 | f()
96 | self.asyncAfter(deadline: nextDeadline, execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
97 | }
98 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:100:127: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
98 | }
99 |
100 | self.asyncAfter(deadline: .now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(initialDelay.nanoseconds)), execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
101 |
102 | return cancellable
/host/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 | }
[1005/1025] Compiling DistributedCluster Serialization+Codable.swift
/host/spi-builder-workspace/Sources/DistributedCluster/Refs.swift:564:91: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
562 |
563 | do {
564 | self._id = try ActorPath(root: name).makeLocalID(on: localNode, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
565 | } catch {
566 | fatalError("Illegal Guardian path, as those are only to be created by ClusterSystem startup, considering this fatal.")
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:96:66: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
94 | let nextDeadline = DispatchTime.now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(interval.nanoseconds))
95 | f()
96 | self.asyncAfter(deadline: nextDeadline, execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
97 | }
98 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:100:127: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
98 | }
99 |
100 | self.asyncAfter(deadline: .now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(initialDelay.nanoseconds)), execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
101 |
102 | return cancellable
/host/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 | }
[1006/1025] Compiling DistributedCluster Serialization+Context.swift
/host/spi-builder-workspace/Sources/DistributedCluster/Refs.swift:564:91: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
562 |
563 | do {
564 | self._id = try ActorPath(root: name).makeLocalID(on: localNode, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
565 | } catch {
566 | fatalError("Illegal Guardian path, as those are only to be created by ClusterSystem startup, considering this fatal.")
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:96:66: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
94 | let nextDeadline = DispatchTime.now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(interval.nanoseconds))
95 | f()
96 | self.asyncAfter(deadline: nextDeadline, execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
97 | }
98 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:100:127: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
98 | }
99 |
100 | self.asyncAfter(deadline: .now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(initialDelay.nanoseconds)), execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
101 |
102 | return cancellable
/host/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 | }
[1007/1025] Compiling DistributedCluster Serialization+Invocation.swift
/host/spi-builder-workspace/Sources/DistributedCluster/Refs.swift:564:91: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
562 |
563 | do {
564 | self._id = try ActorPath(root: name).makeLocalID(on: localNode, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
565 | } catch {
566 | fatalError("Illegal Guardian path, as those are only to be created by ClusterSystem startup, considering this fatal.")
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:96:66: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
94 | let nextDeadline = DispatchTime.now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(interval.nanoseconds))
95 | f()
96 | self.asyncAfter(deadline: nextDeadline, execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
97 | }
98 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:100:127: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
98 | }
99 |
100 | self.asyncAfter(deadline: .now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(initialDelay.nanoseconds)), execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
101 |
102 | return cancellable
/host/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 | }
[1008/1025] Compiling DistributedCluster Serialization+Manifest.swift
/host/spi-builder-workspace/Sources/DistributedCluster/Refs.swift:564:91: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
562 |
563 | do {
564 | self._id = try ActorPath(root: name).makeLocalID(on: localNode, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
565 | } catch {
566 | fatalError("Illegal Guardian path, as those are only to be created by ClusterSystem startup, considering this fatal.")
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:96:66: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
94 | let nextDeadline = DispatchTime.now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(interval.nanoseconds))
95 | f()
96 | self.asyncAfter(deadline: nextDeadline, execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
97 | }
98 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:100:127: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
98 | }
99 |
100 | self.asyncAfter(deadline: .now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(initialDelay.nanoseconds)), execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
101 |
102 | return cancellable
/host/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 | }
[1009/1025] Compiling DistributedCluster Serialization+PrimitiveSerializers.swift
/host/spi-builder-workspace/Sources/DistributedCluster/Refs.swift:564:91: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
562 |
563 | do {
564 | self._id = try ActorPath(root: name).makeLocalID(on: localNode, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
565 | } catch {
566 | fatalError("Illegal Guardian path, as those are only to be created by ClusterSystem startup, considering this fatal.")
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:96:66: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
94 | let nextDeadline = DispatchTime.now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(interval.nanoseconds))
95 | f()
96 | self.asyncAfter(deadline: nextDeadline, execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
97 | }
98 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:100:127: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
98 | }
99 |
100 | self.asyncAfter(deadline: .now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(initialDelay.nanoseconds)), execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
101 |
102 | return cancellable
/host/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 | }
[1010/1025] Compiling DistributedCluster Serialization+SerializerID.swift
/host/spi-builder-workspace/Sources/DistributedCluster/Refs.swift:564:91: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
562 |
563 | do {
564 | self._id = try ActorPath(root: name).makeLocalID(on: localNode, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
565 | } catch {
566 | fatalError("Illegal Guardian path, as those are only to be created by ClusterSystem startup, considering this fatal.")
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:96:66: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
94 | let nextDeadline = DispatchTime.now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(interval.nanoseconds))
95 | f()
96 | self.asyncAfter(deadline: nextDeadline, execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
97 | }
98 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:100:127: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
98 | }
99 |
100 | self.asyncAfter(deadline: .now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(initialDelay.nanoseconds)), execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
101 |
102 | return cancellable
/host/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 | }
[1011/1025] Compiling DistributedCluster Serialization+Serializers+Codable.swift
/host/spi-builder-workspace/Sources/DistributedCluster/Refs.swift:564:91: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
562 |
563 | do {
564 | self._id = try ActorPath(root: name).makeLocalID(on: localNode, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
565 | } catch {
566 | fatalError("Illegal Guardian path, as those are only to be created by ClusterSystem startup, considering this fatal.")
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:96:66: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
94 | let nextDeadline = DispatchTime.now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(interval.nanoseconds))
95 | f()
96 | self.asyncAfter(deadline: nextDeadline, execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
97 | }
98 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:100:127: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
98 | }
99 |
100 | self.asyncAfter(deadline: .now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(initialDelay.nanoseconds)), execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
101 |
102 | return cancellable
/host/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 | }
[1012/1025] Compiling DistributedCluster Serialization+Serializers+Protobuf.swift
/host/spi-builder-workspace/Sources/DistributedCluster/Refs.swift:564:91: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
562 |
563 | do {
564 | self._id = try ActorPath(root: name).makeLocalID(on: localNode, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
565 | } catch {
566 | fatalError("Illegal Guardian path, as those are only to be created by ClusterSystem startup, considering this fatal.")
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:96:66: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
94 | let nextDeadline = DispatchTime.now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(interval.nanoseconds))
95 | f()
96 | self.asyncAfter(deadline: nextDeadline, execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
97 | }
98 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:100:127: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
98 | }
99 |
100 | self.asyncAfter(deadline: .now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(initialDelay.nanoseconds)), execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
101 |
102 | return cancellable
/host/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 | }
[1013/1025] Compiling DistributedCluster Serialization+Serializers.swift
/host/spi-builder-workspace/Sources/DistributedCluster/Refs.swift:564:91: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
562 |
563 | do {
564 | self._id = try ActorPath(root: name).makeLocalID(on: localNode, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
565 | } catch {
566 | fatalError("Illegal Guardian path, as those are only to be created by ClusterSystem startup, considering this fatal.")
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:96:66: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
94 | let nextDeadline = DispatchTime.now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(interval.nanoseconds))
95 | f()
96 | self.asyncAfter(deadline: nextDeadline, execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
97 | }
98 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:100:127: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
98 | }
99 |
100 | self.asyncAfter(deadline: .now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(initialDelay.nanoseconds)), execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
101 |
102 | return cancellable
/host/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 | }
[1014/1025] Compiling DistributedCluster Serialization+Settings.swift
/host/spi-builder-workspace/Sources/DistributedCluster/Refs.swift:564:91: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
562 |
563 | do {
564 | self._id = try ActorPath(root: name).makeLocalID(on: localNode, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
565 | } catch {
566 | fatalError("Illegal Guardian path, as those are only to be created by ClusterSystem startup, considering this fatal.")
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:96:66: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
94 | let nextDeadline = DispatchTime.now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(interval.nanoseconds))
95 | f()
96 | self.asyncAfter(deadline: nextDeadline, execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
97 | }
98 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:100:127: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
98 | }
99 |
100 | self.asyncAfter(deadline: .now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(initialDelay.nanoseconds)), execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
101 |
102 | return cancellable
/host/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 | }
[1015/1025] Compiling DistributedCluster Serialization.swift
/host/spi-builder-workspace/Sources/DistributedCluster/Refs.swift:564:91: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
562 |
563 | do {
564 | self._id = try ActorPath(root: name).makeLocalID(on: localNode, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
565 | } catch {
566 | fatalError("Illegal Guardian path, as those are only to be created by ClusterSystem startup, considering this fatal.")
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:96:66: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
94 | let nextDeadline = DispatchTime.now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(interval.nanoseconds))
95 | f()
96 | self.asyncAfter(deadline: nextDeadline, execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
97 | }
98 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:100:127: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
98 | }
99 |
100 | self.asyncAfter(deadline: .now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(initialDelay.nanoseconds)), execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
101 |
102 | return cancellable
/host/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 | }
[1016/1025] Compiling DistributedCluster SerializationPool.swift
/host/spi-builder-workspace/Sources/DistributedCluster/Refs.swift:564:91: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
562 |
563 | do {
564 | self._id = try ActorPath(root: name).makeLocalID(on: localNode, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely
565 | } catch {
566 | fatalError("Illegal Guardian path, as those are only to be created by ClusterSystem startup, considering this fatal.")
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:96:66: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
94 | let nextDeadline = DispatchTime.now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(interval.nanoseconds))
95 | f()
96 | self.asyncAfter(deadline: nextDeadline, execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
97 | }
98 | }
/host/spi-builder-workspace/Sources/DistributedCluster/Scheduler.swift:100:127: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
98 | }
99 |
100 | self.asyncAfter(deadline: .now() + Dispatch.DispatchTimeInterval.nanoseconds(Int(initialDelay.nanoseconds)), execute: sched)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
101 |
102 | return cancellable
/host/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 | }
[1017/1026] Wrapping AST for DistributedCluster for debugging
[1019/1045] Compiling it_Clustered_swim_suspension_reachability main.swift
[1020/1045] Emitting module it_Clustered_swim_suspension_reachability
[1021/1045] Compiling MultiNodeTestKit MultiNodeTestSettings.swift
[1022/1045] Compiling DistributedActorsTestKit Data+Testing.swift
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/InspectKit.swift:30:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
28 |
29 | let task = Process()
30 | task.launchPath = cmd
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
31 | task.arguments = args
32 |
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/InspectKit.swift:38:14: warning: 'launch()' is deprecated: renamed to 'run'
36 | task.standardError = errPipe
37 |
38 | task.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run'
| `- note: use 'run' instead
39 |
40 | let outData = outPipe.fileHandleForReading.readDataToEndOfFile()
[1023/1045] Compiling DistributedActorsTestKit InspectKit.swift
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/InspectKit.swift:30:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
28 |
29 | let task = Process()
30 | task.launchPath = cmd
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
31 | task.arguments = args
32 |
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/InspectKit.swift:38:14: warning: 'launch()' is deprecated: renamed to 'run'
36 | task.standardError = errPipe
37 |
38 | task.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run'
| `- note: use 'run' instead
39 |
40 | let outData = outPipe.fileHandleForReading.readDataToEndOfFile()
[1024/1046] Compiling DistributedActorsTestKit Task+Testing.swift
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/Task+Testing.swift:33:23: error: type 'Task<Success, any Error>' has no member 'select'
31 |
32 | defer { timeoutTask.cancel() }
33 | return await .select(valueTask, timeoutTask)
| `- error: type 'Task<Success, any Error>' has no member 'select'
34 | }
35 | }
[1025/1046] Compiling DistributedActorsTestKit SingleClusterSystemXCTestCase.swift
[1026/1046] Compiling DistributedActorsTestKit TestProbes+Receptionist.swift
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/TestProbes+Receptionist.swift:33:71: warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
26 | expected: Set<_ActorRef<String>>, within timeout: Duration,
27 | verbose: Bool = false,
28 | file: StaticString = #filePath, line: UInt = #line, column: UInt = #column
| `- note: did you mean for parameter 'file' to default to '#fileID'?
29 | ) throws {
30 | do {
31 | let listing = try self.fishForMessages(within: timeout, file: file, line: line) {
32 | if verbose {
33 | pinfo("Received listing: \($0.refs.count)", file: file, line: line)
| |- warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
| `- note: add parentheses to silence this warning
34 | }
35 |
DistributedCluster.pinfo.file:1:1: note: 'file' declared here
1 | file: StaticString
| `- note: 'file' declared here
[1028/1047] Compiling MultiNodeTestKit MultiNodeTestKit+Control.swift
[1029/1047] Compiling MultiNodeTestKit MultiNodeTestKit.swift
[1029/1046] Write Objects.LinkFileList
[1031/1046] Emitting module MultiNodeTestKit
[1032/1046] Compiling MultiNodeTestKit MultiNodeTestConductor.swift
/host/spi-builder-workspace/Sources/MultiNodeTestKit/MultiNodeTestConductor.swift:164:21: warning: dictionary literal of type 'Logger.Metadata' (aka 'Dictionary<String, Logger.MetadataValue>') has duplicate entries for string literal key 'checkPoint/error'
162 | self.log.warning("Checkpoint failed, informing node [\(node)]", metadata: [
163 | "checkPoint/node": "\(node)",
164 | "checkPoint/error": "\(checkPointError)",
| |- warning: dictionary literal of type 'Logger.Metadata' (aka 'Dictionary<String, Logger.MetadataValue>') has duplicate entries for string literal key 'checkPoint/error'
| `- note: duplicate key declared here
165 | "checkPoint/error": "\(checkPointError)",
| `- note: duplicate key declared here
166 | ])
167 | cc.resume(throwing: checkPointError)
[1034/1046] Emitting module DistributedActorsTestKit
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/LogCapture.swift:195:8: warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
193 | // MARK: LogCapture LogHandler
194 |
195 | struct LogCaptureLogHandler: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
196 | let label: String
197 | let capture: LogCapture
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:209:17: note: 'log(level:message:metadata:source:file:function:line:)' declared here
133 | /// - function: The function the log line was emitted from.
134 | /// - line: The line the log message was emitted from.
135 | func log(
| `- note: requirement 'log(level:message:metadata:source:file:function:line:)' declared here
136 | level: Logger.Level,
137 | message: Logger.Message,
:
207 | extension LogHandler {
208 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
209 | public func log(
| `- note: 'log(level:message:metadata:source:file:function:line:)' declared here
210 | level: Logger.Level,
211 | message: Logger.Message,
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/ShouldMatchers.swift:36:15: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | private let isTty = isatty(fileno(stdin)) == 0
25 |
26 | public struct TestMatchers<T> {
| `- note: 'T' previously declared here
27 | private let it: T
28 |
:
34 | }
35 |
36 | func toBe<T>(_ expected: T.Type) {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
37 | if !(self.it is T) {
38 | let error = self.callSite.notEqualError(got: self.it, expected: expected)
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/TestProbes.swift:699:25: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
34 | ///
35 | /// - SeeAlso: `ActorableTestProbe` which is the equivalent API for `Actorable`s.
36 | public final class ActorTestProbe<Message: Codable>: @unchecked Sendable {
| `- note: 'Message' previously declared here
37 | /// Name of the test probe (and underlying actor).
38 | public let name: String
:
697 | /// and our direct message arrives first, before the watch at the destination, causing potentially confusing behavior
698 | /// in some very ordering delicate testing scenarios.
699 | public func forward<Message>(_ message: Message, to target: _ActorRef<Message>, file: String = #filePath, line: UInt = #line) where Message: Codable {
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
700 | self.internalRef.tell(ProbeCommands.forwardCommand(send: { () in target.tell(message, file: file, line: line) }))
701 | }
[1035/1046] Compiling DistributedActorsTestKit TestProbes.swift
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/TestProbes.swift:699:25: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
34 | ///
35 | /// - SeeAlso: `ActorableTestProbe` which is the equivalent API for `Actorable`s.
36 | public final class ActorTestProbe<Message: Codable>: @unchecked Sendable {
| `- note: 'Message' previously declared here
37 | /// Name of the test probe (and underlying actor).
38 | public let name: String
:
697 | /// and our direct message arrives first, before the watch at the destination, causing potentially confusing behavior
698 | /// in some very ordering delicate testing scenarios.
699 | public func forward<Message>(_ message: Message, to target: _ActorRef<Message>, file: String = #filePath, line: UInt = #line) where Message: Codable {
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
700 | self.internalRef.tell(ProbeCommands.forwardCommand(send: { () in target.tell(message, file: file, line: line) }))
701 | }
[1036/1050] Emitting module DistributedActorsMultiNodeTests
[1037/1050] Compiling DistributedActorsMultiNodeTests MultiNode+ClusterSingletonTests.swift
[1038/1050] Compiling DistributedActorsMultiNodeTests MultiNode+MultiNodeConductorTests.swift
[1039/1050] Compiling DistributedActorsMultiNodeTests MultiNode+ReceptionistTests.swift
[1040/1051] Wrapping AST for DistributedActorsMultiNodeTests for debugging
[1041/1051] Linking it_Clustered_swim_suspension_reachability
[1043/1061] Emitting module MultiNodeTestKitRunner
/host/spi-builder-workspace/Sources/MultiNodeTestKitRunner/MultiNode+LogCapture.swift:21:8: warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
19 | import MultiNodeTestKit
20 |
21 | struct PrettyMultiNodeLogHandler: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
22 | let nodeName: String
23 | let settings: MultiNodeTestSettings.MultiNodeLogCaptureSettings
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:209:17: note: 'log(level:message:metadata:source:file:function:line:)' declared here
133 | /// - function: The function the log line was emitted from.
134 | /// - line: The line the log message was emitted from.
135 | func log(
| `- note: requirement 'log(level:message:metadata:source:file:function:line:)' declared here
136 | level: Logger.Level,
137 | message: Logger.Message,
:
207 | extension LogHandler {
208 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
209 | public func log(
| `- note: 'log(level:message:metadata:source:file:function:line:)' declared here
210 | level: Logger.Level,
211 | message: Logger.Message,
[1044/1062] Compiling MultiNodeTestKitRunner Terminal+Rainbow.swift
[1045/1062] Compiling MultiNodeTestKitRunner Time.swift
[1046/1062] Compiling MultiNodeTestKitRunner MultiNode+LogCapture.swift
/host/spi-builder-workspace/Sources/MultiNodeTestKitRunner/MultiNode+LogCapture.swift:21:8: warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
19 | import MultiNodeTestKit
20 |
21 | struct PrettyMultiNodeLogHandler: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
22 | let nodeName: String
23 | let settings: MultiNodeTestSettings.MultiNodeLogCaptureSettings
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:209:17: note: 'log(level:message:metadata:source:file:function:line:)' declared here
133 | /// - function: The function the log line was emitted from.
134 | /// - line: The line the log message was emitted from.
135 | func log(
| `- note: requirement 'log(level:message:metadata:source:file:function:line:)' declared here
136 | level: Logger.Level,
137 | message: Logger.Message,
:
207 | extension LogHandler {
208 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
209 | public func log(
| `- note: 'log(level:message:metadata:source:file:function:line:)' declared here
210 | level: Logger.Level,
211 | message: Logger.Message,
[1047/1062] Compiling MultiNodeTestKitRunner MultiNode+TestSuites.swift
/host/spi-builder-workspace/Sources/MultiNodeTestKitRunner/MultiNode+LogCapture.swift:21:8: warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
19 | import MultiNodeTestKit
20 |
21 | struct PrettyMultiNodeLogHandler: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
22 | let nodeName: String
23 | let settings: MultiNodeTestSettings.MultiNodeLogCaptureSettings
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:209:17: note: 'log(level:message:metadata:source:file:function:line:)' declared here
133 | /// - function: The function the log line was emitted from.
134 | /// - line: The line the log message was emitted from.
135 | func log(
| `- note: requirement 'log(level:message:metadata:source:file:function:line:)' declared here
136 | level: Logger.Level,
137 | message: Logger.Message,
:
207 | extension LogHandler {
208 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
209 | public func log(
| `- note: 'log(level:message:metadata:source:file:function:line:)' declared here
210 | level: Logger.Level,
211 | message: Logger.Message,
[1048/1062] Compiling MultiNodeTestKitRunner NaiveLogger.swift
/host/spi-builder-workspace/Sources/MultiNodeTestKitRunner/OutputGrepper.swift:42:25: warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
40 | channel.pipeline.addHandlers(
41 | [
42 | ByteToMessageHandler(NewlineFramer()),
| `- warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
43 | GrepHandler(
44 | nodeName: nodeName,
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:507:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
505 |
506 | @available(*, unavailable)
507 | extension ByteToMessageHandler: Sendable {}
| `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
508 |
509 | // MARK: ByteToMessageHandler: Test Helpers
/host/spi-builder-workspace/Sources/MultiNodeTestKitRunner/OutputGrepper.swift:51:14: warning: 'withPipes(inputDescriptor:outputDescriptor:)' is deprecated: renamed to 'takingOwnershipOfDescriptors(input:output:)'
49 | )
50 | }
51 | .withPipes(
| |- warning: 'withPipes(inputDescriptor:outputDescriptor:)' is deprecated: renamed to 'takingOwnershipOfDescriptors(input:output:)'
| `- note: use 'takingOwnershipOfDescriptors(input:output:)' instead
52 | inputDescriptor: dup(processToChannel.fileHandleForReading.fileDescriptor),
53 | outputDescriptor: dup(deadPipe.fileHandleForWriting.fileDescriptor)
/host/spi-builder-workspace/Sources/MultiNodeTestKitRunner/OutputGrepper.swift:55:33: warning: 'init(descriptor:)' is deprecated: Avoid using NIOFileHandle. The type is difficult to hold correctly, use NIOFileSystem as a replacement API.
53 | outputDescriptor: dup(deadPipe.fileHandleForWriting.fileDescriptor)
54 | )
55 | let processOutputPipe = NIOFileHandle(descriptor: dup(processToChannel.fileHandleForWriting.fileDescriptor))
| `- warning: 'init(descriptor:)' is deprecated: Avoid using NIOFileHandle. The type is difficult to hold correctly, use NIOFileSystem as a replacement API.
56 | processToChannel.fileHandleForReading.closeFile()
57 | processToChannel.fileHandleForWriting.closeFile()
[1049/1062] Compiling MultiNodeTestKitRunner OutputGrepper.swift
/host/spi-builder-workspace/Sources/MultiNodeTestKitRunner/OutputGrepper.swift:42:25: warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
40 | channel.pipeline.addHandlers(
41 | [
42 | ByteToMessageHandler(NewlineFramer()),
| `- warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
43 | GrepHandler(
44 | nodeName: nodeName,
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:507:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
505 |
506 | @available(*, unavailable)
507 | extension ByteToMessageHandler: Sendable {}
| `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
508 |
509 | // MARK: ByteToMessageHandler: Test Helpers
/host/spi-builder-workspace/Sources/MultiNodeTestKitRunner/OutputGrepper.swift:51:14: warning: 'withPipes(inputDescriptor:outputDescriptor:)' is deprecated: renamed to 'takingOwnershipOfDescriptors(input:output:)'
49 | )
50 | }
51 | .withPipes(
| |- warning: 'withPipes(inputDescriptor:outputDescriptor:)' is deprecated: renamed to 'takingOwnershipOfDescriptors(input:output:)'
| `- note: use 'takingOwnershipOfDescriptors(input:output:)' instead
52 | inputDescriptor: dup(processToChannel.fileHandleForReading.fileDescriptor),
53 | outputDescriptor: dup(deadPipe.fileHandleForWriting.fileDescriptor)
/host/spi-builder-workspace/Sources/MultiNodeTestKitRunner/OutputGrepper.swift:55:33: warning: 'init(descriptor:)' is deprecated: Avoid using NIOFileHandle. The type is difficult to hold correctly, use NIOFileSystem as a replacement API.
53 | outputDescriptor: dup(deadPipe.fileHandleForWriting.fileDescriptor)
54 | )
55 | let processOutputPipe = NIOFileHandle(descriptor: dup(processToChannel.fileHandleForWriting.fileDescriptor))
| `- warning: 'init(descriptor:)' is deprecated: Avoid using NIOFileHandle. The type is difficult to hold correctly, use NIOFileSystem as a replacement API.
56 | processToChannel.fileHandleForReading.closeFile()
57 | processToChannel.fileHandleForWriting.closeFile()
[1050/1062] Compiling MultiNodeTestKitRunner Process+Extensions.swift
[1051/1062] Compiling MultiNodeTestKitRunner boot+MultiNodeTestKitRunner+Exec.swift
/host/spi-builder-workspace/Sources/MultiNodeTestKitRunner/boot+MultiNodeTestKitRunner+Exec.swift:56:22: warning: 'installSwiftBacktrace' is deprecated: Backtrace will not longer be offered by the actor system by default, and has to be depended on by end-users
54 |
55 | /// By default get better backtraces in case we crash:
56 | settings.installSwiftBacktrace = true
| `- warning: 'installSwiftBacktrace' is deprecated: Backtrace will not longer be offered by the actor system by default, and has to be depended on by end-users
57 |
58 | /// Configure a nicer logger, that pretty prints metadata and also includes source location of logs
[1052/1062] Compiling MultiNodeTestKitRunner boot+MultiNodeTestKitRunner+Test.swift
/host/spi-builder-workspace/Sources/MultiNodeTestKitRunner/boot+MultiNodeTestKitRunner+Test.swift:120:22: warning: instance method 'syncShutdownGracefully' is unavailable from asynchronous contexts; this can end up blocking the calling thread; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
118 | let elg = MultiThreadedEventLoopGroup(numberOfThreads: 1)
119 | defer {
120 | try! elg.syncShutdownGracefully()
| `- warning: instance method 'syncShutdownGracefully' is unavailable from asynchronous contexts; this can end up blocking the calling thread; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
121 | }
122 |
[1053/1062] Compiling MultiNodeTestKitRunner boot+MultiNodeTestKitRunner.swift
/host/spi-builder-workspace/Sources/MultiNodeTestKitRunner/boot+MultiNodeTestKitRunner.swift:148:25: warning: variable 'reason' was never used; consider replacing with '_' or removing it
146 | switch result {
147 | case .failure(let error as MultiNodeProgramError):
148 | var reason: String = "MultiNode test failed, output was dumped."
| `- warning: variable 'reason' was never used; consider replacing with '_' or removing it
149 | for line in error.completeOutput {
150 | log("[\(nodeName)](\(multiNodeTest.testName)) \(line)")
[1054/1063] Wrapping AST for MultiNodeTestKitRunner for debugging
[1055/1063] Write Objects.LinkFileList
[1057/1063] Compiling DistributedActorsTestKit LogCapture.swift
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/LogCapture.swift:195:8: warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
193 | // MARK: LogCapture LogHandler
194 |
195 | struct LogCaptureLogHandler: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
196 | let label: String
197 | let capture: LogCapture
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:209:17: note: 'log(level:message:metadata:source:file:function:line:)' declared here
133 | /// - function: The function the log line was emitted from.
134 | /// - line: The line the log message was emitted from.
135 | func log(
| `- note: requirement 'log(level:message:metadata:source:file:function:line:)' declared here
136 | level: Logger.Level,
137 | message: Logger.Message,
:
207 | extension LogHandler {
208 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
209 | public func log(
| `- note: 'log(level:message:metadata:source:file:function:line:)' declared here
210 | level: Logger.Level,
211 | message: Logger.Message,
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/ShouldMatchers.swift:36:15: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | private let isTty = isatty(fileno(stdin)) == 0
25 |
26 | public struct TestMatchers<T> {
| `- note: 'T' previously declared here
27 | private let it: T
28 |
:
34 | }
35 |
36 | func toBe<T>(_ expected: T.Type) {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
37 | if !(self.it is T) {
38 | let error = self.callSite.notEqualError(got: self.it, expected: expected)
[1058/1063] Compiling DistributedActorsTestKit ShouldMatchers.swift
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/LogCapture.swift:195:8: warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
193 | // MARK: LogCapture LogHandler
194 |
195 | struct LogCaptureLogHandler: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
196 | let label: String
197 | let capture: LogCapture
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:209:17: note: 'log(level:message:metadata:source:file:function:line:)' declared here
133 | /// - function: The function the log line was emitted from.
134 | /// - line: The line the log message was emitted from.
135 | func log(
| `- note: requirement 'log(level:message:metadata:source:file:function:line:)' declared here
136 | level: Logger.Level,
137 | message: Logger.Message,
:
207 | extension LogHandler {
208 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
209 | public func log(
| `- note: 'log(level:message:metadata:source:file:function:line:)' declared here
210 | level: Logger.Level,
211 | message: Logger.Message,
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/ShouldMatchers.swift:36:15: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | private let isTty = isatty(fileno(stdin)) == 0
25 |
26 | public struct TestMatchers<T> {
| `- note: 'T' previously declared here
27 | private let it: T
28 |
:
34 | }
35 |
36 | func toBe<T>(_ expected: T.Type) {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
37 | if !(self.it is T) {
38 | let error = self.callSite.notEqualError(got: self.it, expected: expected)
[1061/1063] Compiling DistributedActorsTestKit ClusteredActorSystemsXCTestCase.swift
[1062/1063] Compiling DistributedActorsTestKit DistributedActor+Assertions.swift
[1062/1063] Linking MultiNodeTestKitRunner
BUILD FAILURE 6.1 linux