Build Information
Failed to build swift-distributed-actors, reference 1.0.0-beta.3 (d816a1
), with Swift 6.2 (beta) for Linux on 20 Jun 2025 10:21:19 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
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 [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1476/1508] 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1477/1508] 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1478/1508] 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1479/1508] 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 'Decodable', 'Encodable'; 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1480/1508] Compiling DistributedCluster TopLevelBlobCoders.swift
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:629:38: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
627 |
628 | @discardableResult
629 | override public func _spawnWatch<Message>(
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
630 | _ naming: _ActorNaming,
631 | of type: Message.Type = Message.self,
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:641:31: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
639 | }
640 |
641 | override public func stop<Message: Codable>(child ref: _ActorRef<Message>) throws {
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
642 | try self._stop(child: ref)
643 | }
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:752:139: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
750 | return .init(.adapter(adapter))
751 | } else {
752 | let adaptedAddress = try self.id.makeChildAddress(name: _ActorNaming.adapter.makeName(&self.namingContext), incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
753 | let adapter = _ActorRefAdapter(fromType: fromType, to: self.myself, id: adaptedAddress)
754 |
/host/spi-builder-workspace/Sources/DistributedCluster/_Signals.swift:143:17: warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
141 | ///
142 | /// - SeeAlso: `Terminated` which is sent when a watched actor terminates.
143 | final class _ChildTerminated: Terminated {
| `- warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
144 | /// Filled with the error that caused the child actor to terminate.
145 | /// This kind of information is only known to the parent, which may decide to perform
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1481/1508] Compiling DistributedCluster TopLevelBytesBlobCoders.swift
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:629:38: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
627 |
628 | @discardableResult
629 | override public func _spawnWatch<Message>(
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
630 | _ naming: _ActorNaming,
631 | of type: Message.Type = Message.self,
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:641:31: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
639 | }
640 |
641 | override public func stop<Message: Codable>(child ref: _ActorRef<Message>) throws {
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
642 | try self._stop(child: ref)
643 | }
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:752:139: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
750 | return .init(.adapter(adapter))
751 | } else {
752 | let adaptedAddress = try self.id.makeChildAddress(name: _ActorNaming.adapter.makeName(&self.namingContext), incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
753 | let adapter = _ActorRefAdapter(fromType: fromType, to: self.myself, id: adaptedAddress)
754 |
/host/spi-builder-workspace/Sources/DistributedCluster/_Signals.swift:143:17: warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
141 | ///
142 | /// - SeeAlso: `Terminated` which is sent when a watched actor terminates.
143 | final class _ChildTerminated: Terminated {
| `- warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
144 | /// Filled with the error that caused the child actor to terminate.
145 | /// This kind of information is only known to the parent, which may decide to perform
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1482/1508] Compiling DistributedCluster TopLevelBytesBlobSerializer.swift
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:629:38: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
627 |
628 | @discardableResult
629 | override public func _spawnWatch<Message>(
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
630 | _ naming: _ActorNaming,
631 | of type: Message.Type = Message.self,
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:641:31: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
639 | }
640 |
641 | override public func stop<Message: Codable>(child ref: _ActorRef<Message>) throws {
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
642 | try self._stop(child: ref)
643 | }
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:752:139: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
750 | return .init(.adapter(adapter))
751 | } else {
752 | let adaptedAddress = try self.id.makeChildAddress(name: _ActorNaming.adapter.makeName(&self.namingContext), incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
753 | let adapter = _ActorRefAdapter(fromType: fromType, to: self.myself, id: adaptedAddress)
754 |
/host/spi-builder-workspace/Sources/DistributedCluster/_Signals.swift:143:17: warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
141 | ///
142 | /// - SeeAlso: `Terminated` which is sent when a watched actor terminates.
143 | final class _ChildTerminated: Terminated {
| `- warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
144 | /// Filled with the error that caused the child actor to terminate.
145 | /// This kind of information is only known to the parent, which may decide to perform
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1483/1508] Compiling DistributedCluster TopLevelProtobufCoders.swift
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:629:38: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
627 |
628 | @discardableResult
629 | override public func _spawnWatch<Message>(
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
630 | _ naming: _ActorNaming,
631 | of type: Message.Type = Message.self,
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:641:31: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
639 | }
640 |
641 | override public func stop<Message: Codable>(child ref: _ActorRef<Message>) throws {
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
642 | try self._stop(child: ref)
643 | }
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:752:139: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
750 | return .init(.adapter(adapter))
751 | } else {
752 | let adaptedAddress = try self.id.makeChildAddress(name: _ActorNaming.adapter.makeName(&self.namingContext), incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
753 | let adapter = _ActorRefAdapter(fromType: fromType, to: self.myself, id: adaptedAddress)
754 |
/host/spi-builder-workspace/Sources/DistributedCluster/_Signals.swift:143:17: warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
141 | ///
142 | /// - SeeAlso: `Terminated` which is sent when a watched actor terminates.
143 | final class _ChildTerminated: Terminated {
| `- warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
144 | /// Filled with the error that caused the child actor to terminate.
145 | /// This kind of information is only known to the parent, which may decide to perform
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1484/1508] Compiling DistributedCluster TopLevelProtobufSerializer.swift
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:629:38: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
627 |
628 | @discardableResult
629 | override public func _spawnWatch<Message>(
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
630 | _ naming: _ActorNaming,
631 | of type: Message.Type = Message.self,
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:641:31: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
639 | }
640 |
641 | override public func stop<Message: Codable>(child ref: _ActorRef<Message>) throws {
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
642 | try self._stop(child: ref)
643 | }
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:752:139: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
750 | return .init(.adapter(adapter))
751 | } else {
752 | let adaptedAddress = try self.id.makeChildAddress(name: _ActorNaming.adapter.makeName(&self.namingContext), incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
753 | let adapter = _ActorRefAdapter(fromType: fromType, to: self.myself, id: adaptedAddress)
754 |
/host/spi-builder-workspace/Sources/DistributedCluster/_Signals.swift:143:17: warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
141 | ///
142 | /// - SeeAlso: `Terminated` which is sent when a watched actor terminates.
143 | final class _ChildTerminated: Terminated {
| `- warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
144 | /// Filled with the error that caused the child actor to terminate.
145 | /// This kind of information is only known to the parent, which may decide to perform
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1485/1508] Compiling DistributedCluster StashBuffer.swift
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:629:38: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
627 |
628 | @discardableResult
629 | override public func _spawnWatch<Message>(
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
630 | _ naming: _ActorNaming,
631 | of type: Message.Type = Message.self,
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:641:31: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
639 | }
640 |
641 | override public func stop<Message: Codable>(child ref: _ActorRef<Message>) throws {
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
642 | try self._stop(child: ref)
643 | }
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:752:139: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
750 | return .init(.adapter(adapter))
751 | } else {
752 | let adaptedAddress = try self.id.makeChildAddress(name: _ActorNaming.adapter.makeName(&self.namingContext), incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
753 | let adapter = _ActorRefAdapter(fromType: fromType, to: self.myself, id: adaptedAddress)
754 |
/host/spi-builder-workspace/Sources/DistributedCluster/_Signals.swift:143:17: warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
141 | ///
142 | /// - SeeAlso: `Terminated` which is sent when a watched actor terminates.
143 | final class _ChildTerminated: Terminated {
| `- warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
144 | /// Filled with the error that caused the child actor to terminate.
145 | /// This kind of information is only known to the parent, which may decide to perform
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1486/1508] Compiling DistributedCluster String+Extensions.swift
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:629:38: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
627 |
628 | @discardableResult
629 | override public func _spawnWatch<Message>(
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
630 | _ naming: _ActorNaming,
631 | of type: Message.Type = Message.self,
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:641:31: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
639 | }
640 |
641 | override public func stop<Message: Codable>(child ref: _ActorRef<Message>) throws {
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
642 | try self._stop(child: ref)
643 | }
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:752:139: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
750 | return .init(.adapter(adapter))
751 | } else {
752 | let adaptedAddress = try self.id.makeChildAddress(name: _ActorNaming.adapter.makeName(&self.namingContext), incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
753 | let adapter = _ActorRefAdapter(fromType: fromType, to: self.myself, id: adaptedAddress)
754 |
/host/spi-builder-workspace/Sources/DistributedCluster/_Signals.swift:143:17: warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
141 | ///
142 | /// - SeeAlso: `Terminated` which is sent when a watched actor terminates.
143 | final class _ChildTerminated: Terminated {
| `- warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
144 | /// Filled with the error that caused the child actor to terminate.
145 | /// This kind of information is only known to the parent, which may decide to perform
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1487/1508] Compiling DistributedCluster Supervision.swift
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:629:38: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
627 |
628 | @discardableResult
629 | override public func _spawnWatch<Message>(
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
630 | _ naming: _ActorNaming,
631 | of type: Message.Type = Message.self,
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:641:31: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
639 | }
640 |
641 | override public func stop<Message: Codable>(child ref: _ActorRef<Message>) throws {
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
642 | try self._stop(child: ref)
643 | }
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:752:139: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
750 | return .init(.adapter(adapter))
751 | } else {
752 | let adaptedAddress = try self.id.makeChildAddress(name: _ActorNaming.adapter.makeName(&self.namingContext), incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
753 | let adapter = _ActorRefAdapter(fromType: fromType, to: self.myself, id: adaptedAddress)
754 |
/host/spi-builder-workspace/Sources/DistributedCluster/_Signals.swift:143:17: warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
141 | ///
142 | /// - SeeAlso: `Terminated` which is sent when a watched actor terminates.
143 | final class _ChildTerminated: Terminated {
| `- warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
144 | /// Filled with the error that caused the child actor to terminate.
145 | /// This kind of information is only known to the parent, which may decide to perform
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1488/1508] Compiling DistributedCluster SystemMessages.swift
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:629:38: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
627 |
628 | @discardableResult
629 | override public func _spawnWatch<Message>(
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
630 | _ naming: _ActorNaming,
631 | of type: Message.Type = Message.self,
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:641:31: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
639 | }
640 |
641 | override public func stop<Message: Codable>(child ref: _ActorRef<Message>) throws {
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
642 | try self._stop(child: ref)
643 | }
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:752:139: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
750 | return .init(.adapter(adapter))
751 | } else {
752 | let adaptedAddress = try self.id.makeChildAddress(name: _ActorNaming.adapter.makeName(&self.namingContext), incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
753 | let adapter = _ActorRefAdapter(fromType: fromType, to: self.myself, id: adaptedAddress)
754 |
/host/spi-builder-workspace/Sources/DistributedCluster/_Signals.swift:143:17: warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
141 | ///
142 | /// - SeeAlso: `Terminated` which is sent when a watched actor terminates.
143 | final class _ChildTerminated: Terminated {
| `- warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
144 | /// Filled with the error that caused the child actor to terminate.
145 | /// This kind of information is only known to the parent, which may decide to perform
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1489/1508] Compiling DistributedCluster Time.swift
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:629:38: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
627 |
628 | @discardableResult
629 | override public func _spawnWatch<Message>(
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
630 | _ naming: _ActorNaming,
631 | of type: Message.Type = Message.self,
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:641:31: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
639 | }
640 |
641 | override public func stop<Message: Codable>(child ref: _ActorRef<Message>) throws {
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
642 | try self._stop(child: ref)
643 | }
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:752:139: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
750 | return .init(.adapter(adapter))
751 | } else {
752 | let adaptedAddress = try self.id.makeChildAddress(name: _ActorNaming.adapter.makeName(&self.namingContext), incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
753 | let adapter = _ActorRefAdapter(fromType: fromType, to: self.myself, id: adaptedAddress)
754 |
/host/spi-builder-workspace/Sources/DistributedCluster/_Signals.swift:143:17: warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
141 | ///
142 | /// - SeeAlso: `Terminated` which is sent when a watched actor terminates.
143 | final class _ChildTerminated: Terminated {
| `- warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
144 | /// Filled with the error that caused the child actor to terminate.
145 | /// This kind of information is only known to the parent, which may decide to perform
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1490/1508] Compiling DistributedCluster TimeSpec.swift
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:629:38: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
627 |
628 | @discardableResult
629 | override public func _spawnWatch<Message>(
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
630 | _ naming: _ActorNaming,
631 | of type: Message.Type = Message.self,
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:641:31: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
639 | }
640 |
641 | override public func stop<Message: Codable>(child ref: _ActorRef<Message>) throws {
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
642 | try self._stop(child: ref)
643 | }
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:752:139: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
750 | return .init(.adapter(adapter))
751 | } else {
752 | let adaptedAddress = try self.id.makeChildAddress(name: _ActorNaming.adapter.makeName(&self.namingContext), incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
753 | let adapter = _ActorRefAdapter(fromType: fromType, to: self.myself, id: adaptedAddress)
754 |
/host/spi-builder-workspace/Sources/DistributedCluster/_Signals.swift:143:17: warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
141 | ///
142 | /// - SeeAlso: `Terminated` which is sent when a watched actor terminates.
143 | final class _ChildTerminated: Terminated {
| `- warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
144 | /// Filled with the error that caused the child actor to terminate.
145 | /// This kind of information is only known to the parent, which may decide to perform
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1491/1508] Compiling DistributedCluster Version.swift
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:629:38: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
627 |
628 | @discardableResult
629 | override public func _spawnWatch<Message>(
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
630 | _ naming: _ActorNaming,
631 | of type: Message.Type = Message.self,
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:641:31: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
639 | }
640 |
641 | override public func stop<Message: Codable>(child ref: _ActorRef<Message>) throws {
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
642 | try self._stop(child: ref)
643 | }
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:752:139: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
750 | return .init(.adapter(adapter))
751 | } else {
752 | let adaptedAddress = try self.id.makeChildAddress(name: _ActorNaming.adapter.makeName(&self.namingContext), incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
753 | let adapter = _ActorRefAdapter(fromType: fromType, to: self.myself, id: adaptedAddress)
754 |
/host/spi-builder-workspace/Sources/DistributedCluster/_Signals.swift:143:17: warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
141 | ///
142 | /// - SeeAlso: `Terminated` which is sent when a watched actor terminates.
143 | final class _ChildTerminated: Terminated {
| `- warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
144 | /// Filled with the error that caused the child actor to terminate.
145 | /// This kind of information is only known to the parent, which may decide to perform
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1492/1508] Compiling DistributedCluster WeakActorDictionary.swift
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:629:38: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
627 |
628 | @discardableResult
629 | override public func _spawnWatch<Message>(
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
630 | _ naming: _ActorNaming,
631 | of type: Message.Type = Message.self,
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:641:31: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
639 | }
640 |
641 | override public func stop<Message: Codable>(child ref: _ActorRef<Message>) throws {
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
642 | try self._stop(child: ref)
643 | }
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:752:139: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
750 | return .init(.adapter(adapter))
751 | } else {
752 | let adaptedAddress = try self.id.makeChildAddress(name: _ActorNaming.adapter.makeName(&self.namingContext), incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
753 | let adapter = _ActorRefAdapter(fromType: fromType, to: self.myself, id: adaptedAddress)
754 |
/host/spi-builder-workspace/Sources/DistributedCluster/_Signals.swift:143:17: warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
141 | ///
142 | /// - SeeAlso: `Terminated` which is sent when a watched actor terminates.
143 | final class _ChildTerminated: Terminated {
| `- warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
144 | /// Filled with the error that caused the child actor to terminate.
145 | /// This kind of information is only known to the parent, which may decide to perform
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1493/1508] Compiling DistributedCluster _ActorNaming.swift
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:629:38: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
627 |
628 | @discardableResult
629 | override public func _spawnWatch<Message>(
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
630 | _ naming: _ActorNaming,
631 | of type: Message.Type = Message.self,
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:641:31: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
639 | }
640 |
641 | override public func stop<Message: Codable>(child ref: _ActorRef<Message>) throws {
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
642 | try self._stop(child: ref)
643 | }
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:752:139: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
750 | return .init(.adapter(adapter))
751 | } else {
752 | let adaptedAddress = try self.id.makeChildAddress(name: _ActorNaming.adapter.makeName(&self.namingContext), incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
753 | let adapter = _ActorRefAdapter(fromType: fromType, to: self.myself, id: adaptedAddress)
754 |
/host/spi-builder-workspace/Sources/DistributedCluster/_Signals.swift:143:17: warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
141 | ///
142 | /// - SeeAlso: `Terminated` which is sent when a watched actor terminates.
143 | final class _ChildTerminated: Terminated {
| `- warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
144 | /// Filled with the error that caused the child actor to terminate.
145 | /// This kind of information is only known to the parent, which may decide to perform
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1494/1508] Compiling DistributedCluster _ActorShell.swift
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:629:38: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
627 |
628 | @discardableResult
629 | override public func _spawnWatch<Message>(
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
630 | _ naming: _ActorNaming,
631 | of type: Message.Type = Message.self,
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:641:31: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
639 | }
640 |
641 | override public func stop<Message: Codable>(child ref: _ActorRef<Message>) throws {
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
642 | try self._stop(child: ref)
643 | }
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:752:139: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
750 | return .init(.adapter(adapter))
751 | } else {
752 | let adaptedAddress = try self.id.makeChildAddress(name: _ActorNaming.adapter.makeName(&self.namingContext), incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
753 | let adapter = _ActorRefAdapter(fromType: fromType, to: self.myself, id: adaptedAddress)
754 |
/host/spi-builder-workspace/Sources/DistributedCluster/_Signals.swift:143:17: warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
141 | ///
142 | /// - SeeAlso: `Terminated` which is sent when a watched actor terminates.
143 | final class _ChildTerminated: Terminated {
| `- warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
144 | /// Filled with the error that caused the child actor to terminate.
145 | /// This kind of information is only known to the parent, which may decide to perform
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1495/1508] Compiling DistributedCluster _BehaviorTimers.swift
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:629:38: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
627 |
628 | @discardableResult
629 | override public func _spawnWatch<Message>(
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
630 | _ naming: _ActorNaming,
631 | of type: Message.Type = Message.self,
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:641:31: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
639 | }
640 |
641 | override public func stop<Message: Codable>(child ref: _ActorRef<Message>) throws {
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
642 | try self._stop(child: ref)
643 | }
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:752:139: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
750 | return .init(.adapter(adapter))
751 | } else {
752 | let adaptedAddress = try self.id.makeChildAddress(name: _ActorNaming.adapter.makeName(&self.namingContext), incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
753 | let adapter = _ActorRefAdapter(fromType: fromType, to: self.myself, id: adaptedAddress)
754 |
/host/spi-builder-workspace/Sources/DistributedCluster/_Signals.swift:143:17: warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
141 | ///
142 | /// - SeeAlso: `Terminated` which is sent when a watched actor terminates.
143 | final class _ChildTerminated: Terminated {
| `- warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
144 | /// Filled with the error that caused the child actor to terminate.
145 | /// This kind of information is only known to the parent, which may decide to perform
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1496/1508] Compiling DistributedCluster _Mailbox.swift
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:629:38: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
627 |
628 | @discardableResult
629 | override public func _spawnWatch<Message>(
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
630 | _ naming: _ActorNaming,
631 | of type: Message.Type = Message.self,
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:641:31: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
639 | }
640 |
641 | override public func stop<Message: Codable>(child ref: _ActorRef<Message>) throws {
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
642 | try self._stop(child: ref)
643 | }
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:752:139: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
750 | return .init(.adapter(adapter))
751 | } else {
752 | let adaptedAddress = try self.id.makeChildAddress(name: _ActorNaming.adapter.makeName(&self.namingContext), incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
753 | let adapter = _ActorRefAdapter(fromType: fromType, to: self.myself, id: adaptedAddress)
754 |
/host/spi-builder-workspace/Sources/DistributedCluster/_Signals.swift:143:17: warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
141 | ///
142 | /// - SeeAlso: `Terminated` which is sent when a watched actor terminates.
143 | final class _ChildTerminated: Terminated {
| `- warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
144 | /// Filled with the error that caused the child actor to terminate.
145 | /// This kind of information is only known to the parent, which may decide to perform
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1497/1508] Compiling DistributedCluster _OrderedSet+Extensions.swift
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:629:38: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
627 |
628 | @discardableResult
629 | override public func _spawnWatch<Message>(
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
630 | _ naming: _ActorNaming,
631 | of type: Message.Type = Message.self,
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:641:31: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
639 | }
640 |
641 | override public func stop<Message: Codable>(child ref: _ActorRef<Message>) throws {
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
642 | try self._stop(child: ref)
643 | }
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:752:139: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
750 | return .init(.adapter(adapter))
751 | } else {
752 | let adaptedAddress = try self.id.makeChildAddress(name: _ActorNaming.adapter.makeName(&self.namingContext), incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
753 | let adapter = _ActorRefAdapter(fromType: fromType, to: self.myself, id: adaptedAddress)
754 |
/host/spi-builder-workspace/Sources/DistributedCluster/_Signals.swift:143:17: warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
141 | ///
142 | /// - SeeAlso: `Terminated` which is sent when a watched actor terminates.
143 | final class _ChildTerminated: Terminated {
| `- warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
144 | /// Filled with the error that caused the child actor to terminate.
145 | /// This kind of information is only known to the parent, which may decide to perform
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1498/1508] Compiling DistributedCluster _Signals.swift
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:629:38: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
627 |
628 | @discardableResult
629 | override public func _spawnWatch<Message>(
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
630 | _ naming: _ActorNaming,
631 | of type: Message.Type = Message.self,
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:641:31: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
639 | }
640 |
641 | override public func stop<Message: Codable>(child ref: _ActorRef<Message>) throws {
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
642 | try self._stop(child: ref)
643 | }
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:752:139: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
750 | return .init(.adapter(adapter))
751 | } else {
752 | let adaptedAddress = try self.id.makeChildAddress(name: _ActorNaming.adapter.makeName(&self.namingContext), incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
753 | let adapter = _ActorRefAdapter(fromType: fromType, to: self.myself, id: adaptedAddress)
754 |
/host/spi-builder-workspace/Sources/DistributedCluster/_Signals.swift:143:17: warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
141 | ///
142 | /// - SeeAlso: `Terminated` which is sent when a watched actor terminates.
143 | final class _ChildTerminated: Terminated {
| `- warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
144 | /// Filled with the error that caused the child actor to terminate.
145 | /// This kind of information is only known to the parent, which may decide to perform
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1499/1508] Compiling DistributedCluster utils.swift
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:629:38: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
627 |
628 | @discardableResult
629 | override public func _spawnWatch<Message>(
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
630 | _ naming: _ActorNaming,
631 | of type: Message.Type = Message.self,
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:641:31: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | /// The shell is mutable, and full of dangerous and carefully threaded/ordered code, be extra cautious.
30 | // TODO: remove this and replace by the infrastructure which is now Swift's `actor`
31 | public final class _ActorShell<Message: Codable>: _ActorContext<Message>, AbstractShellProtocol {
| `- note: 'Message' previously declared here
32 | // The phrase that "actor change their behavior" can be understood quite literally;
33 | // On each message interpretation the actor may return a new behavior that will be handling the next message.
:
639 | }
640 |
641 | override public func stop<Message: Codable>(child ref: _ActorRef<Message>) throws {
| `- warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
642 | try self._stop(child: ref)
643 | }
/host/spi-builder-workspace/Sources/DistributedCluster/_ActorShell.swift:752:139: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
750 | return .init(.adapter(adapter))
751 | } else {
752 | let adaptedAddress = try self.id.makeChildAddress(name: _ActorNaming.adapter.makeName(&self.namingContext), incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
753 | let adapter = _ActorRefAdapter(fromType: fromType, to: self.myself, id: adaptedAddress)
754 |
/host/spi-builder-workspace/Sources/DistributedCluster/_Signals.swift:143:17: warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
141 | ///
142 | /// - SeeAlso: `Terminated` which is sent when a watched actor terminates.
143 | final class _ChildTerminated: Terminated {
| `- warning: class '_ChildTerminated' must restate inherited '@unchecked Sendable' conformance
144 | /// Filled with the error that caused the child actor to terminate.
145 | /// This kind of information is only known to the parent, which may decide to perform
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1500/1509] Wrapping AST for DistributedCluster for debugging
[1502/1528] 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
[1503/1528] 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 | }
[1504/1529] Compiling DistributedActorsTestKit SingleClusterSystemXCTestCase.swift
[1505/1529] Compiling MultiNodeTestKit MultiNodeTestKit+Control.swift
[1506/1529] Compiling it_Clustered_swim_suspension_reachability main.swift
[1507/1529] Emitting module it_Clustered_swim_suspension_reachability
[1508/1529] Compiling MultiNodeTestKit MultiNodeTestSettings.swift
[1509/1529] Compiling MultiNodeTestKit MultiNodeTestKit.swift
[1510/1530] Wrapping AST for it_Clustered_swim_suspension_reachability for debugging
[1511/1530] Write Objects.LinkFileList
[1513/1530] 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)
[1514/1530] Emitting module MultiNodeTestKit
[1515/1531] Wrapping AST for MultiNodeTestKit for debugging
[1517/1535] 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 | }
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/TestProbes.swift:825:27: warning: capture of non-Sendable type 'Message.Type' in an isolated closure; this is an error in the Swift 6 language mode
823 | timeoutError: callSite.error("Expected [\(actor)] to terminate within \(timeout.prettyDescription)")
824 | ) {
825 | _ = try await self._internal.whenLocal { __secretlyKnownToBeLocal in // TODO(distributed): this is annoying, we must track "known to be local" in typesystem instead
| `- warning: capture of non-Sendable type 'Message.Type' in an isolated closure; this is an error in the Swift 6 language mode
826 | for await terminated in __secretlyKnownToBeLocal.terminatedQueue.items {
827 | guard terminated == actor else {
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/TestProbes.swift:813:17: warning: capture of non-Sendable type 'Message.Type' in an isolated closure; this is an error in the Swift 6 language mode
811 | ///
812 | /// - SeeAlso: `DeathWatch`
813 | public func expectTermination(
| `- warning: capture of non-Sendable type 'Message.Type' in an isolated closure; this is an error in the Swift 6 language mode
814 | of actor: ActorID,
815 | within timeout: Duration? = nil,
[1518/1535] Compiling DistributedActorsMultiNodeTests MultiNode+MultiNodeConductorTests.swift
[1519/1535] Emitting module DistributedActorsMultiNodeTests
[1520/1535] Compiling DistributedActorsMultiNodeTests MultiNode+ClusterSingletonTests.swift
[1521/1535] Compiling DistributedActorsMultiNodeTests MultiNode+ReceptionistTests.swift
[1522/1536] Wrapping AST for DistributedActorsMultiNodeTests for debugging
[1524/1546] Compiling MultiNodeTestKitRunner Process+Extensions.swift
[1524/1546] Linking it_Clustered_swim_suspension_reachability
[1526/1547] Compiling MultiNodeTestKitRunner Terminal+Rainbow.swift
[1527/1547] Compiling MultiNodeTestKitRunner Time.swift
[1528/1547] 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1529/1547] 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1530/1547] 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1531/1547] 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:)' [#DeprecatedDeclaration]
49 | )
50 | }
51 | .withPipes(
| |- warning: 'withPipes(inputDescriptor:outputDescriptor:)' is deprecated: renamed to 'takingOwnershipOfDescriptors(input:output:)' [#DeprecatedDeclaration]
| `- 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. [#DeprecatedDeclaration]
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. [#DeprecatedDeclaration]
56 | processToChannel.fileHandleForReading.closeFile()
57 | processToChannel.fileHandleForWriting.closeFile()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1532/1547] 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:)' [#DeprecatedDeclaration]
49 | )
50 | }
51 | .withPipes(
| |- warning: 'withPipes(inputDescriptor:outputDescriptor:)' is deprecated: renamed to 'takingOwnershipOfDescriptors(input:output:)' [#DeprecatedDeclaration]
| `- 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. [#DeprecatedDeclaration]
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. [#DeprecatedDeclaration]
56 | processToChannel.fileHandleForReading.closeFile()
57 | processToChannel.fileHandleForWriting.closeFile()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1533/1547] 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
57 |
58 | /// Configure a nicer logger, that pretty prints metadata and also includes source location of logs
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1534/1547] 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
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
121 | }
122 |
[1535/1547] 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 [#no-usage]
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 [#no-usage]
149 | for line in error.completeOutput {
150 | log("[\(nodeName)](\(multiNodeTest.testName)) \(line)")
[1536/1548] Wrapping AST for MultiNodeTestKitRunner for debugging
[1537/1548] Write Objects.LinkFileList
[1538/1548] Linking MultiNodeTestKitRunner
[1540/1548] Compiling DistributedActorsTestKit Data+Testing.swift
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/InspectKit.swift:30:14: warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
28 |
29 | let task = Process()
30 | task.launchPath = cmd
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
| `- 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' [#DeprecatedDeclaration]
36 | task.standardError = errPipe
37 |
38 | task.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
| `- note: use 'run' instead
39 |
40 | let outData = outPipe.fileHandleForReading.readDataToEndOfFile()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1541/1548] Compiling DistributedActorsTestKit InspectKit.swift
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/InspectKit.swift:30:14: warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
28 |
29 | let task = Process()
30 | task.launchPath = cmd
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
| `- 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' [#DeprecatedDeclaration]
36 | task.standardError = errPipe
37 |
38 | task.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
| `- note: use 'run' instead
39 |
40 | let outData = outPipe.fileHandleForReading.readDataToEndOfFile()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1542/1548] Compiling DistributedActorsTestKit ClusteredActorSystemsXCTestCase.swift
[1543/1548] Compiling DistributedActorsTestKit DistributedActor+Assertions.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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1548/1548] 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 | }
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/TestProbes.swift:825:27: warning: capture of non-Sendable type 'Message.Type' in an isolated closure; this is an error in the Swift 6 language mode
823 | timeoutError: callSite.error("Expected [\(actor)] to terminate within \(timeout.prettyDescription)")
824 | ) {
825 | _ = try await self._internal.whenLocal { __secretlyKnownToBeLocal in // TODO(distributed): this is annoying, we must track "known to be local" in typesystem instead
| `- warning: capture of non-Sendable type 'Message.Type' in an isolated closure; this is an error in the Swift 6 language mode
826 | for await terminated in __secretlyKnownToBeLocal.terminatedQueue.items {
827 | guard terminated == actor else {
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/TestProbes.swift:813:17: warning: capture of non-Sendable type 'Message.Type' in an isolated closure; this is an error in the Swift 6 language mode
811 | ///
812 | /// - SeeAlso: `DeathWatch`
813 | public func expectTermination(
| `- warning: capture of non-Sendable type 'Message.Type' in an isolated closure; this is an error in the Swift 6 language mode
814 | of actor: ActorID,
815 | within timeout: Duration? = nil,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
BUILD FAILURE 6.2 linux