Build Information
Failed to build swift-distributed-actors, reference 1.0.0-beta.3 (d816a1), with Swift 6.3 for Linux on 21 Apr 2026 01:44:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
452 | public static let protoMessageName: String = "VersionVector"
453 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
454 | 1: .same(proto: "state"),
455 | ]
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:482:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
480 | extension _ProtoVersionDot: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
481 | public static let protoMessageName: String = "VersionDot"
482 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
483 | 1: .same(proto: "replicaID"),
484 | 2: .same(proto: "version"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:551:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
549 | extension _ProtoVersionDottedElementEnvelope: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
550 | public static let protoMessageName: String = "VersionDottedElementEnvelope"
551 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
552 | 1: .same(proto: "dot"),
553 | 2: .same(proto: "manifest"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:560:49: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
558 | var _dot: _ProtoVersionDot? = nil
559 | var _manifest: _ProtoManifest? = nil
560 | var _payload: Data = SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
561 |
562 | static let defaultInstance = _StorageClass()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1595/1612] Compiling DistributedCluster AsyncResult.swift
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:461:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
459 | }
460 |
461 | extension Optional: Comparable where Wrapped == Cluster.Node {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
462 | public static func < (lhs: Cluster.Node?, rhs: Cluster.Node?) -> Bool {
463 | switch (lhs, rhs) {
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:359:49: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
357 | res += "\(self.path)"
358 |
359 | if self.incarnation != ActorIncarnation.wellKnown {
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
360 | res += "#\(self.incarnation.value)"
361 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:393:61: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
391 | /// Only to be used by the "/" root "actor"
392 | static func _localRoot(on node: Cluster.Node) -> ActorID {
393 | ActorPath._root.makeLocalID(on: node, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
394 | }
395 |
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:398:68: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
396 | /// Local dead letters address.
397 | static func _deadLetters(on node: Cluster.Node) -> ActorID {
398 | ActorPath._deadLetters.makeLocalID(on: node, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
399 | }
400 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorLogging.swift:97:8: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
95 |
96 | // TODO: implement logging infrastructure - pipe as messages to dedicated logging actor
97 | struct ActorOriginLogHandler: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
98 | public static func _createFormatter() -> DateFormatter {
99 | let formatter = DateFormatter()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:256:17: note: 'log(event:)' declared here
143 | ///
144 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
146 |
147 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
254 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
255 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
257 | self.log(
258 | level: event.level,
/host/spi-builder-workspace/Sources/DistributedCluster/ActorLogging.swift:363:75: warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
358 | _ message: @autoclosure () -> Logger.Message,
359 | metadata: @autoclosure () -> Logger.Metadata? = nil,
360 | file: String = #filePath, function: String = #function, line: UInt = #line
| `- note: did you mean for parameter 'file' to default to '#fileID'?
361 | ) {
362 | if let level = level {
363 | self.log(level: level, message(), metadata: metadata(), 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
364 | }
365 | }
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/ActorMessage+Protobuf.swift:57:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
55 |
56 | let data: Data = try container.decode(Data.self)
57 | let proto = try ProtobufRepresentation(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
58 |
59 | try self.init(fromProto: proto, context: context)
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessage+Protobuf.swift:102:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
100 |
101 | let data: Data = try container.decode(Data.self)
102 | let proto = try ProtobufRepresentation(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
103 |
104 | try self.init(fromProto: proto, context: context)
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessage+Protobuf.swift:126:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
124 | extension _InternalProtobufRepresentable {
125 | init(context: Serialization.Context, from buffer: Serialization.Buffer, using manifest: Serialization.Manifest) throws {
126 | let proto = try ProtobufRepresentation(serializedData: buffer.readData())
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
127 | try self.init(fromProto: proto, context: context)
128 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessage+Protobuf.swift:137:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
135 | extension _ProtobufRepresentable {
136 | public init(context: Serialization.Context, from buffer: Serialization.Buffer, using manifest: Serialization.Manifest) throws {
137 | let proto = try ProtobufRepresentation(serializedData: buffer.readData())
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
138 | try self.init(fromProto: proto, context: context)
139 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessages.swift:25:1: warning: extension declares a conformance of imported type 'Result' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
23 |
24 | // FIXME: we should not add Codable conformance onto a stdlib type, but rather fix this in stdlib
25 | extension Result: Codable where Success: Codable, Failure: Codable {
| |- warning: extension declares a conformance of imported type 'Result' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 | enum DiscriminatorKeys: String, Codable {
27 | case success
/host/spi-builder-workspace/Sources/DistributedCluster/ActorShell+Children.swift:317:65: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
315 | try self.validateUniqueName(name) // FIXME: reserve name
316 |
317 | let incarnation: ActorIncarnation = props._wellKnown ? .wellKnown : .random()
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
318 | let id: ActorID = try self.id.makeChildAddress(name: name, incarnation: incarnation)
319 |
/host/spi-builder-workspace/Sources/DistributedCluster/Adapters.swift:387:19: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
238 | // MARK: SubReceiveAdapter
239 |
240 | internal final class SubReceiveAdapter<Message: Codable, OwnerMessage: Codable>: _AbstractAdapter {
| `- note: 'Message' previously declared here
241 | internal let fromType: Any.Type
242 |
:
385 | }
386 |
387 | func _resolve<Message>(context: _ResolveContext<Message>) -> _ActorRef<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
388 | guard context.selectorSegments.first == nil,
389 | self.id.incarnation == context.id.incarnation
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:226:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
224 | extension _ProtoActorIdentity: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
225 | public static let protoMessageName: String = "ActorIdentity"
226 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
227 | 1: .same(proto: "manifest"),
228 | 2: .same(proto: "payload"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:233:49: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
231 | fileprivate class _StorageClass {
232 | var _manifest: _ProtoManifest? = nil
233 | var _payload: Data = SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
234 |
235 | static let defaultInstance = _StorageClass()
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:295:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
293 | extension _ProtoVersionReplicaID: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
294 | public static let protoMessageName: String = "VersionReplicaID"
295 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
296 | 1: .same(proto: "actorID"),
297 | 2: .same(proto: "node"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:384:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
382 | extension _ProtoReplicaVersion: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
383 | public static let protoMessageName: String = "ReplicaVersion"
384 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
385 | 1: .same(proto: "replicaID"),
386 | 2: .same(proto: "version"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:453:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
451 | extension _ProtoVersionVector: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
452 | public static let protoMessageName: String = "VersionVector"
453 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
454 | 1: .same(proto: "state"),
455 | ]
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:482:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
480 | extension _ProtoVersionDot: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
481 | public static let protoMessageName: String = "VersionDot"
482 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
483 | 1: .same(proto: "replicaID"),
484 | 2: .same(proto: "version"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:551:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
549 | extension _ProtoVersionDottedElementEnvelope: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
550 | public static let protoMessageName: String = "VersionDottedElementEnvelope"
551 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
552 | 1: .same(proto: "dot"),
553 | 2: .same(proto: "manifest"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:560:49: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
558 | var _dot: _ProtoVersionDot? = nil
559 | var _manifest: _ProtoManifest? = nil
560 | var _payload: Data = SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
561 |
562 | static let defaultInstance = _StorageClass()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1596/1612] Compiling DistributedCluster Backoff.swift
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:461:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
459 | }
460 |
461 | extension Optional: Comparable where Wrapped == Cluster.Node {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
462 | public static func < (lhs: Cluster.Node?, rhs: Cluster.Node?) -> Bool {
463 | switch (lhs, rhs) {
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:359:49: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
357 | res += "\(self.path)"
358 |
359 | if self.incarnation != ActorIncarnation.wellKnown {
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
360 | res += "#\(self.incarnation.value)"
361 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:393:61: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
391 | /// Only to be used by the "/" root "actor"
392 | static func _localRoot(on node: Cluster.Node) -> ActorID {
393 | ActorPath._root.makeLocalID(on: node, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
394 | }
395 |
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:398:68: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
396 | /// Local dead letters address.
397 | static func _deadLetters(on node: Cluster.Node) -> ActorID {
398 | ActorPath._deadLetters.makeLocalID(on: node, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
399 | }
400 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorLogging.swift:97:8: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
95 |
96 | // TODO: implement logging infrastructure - pipe as messages to dedicated logging actor
97 | struct ActorOriginLogHandler: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
98 | public static func _createFormatter() -> DateFormatter {
99 | let formatter = DateFormatter()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:256:17: note: 'log(event:)' declared here
143 | ///
144 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
146 |
147 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
254 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
255 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
257 | self.log(
258 | level: event.level,
/host/spi-builder-workspace/Sources/DistributedCluster/ActorLogging.swift:363:75: warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
358 | _ message: @autoclosure () -> Logger.Message,
359 | metadata: @autoclosure () -> Logger.Metadata? = nil,
360 | file: String = #filePath, function: String = #function, line: UInt = #line
| `- note: did you mean for parameter 'file' to default to '#fileID'?
361 | ) {
362 | if let level = level {
363 | self.log(level: level, message(), metadata: metadata(), 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
364 | }
365 | }
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/ActorMessage+Protobuf.swift:57:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
55 |
56 | let data: Data = try container.decode(Data.self)
57 | let proto = try ProtobufRepresentation(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
58 |
59 | try self.init(fromProto: proto, context: context)
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessage+Protobuf.swift:102:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
100 |
101 | let data: Data = try container.decode(Data.self)
102 | let proto = try ProtobufRepresentation(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
103 |
104 | try self.init(fromProto: proto, context: context)
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessage+Protobuf.swift:126:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
124 | extension _InternalProtobufRepresentable {
125 | init(context: Serialization.Context, from buffer: Serialization.Buffer, using manifest: Serialization.Manifest) throws {
126 | let proto = try ProtobufRepresentation(serializedData: buffer.readData())
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
127 | try self.init(fromProto: proto, context: context)
128 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessage+Protobuf.swift:137:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
135 | extension _ProtobufRepresentable {
136 | public init(context: Serialization.Context, from buffer: Serialization.Buffer, using manifest: Serialization.Manifest) throws {
137 | let proto = try ProtobufRepresentation(serializedData: buffer.readData())
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
138 | try self.init(fromProto: proto, context: context)
139 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessages.swift:25:1: warning: extension declares a conformance of imported type 'Result' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
23 |
24 | // FIXME: we should not add Codable conformance onto a stdlib type, but rather fix this in stdlib
25 | extension Result: Codable where Success: Codable, Failure: Codable {
| |- warning: extension declares a conformance of imported type 'Result' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 | enum DiscriminatorKeys: String, Codable {
27 | case success
/host/spi-builder-workspace/Sources/DistributedCluster/ActorShell+Children.swift:317:65: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
315 | try self.validateUniqueName(name) // FIXME: reserve name
316 |
317 | let incarnation: ActorIncarnation = props._wellKnown ? .wellKnown : .random()
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
318 | let id: ActorID = try self.id.makeChildAddress(name: name, incarnation: incarnation)
319 |
/host/spi-builder-workspace/Sources/DistributedCluster/Adapters.swift:387:19: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
238 | // MARK: SubReceiveAdapter
239 |
240 | internal final class SubReceiveAdapter<Message: Codable, OwnerMessage: Codable>: _AbstractAdapter {
| `- note: 'Message' previously declared here
241 | internal let fromType: Any.Type
242 |
:
385 | }
386 |
387 | func _resolve<Message>(context: _ResolveContext<Message>) -> _ActorRef<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
388 | guard context.selectorSegments.first == nil,
389 | self.id.incarnation == context.id.incarnation
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:226:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
224 | extension _ProtoActorIdentity: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
225 | public static let protoMessageName: String = "ActorIdentity"
226 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
227 | 1: .same(proto: "manifest"),
228 | 2: .same(proto: "payload"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:233:49: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
231 | fileprivate class _StorageClass {
232 | var _manifest: _ProtoManifest? = nil
233 | var _payload: Data = SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
234 |
235 | static let defaultInstance = _StorageClass()
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:295:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
293 | extension _ProtoVersionReplicaID: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
294 | public static let protoMessageName: String = "VersionReplicaID"
295 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
296 | 1: .same(proto: "actorID"),
297 | 2: .same(proto: "node"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:384:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
382 | extension _ProtoReplicaVersion: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
383 | public static let protoMessageName: String = "ReplicaVersion"
384 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
385 | 1: .same(proto: "replicaID"),
386 | 2: .same(proto: "version"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:453:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
451 | extension _ProtoVersionVector: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
452 | public static let protoMessageName: String = "VersionVector"
453 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
454 | 1: .same(proto: "state"),
455 | ]
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:482:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
480 | extension _ProtoVersionDot: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
481 | public static let protoMessageName: String = "VersionDot"
482 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
483 | 1: .same(proto: "replicaID"),
484 | 2: .same(proto: "version"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:551:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
549 | extension _ProtoVersionDottedElementEnvelope: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
550 | public static let protoMessageName: String = "VersionDottedElementEnvelope"
551 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
552 | 1: .same(proto: "dot"),
553 | 2: .same(proto: "manifest"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:560:49: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
558 | var _dot: _ProtoVersionDot? = nil
559 | var _manifest: _ProtoManifest? = nil
560 | var _payload: Data = SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
561 |
562 | static let defaultInstance = _StorageClass()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1597/1612] Compiling DistributedCluster Behaviors.swift
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:461:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
459 | }
460 |
461 | extension Optional: Comparable where Wrapped == Cluster.Node {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
462 | public static func < (lhs: Cluster.Node?, rhs: Cluster.Node?) -> Bool {
463 | switch (lhs, rhs) {
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:359:49: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
357 | res += "\(self.path)"
358 |
359 | if self.incarnation != ActorIncarnation.wellKnown {
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
360 | res += "#\(self.incarnation.value)"
361 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:393:61: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
391 | /// Only to be used by the "/" root "actor"
392 | static func _localRoot(on node: Cluster.Node) -> ActorID {
393 | ActorPath._root.makeLocalID(on: node, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
394 | }
395 |
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:398:68: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
396 | /// Local dead letters address.
397 | static func _deadLetters(on node: Cluster.Node) -> ActorID {
398 | ActorPath._deadLetters.makeLocalID(on: node, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
399 | }
400 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorLogging.swift:97:8: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
95 |
96 | // TODO: implement logging infrastructure - pipe as messages to dedicated logging actor
97 | struct ActorOriginLogHandler: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
98 | public static func _createFormatter() -> DateFormatter {
99 | let formatter = DateFormatter()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:256:17: note: 'log(event:)' declared here
143 | ///
144 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
146 |
147 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
254 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
255 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
257 | self.log(
258 | level: event.level,
/host/spi-builder-workspace/Sources/DistributedCluster/ActorLogging.swift:363:75: warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
358 | _ message: @autoclosure () -> Logger.Message,
359 | metadata: @autoclosure () -> Logger.Metadata? = nil,
360 | file: String = #filePath, function: String = #function, line: UInt = #line
| `- note: did you mean for parameter 'file' to default to '#fileID'?
361 | ) {
362 | if let level = level {
363 | self.log(level: level, message(), metadata: metadata(), 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
364 | }
365 | }
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/ActorMessage+Protobuf.swift:57:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
55 |
56 | let data: Data = try container.decode(Data.self)
57 | let proto = try ProtobufRepresentation(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
58 |
59 | try self.init(fromProto: proto, context: context)
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessage+Protobuf.swift:102:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
100 |
101 | let data: Data = try container.decode(Data.self)
102 | let proto = try ProtobufRepresentation(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
103 |
104 | try self.init(fromProto: proto, context: context)
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessage+Protobuf.swift:126:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
124 | extension _InternalProtobufRepresentable {
125 | init(context: Serialization.Context, from buffer: Serialization.Buffer, using manifest: Serialization.Manifest) throws {
126 | let proto = try ProtobufRepresentation(serializedData: buffer.readData())
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
127 | try self.init(fromProto: proto, context: context)
128 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessage+Protobuf.swift:137:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
135 | extension _ProtobufRepresentable {
136 | public init(context: Serialization.Context, from buffer: Serialization.Buffer, using manifest: Serialization.Manifest) throws {
137 | let proto = try ProtobufRepresentation(serializedData: buffer.readData())
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
138 | try self.init(fromProto: proto, context: context)
139 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessages.swift:25:1: warning: extension declares a conformance of imported type 'Result' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
23 |
24 | // FIXME: we should not add Codable conformance onto a stdlib type, but rather fix this in stdlib
25 | extension Result: Codable where Success: Codable, Failure: Codable {
| |- warning: extension declares a conformance of imported type 'Result' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 | enum DiscriminatorKeys: String, Codable {
27 | case success
/host/spi-builder-workspace/Sources/DistributedCluster/ActorShell+Children.swift:317:65: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
315 | try self.validateUniqueName(name) // FIXME: reserve name
316 |
317 | let incarnation: ActorIncarnation = props._wellKnown ? .wellKnown : .random()
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
318 | let id: ActorID = try self.id.makeChildAddress(name: name, incarnation: incarnation)
319 |
/host/spi-builder-workspace/Sources/DistributedCluster/Adapters.swift:387:19: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
238 | // MARK: SubReceiveAdapter
239 |
240 | internal final class SubReceiveAdapter<Message: Codable, OwnerMessage: Codable>: _AbstractAdapter {
| `- note: 'Message' previously declared here
241 | internal let fromType: Any.Type
242 |
:
385 | }
386 |
387 | func _resolve<Message>(context: _ResolveContext<Message>) -> _ActorRef<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
388 | guard context.selectorSegments.first == nil,
389 | self.id.incarnation == context.id.incarnation
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:226:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
224 | extension _ProtoActorIdentity: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
225 | public static let protoMessageName: String = "ActorIdentity"
226 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
227 | 1: .same(proto: "manifest"),
228 | 2: .same(proto: "payload"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:233:49: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
231 | fileprivate class _StorageClass {
232 | var _manifest: _ProtoManifest? = nil
233 | var _payload: Data = SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
234 |
235 | static let defaultInstance = _StorageClass()
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:295:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
293 | extension _ProtoVersionReplicaID: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
294 | public static let protoMessageName: String = "VersionReplicaID"
295 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
296 | 1: .same(proto: "actorID"),
297 | 2: .same(proto: "node"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:384:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
382 | extension _ProtoReplicaVersion: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
383 | public static let protoMessageName: String = "ReplicaVersion"
384 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
385 | 1: .same(proto: "replicaID"),
386 | 2: .same(proto: "version"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:453:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
451 | extension _ProtoVersionVector: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
452 | public static let protoMessageName: String = "VersionVector"
453 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
454 | 1: .same(proto: "state"),
455 | ]
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:482:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
480 | extension _ProtoVersionDot: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
481 | public static let protoMessageName: String = "VersionDot"
482 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
483 | 1: .same(proto: "replicaID"),
484 | 2: .same(proto: "version"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:551:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
549 | extension _ProtoVersionDottedElementEnvelope: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
550 | public static let protoMessageName: String = "VersionDottedElementEnvelope"
551 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
552 | 1: .same(proto: "dot"),
553 | 2: .same(proto: "manifest"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:560:49: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
558 | var _dot: _ProtoVersionDot? = nil
559 | var _manifest: _ProtoManifest? = nil
560 | var _payload: Data = SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
561 |
562 | static let defaultInstance = _StorageClass()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1598/1612] Compiling DistributedCluster VersionVector+Serialization.swift
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:461:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
459 | }
460 |
461 | extension Optional: Comparable where Wrapped == Cluster.Node {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
462 | public static func < (lhs: Cluster.Node?, rhs: Cluster.Node?) -> Bool {
463 | switch (lhs, rhs) {
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:359:49: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
357 | res += "\(self.path)"
358 |
359 | if self.incarnation != ActorIncarnation.wellKnown {
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
360 | res += "#\(self.incarnation.value)"
361 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:393:61: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
391 | /// Only to be used by the "/" root "actor"
392 | static func _localRoot(on node: Cluster.Node) -> ActorID {
393 | ActorPath._root.makeLocalID(on: node, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
394 | }
395 |
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:398:68: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
396 | /// Local dead letters address.
397 | static func _deadLetters(on node: Cluster.Node) -> ActorID {
398 | ActorPath._deadLetters.makeLocalID(on: node, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
399 | }
400 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorLogging.swift:97:8: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
95 |
96 | // TODO: implement logging infrastructure - pipe as messages to dedicated logging actor
97 | struct ActorOriginLogHandler: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
98 | public static func _createFormatter() -> DateFormatter {
99 | let formatter = DateFormatter()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:256:17: note: 'log(event:)' declared here
143 | ///
144 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
146 |
147 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
254 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
255 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
257 | self.log(
258 | level: event.level,
/host/spi-builder-workspace/Sources/DistributedCluster/ActorLogging.swift:363:75: warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
358 | _ message: @autoclosure () -> Logger.Message,
359 | metadata: @autoclosure () -> Logger.Metadata? = nil,
360 | file: String = #filePath, function: String = #function, line: UInt = #line
| `- note: did you mean for parameter 'file' to default to '#fileID'?
361 | ) {
362 | if let level = level {
363 | self.log(level: level, message(), metadata: metadata(), 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
364 | }
365 | }
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/ActorMessage+Protobuf.swift:57:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
55 |
56 | let data: Data = try container.decode(Data.self)
57 | let proto = try ProtobufRepresentation(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
58 |
59 | try self.init(fromProto: proto, context: context)
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessage+Protobuf.swift:102:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
100 |
101 | let data: Data = try container.decode(Data.self)
102 | let proto = try ProtobufRepresentation(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
103 |
104 | try self.init(fromProto: proto, context: context)
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessage+Protobuf.swift:126:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
124 | extension _InternalProtobufRepresentable {
125 | init(context: Serialization.Context, from buffer: Serialization.Buffer, using manifest: Serialization.Manifest) throws {
126 | let proto = try ProtobufRepresentation(serializedData: buffer.readData())
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
127 | try self.init(fromProto: proto, context: context)
128 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessage+Protobuf.swift:137:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
135 | extension _ProtobufRepresentable {
136 | public init(context: Serialization.Context, from buffer: Serialization.Buffer, using manifest: Serialization.Manifest) throws {
137 | let proto = try ProtobufRepresentation(serializedData: buffer.readData())
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
138 | try self.init(fromProto: proto, context: context)
139 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessages.swift:25:1: warning: extension declares a conformance of imported type 'Result' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
23 |
24 | // FIXME: we should not add Codable conformance onto a stdlib type, but rather fix this in stdlib
25 | extension Result: Codable where Success: Codable, Failure: Codable {
| |- warning: extension declares a conformance of imported type 'Result' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 | enum DiscriminatorKeys: String, Codable {
27 | case success
/host/spi-builder-workspace/Sources/DistributedCluster/ActorShell+Children.swift:317:65: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
315 | try self.validateUniqueName(name) // FIXME: reserve name
316 |
317 | let incarnation: ActorIncarnation = props._wellKnown ? .wellKnown : .random()
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
318 | let id: ActorID = try self.id.makeChildAddress(name: name, incarnation: incarnation)
319 |
/host/spi-builder-workspace/Sources/DistributedCluster/Adapters.swift:387:19: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
238 | // MARK: SubReceiveAdapter
239 |
240 | internal final class SubReceiveAdapter<Message: Codable, OwnerMessage: Codable>: _AbstractAdapter {
| `- note: 'Message' previously declared here
241 | internal let fromType: Any.Type
242 |
:
385 | }
386 |
387 | func _resolve<Message>(context: _ResolveContext<Message>) -> _ActorRef<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
388 | guard context.selectorSegments.first == nil,
389 | self.id.incarnation == context.id.incarnation
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:226:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
224 | extension _ProtoActorIdentity: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
225 | public static let protoMessageName: String = "ActorIdentity"
226 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
227 | 1: .same(proto: "manifest"),
228 | 2: .same(proto: "payload"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:233:49: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
231 | fileprivate class _StorageClass {
232 | var _manifest: _ProtoManifest? = nil
233 | var _payload: Data = SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
234 |
235 | static let defaultInstance = _StorageClass()
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:295:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
293 | extension _ProtoVersionReplicaID: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
294 | public static let protoMessageName: String = "VersionReplicaID"
295 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
296 | 1: .same(proto: "actorID"),
297 | 2: .same(proto: "node"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:384:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
382 | extension _ProtoReplicaVersion: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
383 | public static let protoMessageName: String = "ReplicaVersion"
384 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
385 | 1: .same(proto: "replicaID"),
386 | 2: .same(proto: "version"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:453:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
451 | extension _ProtoVersionVector: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
452 | public static let protoMessageName: String = "VersionVector"
453 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
454 | 1: .same(proto: "state"),
455 | ]
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:482:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
480 | extension _ProtoVersionDot: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
481 | public static let protoMessageName: String = "VersionDot"
482 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
483 | 1: .same(proto: "replicaID"),
484 | 2: .same(proto: "version"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:551:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
549 | extension _ProtoVersionDottedElementEnvelope: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
550 | public static let protoMessageName: String = "VersionDottedElementEnvelope"
551 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
552 | 1: .same(proto: "dot"),
553 | 2: .same(proto: "manifest"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:560:49: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
558 | var _dot: _ProtoVersionDot? = nil
559 | var _manifest: _ProtoManifest? = nil
560 | var _payload: Data = SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
561 |
562 | static let defaultInstance = _StorageClass()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1599/1612] Compiling DistributedCluster VersionVector.pb.swift
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:461:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
459 | }
460 |
461 | extension Optional: Comparable where Wrapped == Cluster.Node {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
462 | public static func < (lhs: Cluster.Node?, rhs: Cluster.Node?) -> Bool {
463 | switch (lhs, rhs) {
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:359:49: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
357 | res += "\(self.path)"
358 |
359 | if self.incarnation != ActorIncarnation.wellKnown {
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
360 | res += "#\(self.incarnation.value)"
361 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:393:61: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
391 | /// Only to be used by the "/" root "actor"
392 | static func _localRoot(on node: Cluster.Node) -> ActorID {
393 | ActorPath._root.makeLocalID(on: node, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
394 | }
395 |
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:398:68: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
396 | /// Local dead letters address.
397 | static func _deadLetters(on node: Cluster.Node) -> ActorID {
398 | ActorPath._deadLetters.makeLocalID(on: node, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
399 | }
400 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorLogging.swift:97:8: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
95 |
96 | // TODO: implement logging infrastructure - pipe as messages to dedicated logging actor
97 | struct ActorOriginLogHandler: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
98 | public static func _createFormatter() -> DateFormatter {
99 | let formatter = DateFormatter()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:256:17: note: 'log(event:)' declared here
143 | ///
144 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
146 |
147 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
254 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
255 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
257 | self.log(
258 | level: event.level,
/host/spi-builder-workspace/Sources/DistributedCluster/ActorLogging.swift:363:75: warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
358 | _ message: @autoclosure () -> Logger.Message,
359 | metadata: @autoclosure () -> Logger.Metadata? = nil,
360 | file: String = #filePath, function: String = #function, line: UInt = #line
| `- note: did you mean for parameter 'file' to default to '#fileID'?
361 | ) {
362 | if let level = level {
363 | self.log(level: level, message(), metadata: metadata(), 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
364 | }
365 | }
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/ActorMessage+Protobuf.swift:57:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
55 |
56 | let data: Data = try container.decode(Data.self)
57 | let proto = try ProtobufRepresentation(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
58 |
59 | try self.init(fromProto: proto, context: context)
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessage+Protobuf.swift:102:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
100 |
101 | let data: Data = try container.decode(Data.self)
102 | let proto = try ProtobufRepresentation(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
103 |
104 | try self.init(fromProto: proto, context: context)
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessage+Protobuf.swift:126:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
124 | extension _InternalProtobufRepresentable {
125 | init(context: Serialization.Context, from buffer: Serialization.Buffer, using manifest: Serialization.Manifest) throws {
126 | let proto = try ProtobufRepresentation(serializedData: buffer.readData())
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
127 | try self.init(fromProto: proto, context: context)
128 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessage+Protobuf.swift:137:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
135 | extension _ProtobufRepresentable {
136 | public init(context: Serialization.Context, from buffer: Serialization.Buffer, using manifest: Serialization.Manifest) throws {
137 | let proto = try ProtobufRepresentation(serializedData: buffer.readData())
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
138 | try self.init(fromProto: proto, context: context)
139 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessages.swift:25:1: warning: extension declares a conformance of imported type 'Result' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
23 |
24 | // FIXME: we should not add Codable conformance onto a stdlib type, but rather fix this in stdlib
25 | extension Result: Codable where Success: Codable, Failure: Codable {
| |- warning: extension declares a conformance of imported type 'Result' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 | enum DiscriminatorKeys: String, Codable {
27 | case success
/host/spi-builder-workspace/Sources/DistributedCluster/ActorShell+Children.swift:317:65: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
315 | try self.validateUniqueName(name) // FIXME: reserve name
316 |
317 | let incarnation: ActorIncarnation = props._wellKnown ? .wellKnown : .random()
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
318 | let id: ActorID = try self.id.makeChildAddress(name: name, incarnation: incarnation)
319 |
/host/spi-builder-workspace/Sources/DistributedCluster/Adapters.swift:387:19: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
238 | // MARK: SubReceiveAdapter
239 |
240 | internal final class SubReceiveAdapter<Message: Codable, OwnerMessage: Codable>: _AbstractAdapter {
| `- note: 'Message' previously declared here
241 | internal let fromType: Any.Type
242 |
:
385 | }
386 |
387 | func _resolve<Message>(context: _ResolveContext<Message>) -> _ActorRef<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
388 | guard context.selectorSegments.first == nil,
389 | self.id.incarnation == context.id.incarnation
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:226:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
224 | extension _ProtoActorIdentity: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
225 | public static let protoMessageName: String = "ActorIdentity"
226 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
227 | 1: .same(proto: "manifest"),
228 | 2: .same(proto: "payload"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:233:49: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
231 | fileprivate class _StorageClass {
232 | var _manifest: _ProtoManifest? = nil
233 | var _payload: Data = SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
234 |
235 | static let defaultInstance = _StorageClass()
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:295:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
293 | extension _ProtoVersionReplicaID: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
294 | public static let protoMessageName: String = "VersionReplicaID"
295 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
296 | 1: .same(proto: "actorID"),
297 | 2: .same(proto: "node"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:384:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
382 | extension _ProtoReplicaVersion: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
383 | public static let protoMessageName: String = "ReplicaVersion"
384 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
385 | 1: .same(proto: "replicaID"),
386 | 2: .same(proto: "version"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:453:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
451 | extension _ProtoVersionVector: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
452 | public static let protoMessageName: String = "VersionVector"
453 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
454 | 1: .same(proto: "state"),
455 | ]
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:482:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
480 | extension _ProtoVersionDot: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
481 | public static let protoMessageName: String = "VersionDot"
482 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
483 | 1: .same(proto: "replicaID"),
484 | 2: .same(proto: "version"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:551:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
549 | extension _ProtoVersionDottedElementEnvelope: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
550 | public static let protoMessageName: String = "VersionDottedElementEnvelope"
551 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
552 | 1: .same(proto: "dot"),
553 | 2: .same(proto: "manifest"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:560:49: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
558 | var _dot: _ProtoVersionDot? = nil
559 | var _manifest: _ProtoManifest? = nil
560 | var _payload: Data = SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
561 |
562 | static let defaultInstance = _StorageClass()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1600/1612] Compiling DistributedCluster VersionVector.swift
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:461:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
459 | }
460 |
461 | extension Optional: Comparable where Wrapped == Cluster.Node {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
462 | public static func < (lhs: Cluster.Node?, rhs: Cluster.Node?) -> Bool {
463 | switch (lhs, rhs) {
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:359:49: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
357 | res += "\(self.path)"
358 |
359 | if self.incarnation != ActorIncarnation.wellKnown {
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
360 | res += "#\(self.incarnation.value)"
361 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:393:61: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
391 | /// Only to be used by the "/" root "actor"
392 | static func _localRoot(on node: Cluster.Node) -> ActorID {
393 | ActorPath._root.makeLocalID(on: node, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
394 | }
395 |
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:398:68: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
396 | /// Local dead letters address.
397 | static func _deadLetters(on node: Cluster.Node) -> ActorID {
398 | ActorPath._deadLetters.makeLocalID(on: node, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
399 | }
400 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorLogging.swift:97:8: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
95 |
96 | // TODO: implement logging infrastructure - pipe as messages to dedicated logging actor
97 | struct ActorOriginLogHandler: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
98 | public static func _createFormatter() -> DateFormatter {
99 | let formatter = DateFormatter()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:256:17: note: 'log(event:)' declared here
143 | ///
144 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
146 |
147 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
254 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
255 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
257 | self.log(
258 | level: event.level,
/host/spi-builder-workspace/Sources/DistributedCluster/ActorLogging.swift:363:75: warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
358 | _ message: @autoclosure () -> Logger.Message,
359 | metadata: @autoclosure () -> Logger.Metadata? = nil,
360 | file: String = #filePath, function: String = #function, line: UInt = #line
| `- note: did you mean for parameter 'file' to default to '#fileID'?
361 | ) {
362 | if let level = level {
363 | self.log(level: level, message(), metadata: metadata(), 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
364 | }
365 | }
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/ActorMessage+Protobuf.swift:57:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
55 |
56 | let data: Data = try container.decode(Data.self)
57 | let proto = try ProtobufRepresentation(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
58 |
59 | try self.init(fromProto: proto, context: context)
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessage+Protobuf.swift:102:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
100 |
101 | let data: Data = try container.decode(Data.self)
102 | let proto = try ProtobufRepresentation(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
103 |
104 | try self.init(fromProto: proto, context: context)
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessage+Protobuf.swift:126:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
124 | extension _InternalProtobufRepresentable {
125 | init(context: Serialization.Context, from buffer: Serialization.Buffer, using manifest: Serialization.Manifest) throws {
126 | let proto = try ProtobufRepresentation(serializedData: buffer.readData())
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
127 | try self.init(fromProto: proto, context: context)
128 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessage+Protobuf.swift:137:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
135 | extension _ProtobufRepresentable {
136 | public init(context: Serialization.Context, from buffer: Serialization.Buffer, using manifest: Serialization.Manifest) throws {
137 | let proto = try ProtobufRepresentation(serializedData: buffer.readData())
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
138 | try self.init(fromProto: proto, context: context)
139 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessages.swift:25:1: warning: extension declares a conformance of imported type 'Result' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
23 |
24 | // FIXME: we should not add Codable conformance onto a stdlib type, but rather fix this in stdlib
25 | extension Result: Codable where Success: Codable, Failure: Codable {
| |- warning: extension declares a conformance of imported type 'Result' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 | enum DiscriminatorKeys: String, Codable {
27 | case success
/host/spi-builder-workspace/Sources/DistributedCluster/ActorShell+Children.swift:317:65: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
315 | try self.validateUniqueName(name) // FIXME: reserve name
316 |
317 | let incarnation: ActorIncarnation = props._wellKnown ? .wellKnown : .random()
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
318 | let id: ActorID = try self.id.makeChildAddress(name: name, incarnation: incarnation)
319 |
/host/spi-builder-workspace/Sources/DistributedCluster/Adapters.swift:387:19: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
238 | // MARK: SubReceiveAdapter
239 |
240 | internal final class SubReceiveAdapter<Message: Codable, OwnerMessage: Codable>: _AbstractAdapter {
| `- note: 'Message' previously declared here
241 | internal let fromType: Any.Type
242 |
:
385 | }
386 |
387 | func _resolve<Message>(context: _ResolveContext<Message>) -> _ActorRef<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
388 | guard context.selectorSegments.first == nil,
389 | self.id.incarnation == context.id.incarnation
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:226:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
224 | extension _ProtoActorIdentity: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
225 | public static let protoMessageName: String = "ActorIdentity"
226 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
227 | 1: .same(proto: "manifest"),
228 | 2: .same(proto: "payload"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:233:49: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
231 | fileprivate class _StorageClass {
232 | var _manifest: _ProtoManifest? = nil
233 | var _payload: Data = SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
234 |
235 | static let defaultInstance = _StorageClass()
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:295:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
293 | extension _ProtoVersionReplicaID: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
294 | public static let protoMessageName: String = "VersionReplicaID"
295 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
296 | 1: .same(proto: "actorID"),
297 | 2: .same(proto: "node"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:384:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
382 | extension _ProtoReplicaVersion: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
383 | public static let protoMessageName: String = "ReplicaVersion"
384 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
385 | 1: .same(proto: "replicaID"),
386 | 2: .same(proto: "version"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:453:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
451 | extension _ProtoVersionVector: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
452 | public static let protoMessageName: String = "VersionVector"
453 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
454 | 1: .same(proto: "state"),
455 | ]
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:482:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
480 | extension _ProtoVersionDot: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
481 | public static let protoMessageName: String = "VersionDot"
482 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
483 | 1: .same(proto: "replicaID"),
484 | 2: .same(proto: "version"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:551:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
549 | extension _ProtoVersionDottedElementEnvelope: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
550 | public static let protoMessageName: String = "VersionDottedElementEnvelope"
551 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
552 | 1: .same(proto: "dot"),
553 | 2: .same(proto: "manifest"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:560:49: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
558 | var _dot: _ProtoVersionDot? = nil
559 | var _manifest: _ProtoManifest? = nil
560 | var _payload: Data = SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
561 |
562 | static let defaultInstance = _StorageClass()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1601/1612] Compiling DistributedCluster Association.swift
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:461:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
459 | }
460 |
461 | extension Optional: Comparable where Wrapped == Cluster.Node {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
462 | public static func < (lhs: Cluster.Node?, rhs: Cluster.Node?) -> Bool {
463 | switch (lhs, rhs) {
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:359:49: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
357 | res += "\(self.path)"
358 |
359 | if self.incarnation != ActorIncarnation.wellKnown {
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
360 | res += "#\(self.incarnation.value)"
361 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:393:61: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
391 | /// Only to be used by the "/" root "actor"
392 | static func _localRoot(on node: Cluster.Node) -> ActorID {
393 | ActorPath._root.makeLocalID(on: node, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
394 | }
395 |
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:398:68: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
396 | /// Local dead letters address.
397 | static func _deadLetters(on node: Cluster.Node) -> ActorID {
398 | ActorPath._deadLetters.makeLocalID(on: node, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
399 | }
400 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorLogging.swift:97:8: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
95 |
96 | // TODO: implement logging infrastructure - pipe as messages to dedicated logging actor
97 | struct ActorOriginLogHandler: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
98 | public static func _createFormatter() -> DateFormatter {
99 | let formatter = DateFormatter()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:256:17: note: 'log(event:)' declared here
143 | ///
144 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
146 |
147 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
254 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
255 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
257 | self.log(
258 | level: event.level,
/host/spi-builder-workspace/Sources/DistributedCluster/ActorLogging.swift:363:75: warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
358 | _ message: @autoclosure () -> Logger.Message,
359 | metadata: @autoclosure () -> Logger.Metadata? = nil,
360 | file: String = #filePath, function: String = #function, line: UInt = #line
| `- note: did you mean for parameter 'file' to default to '#fileID'?
361 | ) {
362 | if let level = level {
363 | self.log(level: level, message(), metadata: metadata(), 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
364 | }
365 | }
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/ActorMessage+Protobuf.swift:57:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
55 |
56 | let data: Data = try container.decode(Data.self)
57 | let proto = try ProtobufRepresentation(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
58 |
59 | try self.init(fromProto: proto, context: context)
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessage+Protobuf.swift:102:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
100 |
101 | let data: Data = try container.decode(Data.self)
102 | let proto = try ProtobufRepresentation(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
103 |
104 | try self.init(fromProto: proto, context: context)
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessage+Protobuf.swift:126:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
124 | extension _InternalProtobufRepresentable {
125 | init(context: Serialization.Context, from buffer: Serialization.Buffer, using manifest: Serialization.Manifest) throws {
126 | let proto = try ProtobufRepresentation(serializedData: buffer.readData())
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
127 | try self.init(fromProto: proto, context: context)
128 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessage+Protobuf.swift:137:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
135 | extension _ProtobufRepresentable {
136 | public init(context: Serialization.Context, from buffer: Serialization.Buffer, using manifest: Serialization.Manifest) throws {
137 | let proto = try ProtobufRepresentation(serializedData: buffer.readData())
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
138 | try self.init(fromProto: proto, context: context)
139 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessages.swift:25:1: warning: extension declares a conformance of imported type 'Result' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
23 |
24 | // FIXME: we should not add Codable conformance onto a stdlib type, but rather fix this in stdlib
25 | extension Result: Codable where Success: Codable, Failure: Codable {
| |- warning: extension declares a conformance of imported type 'Result' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 | enum DiscriminatorKeys: String, Codable {
27 | case success
/host/spi-builder-workspace/Sources/DistributedCluster/ActorShell+Children.swift:317:65: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
315 | try self.validateUniqueName(name) // FIXME: reserve name
316 |
317 | let incarnation: ActorIncarnation = props._wellKnown ? .wellKnown : .random()
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
318 | let id: ActorID = try self.id.makeChildAddress(name: name, incarnation: incarnation)
319 |
/host/spi-builder-workspace/Sources/DistributedCluster/Adapters.swift:387:19: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
238 | // MARK: SubReceiveAdapter
239 |
240 | internal final class SubReceiveAdapter<Message: Codable, OwnerMessage: Codable>: _AbstractAdapter {
| `- note: 'Message' previously declared here
241 | internal let fromType: Any.Type
242 |
:
385 | }
386 |
387 | func _resolve<Message>(context: _ResolveContext<Message>) -> _ActorRef<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
388 | guard context.selectorSegments.first == nil,
389 | self.id.incarnation == context.id.incarnation
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:226:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
224 | extension _ProtoActorIdentity: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
225 | public static let protoMessageName: String = "ActorIdentity"
226 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
227 | 1: .same(proto: "manifest"),
228 | 2: .same(proto: "payload"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:233:49: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
231 | fileprivate class _StorageClass {
232 | var _manifest: _ProtoManifest? = nil
233 | var _payload: Data = SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
234 |
235 | static let defaultInstance = _StorageClass()
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:295:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
293 | extension _ProtoVersionReplicaID: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
294 | public static let protoMessageName: String = "VersionReplicaID"
295 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
296 | 1: .same(proto: "actorID"),
297 | 2: .same(proto: "node"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:384:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
382 | extension _ProtoReplicaVersion: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
383 | public static let protoMessageName: String = "ReplicaVersion"
384 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
385 | 1: .same(proto: "replicaID"),
386 | 2: .same(proto: "version"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:453:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
451 | extension _ProtoVersionVector: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
452 | public static let protoMessageName: String = "VersionVector"
453 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
454 | 1: .same(proto: "state"),
455 | ]
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:482:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
480 | extension _ProtoVersionDot: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
481 | public static let protoMessageName: String = "VersionDot"
482 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
483 | 1: .same(proto: "replicaID"),
484 | 2: .same(proto: "version"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:551:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
549 | extension _ProtoVersionDottedElementEnvelope: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
550 | public static let protoMessageName: String = "VersionDottedElementEnvelope"
551 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
552 | 1: .same(proto: "dot"),
553 | 2: .same(proto: "manifest"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:560:49: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
558 | var _dot: _ProtoVersionDot? = nil
559 | var _manifest: _ProtoManifest? = nil
560 | var _payload: Data = SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
561 |
562 | static let defaultInstance = _StorageClass()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1602/1612] Compiling DistributedCluster FaultyNetworkSimulatingHandler.swift
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:461:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
459 | }
460 |
461 | extension Optional: Comparable where Wrapped == Cluster.Node {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
462 | public static func < (lhs: Cluster.Node?, rhs: Cluster.Node?) -> Bool {
463 | switch (lhs, rhs) {
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:359:49: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
357 | res += "\(self.path)"
358 |
359 | if self.incarnation != ActorIncarnation.wellKnown {
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
360 | res += "#\(self.incarnation.value)"
361 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:393:61: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
391 | /// Only to be used by the "/" root "actor"
392 | static func _localRoot(on node: Cluster.Node) -> ActorID {
393 | ActorPath._root.makeLocalID(on: node, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
394 | }
395 |
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:398:68: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
396 | /// Local dead letters address.
397 | static func _deadLetters(on node: Cluster.Node) -> ActorID {
398 | ActorPath._deadLetters.makeLocalID(on: node, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
399 | }
400 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorLogging.swift:97:8: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
95 |
96 | // TODO: implement logging infrastructure - pipe as messages to dedicated logging actor
97 | struct ActorOriginLogHandler: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
98 | public static func _createFormatter() -> DateFormatter {
99 | let formatter = DateFormatter()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:256:17: note: 'log(event:)' declared here
143 | ///
144 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
146 |
147 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
254 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
255 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
257 | self.log(
258 | level: event.level,
/host/spi-builder-workspace/Sources/DistributedCluster/ActorLogging.swift:363:75: warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
358 | _ message: @autoclosure () -> Logger.Message,
359 | metadata: @autoclosure () -> Logger.Metadata? = nil,
360 | file: String = #filePath, function: String = #function, line: UInt = #line
| `- note: did you mean for parameter 'file' to default to '#fileID'?
361 | ) {
362 | if let level = level {
363 | self.log(level: level, message(), metadata: metadata(), 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
364 | }
365 | }
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/ActorMessage+Protobuf.swift:57:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
55 |
56 | let data: Data = try container.decode(Data.self)
57 | let proto = try ProtobufRepresentation(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
58 |
59 | try self.init(fromProto: proto, context: context)
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessage+Protobuf.swift:102:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
100 |
101 | let data: Data = try container.decode(Data.self)
102 | let proto = try ProtobufRepresentation(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
103 |
104 | try self.init(fromProto: proto, context: context)
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessage+Protobuf.swift:126:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
124 | extension _InternalProtobufRepresentable {
125 | init(context: Serialization.Context, from buffer: Serialization.Buffer, using manifest: Serialization.Manifest) throws {
126 | let proto = try ProtobufRepresentation(serializedData: buffer.readData())
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
127 | try self.init(fromProto: proto, context: context)
128 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessage+Protobuf.swift:137:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
135 | extension _ProtobufRepresentable {
136 | public init(context: Serialization.Context, from buffer: Serialization.Buffer, using manifest: Serialization.Manifest) throws {
137 | let proto = try ProtobufRepresentation(serializedData: buffer.readData())
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
138 | try self.init(fromProto: proto, context: context)
139 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessages.swift:25:1: warning: extension declares a conformance of imported type 'Result' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
23 |
24 | // FIXME: we should not add Codable conformance onto a stdlib type, but rather fix this in stdlib
25 | extension Result: Codable where Success: Codable, Failure: Codable {
| |- warning: extension declares a conformance of imported type 'Result' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 | enum DiscriminatorKeys: String, Codable {
27 | case success
/host/spi-builder-workspace/Sources/DistributedCluster/ActorShell+Children.swift:317:65: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
315 | try self.validateUniqueName(name) // FIXME: reserve name
316 |
317 | let incarnation: ActorIncarnation = props._wellKnown ? .wellKnown : .random()
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
318 | let id: ActorID = try self.id.makeChildAddress(name: name, incarnation: incarnation)
319 |
/host/spi-builder-workspace/Sources/DistributedCluster/Adapters.swift:387:19: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
238 | // MARK: SubReceiveAdapter
239 |
240 | internal final class SubReceiveAdapter<Message: Codable, OwnerMessage: Codable>: _AbstractAdapter {
| `- note: 'Message' previously declared here
241 | internal let fromType: Any.Type
242 |
:
385 | }
386 |
387 | func _resolve<Message>(context: _ResolveContext<Message>) -> _ActorRef<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
388 | guard context.selectorSegments.first == nil,
389 | self.id.incarnation == context.id.incarnation
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:226:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
224 | extension _ProtoActorIdentity: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
225 | public static let protoMessageName: String = "ActorIdentity"
226 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
227 | 1: .same(proto: "manifest"),
228 | 2: .same(proto: "payload"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:233:49: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
231 | fileprivate class _StorageClass {
232 | var _manifest: _ProtoManifest? = nil
233 | var _payload: Data = SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
234 |
235 | static let defaultInstance = _StorageClass()
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:295:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
293 | extension _ProtoVersionReplicaID: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
294 | public static let protoMessageName: String = "VersionReplicaID"
295 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
296 | 1: .same(proto: "actorID"),
297 | 2: .same(proto: "node"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:384:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
382 | extension _ProtoReplicaVersion: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
383 | public static let protoMessageName: String = "ReplicaVersion"
384 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
385 | 1: .same(proto: "replicaID"),
386 | 2: .same(proto: "version"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:453:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
451 | extension _ProtoVersionVector: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
452 | public static let protoMessageName: String = "VersionVector"
453 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
454 | 1: .same(proto: "state"),
455 | ]
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:482:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
480 | extension _ProtoVersionDot: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
481 | public static let protoMessageName: String = "VersionDot"
482 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
483 | 1: .same(proto: "replicaID"),
484 | 2: .same(proto: "version"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:551:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
549 | extension _ProtoVersionDottedElementEnvelope: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
550 | public static let protoMessageName: String = "VersionDottedElementEnvelope"
551 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
552 | 1: .same(proto: "dot"),
553 | 2: .same(proto: "manifest"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:560:49: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
558 | var _dot: _ProtoVersionDot? = nil
559 | var _manifest: _ProtoManifest? = nil
560 | var _payload: Data = SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
561 |
562 | static let defaultInstance = _StorageClass()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1603/1612] Compiling DistributedCluster Cluster+Event.swift
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:461:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
459 | }
460 |
461 | extension Optional: Comparable where Wrapped == Cluster.Node {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
462 | public static func < (lhs: Cluster.Node?, rhs: Cluster.Node?) -> Bool {
463 | switch (lhs, rhs) {
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:359:49: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
357 | res += "\(self.path)"
358 |
359 | if self.incarnation != ActorIncarnation.wellKnown {
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
360 | res += "#\(self.incarnation.value)"
361 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:393:61: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
391 | /// Only to be used by the "/" root "actor"
392 | static func _localRoot(on node: Cluster.Node) -> ActorID {
393 | ActorPath._root.makeLocalID(on: node, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
394 | }
395 |
/host/spi-builder-workspace/Sources/DistributedCluster/ActorID.swift:398:68: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
396 | /// Local dead letters address.
397 | static func _deadLetters(on node: Cluster.Node) -> ActorID {
398 | ActorPath._deadLetters.makeLocalID(on: node, incarnation: .wellKnown)
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
399 | }
400 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorLogging.swift:97:8: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
95 |
96 | // TODO: implement logging infrastructure - pipe as messages to dedicated logging actor
97 | struct ActorOriginLogHandler: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
98 | public static func _createFormatter() -> DateFormatter {
99 | let formatter = DateFormatter()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:256:17: note: 'log(event:)' declared here
143 | ///
144 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
146 |
147 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
254 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
255 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
257 | self.log(
258 | level: event.level,
/host/spi-builder-workspace/Sources/DistributedCluster/ActorLogging.swift:363:75: warning: parameter 'file' with default argument '#filePath' passed to parameter 'file', whose default argument is '#fileID'
358 | _ message: @autoclosure () -> Logger.Message,
359 | metadata: @autoclosure () -> Logger.Metadata? = nil,
360 | file: String = #filePath, function: String = #function, line: UInt = #line
| `- note: did you mean for parameter 'file' to default to '#fileID'?
361 | ) {
362 | if let level = level {
363 | self.log(level: level, message(), metadata: metadata(), 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
364 | }
365 | }
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/ActorMessage+Protobuf.swift:57:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
55 |
56 | let data: Data = try container.decode(Data.self)
57 | let proto = try ProtobufRepresentation(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
58 |
59 | try self.init(fromProto: proto, context: context)
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessage+Protobuf.swift:102:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
100 |
101 | let data: Data = try container.decode(Data.self)
102 | let proto = try ProtobufRepresentation(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
103 |
104 | try self.init(fromProto: proto, context: context)
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessage+Protobuf.swift:126:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
124 | extension _InternalProtobufRepresentable {
125 | init(context: Serialization.Context, from buffer: Serialization.Buffer, using manifest: Serialization.Manifest) throws {
126 | let proto = try ProtobufRepresentation(serializedData: buffer.readData())
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
127 | try self.init(fromProto: proto, context: context)
128 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessage+Protobuf.swift:137:25: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
135 | extension _ProtobufRepresentable {
136 | public init(context: Serialization.Context, from buffer: Serialization.Buffer, using manifest: Serialization.Manifest) throws {
137 | let proto = try ProtobufRepresentation(serializedData: buffer.readData())
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
138 | try self.init(fromProto: proto, context: context)
139 | }
/host/spi-builder-workspace/Sources/DistributedCluster/ActorMessages.swift:25:1: warning: extension declares a conformance of imported type 'Result' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
23 |
24 | // FIXME: we should not add Codable conformance onto a stdlib type, but rather fix this in stdlib
25 | extension Result: Codable where Success: Codable, Failure: Codable {
| |- warning: extension declares a conformance of imported type 'Result' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 | enum DiscriminatorKeys: String, Codable {
27 | case success
/host/spi-builder-workspace/Sources/DistributedCluster/ActorShell+Children.swift:317:65: warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
315 | try self.validateUniqueName(name) // FIXME: reserve name
316 |
317 | let incarnation: ActorIncarnation = props._wellKnown ? .wellKnown : .random()
| `- warning: 'wellKnown' is deprecated: Useful only with behavior actors, will be removed entirely [#DeprecatedDeclaration]
318 | let id: ActorID = try self.id.makeChildAddress(name: name, incarnation: incarnation)
319 |
/host/spi-builder-workspace/Sources/DistributedCluster/Adapters.swift:387:19: warning: generic parameter 'Message' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
238 | // MARK: SubReceiveAdapter
239 |
240 | internal final class SubReceiveAdapter<Message: Codable, OwnerMessage: Codable>: _AbstractAdapter {
| `- note: 'Message' previously declared here
241 | internal let fromType: Any.Type
242 |
:
385 | }
386 |
387 | func _resolve<Message>(context: _ResolveContext<Message>) -> _ActorRef<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
388 | guard context.selectorSegments.first == nil,
389 | self.id.incarnation == context.id.incarnation
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:226:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
224 | extension _ProtoActorIdentity: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
225 | public static let protoMessageName: String = "ActorIdentity"
226 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
227 | 1: .same(proto: "manifest"),
228 | 2: .same(proto: "payload"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:233:49: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
231 | fileprivate class _StorageClass {
232 | var _manifest: _ProtoManifest? = nil
233 | var _payload: Data = SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
234 |
235 | static let defaultInstance = _StorageClass()
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:295:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
293 | extension _ProtoVersionReplicaID: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
294 | public static let protoMessageName: String = "VersionReplicaID"
295 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
296 | 1: .same(proto: "actorID"),
297 | 2: .same(proto: "node"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:384:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
382 | extension _ProtoReplicaVersion: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
383 | public static let protoMessageName: String = "ReplicaVersion"
384 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
385 | 1: .same(proto: "replicaID"),
386 | 2: .same(proto: "version"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:453:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
451 | extension _ProtoVersionVector: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
452 | public static let protoMessageName: String = "VersionVector"
453 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
454 | 1: .same(proto: "state"),
455 | ]
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:482:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
480 | extension _ProtoVersionDot: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
481 | public static let protoMessageName: String = "VersionDot"
482 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
483 | 1: .same(proto: "replicaID"),
484 | 2: .same(proto: "version"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:551:65: warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
549 | extension _ProtoVersionDottedElementEnvelope: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
550 | public static let protoMessageName: String = "VersionDottedElementEnvelope"
551 | public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
| `- warning: 'init(dictionaryLiteral:)' is deprecated: Please regenerate your .pb.swift files with the current version of the SwiftProtobuf protoc plugin. [#DeprecatedDeclaration]
552 | 1: .same(proto: "dot"),
553 | 2: .same(proto: "manifest"),
/host/spi-builder-workspace/Sources/DistributedCluster/Clocks/Protobuf/VersionVector.pb.swift:560:49: warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
558 | var _dot: _ProtoVersionDot? = nil
559 | var _manifest: _ProtoManifest? = nil
560 | var _payload: Data = SwiftProtobuf.Internal.emptyData
| `- warning: 'emptyData' is deprecated: Internal.emptyData isn't used any longer in newer versions of the generator. Generate code with a version later than 1.10.2 to get performance improvements. See https://github.com/apple/swift-protobuf/pull/1028 for more information. [#DeprecatedDeclaration]
561 |
562 | static let defaultInstance = _StorageClass()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1604/1625] Wrapping AST for DistributedCluster for debugging
[1606/1632] Compiling MultiNodeTestKit MultiNodeTestSettings.swift
[1607/1632] Emitting module it_Clustered_swim_suspension_reachability
[1608/1632] Compiling it_Clustered_swim_suspension_reachability main.swift
[1609/1632] Compiling MultiNodeTestKit MultiNodeTestKit.swift
[1610/1632] Compiling MultiNodeTestKit MultiNodeTestKit+Control.swift
[1611/1633] 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
[1612/1633] 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 | }
[1614/1634] Compiling DistributedActorsTestKit SingleClusterSystemXCTestCase.swift
[1614/1634] Wrapping AST for it_Clustered_swim_suspension_reachability for debugging
[1615/1634] Write Objects.LinkFileList
[1617/1634] Emitting module MultiNodeTestKit
[1618/1634] 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)
[1619/1635] Wrapping AST for MultiNodeTestKit for debugging
[1621/1635] Emitting module DistributedActorsTestKit
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/LogCapture.swift:195:8: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' 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(event:)' 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:256:17: note: 'log(event:)' declared here
143 | ///
144 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
146 |
147 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
254 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
255 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
257 | self.log(
258 | level: event.level,
/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 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1622/1639] Compiling DistributedActorsMultiNodeTests MultiNode+MultiNodeConductorTests.swift
[1623/1639] Compiling DistributedActorsMultiNodeTests MultiNode+ReceptionistTests.swift
[1624/1639] Compiling DistributedActorsMultiNodeTests MultiNode+ClusterSingletonTests.swift
[1625/1639] Emitting module DistributedActorsMultiNodeTests
[1626/1649] Wrapping AST for DistributedActorsMultiNodeTests for debugging
[1628/1650] 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 | }
[1629/1650] Compiling MultiNodeTestKitRunner Process+Extensions.swift
[1630/1651] 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(event:)' 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(event:)' 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:256:17: note: 'log(event:)' declared here
143 | ///
144 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
146 |
147 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
254 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
255 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
257 | self.log(
258 | level: event.level,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1631/1651] Compiling MultiNodeTestKitRunner Terminal+Rainbow.swift
[1632/1651] Compiling MultiNodeTestKitRunner Time.swift
[1633/1651] 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>
[1634/1651] Compiling MultiNodeTestKitRunner NaiveLogger.swift
[1635/1651] Compiling MultiNodeTestKitRunner OutputGrepper.swift
[1636/1651] 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>
[1637/1651] 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>
[1638/1651] Compiling MultiNodeTestKitRunner MultiNode+LogCapture.swift
[1639/1651] 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(event:)' 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(event:)' 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:256:17: note: 'log(event:)' declared here
143 | ///
144 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
146 |
147 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
254 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
255 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
257 | self.log(
258 | level: event.level,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/MultiNodeTestKitRunner/MultiNode+LogCapture.swift:21:8: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' 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(event:)' 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:256:17: note: 'log(event:)' declared here
143 | ///
144 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
146 |
147 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
254 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
255 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
257 | self.log(
258 | level: event.level,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/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>
/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>
[1643/1651] Linking it_Clustered_swim_suspension_reachability
[1645/1651] 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 |
[1646/1651] 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)")
[1647/1652] Wrapping AST for MultiNodeTestKitRunner for debugging
[1648/1652] Write Objects.LinkFileList
[1650/1652] Compiling DistributedActorsTestKit LogCapture.swift
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/LogCapture.swift:195:8: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' 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(event:)' 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:256:17: note: 'log(event:)' declared here
143 | ///
144 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
146 |
147 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
254 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
255 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
257 | self.log(
258 | level: event.level,
/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>
[1651/1652] Compiling DistributedActorsTestKit ShouldMatchers.swift
/host/spi-builder-workspace/Sources/DistributedActorsTestKit/LogCapture.swift:195:8: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' 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(event:)' 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:256:17: note: 'log(event:)' declared here
143 | ///
144 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
146 |
147 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
254 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
255 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
257 | self.log(
258 | level: event.level,
/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>
[1651/1652] Linking MultiNodeTestKitRunner
BUILD FAILURE 6.3 linux