Build Information
Successful build of pkl-swift, reference 0.4.2 (d6f087
), with Swift 6.1 for Linux on 1 May 2025 08:42:19 UTC.
Swift 6 data race errors: 26
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
21 | switch self {
/host/spi-builder-workspace/Sources/MessagePack/Decoder/MessagePackDecoder.swift:423:10: warning: associated value 'int' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryInteger'; this is an error in the Swift 6 language mode
421 | case `nil`
422 | case bool(Bool)
423 | case int(any BinaryInteger)
| `- warning: associated value 'int' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryInteger'; this is an error in the Swift 6 language mode
424 | case float(any BinaryFloatingPoint)
425 | case string(String)
Swift.BinaryInteger:1:17: note: protocol 'BinaryInteger' does not conform to the 'Sendable' protocol
1 | public protocol BinaryInteger : CustomStringConvertible, Hashable, Numeric, Strideable where Self.Magnitude : BinaryInteger, Self.Magnitude == Self.Magnitude.Magnitude {
| `- note: protocol 'BinaryInteger' does not conform to the 'Sendable' protocol
2 | static var isSigned: Bool { get }
3 | init?<T>(exactly source: T) where T : BinaryFloatingPoint
/host/spi-builder-workspace/Sources/MessagePack/Decoder/MessagePackDecoder.swift:424:10: warning: associated value 'float' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryFloatingPoint'; this is an error in the Swift 6 language mode
422 | case bool(Bool)
423 | case int(any BinaryInteger)
424 | case float(any BinaryFloatingPoint)
| `- warning: associated value 'float' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryFloatingPoint'; this is an error in the Swift 6 language mode
425 | case string(String)
426 | case bin([UInt8])
Swift.BinaryFloatingPoint:1:17: note: protocol 'BinaryFloatingPoint' does not conform to the 'Sendable' protocol
1 | public protocol BinaryFloatingPoint : ExpressibleByFloatLiteral, FloatingPoint {
| `- note: protocol 'BinaryFloatingPoint' does not conform to the 'Sendable' protocol
2 | associatedtype RawSignificand : UnsignedInteger
3 | associatedtype RawExponent : UnsignedInteger
/host/spi-builder-workspace/Sources/MessagePack/Decoder/SingleValueDecodingContainer.swift:95:10: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
93 | }
94 |
95 | func decode(_: Date.Type) throws -> Date {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(Date.Type) throws -> Date'
| |- note: move 'decode' to another extension to silence this warning
| `- note: make 'decode' private to silence this warning
96 | switch value {
97 | case .timestamp(let value):
Swift.SingleValueDecodingContainer.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: Int128.Type) throws -> Int128}
| `- note: requirement 'decode' declared here
4 |
/host/spi-builder-workspace/Sources/MessagePack/Decoder/SingleValueDecodingContainer.swift:104:10: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
102 | }
103 |
104 | func decode(_: Data.Type) throws -> Data {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(Data.Type) throws -> Data'
| |- note: move 'decode' to another extension to silence this warning
| `- note: make 'decode' private to silence this warning
105 | switch value {
106 | case .bin(let value):
Swift.SingleValueDecodingContainer.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: UInt128.Type) throws -> UInt128}
| `- note: requirement 'decode' declared here
4 |
/host/spi-builder-workspace/Sources/MessagePack/Encoder/SingleValueEncodingContainer.swift:222:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
220 | }
221 |
222 | func encode(_ value: Date) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Date) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
223 | try checkCanEncode(value: value)
224 | defer { self.canEncodeNewValue = false }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
/host/spi-builder-workspace/Sources/MessagePack/Encoder/SingleValueEncodingContainer.swift:249:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
247 | }
248 |
249 | func encode(_ value: Data) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Data) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
250 | let length = value.count
251 | if let uint8 = UInt8(exactly: length) {
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: UInt128) throws}
| `- note: requirement 'encode' declared here
4 |
[73/129] Emitting module ArgumentParser
[74/129] Compiling MessagePack AnyCodingKey.swift
[75/129] Compiling MessagePack Box.swift
[76/129] Compiling MessagePack KeyedDecodingContainer.swift
[77/129] Compiling MessagePack KeyedSingleDecodingContainer.swift
[78/129] Compiling MessagePack MessagePackDecoder.swift
[79/129] Compiling MessagePack SingleValueDecodingContainer.swift
[80/129] Compiling MessagePack UnkeyedEncodingContainer.swift
[81/129] Compiling MessagePack FixedWidthInteger.swift
[87/129] Compiling ArgumentParser ExpressibleByArgument.swift
[88/129] Compiling ArgumentParser ParsableArguments.swift
[89/129] Compiling ArgumentParser ParsableArgumentsValidation.swift
[90/129] Compiling ArgumentParser ParsableCommand.swift
[91/129] Compiling ArgumentParser ArgumentDecoder.swift
[92/129] Compiling MessagePack KeyedEncodingContainer.swift
[98/129] Compiling ArgumentParser ArgumentDefinition.swift
[99/129] Compiling ArgumentParser ArgumentSet.swift
[100/129] Compiling ArgumentParser CommandParser.swift
[101/129] Compiling ArgumentParser InputKey.swift
[102/129] Compiling ArgumentParser InputOrigin.swift
[103/129] Compiling MessagePack IO.swift
[106/129] Compiling ArgumentParser CollectionExtensions.swift
[107/129] Compiling ArgumentParser Platform.swift
[108/129] Compiling ArgumentParser SequenceExtensions.swift
[109/129] Compiling ArgumentParser StringExtensions.swift
[110/129] Compiling ArgumentParser Tree.swift
[111/130] Wrapping AST for ArgumentParser for debugging
/host/spi-builder-workspace/Sources/MessagePack/Decoder/SingleValueDecodingContainer.swift:95:10: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
93 | }
94 |
95 | func decode(_: Date.Type) throws -> Date {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(Date.Type) throws -> Date'
| |- note: move 'decode' to another extension to silence this warning
| `- note: make 'decode' private to silence this warning
96 | switch value {
97 | case .timestamp(let value):
Swift.SingleValueDecodingContainer.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: Int128.Type) throws -> Int128}
| `- note: requirement 'decode' declared here
4 |
/host/spi-builder-workspace/Sources/MessagePack/Decoder/SingleValueDecodingContainer.swift:104:10: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
102 | }
103 |
104 | func decode(_: Data.Type) throws -> Data {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(Data.Type) throws -> Data'
| |- note: move 'decode' to another extension to silence this warning
| `- note: make 'decode' private to silence this warning
105 | switch value {
106 | case .bin(let value):
Swift.SingleValueDecodingContainer.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: UInt128.Type) throws -> UInt128}
| `- note: requirement 'decode' declared here
4 |
/host/spi-builder-workspace/Sources/MessagePack/Decoder/SingleValueDecodingContainer.swift:95:10: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
93 | }
94 |
95 | func decode(_: Date.Type) throws -> Date {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(Date.Type) throws -> Date'
| |- note: move 'decode' to another extension to silence this warning
| `- note: make 'decode' private to silence this warning
96 | switch value {
97 | case .timestamp(let value):
Swift.SingleValueDecodingContainer.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: Int128.Type) throws -> Int128}
| `- note: requirement 'decode' declared here
4 |
/host/spi-builder-workspace/Sources/MessagePack/Decoder/SingleValueDecodingContainer.swift:104:10: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
102 | }
103 |
104 | func decode(_: Data.Type) throws -> Data {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(Data.Type) throws -> Data'
| |- note: move 'decode' to another extension to silence this warning
| `- note: make 'decode' private to silence this warning
105 | switch value {
106 | case .bin(let value):
Swift.SingleValueDecodingContainer.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: UInt128.Type) throws -> UInt128}
| `- note: requirement 'decode' declared here
4 |
/host/spi-builder-workspace/Sources/MessagePack/Decoder/KeyedDecodingContainer.swift:19:1: warning: conformance to 'Sendable' must occur in the same source file as enum 'MessagePackValue'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
17 | import Foundation
18 |
19 | extension MessagePackValue: CodingKey {
| `- warning: conformance to 'Sendable' must occur in the same source file as enum 'MessagePackValue'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
20 | public var stringValue: String {
21 | switch self {
/host/spi-builder-workspace/Sources/MessagePack/Decoder/MessagePackDecoder.swift:423:10: warning: associated value 'int' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryInteger'; this is an error in the Swift 6 language mode
421 | case `nil`
422 | case bool(Bool)
423 | case int(any BinaryInteger)
| `- warning: associated value 'int' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryInteger'; this is an error in the Swift 6 language mode
424 | case float(any BinaryFloatingPoint)
425 | case string(String)
Swift.BinaryInteger:1:17: note: protocol 'BinaryInteger' does not conform to the 'Sendable' protocol
1 | public protocol BinaryInteger : CustomStringConvertible, Hashable, Numeric, Strideable where Self.Magnitude : BinaryInteger, Self.Magnitude == Self.Magnitude.Magnitude {
| `- note: protocol 'BinaryInteger' does not conform to the 'Sendable' protocol
2 | static var isSigned: Bool { get }
3 | init?<T>(exactly source: T) where T : BinaryFloatingPoint
/host/spi-builder-workspace/Sources/MessagePack/Decoder/MessagePackDecoder.swift:424:10: warning: associated value 'float' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryFloatingPoint'; this is an error in the Swift 6 language mode
422 | case bool(Bool)
423 | case int(any BinaryInteger)
424 | case float(any BinaryFloatingPoint)
| `- warning: associated value 'float' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryFloatingPoint'; this is an error in the Swift 6 language mode
425 | case string(String)
426 | case bin([UInt8])
Swift.BinaryFloatingPoint:1:17: note: protocol 'BinaryFloatingPoint' does not conform to the 'Sendable' protocol
1 | public protocol BinaryFloatingPoint : ExpressibleByFloatLiteral, FloatingPoint {
| `- note: protocol 'BinaryFloatingPoint' does not conform to the 'Sendable' protocol
2 | associatedtype RawSignificand : UnsignedInteger
3 | associatedtype RawExponent : UnsignedInteger
/host/spi-builder-workspace/Sources/MessagePack/Decoder/KeyedDecodingContainer.swift:19:1: warning: conformance to 'Sendable' must occur in the same source file as enum 'MessagePackValue'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
17 | import Foundation
18 |
19 | extension MessagePackValue: CodingKey {
| `- warning: conformance to 'Sendable' must occur in the same source file as enum 'MessagePackValue'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
20 | public var stringValue: String {
21 | switch self {
/host/spi-builder-workspace/Sources/MessagePack/Decoder/MessagePackDecoder.swift:423:10: warning: associated value 'int' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryInteger'; this is an error in the Swift 6 language mode
421 | case `nil`
422 | case bool(Bool)
423 | case int(any BinaryInteger)
| `- warning: associated value 'int' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryInteger'; this is an error in the Swift 6 language mode
424 | case float(any BinaryFloatingPoint)
425 | case string(String)
Swift.BinaryInteger:1:17: note: protocol 'BinaryInteger' does not conform to the 'Sendable' protocol
1 | public protocol BinaryInteger : CustomStringConvertible, Hashable, Numeric, Strideable where Self.Magnitude : BinaryInteger, Self.Magnitude == Self.Magnitude.Magnitude {
| `- note: protocol 'BinaryInteger' does not conform to the 'Sendable' protocol
2 | static var isSigned: Bool { get }
3 | init?<T>(exactly source: T) where T : BinaryFloatingPoint
/host/spi-builder-workspace/Sources/MessagePack/Decoder/MessagePackDecoder.swift:424:10: warning: associated value 'float' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryFloatingPoint'; this is an error in the Swift 6 language mode
422 | case bool(Bool)
423 | case int(any BinaryInteger)
424 | case float(any BinaryFloatingPoint)
| `- warning: associated value 'float' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryFloatingPoint'; this is an error in the Swift 6 language mode
425 | case string(String)
426 | case bin([UInt8])
Swift.BinaryFloatingPoint:1:17: note: protocol 'BinaryFloatingPoint' does not conform to the 'Sendable' protocol
1 | public protocol BinaryFloatingPoint : ExpressibleByFloatLiteral, FloatingPoint {
| `- note: protocol 'BinaryFloatingPoint' does not conform to the 'Sendable' protocol
2 | associatedtype RawSignificand : UnsignedInteger
3 | associatedtype RawExponent : UnsignedInteger
/host/spi-builder-workspace/Sources/MessagePack/Encoder/SingleValueEncodingContainer.swift:222:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
220 | }
221 |
222 | func encode(_ value: Date) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Date) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
223 | try checkCanEncode(value: value)
224 | defer { self.canEncodeNewValue = false }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
/host/spi-builder-workspace/Sources/MessagePack/Encoder/SingleValueEncodingContainer.swift:249:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
247 | }
248 |
249 | func encode(_ value: Data) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Data) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
250 | let length = value.count
251 | if let uint8 = UInt8(exactly: length) {
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: UInt128) throws}
| `- note: requirement 'encode' declared here
4 |
/host/spi-builder-workspace/Sources/MessagePack/Encoder/SingleValueEncodingContainer.swift:222:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
220 | }
221 |
222 | func encode(_ value: Date) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Date) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
223 | try checkCanEncode(value: value)
224 | defer { self.canEncodeNewValue = false }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
/host/spi-builder-workspace/Sources/MessagePack/Encoder/SingleValueEncodingContainer.swift:249:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
247 | }
248 |
249 | func encode(_ value: Data) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Data) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
250 | let length = value.count
251 | if let uint8 = UInt8(exactly: length) {
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: UInt128) throws}
| `- note: requirement 'encode' declared here
4 |
[123/131] Wrapping AST for MessagePack for debugging
[125/152] Compiling PklSwift Reader.swift
/host/spi-builder-workspace/Sources/PklSwift/TypeRegistry.swift:110:16: warning: static property '_shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
108 | extension TypeRegistry {
109 | static let _sharedLock: PklLock = .init()
110 | static var _shared: TypeRegistry?
| |- warning: static property '_shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 |
112 | public static func get() -> TypeRegistry {
[126/152] Compiling PklSwift TypeRegistry.swift
/host/spi-builder-workspace/Sources/PklSwift/TypeRegistry.swift:110:16: warning: static property '_shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
108 | extension TypeRegistry {
109 | static let _sharedLock: PklLock = .init()
110 | static var _shared: TypeRegistry?
| |- warning: static property '_shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 |
112 | public static func get() -> TypeRegistry {
[127/154] Compiling PklSwift Utils.swift
/host/spi-builder-workspace/Sources/PklSwift/Utils.swift:87:12: warning: let 'absoluteUriRegex' is not concurrency-safe because non-'Sendable' type 'Regex<AnyRegexOutput>' may have shared mutable state; this is an error in the Swift 6 language mode
85 | }
86 |
87 | public let absoluteUriRegex = try! Regex("\\w+:")
| |- warning: let 'absoluteUriRegex' is not concurrency-safe because non-'Sendable' type 'Regex<AnyRegexOutput>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'absoluteUriRegex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 |
89 | public func tempDir() throws -> URL {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Sources/PklSwift/Utils.swift:26:12: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
24 | }
25 | FileHandle.standardError.write("[pkl-swift] \(message)\n".data(using: .utf8)!)
26 | fflush(stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
145 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
146 | /* C89/C99 say they're macros. Make them happy. */
147 | #define stdin stdin
[128/154] Compiling PklSwift locks.swift
/host/spi-builder-workspace/Sources/PklSwift/Utils.swift:87:12: warning: let 'absoluteUriRegex' is not concurrency-safe because non-'Sendable' type 'Regex<AnyRegexOutput>' may have shared mutable state; this is an error in the Swift 6 language mode
85 | }
86 |
87 | public let absoluteUriRegex = try! Regex("\\w+:")
| |- warning: let 'absoluteUriRegex' is not concurrency-safe because non-'Sendable' type 'Regex<AnyRegexOutput>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'absoluteUriRegex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 |
89 | public func tempDir() throws -> URL {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/host/spi-builder-workspace/Sources/PklSwift/Utils.swift:26:12: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
24 | }
25 | FileHandle.standardError.write("[pkl-swift] \(message)\n".data(using: .utf8)!)
26 | fflush(stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
145 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
146 | /* C89/C99 say they're macros. Make them happy. */
147 | #define stdin stdin
[129/154] Compiling PklSwift DataSize.swift
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:42:23: warning: static property 'messageTag' is not concurrency-safe because non-'Sendable' type 'PklValueType' may have shared mutable state; this is an error in the Swift 6 language mode
40 | public typealias UnitType = DataSizeUnit
41 |
42 | public static let messageTag: PklValueType = .dataSize
| |- warning: static property 'messageTag' is not concurrency-safe because non-'Sendable' type 'PklValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'messageTag' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/host/spi-builder-workspace/Sources/PklSwift/Decoder/PklDecoder.swift:20:13: note: consider making enum 'PklValueType' conform to the 'Sendable' protocol
18 | import MessagePack
19 |
20 | public enum PklValueType: UInt8, Decodable {
| `- note: consider making enum 'PklValueType' conform to the 'Sendable' protocol
21 | case object = 0x1
22 | case map = 0x2
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:188:23: warning: static property 'bytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
186 |
187 | /// More verbose synonym.
188 | public static let bytes: Self = .b
| |- warning: static property 'bytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 |
190 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:191:23: warning: static property 'kilobytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
189 |
190 | /// More verbose synonym.
191 | public static let kilobytes: Self = .kb
| |- warning: static property 'kilobytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kilobytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 |
193 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:194:23: warning: static property 'kibibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
192 |
193 | /// More verbose synonym.
194 | public static let kibibytes: Self = .kib
| |- warning: static property 'kibibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kibibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 |
196 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:197:23: warning: static property 'megabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
195 |
196 | /// More verbose synonym.
197 | public static let megabytes: Self = .mb
| |- warning: static property 'megabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'megabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 |
199 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:200:23: warning: static property 'mebibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
198 |
199 | /// More verbose synonym.
200 | public static let mebibytes: Self = .mib
| |- warning: static property 'mebibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mebibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 |
202 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:203:23: warning: static property 'gigabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
201 |
202 | /// More verbose synonym.
203 | public static let gigabytes: Self = .gb
| |- warning: static property 'gigabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gigabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 |
205 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:206:23: warning: static property 'gibibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
204 |
205 | /// More verbose synonym.
206 | public static let gibibytes: Self = .gib
| |- warning: static property 'gibibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gibibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 |
208 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:209:23: warning: static property 'terabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
207 |
208 | /// More verbose synonym.
209 | public static let terabytes: Self = .tb
| |- warning: static property 'terabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'terabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 |
211 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:212:23: warning: static property 'tebibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
210 |
211 | /// More verbose synonym.
212 | public static let tebibytes: Self = .tib
| |- warning: static property 'tebibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tebibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 |
214 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:215:23: warning: static property 'petabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
213 |
214 | /// More verbose synonym.
215 | public static let petabytes: Self = .pb
| |- warning: static property 'petabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'petabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |
217 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:218:23: warning: static property 'pebibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
216 |
217 | /// More verbose synonym.
218 | public static let pebibytes: Self = .pib
| |- warning: static property 'pebibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pebibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 |
220 | public var inBytes: Int64 {
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:39:23: warning: static property 'messageTag' is not concurrency-safe because non-'Sendable' type 'PklValueType' may have shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | extension Duration: PklSerializableValueUnitType {
39 | public static let messageTag: PklValueType = .duration
| |- warning: static property 'messageTag' is not concurrency-safe because non-'Sendable' type 'PklValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'messageTag' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | public typealias UnitType = DurationUnit
/host/spi-builder-workspace/Sources/PklSwift/Decoder/PklDecoder.swift:20:13: note: consider making enum 'PklValueType' conform to the 'Sendable' protocol
18 | import MessagePack
19 |
20 | public enum PklValueType: UInt8, Decodable {
| `- note: consider making enum 'PklValueType' conform to the 'Sendable' protocol
21 | case object = 0x1
22 | case map = 0x2
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:163:23: warning: static property 'nanoseconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// A unit (magnitude) of duration.
140 | public enum DurationUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DurationUnit' conform to the 'Sendable' protocol
141 | /// Nanosecond
142 | case ns
:
161 |
162 | /// More verbose synonym.
163 | public static let nanoseconds: Self = .ns
| |- warning: static property 'nanoseconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nanoseconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |
165 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:166:23: warning: static property 'microseconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// A unit (magnitude) of duration.
140 | public enum DurationUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DurationUnit' conform to the 'Sendable' protocol
141 | /// Nanosecond
142 | case ns
:
164 |
165 | /// More verbose synonym.
166 | public static let microseconds: Self = .us
| |- warning: static property 'microseconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'microseconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |
168 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:169:23: warning: static property 'milliseconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// A unit (magnitude) of duration.
140 | public enum DurationUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DurationUnit' conform to the 'Sendable' protocol
141 | /// Nanosecond
142 | case ns
:
167 |
168 | /// More verbose synonym.
169 | public static let milliseconds: Self = .ms
| |- warning: static property 'milliseconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'milliseconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 |
171 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:172:23: warning: static property 'seconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// A unit (magnitude) of duration.
140 | public enum DurationUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DurationUnit' conform to the 'Sendable' protocol
141 | /// Nanosecond
142 | case ns
:
170 |
171 | /// More verbose synonym.
172 | public static let seconds: Self = .s
| |- warning: static property 'seconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 |
174 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:175:23: warning: static property 'minutes' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// A unit (magnitude) of duration.
140 | public enum DurationUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DurationUnit' conform to the 'Sendable' protocol
141 | /// Nanosecond
142 | case ns
:
173 |
174 | /// More verbose synonym.
175 | public static let minutes: Self = .min
| |- warning: static property 'minutes' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'minutes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
176 |
177 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:178:23: warning: static property 'hours' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// A unit (magnitude) of duration.
140 | public enum DurationUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DurationUnit' conform to the 'Sendable' protocol
141 | /// Nanosecond
142 | case ns
:
176 |
177 | /// More verbose synonym.
178 | public static let hours: Self = .h
| |- warning: static property 'hours' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hours' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 |
180 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:181:23: warning: static property 'days' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// A unit (magnitude) of duration.
140 | public enum DurationUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DurationUnit' conform to the 'Sendable' protocol
141 | /// Nanosecond
142 | case ns
:
179 |
180 | /// More verbose synonym.
181 | public static let days: Self = .d
| |- warning: static property 'days' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'days' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |
183 | public var inNanoSeconds: Int64 {
[130/154] Compiling PklSwift Duration.swift
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:42:23: warning: static property 'messageTag' is not concurrency-safe because non-'Sendable' type 'PklValueType' may have shared mutable state; this is an error in the Swift 6 language mode
40 | public typealias UnitType = DataSizeUnit
41 |
42 | public static let messageTag: PklValueType = .dataSize
| |- warning: static property 'messageTag' is not concurrency-safe because non-'Sendable' type 'PklValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'messageTag' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/host/spi-builder-workspace/Sources/PklSwift/Decoder/PklDecoder.swift:20:13: note: consider making enum 'PklValueType' conform to the 'Sendable' protocol
18 | import MessagePack
19 |
20 | public enum PklValueType: UInt8, Decodable {
| `- note: consider making enum 'PklValueType' conform to the 'Sendable' protocol
21 | case object = 0x1
22 | case map = 0x2
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:188:23: warning: static property 'bytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
186 |
187 | /// More verbose synonym.
188 | public static let bytes: Self = .b
| |- warning: static property 'bytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 |
190 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:191:23: warning: static property 'kilobytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
189 |
190 | /// More verbose synonym.
191 | public static let kilobytes: Self = .kb
| |- warning: static property 'kilobytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kilobytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 |
193 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:194:23: warning: static property 'kibibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
192 |
193 | /// More verbose synonym.
194 | public static let kibibytes: Self = .kib
| |- warning: static property 'kibibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kibibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 |
196 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:197:23: warning: static property 'megabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
195 |
196 | /// More verbose synonym.
197 | public static let megabytes: Self = .mb
| |- warning: static property 'megabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'megabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 |
199 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:200:23: warning: static property 'mebibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
198 |
199 | /// More verbose synonym.
200 | public static let mebibytes: Self = .mib
| |- warning: static property 'mebibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mebibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 |
202 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:203:23: warning: static property 'gigabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
201 |
202 | /// More verbose synonym.
203 | public static let gigabytes: Self = .gb
| |- warning: static property 'gigabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gigabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 |
205 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:206:23: warning: static property 'gibibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
204 |
205 | /// More verbose synonym.
206 | public static let gibibytes: Self = .gib
| |- warning: static property 'gibibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gibibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 |
208 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:209:23: warning: static property 'terabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
207 |
208 | /// More verbose synonym.
209 | public static let terabytes: Self = .tb
| |- warning: static property 'terabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'terabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 |
211 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:212:23: warning: static property 'tebibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
210 |
211 | /// More verbose synonym.
212 | public static let tebibytes: Self = .tib
| |- warning: static property 'tebibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tebibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 |
214 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:215:23: warning: static property 'petabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
213 |
214 | /// More verbose synonym.
215 | public static let petabytes: Self = .pb
| |- warning: static property 'petabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'petabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |
217 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:218:23: warning: static property 'pebibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
216 |
217 | /// More verbose synonym.
218 | public static let pebibytes: Self = .pib
| |- warning: static property 'pebibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pebibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 |
220 | public var inBytes: Int64 {
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:39:23: warning: static property 'messageTag' is not concurrency-safe because non-'Sendable' type 'PklValueType' may have shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | extension Duration: PklSerializableValueUnitType {
39 | public static let messageTag: PklValueType = .duration
| |- warning: static property 'messageTag' is not concurrency-safe because non-'Sendable' type 'PklValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'messageTag' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | public typealias UnitType = DurationUnit
/host/spi-builder-workspace/Sources/PklSwift/Decoder/PklDecoder.swift:20:13: note: consider making enum 'PklValueType' conform to the 'Sendable' protocol
18 | import MessagePack
19 |
20 | public enum PklValueType: UInt8, Decodable {
| `- note: consider making enum 'PklValueType' conform to the 'Sendable' protocol
21 | case object = 0x1
22 | case map = 0x2
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:163:23: warning: static property 'nanoseconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// A unit (magnitude) of duration.
140 | public enum DurationUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DurationUnit' conform to the 'Sendable' protocol
141 | /// Nanosecond
142 | case ns
:
161 |
162 | /// More verbose synonym.
163 | public static let nanoseconds: Self = .ns
| |- warning: static property 'nanoseconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nanoseconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |
165 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:166:23: warning: static property 'microseconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// A unit (magnitude) of duration.
140 | public enum DurationUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DurationUnit' conform to the 'Sendable' protocol
141 | /// Nanosecond
142 | case ns
:
164 |
165 | /// More verbose synonym.
166 | public static let microseconds: Self = .us
| |- warning: static property 'microseconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'microseconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |
168 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:169:23: warning: static property 'milliseconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// A unit (magnitude) of duration.
140 | public enum DurationUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DurationUnit' conform to the 'Sendable' protocol
141 | /// Nanosecond
142 | case ns
:
167 |
168 | /// More verbose synonym.
169 | public static let milliseconds: Self = .ms
| |- warning: static property 'milliseconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'milliseconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 |
171 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:172:23: warning: static property 'seconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// A unit (magnitude) of duration.
140 | public enum DurationUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DurationUnit' conform to the 'Sendable' protocol
141 | /// Nanosecond
142 | case ns
:
170 |
171 | /// More verbose synonym.
172 | public static let seconds: Self = .s
| |- warning: static property 'seconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 |
174 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:175:23: warning: static property 'minutes' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// A unit (magnitude) of duration.
140 | public enum DurationUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DurationUnit' conform to the 'Sendable' protocol
141 | /// Nanosecond
142 | case ns
:
173 |
174 | /// More verbose synonym.
175 | public static let minutes: Self = .min
| |- warning: static property 'minutes' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'minutes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
176 |
177 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:178:23: warning: static property 'hours' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// A unit (magnitude) of duration.
140 | public enum DurationUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DurationUnit' conform to the 'Sendable' protocol
141 | /// Nanosecond
142 | case ns
:
176 |
177 | /// More verbose synonym.
178 | public static let hours: Self = .h
| |- warning: static property 'hours' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hours' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 |
180 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:181:23: warning: static property 'days' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// A unit (magnitude) of duration.
140 | public enum DurationUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DurationUnit' conform to the 'Sendable' protocol
141 | /// Nanosecond
142 | case ns
:
179 |
180 | /// More verbose synonym.
181 | public static let days: Self = .d
| |- warning: static property 'days' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'days' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |
183 | public var inNanoSeconds: Int64 {
[131/154] Compiling PklSwift PklDecoder.swift
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:42:23: warning: static property 'messageTag' is not concurrency-safe because non-'Sendable' type 'PklValueType' may have shared mutable state; this is an error in the Swift 6 language mode
40 | public typealias UnitType = DataSizeUnit
41 |
42 | public static let messageTag: PklValueType = .dataSize
| |- warning: static property 'messageTag' is not concurrency-safe because non-'Sendable' type 'PklValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'messageTag' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/host/spi-builder-workspace/Sources/PklSwift/Decoder/PklDecoder.swift:20:13: note: consider making enum 'PklValueType' conform to the 'Sendable' protocol
18 | import MessagePack
19 |
20 | public enum PklValueType: UInt8, Decodable {
| `- note: consider making enum 'PklValueType' conform to the 'Sendable' protocol
21 | case object = 0x1
22 | case map = 0x2
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:188:23: warning: static property 'bytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
186 |
187 | /// More verbose synonym.
188 | public static let bytes: Self = .b
| |- warning: static property 'bytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 |
190 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:191:23: warning: static property 'kilobytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
189 |
190 | /// More verbose synonym.
191 | public static let kilobytes: Self = .kb
| |- warning: static property 'kilobytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kilobytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 |
193 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:194:23: warning: static property 'kibibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
192 |
193 | /// More verbose synonym.
194 | public static let kibibytes: Self = .kib
| |- warning: static property 'kibibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kibibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 |
196 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:197:23: warning: static property 'megabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
195 |
196 | /// More verbose synonym.
197 | public static let megabytes: Self = .mb
| |- warning: static property 'megabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'megabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 |
199 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:200:23: warning: static property 'mebibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
198 |
199 | /// More verbose synonym.
200 | public static let mebibytes: Self = .mib
| |- warning: static property 'mebibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mebibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 |
202 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:203:23: warning: static property 'gigabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
201 |
202 | /// More verbose synonym.
203 | public static let gigabytes: Self = .gb
| |- warning: static property 'gigabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gigabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 |
205 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:206:23: warning: static property 'gibibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
204 |
205 | /// More verbose synonym.
206 | public static let gibibytes: Self = .gib
| |- warning: static property 'gibibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gibibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 |
208 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:209:23: warning: static property 'terabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
207 |
208 | /// More verbose synonym.
209 | public static let terabytes: Self = .tb
| |- warning: static property 'terabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'terabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 |
211 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:212:23: warning: static property 'tebibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
210 |
211 | /// More verbose synonym.
212 | public static let tebibytes: Self = .tib
| |- warning: static property 'tebibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tebibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 |
214 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:215:23: warning: static property 'petabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
213 |
214 | /// More verbose synonym.
215 | public static let petabytes: Self = .pb
| |- warning: static property 'petabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'petabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |
217 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:218:23: warning: static property 'pebibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
216 |
217 | /// More verbose synonym.
218 | public static let pebibytes: Self = .pib
| |- warning: static property 'pebibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pebibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 |
220 | public var inBytes: Int64 {
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:39:23: warning: static property 'messageTag' is not concurrency-safe because non-'Sendable' type 'PklValueType' may have shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | extension Duration: PklSerializableValueUnitType {
39 | public static let messageTag: PklValueType = .duration
| |- warning: static property 'messageTag' is not concurrency-safe because non-'Sendable' type 'PklValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'messageTag' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | public typealias UnitType = DurationUnit
/host/spi-builder-workspace/Sources/PklSwift/Decoder/PklDecoder.swift:20:13: note: consider making enum 'PklValueType' conform to the 'Sendable' protocol
18 | import MessagePack
19 |
20 | public enum PklValueType: UInt8, Decodable {
| `- note: consider making enum 'PklValueType' conform to the 'Sendable' protocol
21 | case object = 0x1
22 | case map = 0x2
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:163:23: warning: static property 'nanoseconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// A unit (magnitude) of duration.
140 | public enum DurationUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DurationUnit' conform to the 'Sendable' protocol
141 | /// Nanosecond
142 | case ns
:
161 |
162 | /// More verbose synonym.
163 | public static let nanoseconds: Self = .ns
| |- warning: static property 'nanoseconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nanoseconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |
165 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:166:23: warning: static property 'microseconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// A unit (magnitude) of duration.
140 | public enum DurationUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DurationUnit' conform to the 'Sendable' protocol
141 | /// Nanosecond
142 | case ns
:
164 |
165 | /// More verbose synonym.
166 | public static let microseconds: Self = .us
| |- warning: static property 'microseconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'microseconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |
168 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:169:23: warning: static property 'milliseconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// A unit (magnitude) of duration.
140 | public enum DurationUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DurationUnit' conform to the 'Sendable' protocol
141 | /// Nanosecond
142 | case ns
:
167 |
168 | /// More verbose synonym.
169 | public static let milliseconds: Self = .ms
| |- warning: static property 'milliseconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'milliseconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 |
171 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:172:23: warning: static property 'seconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// A unit (magnitude) of duration.
140 | public enum DurationUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DurationUnit' conform to the 'Sendable' protocol
141 | /// Nanosecond
142 | case ns
:
170 |
171 | /// More verbose synonym.
172 | public static let seconds: Self = .s
| |- warning: static property 'seconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 |
174 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:175:23: warning: static property 'minutes' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// A unit (magnitude) of duration.
140 | public enum DurationUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DurationUnit' conform to the 'Sendable' protocol
141 | /// Nanosecond
142 | case ns
:
173 |
174 | /// More verbose synonym.
175 | public static let minutes: Self = .min
| |- warning: static property 'minutes' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'minutes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
176 |
177 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:178:23: warning: static property 'hours' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// A unit (magnitude) of duration.
140 | public enum DurationUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DurationUnit' conform to the 'Sendable' protocol
141 | /// Nanosecond
142 | case ns
:
176 |
177 | /// More verbose synonym.
178 | public static let hours: Self = .h
| |- warning: static property 'hours' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hours' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 |
180 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:181:23: warning: static property 'days' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// A unit (magnitude) of duration.
140 | public enum DurationUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DurationUnit' conform to the 'Sendable' protocol
141 | /// Nanosecond
142 | case ns
:
179 |
180 | /// More verbose synonym.
181 | public static let days: Self = .d
| |- warning: static property 'days' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'days' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |
183 | public var inNanoSeconds: Int64 {
[132/154] Emitting module PklSwift
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:42:23: warning: static property 'messageTag' is not concurrency-safe because non-'Sendable' type 'PklValueType' may have shared mutable state; this is an error in the Swift 6 language mode
40 | public typealias UnitType = DataSizeUnit
41 |
42 | public static let messageTag: PklValueType = .dataSize
| |- warning: static property 'messageTag' is not concurrency-safe because non-'Sendable' type 'PklValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'messageTag' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/host/spi-builder-workspace/Sources/PklSwift/Decoder/PklDecoder.swift:20:13: note: consider making enum 'PklValueType' conform to the 'Sendable' protocol
18 | import MessagePack
19 |
20 | public enum PklValueType: UInt8, Decodable {
| `- note: consider making enum 'PklValueType' conform to the 'Sendable' protocol
21 | case object = 0x1
22 | case map = 0x2
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:188:23: warning: static property 'bytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
186 |
187 | /// More verbose synonym.
188 | public static let bytes: Self = .b
| |- warning: static property 'bytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 |
190 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:191:23: warning: static property 'kilobytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
189 |
190 | /// More verbose synonym.
191 | public static let kilobytes: Self = .kb
| |- warning: static property 'kilobytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kilobytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 |
193 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:194:23: warning: static property 'kibibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
192 |
193 | /// More verbose synonym.
194 | public static let kibibytes: Self = .kib
| |- warning: static property 'kibibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kibibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 |
196 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:197:23: warning: static property 'megabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
195 |
196 | /// More verbose synonym.
197 | public static let megabytes: Self = .mb
| |- warning: static property 'megabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'megabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 |
199 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:200:23: warning: static property 'mebibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
198 |
199 | /// More verbose synonym.
200 | public static let mebibytes: Self = .mib
| |- warning: static property 'mebibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mebibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 |
202 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:203:23: warning: static property 'gigabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
201 |
202 | /// More verbose synonym.
203 | public static let gigabytes: Self = .gb
| |- warning: static property 'gigabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gigabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 |
205 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:206:23: warning: static property 'gibibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
204 |
205 | /// More verbose synonym.
206 | public static let gibibytes: Self = .gib
| |- warning: static property 'gibibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gibibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 |
208 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:209:23: warning: static property 'terabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
207 |
208 | /// More verbose synonym.
209 | public static let terabytes: Self = .tb
| |- warning: static property 'terabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'terabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 |
211 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:212:23: warning: static property 'tebibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
210 |
211 | /// More verbose synonym.
212 | public static let tebibytes: Self = .tib
| |- warning: static property 'tebibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tebibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 |
214 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:215:23: warning: static property 'petabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
213 |
214 | /// More verbose synonym.
215 | public static let petabytes: Self = .pb
| |- warning: static property 'petabytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'petabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |
217 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/DataSize.swift:218:23: warning: static property 'pebibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// The unit of a ``DataSize``.
153 | public enum DataSizeUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DataSizeUnit' conform to the 'Sendable' protocol
154 | /// byte
155 | case b
:
216 |
217 | /// More verbose synonym.
218 | public static let pebibytes: Self = .pib
| |- warning: static property 'pebibytes' is not concurrency-safe because non-'Sendable' type 'DataSizeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pebibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 |
220 | public var inBytes: Int64 {
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:39:23: warning: static property 'messageTag' is not concurrency-safe because non-'Sendable' type 'PklValueType' may have shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | extension Duration: PklSerializableValueUnitType {
39 | public static let messageTag: PklValueType = .duration
| |- warning: static property 'messageTag' is not concurrency-safe because non-'Sendable' type 'PklValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'messageTag' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | public typealias UnitType = DurationUnit
/host/spi-builder-workspace/Sources/PklSwift/Decoder/PklDecoder.swift:20:13: note: consider making enum 'PklValueType' conform to the 'Sendable' protocol
18 | import MessagePack
19 |
20 | public enum PklValueType: UInt8, Decodable {
| `- note: consider making enum 'PklValueType' conform to the 'Sendable' protocol
21 | case object = 0x1
22 | case map = 0x2
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:163:23: warning: static property 'nanoseconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// A unit (magnitude) of duration.
140 | public enum DurationUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DurationUnit' conform to the 'Sendable' protocol
141 | /// Nanosecond
142 | case ns
:
161 |
162 | /// More verbose synonym.
163 | public static let nanoseconds: Self = .ns
| |- warning: static property 'nanoseconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nanoseconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |
165 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:166:23: warning: static property 'microseconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// A unit (magnitude) of duration.
140 | public enum DurationUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DurationUnit' conform to the 'Sendable' protocol
141 | /// Nanosecond
142 | case ns
:
164 |
165 | /// More verbose synonym.
166 | public static let microseconds: Self = .us
| |- warning: static property 'microseconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'microseconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |
168 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:169:23: warning: static property 'milliseconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// A unit (magnitude) of duration.
140 | public enum DurationUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DurationUnit' conform to the 'Sendable' protocol
141 | /// Nanosecond
142 | case ns
:
167 |
168 | /// More verbose synonym.
169 | public static let milliseconds: Self = .ms
| |- warning: static property 'milliseconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'milliseconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 |
171 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:172:23: warning: static property 'seconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// A unit (magnitude) of duration.
140 | public enum DurationUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DurationUnit' conform to the 'Sendable' protocol
141 | /// Nanosecond
142 | case ns
:
170 |
171 | /// More verbose synonym.
172 | public static let seconds: Self = .s
| |- warning: static property 'seconds' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 |
174 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:175:23: warning: static property 'minutes' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// A unit (magnitude) of duration.
140 | public enum DurationUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DurationUnit' conform to the 'Sendable' protocol
141 | /// Nanosecond
142 | case ns
:
173 |
174 | /// More verbose synonym.
175 | public static let minutes: Self = .min
| |- warning: static property 'minutes' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'minutes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
176 |
177 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:178:23: warning: static property 'hours' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// A unit (magnitude) of duration.
140 | public enum DurationUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DurationUnit' conform to the 'Sendable' protocol
141 | /// Nanosecond
142 | case ns
:
176 |
177 | /// More verbose synonym.
178 | public static let hours: Self = .h
| |- warning: static property 'hours' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hours' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 |
180 | /// More verbose synonym.
/host/spi-builder-workspace/Sources/PklSwift/API/Duration.swift:181:23: warning: static property 'days' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// A unit (magnitude) of duration.
140 | public enum DurationUnit: String, CaseIterable, Decodable {
| `- note: consider making enum 'DurationUnit' conform to the 'Sendable' protocol
141 | /// Nanosecond
142 | case ns
:
179 |
180 | /// More verbose synonym.
181 | public static let days: Self = .d
| |- warning: static property 'days' is not concurrency-safe because non-'Sendable' type 'DurationUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'days' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |
183 | public var inNanoSeconds: Int64 {
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorOptions.swift:157:23: warning: static property 'preconfigured' is not concurrency-safe because non-'Sendable' type 'EvaluatorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
17 | import Foundation
18 |
19 | public struct EvaluatorOptions {
| `- note: consider making struct 'EvaluatorOptions' conform to the 'Sendable' protocol
20 | public init(
21 | allowedModules: [String]? = nil,
:
155 | }
156 |
157 | public static let preconfigured: EvaluatorOptions = .init(
| |- warning: static property 'preconfigured' is not concurrency-safe because non-'Sendable' type 'EvaluatorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'preconfigured' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | allowedModules: defaultAllowedModules,
159 | allowedResources: defaultAllowedResources,
/host/spi-builder-workspace/Sources/PklSwift/TypeRegistry.swift:110:16: warning: static property '_shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
108 | extension TypeRegistry {
109 | static let _sharedLock: PklLock = .init()
110 | static var _shared: TypeRegistry?
| |- warning: static property '_shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 |
112 | public static func get() -> TypeRegistry {
/host/spi-builder-workspace/Sources/PklSwift/Utils.swift:87:12: warning: let 'absoluteUriRegex' is not concurrency-safe because non-'Sendable' type 'Regex<AnyRegexOutput>' may have shared mutable state; this is an error in the Swift 6 language mode
85 | }
86 |
87 | public let absoluteUriRegex = try! Regex("\\w+:")
| |- warning: let 'absoluteUriRegex' is not concurrency-safe because non-'Sendable' type 'Regex<AnyRegexOutput>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'absoluteUriRegex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 |
89 | public func tempDir() throws -> URL {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[133/154] Compiling PklSwift PklCodingKey.swift
[134/154] Compiling PklSwift PklEvaluatorSettings.swift
[135/154] Compiling PklSwift Project.swift
[136/154] Compiling PklSwift PklMapDecodingContainer.swift
[137/154] Compiling PklSwift PklSingleValueDecodingContainer.swift
[138/154] Compiling PklSwift PklTypedDecodingContainer.swift
[139/154] Compiling PklSwift EvaluatorOptions.swift
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorOptions.swift:157:23: warning: static property 'preconfigured' is not concurrency-safe because non-'Sendable' type 'EvaluatorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
17 | import Foundation
18 |
19 | public struct EvaluatorOptions {
| `- note: consider making struct 'EvaluatorOptions' conform to the 'Sendable' protocol
20 | public init(
21 | allowedModules: [String]? = nil,
:
155 | }
156 |
157 | public static let preconfigured: EvaluatorOptions = .init(
| |- warning: static property 'preconfigured' is not concurrency-safe because non-'Sendable' type 'EvaluatorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'preconfigured' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | allowedModules: defaultAllowedModules,
159 | allowedResources: defaultAllowedResources,
[140/154] Compiling PklSwift ExternalReaderClient.swift
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorOptions.swift:157:23: warning: static property 'preconfigured' is not concurrency-safe because non-'Sendable' type 'EvaluatorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
17 | import Foundation
18 |
19 | public struct EvaluatorOptions {
| `- note: consider making struct 'EvaluatorOptions' conform to the 'Sendable' protocol
20 | public init(
21 | allowedModules: [String]? = nil,
:
155 | }
156 |
157 | public static let preconfigured: EvaluatorOptions = .init(
| |- warning: static property 'preconfigured' is not concurrency-safe because non-'Sendable' type 'EvaluatorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'preconfigured' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | allowedModules: defaultAllowedModules,
159 | allowedResources: defaultAllowedResources,
[141/154] Compiling PklSwift Logger.swift
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorOptions.swift:157:23: warning: static property 'preconfigured' is not concurrency-safe because non-'Sendable' type 'EvaluatorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
17 | import Foundation
18 |
19 | public struct EvaluatorOptions {
| `- note: consider making struct 'EvaluatorOptions' conform to the 'Sendable' protocol
20 | public init(
21 | allowedModules: [String]? = nil,
:
155 | }
156 |
157 | public static let preconfigured: EvaluatorOptions = .init(
| |- warning: static property 'preconfigured' is not concurrency-safe because non-'Sendable' type 'EvaluatorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'preconfigured' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | allowedModules: defaultAllowedModules,
159 | allowedResources: defaultAllowedResources,
[142/154] Compiling PklSwift PklUnkeyedDecodingContainer.swift
/host/spi-builder-workspace/Sources/PklSwift/Evaluator.swift:27:54: warning: non-sendable result type 'Evaluator' cannot be sent from actor-isolated context in call to instance method 'newEvaluator(options:)'; this is an error in the Swift 6 language mode
25 | public func withEvaluator<T>(options: EvaluatorOptions, _ action: (Evaluator) async throws -> T) async throws -> T {
26 | try await withEvaluatorManager { manager in
27 | let evaluator: Evaluator = try await manager.newEvaluator(options: options)
| `- warning: non-sendable result type 'Evaluator' cannot be sent from actor-isolated context in call to instance method 'newEvaluator(options:)'; this is an error in the Swift 6 language mode
28 | return try await action(evaluator)
29 | }
:
70 |
71 | /// The core API for evaluating Pkl modules.
72 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
73 | private var manager: EvaluatorManager
74 | private let evaluatorID: Int64
/host/spi-builder-workspace/Sources/PklSwift/Evaluator.swift:66:43: warning: non-sendable result type 'Evaluator' cannot be sent from actor-isolated context in call to instance method 'newProjectEvaluator(projectBaseURI:options:)'; this is an error in the Swift 6 language mode
64 | ) async throws -> T {
65 | try await withEvaluatorManager { manager in
66 | let evaluator = try await manager.newProjectEvaluator(projectBaseURI: projectBaseURI, options: options)
| `- warning: non-sendable result type 'Evaluator' cannot be sent from actor-isolated context in call to instance method 'newProjectEvaluator(projectBaseURI:options:)'; this is an error in the Swift 6 language mode
67 | return try await action(evaluator)
68 | }
:
70 |
71 | /// The core API for evaluating Pkl modules.
72 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
73 | private var manager: EvaluatorManager
74 | private let evaluatorID: Int64
/host/spi-builder-workspace/Sources/PklSwift/Evaluator.swift:170:42: warning: non-sendable result type 'any ServerResponseMessage' cannot be sent from actor-isolated context in call to instance method 'ask'; this is an error in the Swift 6 language mode
168 | expr: expression
169 | )
170 | let response = try await manager.ask(request)
| `- warning: non-sendable result type 'any ServerResponseMessage' cannot be sent from actor-isolated context in call to instance method 'ask'; this is an error in the Swift 6 language mode
171 | guard let response = response as? EvaluateResponse else {
172 | throw PklBugError.invalidMessageCode(
/host/spi-builder-workspace/Sources/PklSwift/Message.swift:44:10: note: protocol 'ServerResponseMessage' does not conform to the 'Sendable' protocol
42 | protocol ServerRequestMessage: ServerMessage, RequestMessage {}
43 |
44 | protocol ServerResponseMessage: ServerMessage, ResponseMessage {}
| `- note: protocol 'ServerResponseMessage' does not conform to the 'Sendable' protocol
45 |
46 | protocol ServerOneWayMessage: ServerMessage, OneWayMessage {}
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:210:36: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'; this is an error in the Swift 6 language mode
204 | /// - options: The options used to configure the evaluator.
205 | /// - action: The action to run with the evaluator.
206 | public func withEvaluator<T>(options: EvaluatorOptions, _ action: (Evaluator) async throws -> T) async throws -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
207 | let evaluator = try await newEvaluator(options: options)
208 | var closed = false
209 | do {
210 | let result = try await action(evaluator)
| `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'; this is an error in the Swift 6 language mode
211 | try await evaluator.close()
212 | closed = true
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:242:36: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'; this is an error in the Swift 6 language mode
236 | /// - options: The options used to configure the evaluator.
237 | /// - action: The action to run with the evaluator.
238 | public func withProjectEvaluator<T>(projectBaseURI: URL, options: EvaluatorOptions, _ action: (Evaluator) async throws -> T) async throws -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
239 | let evaluator = try await newProjectEvaluator(projectBaseURI: projectBaseURI, options: options)
240 | var closed = false
241 | do {
242 | let result = try await action(evaluator)
| `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'; this is an error in the Swift 6 language mode
243 | try await evaluator.close()
244 | closed = true
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:304:54: warning: non-sendable result type 'Project' cannot be sent from nonisolated context in call to instance method 'evaluateOutputValue(source:asType:)'; this is an error in the Swift 6 language mode
302 | }
303 | return try await self.withEvaluator(options: .preconfigured) { projectEvaluator in
304 | let project = try await projectEvaluator.evaluateOutputValue(
| `- warning: non-sendable result type 'Project' cannot be sent from nonisolated context in call to instance method 'evaluateOutputValue(source:asType:)'; this is an error in the Swift 6 language mode
305 | source: .path("\(projectBaseURI)/PklProject"),
306 | asType: Project.self
/host/spi-builder-workspace/Sources/PklSwift/Project.swift:18:15: note: consider making struct 'Project' conform to the 'Sendable' protocol
16 |
17 | /// The Swift representation of `pkl.Project`
18 | public struct Project: PklRegisteredType, Hashable, DependencyDeclaredInProjectFile {
| `- note: consider making struct 'Project' conform to the 'Sendable' protocol
19 | public static let registeredIdentifier: String = "pkl.Project"
20 |
/host/spi-builder-workspace/Sources/PklSwift/Evaluator.swift:27:54: warning: sending 'options' risks causing data races; this is an error in the Swift 6 language mode
25 | public func withEvaluator<T>(options: EvaluatorOptions, _ action: (Evaluator) async throws -> T) async throws -> T {
26 | try await withEvaluatorManager { manager in
27 | let evaluator: Evaluator = try await manager.newEvaluator(options: options)
| |- warning: sending 'options' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'options' to actor-isolated instance method 'newEvaluator(options:)' risks causing data races between actor-isolated and task-isolated uses
28 | return try await action(evaluator)
29 | }
/host/spi-builder-workspace/Sources/PklSwift/Evaluator.swift:66:43: warning: sending 'options' risks causing data races; this is an error in the Swift 6 language mode
64 | ) async throws -> T {
65 | try await withEvaluatorManager { manager in
66 | let evaluator = try await manager.newProjectEvaluator(projectBaseURI: projectBaseURI, options: options)
| |- warning: sending 'options' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'options' to actor-isolated instance method 'newProjectEvaluator(projectBaseURI:options:)' risks causing data races between actor-isolated and task-isolated uses
67 | return try await action(evaluator)
68 | }
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:162:25: warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
160 | return
161 | }
162 | handler.resume(returning: message)
| |- warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'self'-isolated 'message' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
163 | case let message as ReadModuleRequest:
164 | guard let evaluator = evaluators[message.evaluatorId] else {
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:167:37: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
165 | throw PklBugError.invalidEvaluatorId("Received request for unknown evaluator id \(message.evaluatorId)")
166 | }
167 | try await evaluator.handleReadModuleRequest(request: message)
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
168 | case let message as ReadResourceRequest:
169 | guard let evaluator = evaluators[message.evaluatorId] else {
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:172:37: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
170 | throw PklBugError.invalidEvaluatorId("Received request for unknown evaluator id \(message.evaluatorId)")
171 | }
172 | try await evaluator.handleReadResourceRequest(request: message)
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
173 | case let message as LogMessage:
174 | guard let evaluator = evaluators[message.evaluatorId] else {
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:182:37: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
180 | throw PklBugError.invalidEvaluatorId("Received request for unknown evaluator id \(message.evaluatorId)")
181 | }
182 | try await evaluator.handleListModulesRequest(request: message)
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
183 | case let message as ListResourcesRequest:
184 | guard let evaluator = evaluators[message.evaluatorId] else {
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:187:37: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
185 | throw PklBugError.invalidEvaluatorId("Received request for unknown evaluator id \(message.evaluatorId)")
186 | }
187 | try await evaluator.handleListResourcesRequest(request: message)
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
188 | default:
189 | throw PklBugError.unknownMessage("Got request for unknown message: \(message)")
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:210:36: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
208 | var closed = false
209 | do {
210 | let result = try await action(evaluator)
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
211 | try await evaluator.close()
212 | closed = true
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:211:33: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
209 | do {
210 | let result = try await action(evaluator)
211 | try await evaluator.close()
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
212 | closed = true
213 | return result
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:216:37: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
214 | } catch {
215 | if !closed {
216 | try await evaluator.close()
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
217 | }
218 | throw error
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:308:57: warning: sending 'options' risks causing data races; this is an error in the Swift 6 language mode
301 | throw PklError("The evaluator manager is closed")
302 | }
303 | return try await self.withEvaluator(options: .preconfigured) { projectEvaluator in
| `- note: access can happen concurrently
304 | let project = try await projectEvaluator.evaluateOutputValue(
305 | source: .path("\(projectBaseURI)/PklProject"),
306 | asType: Project.self
307 | )
308 | return try await self.newEvaluator(options: options.withProject(project))
| |- warning: sending 'options' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'self'-isolated 'options' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
309 | }
310 | }
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:242:36: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
240 | var closed = false
241 | do {
242 | let result = try await action(evaluator)
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
243 | try await evaluator.close()
244 | closed = true
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:243:33: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
241 | do {
242 | let result = try await action(evaluator)
243 | try await evaluator.close()
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
244 | closed = true
245 | return result
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:248:37: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
246 | } catch {
247 | if !closed {
248 | try await evaluator.close()
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
249 | }
250 | throw error
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:304:54: warning: sending 'projectEvaluator' risks causing data races; this is an error in the Swift 6 language mode
302 | }
303 | return try await self.withEvaluator(options: .preconfigured) { projectEvaluator in
304 | let project = try await projectEvaluator.evaluateOutputValue(
| |- warning: sending 'projectEvaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'projectEvaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
305 | source: .path("\(projectBaseURI)/PklProject"),
306 | asType: Project.self
[143/154] Compiling PklSwift Evaluator.swift
/host/spi-builder-workspace/Sources/PklSwift/Evaluator.swift:27:54: warning: non-sendable result type 'Evaluator' cannot be sent from actor-isolated context in call to instance method 'newEvaluator(options:)'; this is an error in the Swift 6 language mode
25 | public func withEvaluator<T>(options: EvaluatorOptions, _ action: (Evaluator) async throws -> T) async throws -> T {
26 | try await withEvaluatorManager { manager in
27 | let evaluator: Evaluator = try await manager.newEvaluator(options: options)
| `- warning: non-sendable result type 'Evaluator' cannot be sent from actor-isolated context in call to instance method 'newEvaluator(options:)'; this is an error in the Swift 6 language mode
28 | return try await action(evaluator)
29 | }
:
70 |
71 | /// The core API for evaluating Pkl modules.
72 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
73 | private var manager: EvaluatorManager
74 | private let evaluatorID: Int64
/host/spi-builder-workspace/Sources/PklSwift/Evaluator.swift:66:43: warning: non-sendable result type 'Evaluator' cannot be sent from actor-isolated context in call to instance method 'newProjectEvaluator(projectBaseURI:options:)'; this is an error in the Swift 6 language mode
64 | ) async throws -> T {
65 | try await withEvaluatorManager { manager in
66 | let evaluator = try await manager.newProjectEvaluator(projectBaseURI: projectBaseURI, options: options)
| `- warning: non-sendable result type 'Evaluator' cannot be sent from actor-isolated context in call to instance method 'newProjectEvaluator(projectBaseURI:options:)'; this is an error in the Swift 6 language mode
67 | return try await action(evaluator)
68 | }
:
70 |
71 | /// The core API for evaluating Pkl modules.
72 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
73 | private var manager: EvaluatorManager
74 | private let evaluatorID: Int64
/host/spi-builder-workspace/Sources/PklSwift/Evaluator.swift:170:42: warning: non-sendable result type 'any ServerResponseMessage' cannot be sent from actor-isolated context in call to instance method 'ask'; this is an error in the Swift 6 language mode
168 | expr: expression
169 | )
170 | let response = try await manager.ask(request)
| `- warning: non-sendable result type 'any ServerResponseMessage' cannot be sent from actor-isolated context in call to instance method 'ask'; this is an error in the Swift 6 language mode
171 | guard let response = response as? EvaluateResponse else {
172 | throw PklBugError.invalidMessageCode(
/host/spi-builder-workspace/Sources/PklSwift/Message.swift:44:10: note: protocol 'ServerResponseMessage' does not conform to the 'Sendable' protocol
42 | protocol ServerRequestMessage: ServerMessage, RequestMessage {}
43 |
44 | protocol ServerResponseMessage: ServerMessage, ResponseMessage {}
| `- note: protocol 'ServerResponseMessage' does not conform to the 'Sendable' protocol
45 |
46 | protocol ServerOneWayMessage: ServerMessage, OneWayMessage {}
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:210:36: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'; this is an error in the Swift 6 language mode
204 | /// - options: The options used to configure the evaluator.
205 | /// - action: The action to run with the evaluator.
206 | public func withEvaluator<T>(options: EvaluatorOptions, _ action: (Evaluator) async throws -> T) async throws -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
207 | let evaluator = try await newEvaluator(options: options)
208 | var closed = false
209 | do {
210 | let result = try await action(evaluator)
| `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'; this is an error in the Swift 6 language mode
211 | try await evaluator.close()
212 | closed = true
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:242:36: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'; this is an error in the Swift 6 language mode
236 | /// - options: The options used to configure the evaluator.
237 | /// - action: The action to run with the evaluator.
238 | public func withProjectEvaluator<T>(projectBaseURI: URL, options: EvaluatorOptions, _ action: (Evaluator) async throws -> T) async throws -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
239 | let evaluator = try await newProjectEvaluator(projectBaseURI: projectBaseURI, options: options)
240 | var closed = false
241 | do {
242 | let result = try await action(evaluator)
| `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'; this is an error in the Swift 6 language mode
243 | try await evaluator.close()
244 | closed = true
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:304:54: warning: non-sendable result type 'Project' cannot be sent from nonisolated context in call to instance method 'evaluateOutputValue(source:asType:)'; this is an error in the Swift 6 language mode
302 | }
303 | return try await self.withEvaluator(options: .preconfigured) { projectEvaluator in
304 | let project = try await projectEvaluator.evaluateOutputValue(
| `- warning: non-sendable result type 'Project' cannot be sent from nonisolated context in call to instance method 'evaluateOutputValue(source:asType:)'; this is an error in the Swift 6 language mode
305 | source: .path("\(projectBaseURI)/PklProject"),
306 | asType: Project.self
/host/spi-builder-workspace/Sources/PklSwift/Project.swift:18:15: note: consider making struct 'Project' conform to the 'Sendable' protocol
16 |
17 | /// The Swift representation of `pkl.Project`
18 | public struct Project: PklRegisteredType, Hashable, DependencyDeclaredInProjectFile {
| `- note: consider making struct 'Project' conform to the 'Sendable' protocol
19 | public static let registeredIdentifier: String = "pkl.Project"
20 |
/host/spi-builder-workspace/Sources/PklSwift/Evaluator.swift:27:54: warning: sending 'options' risks causing data races; this is an error in the Swift 6 language mode
25 | public func withEvaluator<T>(options: EvaluatorOptions, _ action: (Evaluator) async throws -> T) async throws -> T {
26 | try await withEvaluatorManager { manager in
27 | let evaluator: Evaluator = try await manager.newEvaluator(options: options)
| |- warning: sending 'options' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'options' to actor-isolated instance method 'newEvaluator(options:)' risks causing data races between actor-isolated and task-isolated uses
28 | return try await action(evaluator)
29 | }
/host/spi-builder-workspace/Sources/PklSwift/Evaluator.swift:66:43: warning: sending 'options' risks causing data races; this is an error in the Swift 6 language mode
64 | ) async throws -> T {
65 | try await withEvaluatorManager { manager in
66 | let evaluator = try await manager.newProjectEvaluator(projectBaseURI: projectBaseURI, options: options)
| |- warning: sending 'options' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'options' to actor-isolated instance method 'newProjectEvaluator(projectBaseURI:options:)' risks causing data races between actor-isolated and task-isolated uses
67 | return try await action(evaluator)
68 | }
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:162:25: warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
160 | return
161 | }
162 | handler.resume(returning: message)
| |- warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'self'-isolated 'message' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
163 | case let message as ReadModuleRequest:
164 | guard let evaluator = evaluators[message.evaluatorId] else {
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:167:37: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
165 | throw PklBugError.invalidEvaluatorId("Received request for unknown evaluator id \(message.evaluatorId)")
166 | }
167 | try await evaluator.handleReadModuleRequest(request: message)
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
168 | case let message as ReadResourceRequest:
169 | guard let evaluator = evaluators[message.evaluatorId] else {
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:172:37: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
170 | throw PklBugError.invalidEvaluatorId("Received request for unknown evaluator id \(message.evaluatorId)")
171 | }
172 | try await evaluator.handleReadResourceRequest(request: message)
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
173 | case let message as LogMessage:
174 | guard let evaluator = evaluators[message.evaluatorId] else {
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:182:37: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
180 | throw PklBugError.invalidEvaluatorId("Received request for unknown evaluator id \(message.evaluatorId)")
181 | }
182 | try await evaluator.handleListModulesRequest(request: message)
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
183 | case let message as ListResourcesRequest:
184 | guard let evaluator = evaluators[message.evaluatorId] else {
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:187:37: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
185 | throw PklBugError.invalidEvaluatorId("Received request for unknown evaluator id \(message.evaluatorId)")
186 | }
187 | try await evaluator.handleListResourcesRequest(request: message)
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
188 | default:
189 | throw PklBugError.unknownMessage("Got request for unknown message: \(message)")
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:210:36: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
208 | var closed = false
209 | do {
210 | let result = try await action(evaluator)
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
211 | try await evaluator.close()
212 | closed = true
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:211:33: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
209 | do {
210 | let result = try await action(evaluator)
211 | try await evaluator.close()
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
212 | closed = true
213 | return result
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:216:37: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
214 | } catch {
215 | if !closed {
216 | try await evaluator.close()
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
217 | }
218 | throw error
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:308:57: warning: sending 'options' risks causing data races; this is an error in the Swift 6 language mode
301 | throw PklError("The evaluator manager is closed")
302 | }
303 | return try await self.withEvaluator(options: .preconfigured) { projectEvaluator in
| `- note: access can happen concurrently
304 | let project = try await projectEvaluator.evaluateOutputValue(
305 | source: .path("\(projectBaseURI)/PklProject"),
306 | asType: Project.self
307 | )
308 | return try await self.newEvaluator(options: options.withProject(project))
| |- warning: sending 'options' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'self'-isolated 'options' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
309 | }
310 | }
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:242:36: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
240 | var closed = false
241 | do {
242 | let result = try await action(evaluator)
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
243 | try await evaluator.close()
244 | closed = true
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:243:33: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
241 | do {
242 | let result = try await action(evaluator)
243 | try await evaluator.close()
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
244 | closed = true
245 | return result
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:248:37: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
246 | } catch {
247 | if !closed {
248 | try await evaluator.close()
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
249 | }
250 | throw error
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:304:54: warning: sending 'projectEvaluator' risks causing data races; this is an error in the Swift 6 language mode
302 | }
303 | return try await self.withEvaluator(options: .preconfigured) { projectEvaluator in
304 | let project = try await projectEvaluator.evaluateOutputValue(
| |- warning: sending 'projectEvaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'projectEvaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
305 | source: .path("\(projectBaseURI)/PklProject"),
306 | asType: Project.self
[144/154] Compiling PklSwift EvaluatorManager.swift
/host/spi-builder-workspace/Sources/PklSwift/Evaluator.swift:27:54: warning: non-sendable result type 'Evaluator' cannot be sent from actor-isolated context in call to instance method 'newEvaluator(options:)'; this is an error in the Swift 6 language mode
25 | public func withEvaluator<T>(options: EvaluatorOptions, _ action: (Evaluator) async throws -> T) async throws -> T {
26 | try await withEvaluatorManager { manager in
27 | let evaluator: Evaluator = try await manager.newEvaluator(options: options)
| `- warning: non-sendable result type 'Evaluator' cannot be sent from actor-isolated context in call to instance method 'newEvaluator(options:)'; this is an error in the Swift 6 language mode
28 | return try await action(evaluator)
29 | }
:
70 |
71 | /// The core API for evaluating Pkl modules.
72 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
73 | private var manager: EvaluatorManager
74 | private let evaluatorID: Int64
/host/spi-builder-workspace/Sources/PklSwift/Evaluator.swift:66:43: warning: non-sendable result type 'Evaluator' cannot be sent from actor-isolated context in call to instance method 'newProjectEvaluator(projectBaseURI:options:)'; this is an error in the Swift 6 language mode
64 | ) async throws -> T {
65 | try await withEvaluatorManager { manager in
66 | let evaluator = try await manager.newProjectEvaluator(projectBaseURI: projectBaseURI, options: options)
| `- warning: non-sendable result type 'Evaluator' cannot be sent from actor-isolated context in call to instance method 'newProjectEvaluator(projectBaseURI:options:)'; this is an error in the Swift 6 language mode
67 | return try await action(evaluator)
68 | }
:
70 |
71 | /// The core API for evaluating Pkl modules.
72 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
73 | private var manager: EvaluatorManager
74 | private let evaluatorID: Int64
/host/spi-builder-workspace/Sources/PklSwift/Evaluator.swift:170:42: warning: non-sendable result type 'any ServerResponseMessage' cannot be sent from actor-isolated context in call to instance method 'ask'; this is an error in the Swift 6 language mode
168 | expr: expression
169 | )
170 | let response = try await manager.ask(request)
| `- warning: non-sendable result type 'any ServerResponseMessage' cannot be sent from actor-isolated context in call to instance method 'ask'; this is an error in the Swift 6 language mode
171 | guard let response = response as? EvaluateResponse else {
172 | throw PklBugError.invalidMessageCode(
/host/spi-builder-workspace/Sources/PklSwift/Message.swift:44:10: note: protocol 'ServerResponseMessage' does not conform to the 'Sendable' protocol
42 | protocol ServerRequestMessage: ServerMessage, RequestMessage {}
43 |
44 | protocol ServerResponseMessage: ServerMessage, ResponseMessage {}
| `- note: protocol 'ServerResponseMessage' does not conform to the 'Sendable' protocol
45 |
46 | protocol ServerOneWayMessage: ServerMessage, OneWayMessage {}
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:210:36: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'; this is an error in the Swift 6 language mode
204 | /// - options: The options used to configure the evaluator.
205 | /// - action: The action to run with the evaluator.
206 | public func withEvaluator<T>(options: EvaluatorOptions, _ action: (Evaluator) async throws -> T) async throws -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
207 | let evaluator = try await newEvaluator(options: options)
208 | var closed = false
209 | do {
210 | let result = try await action(evaluator)
| `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'; this is an error in the Swift 6 language mode
211 | try await evaluator.close()
212 | closed = true
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:242:36: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'; this is an error in the Swift 6 language mode
236 | /// - options: The options used to configure the evaluator.
237 | /// - action: The action to run with the evaluator.
238 | public func withProjectEvaluator<T>(projectBaseURI: URL, options: EvaluatorOptions, _ action: (Evaluator) async throws -> T) async throws -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
239 | let evaluator = try await newProjectEvaluator(projectBaseURI: projectBaseURI, options: options)
240 | var closed = false
241 | do {
242 | let result = try await action(evaluator)
| `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'; this is an error in the Swift 6 language mode
243 | try await evaluator.close()
244 | closed = true
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:304:54: warning: non-sendable result type 'Project' cannot be sent from nonisolated context in call to instance method 'evaluateOutputValue(source:asType:)'; this is an error in the Swift 6 language mode
302 | }
303 | return try await self.withEvaluator(options: .preconfigured) { projectEvaluator in
304 | let project = try await projectEvaluator.evaluateOutputValue(
| `- warning: non-sendable result type 'Project' cannot be sent from nonisolated context in call to instance method 'evaluateOutputValue(source:asType:)'; this is an error in the Swift 6 language mode
305 | source: .path("\(projectBaseURI)/PklProject"),
306 | asType: Project.self
/host/spi-builder-workspace/Sources/PklSwift/Project.swift:18:15: note: consider making struct 'Project' conform to the 'Sendable' protocol
16 |
17 | /// The Swift representation of `pkl.Project`
18 | public struct Project: PklRegisteredType, Hashable, DependencyDeclaredInProjectFile {
| `- note: consider making struct 'Project' conform to the 'Sendable' protocol
19 | public static let registeredIdentifier: String = "pkl.Project"
20 |
/host/spi-builder-workspace/Sources/PklSwift/Evaluator.swift:27:54: warning: sending 'options' risks causing data races; this is an error in the Swift 6 language mode
25 | public func withEvaluator<T>(options: EvaluatorOptions, _ action: (Evaluator) async throws -> T) async throws -> T {
26 | try await withEvaluatorManager { manager in
27 | let evaluator: Evaluator = try await manager.newEvaluator(options: options)
| |- warning: sending 'options' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'options' to actor-isolated instance method 'newEvaluator(options:)' risks causing data races between actor-isolated and task-isolated uses
28 | return try await action(evaluator)
29 | }
/host/spi-builder-workspace/Sources/PklSwift/Evaluator.swift:66:43: warning: sending 'options' risks causing data races; this is an error in the Swift 6 language mode
64 | ) async throws -> T {
65 | try await withEvaluatorManager { manager in
66 | let evaluator = try await manager.newProjectEvaluator(projectBaseURI: projectBaseURI, options: options)
| |- warning: sending 'options' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'options' to actor-isolated instance method 'newProjectEvaluator(projectBaseURI:options:)' risks causing data races between actor-isolated and task-isolated uses
67 | return try await action(evaluator)
68 | }
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:162:25: warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
160 | return
161 | }
162 | handler.resume(returning: message)
| |- warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'self'-isolated 'message' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
163 | case let message as ReadModuleRequest:
164 | guard let evaluator = evaluators[message.evaluatorId] else {
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:167:37: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
165 | throw PklBugError.invalidEvaluatorId("Received request for unknown evaluator id \(message.evaluatorId)")
166 | }
167 | try await evaluator.handleReadModuleRequest(request: message)
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
168 | case let message as ReadResourceRequest:
169 | guard let evaluator = evaluators[message.evaluatorId] else {
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:172:37: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
170 | throw PklBugError.invalidEvaluatorId("Received request for unknown evaluator id \(message.evaluatorId)")
171 | }
172 | try await evaluator.handleReadResourceRequest(request: message)
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
173 | case let message as LogMessage:
174 | guard let evaluator = evaluators[message.evaluatorId] else {
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:182:37: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
180 | throw PklBugError.invalidEvaluatorId("Received request for unknown evaluator id \(message.evaluatorId)")
181 | }
182 | try await evaluator.handleListModulesRequest(request: message)
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
183 | case let message as ListResourcesRequest:
184 | guard let evaluator = evaluators[message.evaluatorId] else {
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:187:37: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
185 | throw PklBugError.invalidEvaluatorId("Received request for unknown evaluator id \(message.evaluatorId)")
186 | }
187 | try await evaluator.handleListResourcesRequest(request: message)
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
188 | default:
189 | throw PklBugError.unknownMessage("Got request for unknown message: \(message)")
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:210:36: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
208 | var closed = false
209 | do {
210 | let result = try await action(evaluator)
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
211 | try await evaluator.close()
212 | closed = true
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:211:33: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
209 | do {
210 | let result = try await action(evaluator)
211 | try await evaluator.close()
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
212 | closed = true
213 | return result
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:216:37: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
214 | } catch {
215 | if !closed {
216 | try await evaluator.close()
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
217 | }
218 | throw error
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:308:57: warning: sending 'options' risks causing data races; this is an error in the Swift 6 language mode
301 | throw PklError("The evaluator manager is closed")
302 | }
303 | return try await self.withEvaluator(options: .preconfigured) { projectEvaluator in
| `- note: access can happen concurrently
304 | let project = try await projectEvaluator.evaluateOutputValue(
305 | source: .path("\(projectBaseURI)/PklProject"),
306 | asType: Project.self
307 | )
308 | return try await self.newEvaluator(options: options.withProject(project))
| |- warning: sending 'options' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'self'-isolated 'options' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
309 | }
310 | }
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:242:36: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
240 | var closed = false
241 | do {
242 | let result = try await action(evaluator)
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
243 | try await evaluator.close()
244 | closed = true
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:243:33: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
241 | do {
242 | let result = try await action(evaluator)
243 | try await evaluator.close()
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
244 | closed = true
245 | return result
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:248:37: warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
246 | } catch {
247 | if !closed {
248 | try await evaluator.close()
| |- warning: sending 'evaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'evaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
249 | }
250 | throw error
/host/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:304:54: warning: sending 'projectEvaluator' risks causing data races; this is an error in the Swift 6 language mode
302 | }
303 | return try await self.withEvaluator(options: .preconfigured) { projectEvaluator in
304 | let project = try await projectEvaluator.evaluateOutputValue(
| |- warning: sending 'projectEvaluator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'projectEvaluator' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
305 | source: .path("\(projectBaseURI)/PklProject"),
306 | asType: Project.self
[145/154] Compiling PklSwift Message.swift
/host/spi-builder-workspace/Sources/PklSwift/MessageTransport.swift:103:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
101 | func getMessages() throws -> AsyncThrowingStream<ServerMessage, Error> {
102 | AsyncThrowingStream { continuation in
103 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
104 | while self.running {
| `- note: closure captures 'self' which is accessible to code in the current task
105 | do {
106 | let arrayLength = try decoder.decodeArrayLength()
/host/spi-builder-workspace/Sources/PklSwift/MessageTransport.swift:111:38: warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
109 | let message = try decodeMessage(code)
110 | debug("Received message: \(message)")
111 | continuation.yield(message)
| |- warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'message' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
112 | } catch {
113 | if self.running {
[146/154] Compiling PklSwift MessageTransport.swift
/host/spi-builder-workspace/Sources/PklSwift/MessageTransport.swift:103:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
101 | func getMessages() throws -> AsyncThrowingStream<ServerMessage, Error> {
102 | AsyncThrowingStream { continuation in
103 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
104 | while self.running {
| `- note: closure captures 'self' which is accessible to code in the current task
105 | do {
106 | let arrayLength = try decoder.decodeArrayLength()
/host/spi-builder-workspace/Sources/PklSwift/MessageTransport.swift:111:38: warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
109 | let message = try decodeMessage(code)
110 | debug("Received message: \(message)")
111 | continuation.yield(message)
| |- warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'message' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
112 | } catch {
113 | if self.running {
[147/154] Compiling PklSwift ModuleSource.swift
/host/spi-builder-workspace/Sources/PklSwift/MessageTransport.swift:103:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
101 | func getMessages() throws -> AsyncThrowingStream<ServerMessage, Error> {
102 | AsyncThrowingStream { continuation in
103 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
104 | while self.running {
| `- note: closure captures 'self' which is accessible to code in the current task
105 | do {
106 | let arrayLength = try decoder.decodeArrayLength()
/host/spi-builder-workspace/Sources/PklSwift/MessageTransport.swift:111:38: warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
109 | let message = try decodeMessage(code)
110 | debug("Received message: \(message)")
111 | continuation.yield(message)
| |- warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'message' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
112 | } catch {
113 | if self.running {
[148/155] Wrapping AST for PklSwift for debugging
[150/162] Compiling pkl_gen_swift embedded_resources.swift
[151/162] Emitting module test_external_reader
[152/162] Compiling test_external_reader TestExternalReader.swift
[153/162] Compiling pkl_gen_swift PklSwiftGenerator.swift
[154/163] Emitting module pkl_gen_swift
/host/spi-builder-workspace/Sources/pkl-gen-swift/PklGenSwift.swift:38:16: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'GeneratorSettings.Module' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension GeneratorSettings {
38 | static let EMPTY = GeneratorSettings.Module(
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'GeneratorSettings.Module' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | inputs: [],
40 | outputPath: nil,
/host/spi-builder-workspace/Sources/pkl-gen-swift/Generated/GeneratorSettings.pkl.swift:8:17: note: consider making struct 'Module' conform to the 'Sendable' protocol
6 | extension GeneratorSettings {
7 | /// Settings used to configure code generation.
8 | public struct Module: PklRegisteredType, Decodable, Hashable {
| `- note: consider making struct 'Module' conform to the 'Sendable' protocol
9 | public static let registeredIdentifier: String = "pkl.swift.GeneratorSettings"
10 |
[155/163] Wrapping AST for test-external-reader for debugging
[156/163] Write Objects.LinkFileList
[158/163] Compiling pkl_gen_swift PklGenSwift.swift
/host/spi-builder-workspace/Sources/pkl-gen-swift/PklGenSwift.swift:38:16: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'GeneratorSettings.Module' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension GeneratorSettings {
38 | static let EMPTY = GeneratorSettings.Module(
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'GeneratorSettings.Module' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | inputs: [],
40 | outputPath: nil,
/host/spi-builder-workspace/Sources/pkl-gen-swift/Generated/GeneratorSettings.pkl.swift:8:17: note: consider making struct 'Module' conform to the 'Sendable' protocol
6 | extension GeneratorSettings {
7 | /// Settings used to configure code generation.
8 | public struct Module: PklRegisteredType, Decodable, Hashable {
| `- note: consider making struct 'Module' conform to the 'Sendable' protocol
9 | public static let registeredIdentifier: String = "pkl.swift.GeneratorSettings"
10 |
[159/163] Compiling pkl_gen_swift GeneratorSettings.pkl.swift
[160/164] Wrapping AST for pkl-gen-swift for debugging
[161/164] Write Objects.LinkFileList
[162/164] Linking test-external-reader
[163/164] Linking pkl-gen-swift
Build complete! (102.92s)
Build complete.
{
"cxx_language_standard" : "c++20",
"dependencies" : [
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "semanticversion",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftPackageIndex/SemanticVersion"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-docc-plugin"
},
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.55.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
}
],
"manifest_display_name" : "pkl-swift",
"name" : "pkl-swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "MessagePack",
"targets" : [
"MessagePack"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PklSwift",
"targets" : [
"PklSwift"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "pkl-gen-swift",
"targets" : [
"pkl-gen-swift"
],
"type" : {
"executable" : null
}
},
{
"name" : "test-external-reader",
"targets" : [
"test-external-reader"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "test_external_reader",
"module_type" : "SwiftTarget",
"name" : "test-external-reader",
"path" : "Sources/test-external-reader",
"product_memberships" : [
"test-external-reader"
],
"sources" : [
"TestExternalReader.swift"
],
"target_dependencies" : [
"PklSwift"
],
"type" : "executable"
},
{
"c99name" : "pkl_gen_swift",
"module_type" : "SwiftTarget",
"name" : "pkl-gen-swift",
"path" : "Sources/pkl-gen-swift",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"pkl-gen-swift"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/pkl-gen-swift/Resources/VERSION.txt",
"rule" : {
"embed_in_code" : {
}
}
}
],
"sources" : [
"Generated/GeneratorSettings.pkl.swift",
"PklGenSwift.swift",
"PklSwiftGenerator.swift"
],
"target_dependencies" : [
"PklSwift"
],
"type" : "executable"
},
{
"c99name" : "PklSwiftTests",
"module_type" : "SwiftTarget",
"name" : "PklSwiftTests",
"path" : "Tests/PklSwiftTests",
"sources" : [
"API/DataSizeTests.swift",
"API/DurationTests.swift",
"Decoder/PklDecoderTest.swift",
"EvaluatorManagerTest.swift",
"EvaluatorTest.swift",
"ExternalReaderClientTest.swift",
"Fixtures/Generated/AnyType.pkl.swift",
"Fixtures/Generated/ApiTypes.pkl.swift",
"Fixtures/Generated/Classes.pkl.swift",
"Fixtures/Generated/Collections.pkl.swift",
"Fixtures/Generated/ExtendedModule.pkl.swift",
"Fixtures/Generated/OpenModule.pkl.swift",
"Fixtures/Generated/UnionTypes.pkl.swift",
"Fixtures/Generated/pkl_swift_example_Poly.pkl.swift",
"Fixtures/Generated/pkl_swift_lib1.pkl.swift",
"FixturesTest.swift",
"ProjectTest.swift"
],
"target_dependencies" : [
"PklSwift"
],
"type" : "test"
},
{
"c99name" : "PklSwiftInternals",
"module_type" : "ClangTarget",
"name" : "PklSwiftInternals",
"path" : "Sources/PklSwiftInternals",
"product_memberships" : [
"PklSwift",
"pkl-gen-swift",
"test-external-reader"
],
"sources" : [
"Discovery.cpp"
],
"type" : "library"
},
{
"c99name" : "PklSwift",
"module_type" : "SwiftTarget",
"name" : "PklSwift",
"path" : "Sources/PklSwift",
"product_dependencies" : [
"SemanticVersion"
],
"product_memberships" : [
"PklSwift",
"pkl-gen-swift",
"test-external-reader"
],
"sources" : [
"API/DataSize.swift",
"API/Duration.swift",
"Decoder/PklDecoder.swift",
"Decoder/PklMapDecodingContainer.swift",
"Decoder/PklSingleValueDecodingContainer.swift",
"Decoder/PklTypedDecodingContainer.swift",
"Decoder/PklUnkeyedDecodingContainer.swift",
"Evaluator.swift",
"EvaluatorManager.swift",
"EvaluatorOptions.swift",
"ExternalReaderClient.swift",
"Logger.swift",
"Message.swift",
"MessageTransport.swift",
"ModuleSource.swift",
"PklCodingKey.swift",
"PklEvaluatorSettings.swift",
"Project.swift",
"Reader.swift",
"TypeRegistry.swift",
"Utils.swift",
"locks.swift"
],
"target_dependencies" : [
"MessagePack",
"PklSwiftInternals"
],
"type" : "library"
},
{
"c99name" : "MessagePackTests",
"module_type" : "SwiftTarget",
"name" : "MessagePackTests",
"path" : "Tests/MessagePackTests",
"sources" : [
"MessagePackDecodingTests.swift",
"MessagePackEncodingTests.swift"
],
"target_dependencies" : [
"MessagePack"
],
"type" : "test"
},
{
"c99name" : "MessagePack",
"module_type" : "SwiftTarget",
"name" : "MessagePack",
"path" : "Sources/MessagePack",
"product_dependencies" : [
"SystemPackage"
],
"product_memberships" : [
"MessagePack",
"PklSwift",
"pkl-gen-swift",
"test-external-reader"
],
"sources" : [
"AnyCodingKey.swift",
"Box.swift",
"Decoder/KeyedDecodingContainer.swift",
"Decoder/KeyedSingleDecodingContainer.swift",
"Decoder/MessagePackDecoder.swift",
"Decoder/SingleValueDecodingContainer.swift",
"Decoder/UnkeyedDecodingContainer.swift",
"Decoder/UnkeyedMapDecodingContainer.swift",
"Decoder/_MessagePackDecoder.swift",
"Encoder/KeyedEncodingContainer.swift",
"Encoder/MessagePackEncoder.swift",
"Encoder/SingleValueEncodingContainer.swift",
"Encoder/UnkeyedEncodingContainer.swift",
"FixedWidthInteger.swift",
"IO.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.