The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of pkl-swift, reference 0.4.2 (d6f087), with Swift 6.0 for macOS (SPM) on 14 Apr 2025 18:43:23 UTC.

Swift 6 data race errors: 26

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -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

Build Log

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
/Users/admin/builder/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:14:10: note: requirement 'decode' declared here
12 |     func decode(_ type: Int64.Type) throws -> Int64
13 |     @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 |     func decode(_ type: Int128.Type) throws -> Int128
   |          `- note: requirement 'decode' declared here
15 |     func decode(_ type: UInt.Type) throws -> UInt
16 |     func decode(_ type: UInt8.Type) throws -> UInt8
/Users/admin/builder/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:21:10: note: requirement 'decode' declared here
19 |     func decode(_ type: UInt64.Type) throws -> UInt64
20 |     @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
21 |     func decode(_ type: UInt128.Type) throws -> UInt128
   |          `- note: requirement 'decode' declared here
22 |     func decode<T>(_ type: T.Type) throws -> T where T : Decodable
23 | }
/Users/admin/builder/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:14:19: note: requirement 'encode' declared here
12 |     mutating func encode(_ value: Int64) throws
13 |     @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 |     mutating func encode(_ value: Int128) throws
   |                   `- note: requirement 'encode' declared here
15 |     mutating func encode(_ value: UInt) throws
16 |     mutating func encode(_ value: UInt8) throws
/Users/admin/builder/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:21:19: note: requirement 'encode' declared here
19 |     mutating func encode(_ value: UInt64) throws
20 |     @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
21 |     mutating func encode(_ value: UInt128) throws
   |                   `- note: requirement 'encode' declared here
22 |     mutating func encode<T>(_ value: T) throws where T : Encodable
23 | }
[106/113] Compiling MessagePack MessagePackDecoder.swift
/Users/admin/builder/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:14:10: note: requirement 'decode' declared here
12 |     func decode(_ type: Int64.Type) throws -> Int64
13 |     @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 |     func decode(_ type: Int128.Type) throws -> Int128
   |          `- note: requirement 'decode' declared here
15 |     func decode(_ type: UInt.Type) throws -> UInt
16 |     func decode(_ type: UInt8.Type) throws -> UInt8
/Users/admin/builder/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:21:10: note: requirement 'decode' declared here
19 |     func decode(_ type: UInt64.Type) throws -> UInt64
20 |     @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
21 |     func decode(_ type: UInt128.Type) throws -> UInt128
   |          `- note: requirement 'decode' declared here
22 |     func decode<T>(_ type: T.Type) throws -> T where T : Decodable
23 | }
[107/113] Compiling MessagePack SingleValueDecodingContainer.swift
/Users/admin/builder/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:14:10: note: requirement 'decode' declared here
12 |     func decode(_ type: Int64.Type) throws -> Int64
13 |     @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 |     func decode(_ type: Int128.Type) throws -> Int128
   |          `- note: requirement 'decode' declared here
15 |     func decode(_ type: UInt.Type) throws -> UInt
16 |     func decode(_ type: UInt8.Type) throws -> UInt8
/Users/admin/builder/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:21:10: note: requirement 'decode' declared here
19 |     func decode(_ type: UInt64.Type) throws -> UInt64
20 |     @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
21 |     func decode(_ type: UInt128.Type) throws -> UInt128
   |          `- note: requirement 'decode' declared here
22 |     func decode<T>(_ type: T.Type) throws -> T where T : Decodable
23 | }
[108/134] Compiling PklSwift ExternalReaderClient.swift
[109/134] Compiling PklSwift Logger.swift
[110/136] Compiling PklSwift DataSize.swift
/Users/admin/builder/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: annotate 'messageTag' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 | }
 44 |
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'bytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 |
190 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'kilobytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 |
193 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'kibibytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 |
196 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'megabytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 |
199 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'mebibytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 |
202 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'gigabytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 |
205 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'gibibytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 |
208 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'terabytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 |
211 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'tebibytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 |
214 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'petabytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |
217 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'pebibytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 |
220 |     public var inBytes: Int64 {
/Users/admin/builder/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: annotate 'messageTag' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |
 41 |     public typealias UnitType = DurationUnit
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'nanoseconds' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |
165 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'microseconds' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |
168 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'milliseconds' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 |
171 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'seconds' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 |
174 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'minutes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
176 |
177 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'hours' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 |
180 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'days' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |
183 |     public var inNanoSeconds: Int64 {
[111/136] Compiling PklSwift Duration.swift
/Users/admin/builder/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: annotate 'messageTag' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 | }
 44 |
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'bytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 |
190 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'kilobytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 |
193 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'kibibytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 |
196 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'megabytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 |
199 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'mebibytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 |
202 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'gigabytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 |
205 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'gibibytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 |
208 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'terabytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 |
211 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'tebibytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 |
214 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'petabytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |
217 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'pebibytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 |
220 |     public var inBytes: Int64 {
/Users/admin/builder/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: annotate 'messageTag' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |
 41 |     public typealias UnitType = DurationUnit
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'nanoseconds' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |
165 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'microseconds' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |
168 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'milliseconds' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 |
171 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'seconds' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 |
174 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'minutes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
176 |
177 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'hours' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 |
180 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'days' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |
183 |     public var inNanoSeconds: Int64 {
[112/136] Compiling PklSwift PklDecoder.swift
/Users/admin/builder/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: annotate 'messageTag' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 | }
 44 |
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'bytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 |
190 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'kilobytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 |
193 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'kibibytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 |
196 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'megabytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 |
199 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'mebibytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 |
202 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'gigabytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 |
205 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'gibibytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 |
208 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'terabytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 |
211 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'tebibytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 |
214 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'petabytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |
217 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'pebibytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 |
220 |     public var inBytes: Int64 {
/Users/admin/builder/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: annotate 'messageTag' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |
 41 |     public typealias UnitType = DurationUnit
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'nanoseconds' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |
165 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'microseconds' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |
168 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'milliseconds' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 |
171 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'seconds' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 |
174 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'minutes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
176 |
177 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'hours' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 |
180 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'days' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |
183 |     public var inNanoSeconds: Int64 {
[113/136] Compiling PklSwift Utils.swift
/Users/admin/builder/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: annotate 'absoluteUriRegex' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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, *)
[114/136] Compiling PklSwift locks.swift
/Users/admin/builder/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: annotate 'absoluteUriRegex' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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, *)
[115/136] Compiling PklSwift Reader.swift
/Users/admin/builder/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: annotate '_shared' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 |
112 |     public static func get() -> TypeRegistry {
[116/136] Compiling PklSwift TypeRegistry.swift
/Users/admin/builder/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: annotate '_shared' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 |
112 |     public static func get() -> TypeRegistry {
[117/136] Compiling PklSwift EvaluatorManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:153:9: warning: non-sendable type '(any ServerMessage)?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
151 |
152 |     private func listenForIncomingMessages() async throws {
153 |         for try await message in try self.transport.getMessages() {
    |         `- warning: non-sendable type '(any ServerMessage)?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
154 |             debug("EvaluatorManager got message \(message)")
155 |             switch message {
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/Message.swift:40:10: note: protocol 'ServerMessage' does not conform to the 'Sendable' protocol
 38 | protocol ClientOneWayMessage: ClientMessage, OneWayMessage {}
 39 |
 40 | protocol ServerMessage: Message, Decodable {}
    |          `- note: protocol 'ServerMessage' does not conform to the 'Sendable' protocol
 41 |
 42 | protocol ServerRequestMessage: ServerMessage, RequestMessage {}
/Users/admin/builder/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: annotate 'preconfigured' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 |         allowedModules: defaultAllowedModules,
159 |         allowedResources: defaultAllowedResources,
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:210:36: warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
211 |             try await evaluator.close()
212 |             closed = true
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:242:36: warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
243 |             try await evaluator.close()
244 |             closed = true
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:304:54: warning: non-sendable type 'Project' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'Project' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
305 |                 source: .path("\(projectBaseURI)/PklProject"),
306 |                 asType: Project.self
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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)")
/Users/admin/builder/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: 'message' used after being passed as a 'sending' parameter; Later uses could race
    |                         `- note: access can happen concurrently
163 |             case let message as ReadModuleRequest:
164 |                 guard let evaluator = evaluators[message.evaluatorId] else {
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:342:23: warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
339 |
340 |     func ask(_ message: ClientRequestMessage) async throws -> ServerResponseMessage {
341 |         try await withCheckedThrowingContinuation { continuation in
    |                   `- note: access can happen concurrently
342 |             var msg = message
    |                       |- warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
    |                       `- note: 'self'-isolated 'message' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
343 |             msg.requestId = Int64.random(in: Int64.min..<Int64.max)
344 |             do {
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 |     }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[118/136] Compiling PklSwift EvaluatorOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:153:9: warning: non-sendable type '(any ServerMessage)?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
151 |
152 |     private func listenForIncomingMessages() async throws {
153 |         for try await message in try self.transport.getMessages() {
    |         `- warning: non-sendable type '(any ServerMessage)?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
154 |             debug("EvaluatorManager got message \(message)")
155 |             switch message {
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/Message.swift:40:10: note: protocol 'ServerMessage' does not conform to the 'Sendable' protocol
 38 | protocol ClientOneWayMessage: ClientMessage, OneWayMessage {}
 39 |
 40 | protocol ServerMessage: Message, Decodable {}
    |          `- note: protocol 'ServerMessage' does not conform to the 'Sendable' protocol
 41 |
 42 | protocol ServerRequestMessage: ServerMessage, RequestMessage {}
/Users/admin/builder/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: annotate 'preconfigured' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 |         allowedModules: defaultAllowedModules,
159 |         allowedResources: defaultAllowedResources,
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:210:36: warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
211 |             try await evaluator.close()
212 |             closed = true
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:242:36: warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
243 |             try await evaluator.close()
244 |             closed = true
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:304:54: warning: non-sendable type 'Project' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'Project' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
305 |                 source: .path("\(projectBaseURI)/PklProject"),
306 |                 asType: Project.self
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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)")
/Users/admin/builder/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: 'message' used after being passed as a 'sending' parameter; Later uses could race
    |                         `- note: access can happen concurrently
163 |             case let message as ReadModuleRequest:
164 |                 guard let evaluator = evaluators[message.evaluatorId] else {
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:342:23: warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
339 |
340 |     func ask(_ message: ClientRequestMessage) async throws -> ServerResponseMessage {
341 |         try await withCheckedThrowingContinuation { continuation in
    |                   `- note: access can happen concurrently
342 |             var msg = message
    |                       |- warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
    |                       `- note: 'self'-isolated 'message' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
343 |             msg.requestId = Int64.random(in: Int64.min..<Int64.max)
344 |             do {
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 |     }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[119/136] Compiling PklSwift ModuleSource.swift
[120/136] Compiling PklSwift PklCodingKey.swift
[121/136] Emitting module PklSwift
/Users/admin/builder/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: annotate 'messageTag' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 | }
 44 |
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'bytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 |
190 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'kilobytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 |
193 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'kibibytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 |
196 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'megabytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 |
199 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'mebibytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 |
202 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'gigabytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 |
205 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'gibibytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 |
208 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'terabytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 |
211 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'tebibytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 |
214 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'petabytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |
217 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'pebibytes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 |
220 |     public var inBytes: Int64 {
/Users/admin/builder/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: annotate 'messageTag' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |
 41 |     public typealias UnitType = DurationUnit
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'nanoseconds' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |
165 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'microseconds' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |
168 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'milliseconds' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 |
171 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'seconds' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 |
174 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'minutes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
176 |
177 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'hours' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 |
180 |     /// More verbose synonym.
/Users/admin/builder/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: annotate 'days' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |
183 |     public var inNanoSeconds: Int64 {
/Users/admin/builder/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: annotate 'preconfigured' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 |         allowedModules: defaultAllowedModules,
159 |         allowedResources: defaultAllowedResources,
/Users/admin/builder/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: annotate '_shared' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 |
112 |     public static func get() -> TypeRegistry {
/Users/admin/builder/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: annotate 'absoluteUriRegex' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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, *)
[122/136] Compiling PklSwift PklEvaluatorSettings.swift
[123/136] Compiling PklSwift Project.swift
[124/136] Compiling PklSwift PklUnkeyedDecodingContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/Evaluator.swift:27:54: warning: non-sendable type 'Evaluator' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; 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 type 'Evaluator' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; 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
/Users/admin/builder/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: annotate 'preconfigured' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 |         allowedModules: defaultAllowedModules,
159 |         allowedResources: defaultAllowedResources,
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/Evaluator.swift:66:43: warning: non-sendable type 'Evaluator' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; 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 type 'Evaluator' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; 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
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/Evaluator.swift:170:42: warning: non-sendable type 'any ServerResponseMessage' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; 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 type 'any ServerResponseMessage' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
171 |         guard let response = response as? EvaluateResponse else {
172 |             throw PklBugError.invalidMessageCode(
/Users/admin/builder/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 {}
/Users/admin/builder/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 |     }
/Users/admin/builder/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 |     }
[125/136] Compiling PklSwift Evaluator.swift
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/Evaluator.swift:27:54: warning: non-sendable type 'Evaluator' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; 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 type 'Evaluator' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; 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
/Users/admin/builder/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: annotate 'preconfigured' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 |         allowedModules: defaultAllowedModules,
159 |         allowedResources: defaultAllowedResources,
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/Evaluator.swift:66:43: warning: non-sendable type 'Evaluator' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; 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 type 'Evaluator' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; 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
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/Evaluator.swift:170:42: warning: non-sendable type 'any ServerResponseMessage' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; 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 type 'any ServerResponseMessage' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
171 |         guard let response = response as? EvaluateResponse else {
172 |             throw PklBugError.invalidMessageCode(
/Users/admin/builder/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 {}
/Users/admin/builder/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 |     }
/Users/admin/builder/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 |     }
[126/136] Compiling PklSwift PklMapDecodingContainer.swift
[127/136] Compiling PklSwift PklSingleValueDecodingContainer.swift
[128/136] Compiling PklSwift PklTypedDecodingContainer.swift
[129/136] Compiling PklSwift Message.swift
/Users/admin/builder/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()
/Users/admin/builder/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 {
[130/136] Compiling PklSwift MessageTransport.swift
/Users/admin/builder/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()
/Users/admin/builder/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 {
[131/143] Compiling test_external_reader TestExternalReader.swift
[132/143] Emitting module test_external_reader
[132/143] Write Objects.LinkFileList
[134/143] Compiling pkl_gen_swift PklSwiftGenerator.swift
[135/143] Compiling pkl_gen_swift GeneratorSettings.pkl.swift
[136/143] Emitting module pkl_gen_swift
/Users/admin/builder/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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |         inputs: [],
 40 |         outputPath: nil,
/Users/admin/builder/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 |
[137/143] Compiling pkl_gen_swift PklGenSwift.swift
/Users/admin/builder/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: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |         inputs: [],
 40 |         outputPath: nil,
/Users/admin/builder/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 |
[138/143] Compiling pkl_gen_swift embedded_resources.swift
[138/143] Write Objects.LinkFileList
[139/143] Linking test-external-reader
[140/143] Applying test-external-reader
[141/143] Linking pkl-gen-swift
[142/143] Applying pkl-gen-swift
Build complete! (33.59s)
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" : "/Users/admin/builder/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" : "/Users/admin/builder/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"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/apple/pkl-swift/0.4.2
Repository:               apple/pkl-swift
Swift version used:       6.0
        .package(url: "https://github.com/swiftlang/swift-docc-plugin", from: "1.1.0"),
Target:                   PklSwift
Extracting symbol information for 'PklSwift'...
Finished extracting symbol information for 'PklSwift'. (4.97s)
Building documentation for 'PklSwift'...
warning: 'Swift.Duration' doesn't exist at '/PklSwift/Duration/toSwiftDuration()'
  --> Sources/PklSwift/API/Duration.swift:62:39-62:53
60 |     }
61 |
62 +     /// Converts this duration to a ``Swift.Duration``.
63 |     ///
64 |     /// - Returns: The swift duration.
warning: 'DecodingError' doesn't exist at '/PklSwift/Evaluator/evaluateModule(source:as:)'
   --> Sources/PklSwift/Evaluator.swift:99:72-99:85
97  |     ///   - type: The type to decode the result as.
98  |     /// - Returns: A value of type `type`.
99  +     /// - Throws: ``PklError`` if an error occurs during evaluation, ``DecodingError`` if an the result could not be decoded into ``type``.
100 |     public func evaluateModule<T>(source: ModuleSource, as type: T.Type) async throws -> T
101 |         where T: Decodable {
warning: 'type' doesn't exist at '/PklSwift/Evaluator/evaluateModule(source:as:)'
   --> Sources/PklSwift/Evaluator.swift:99:133-99:137
97  |     ///   - type: The type to decode the result as.
98  |     /// - Returns: A value of type `type`.
99  +     /// - Throws: ``PklError`` if an error occurs during evaluation, ``DecodingError`` if an the result could not be decoded into ``type``.
100 |     public func evaluateModule<T>(source: ModuleSource, as type: T.Type) async throws -> T
101 |         where T: Decodable {
warning: 'DecodingError' doesn't exist at '/PklSwift/Evaluator/evaluateOutputValue(source:asType:)'
   --> Sources/PklSwift/Evaluator.swift:121:72-121:85
119 |     ///   - type: The type to decode the result as.
120 |     /// - Returns: The evaluated result as type `type`.
121 +     /// - Throws: ``PklError`` if an error occurs during evaluation, ``DecodingError`` if the result could not be decoded into ``type``.
122 |     public func evaluateOutputValue<T>(source: ModuleSource, asType type: T.Type) async throws -> T
123 |         where T: Decodable {
warning: 'type' doesn't exist at '/PklSwift/Evaluator/evaluateOutputValue(source:asType:)'
   --> Sources/PklSwift/Evaluator.swift:121:130-121:134
119 |     ///   - type: The type to decode the result as.
120 |     /// - Returns: The evaluated result as type `type`.
121 +     /// - Throws: ``PklError`` if an error occurs during evaluation, ``DecodingError`` if the result could not be decoded into ``type``.
122 |     public func evaluateOutputValue<T>(source: ModuleSource, asType type: T.Type) async throws -> T
123 |         where T: Decodable {
warning: 'DecodingError' doesn't exist at '/PklSwift/Evaluator/evaluateExpression(source:expression:as:)'
   --> Sources/PklSwift/Evaluator.swift:146:72-146:85
144 |     ///   - type: The type to decode the result as.
145 |     /// - Returns: A value of type `type`.
146 +     /// - Throws: ``PklError`` if an error occurs during evaluation, ``DecodingError`` if the result could not be decoded into ``type``.
147 |     public func evaluateExpression<T>(source: ModuleSource, expression: String?, as type: T.Type)
148 |         async throws -> T where T: Decodable {
warning: 'type' doesn't exist at '/PklSwift/Evaluator/evaluateExpression(source:expression:as:)'
   --> Sources/PklSwift/Evaluator.swift:146:130-146:134
144 |     ///   - type: The type to decode the result as.
145 |     /// - Returns: A value of type `type`.
146 +     /// - Throws: ``PklError`` if an error occurs during evaluation, ``DecodingError`` if the result could not be decoded into ``type``.
147 |     public func evaluateExpression<T>(source: ModuleSource, expression: String?, as type: T.Type)
148 |         async throws -> T where T: Decodable {
warning: 'newProjectEvaluator()' doesn't exist at '/PklSwift/EvaluatorManager'
   --> Sources/PklSwift/EvaluatorOptions.swift:116:31-116:52
114 |     ///
115 |     /// To emulate the CLI's `--project-dir` flag, create an evaluator with ``withProjectEvaluator(projectBaseURI:_:)``,
116 +     /// or ``EvaluatorManager/newProjectEvaluator()``.
    |                               ├─suggestion: Replace 'newProjectEvaluator()' with 'newProjectEvaluator(projectBaseURI:options:)'
    |                               ├─suggestion: Replace 'newProjectEvaluator()' with 'withProjectEvaluator(projectBaseURI:_:)'
    |                               ╰─suggestion: Replace 'newProjectEvaluator()' with 'withProjectEvaluator(projectBaseURI:options:_:)'
117 |     public var projectBaseURI: URL?
118 |
warning: 'FileHandle' doesn't exist at '/PklSwift/FileHandleLogger'
  --> Sources/PklSwift/Logger.swift:56:53-56:63
54 | }
55 |
56 + /// A logger that writes messages to the provided ``FileHandle``.
57 | public struct FileHandleLogger: Logger {
58 |     var fileHandle: FileHandle
warning: 'MessageTransport' doesn't exist at '/PklSwift/BaseMessageTransport'
  --> Sources/PklSwift/MessageTransport.swift:66:9-66:25
64 | }
65 |
66 + /// A ``MessageTransport`` base class that implements core message handling logic
67 | public class BaseMessageTransport: MessageTransport {
68 |     var reader: Reader!
warning: 'MessageTransport' doesn't exist at '/PklSwift/ServerMessageTransport'
   --> Sources/PklSwift/MessageTransport.swift:124:9-124:25
122 | }
123 |
124 + /// A ``MessageTransport`` that sends and receives messages by spawning Pkl as a child process.
125 | public class ServerMessageTransport: BaseMessageTransport {
126 |     var process: Process?
warning: 'BaseReader.hasHierarchicalUris' doesn't exist at '/PklSwift/BaseReader/listElements(uri:)'
  --> Sources/PklSwift/Reader.swift:43:14-43:44
41 |
42 |     /// Returns elements at a specified path.
43 +     /// If ``BaseReader.hasHierarchicalUris`` is `false`, the uri parameter will be a dummy value,
44 |     /// and this method should return all possible values.
45 |     func listElements(uri: URL) async throws -> [PathElement]
warning: 'EvaluatorOptions.withModuleReader(_:ModuleReader)' doesn't exist at '/PklSwift/ModuleReader'
  --> Sources/PklSwift/Reader.swift:71:52-71:101
69 | /// ```
70 | ///
71 + /// To provide a custom reader, register it with ``EvaluatorOptions.withModuleReader(_:ModuleReader)``
72 | public protocol ModuleReader: BaseReader {
73 |     /// Tells if the resources handled by this reader are local to the file system.Finished building documentation for 'PklSwift' (0.32s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/apple/pkl-swift/0.4.2
Building for debugging...
[0/8] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version-5BDAB9E9C0126B9D.txt
[6/53] Compiling SymbolKit DeclarationFragments.swift
[7/53] Compiling SymbolKit Fragment.swift
[8/53] Compiling SymbolKit FragmentKind.swift
[9/53] Compiling SymbolKit FunctionParameter.swift
[10/53] Compiling SymbolKit FunctionSignature.swift
[11/57] Compiling SymbolKit Mixin+Equals.swift
[12/57] Compiling SymbolKit Mixin+Hash.swift
[13/57] Compiling SymbolKit Mixin.swift
[14/57] Compiling SymbolKit LineList.swift
[15/57] Compiling SymbolKit Position.swift
[16/57] Compiling SymbolKit Identifier.swift
[17/57] Compiling SymbolKit KindIdentifier.swift
[18/57] Compiling SymbolKit Location.swift
[19/57] Compiling SymbolKit Mutability.swift
[20/57] Compiling SymbolKit Names.swift
[21/57] Compiling SymbolKit SPI.swift
[22/57] Compiling SymbolKit Snippet.swift
[23/57] Compiling SymbolKit Extension.swift
[24/57] Emitting module SymbolKit
[25/57] Compiling SymbolKit Relationship.swift
[26/57] Compiling SymbolKit RelationshipKind.swift
[27/57] Compiling SymbolKit SourceOrigin.swift
[28/57] Compiling SymbolKit GenericConstraints.swift
[29/57] Compiling SymbolKit Swift.swift
[30/57] Compiling SymbolKit SemanticVersion.swift
[31/57] Compiling SymbolKit AccessControl.swift
[32/57] Compiling SymbolKit Availability.swift
[33/57] Compiling SymbolKit AvailabilityItem.swift
[34/57] Compiling SymbolKit Domain.swift
[35/57] Compiling SymbolKit SourceRange.swift
[36/57] Compiling SymbolKit Metadata.swift
[37/57] Compiling SymbolKit Module.swift
[38/57] Compiling SymbolKit OperatingSystem.swift
[39/57] Compiling SymbolKit Platform.swift
[40/57] Compiling SymbolKit GenericConstraint.swift
[41/57] Compiling SymbolKit GenericParameter.swift
[42/57] Compiling SymbolKit Generics.swift
[43/57] Compiling SymbolKit Namespace.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets Snippet.swift
[53/57] Emitting module Snippets
[54/57] Compiling Snippets SnippetParser.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (3.73s)
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
[2/27] Compiling SemanticVersion SemanticVersion+Codable.swift
[3/27] Compiling SemanticVersion resource_bundle_accessor.swift
[4/27] Compiling SemanticVersion SemanticVersion.swift
[5/27] Compiling SemanticVersion NSRegularExpression+ext.swift
[6/27] Emitting module SemanticVersion
[7/27] Compiling SystemPackage Errno.swift
[8/27] Compiling SystemPackage FileDescriptor.swift
[9/27] Compiling SystemPackage FileHelpers.swift
[10/27] Compiling SystemPackage Syscalls.swift
[11/27] Compiling SystemPackage WindowsSyscallAdapters.swift
[12/29] Emitting module SystemPackage
[13/29] Compiling SystemPackage PlatformString.swift
[14/29] Compiling SystemPackage SystemString.swift
[15/29] Compiling SystemPackage CInterop.swift
[16/29] Compiling SystemPackage Constants.swift
[17/29] Compiling SystemPackage FilePathWindows.swift
[18/29] Compiling SystemPackage FilePermissions.swift
[19/29] Compiling SystemPackage FilePathString.swift
[20/29] Compiling SystemPackage FilePathSyntax.swift
[21/29] Compiling SystemPackage FileOperations.swift
[22/29] Compiling SystemPackage FilePath.swift
[23/29] Compiling SystemPackage FilePathComponentView.swift
[24/29] Compiling SystemPackage FilePathComponents.swift
[25/29] Compiling SystemPackage FilePathParsing.swift
[26/29] Compiling SystemPackage Exports.swift
[27/29] Compiling SystemPackage Mocking.swift
[28/29] Compiling SystemPackage Util.swift
[29/29] Compiling SystemPackage UtilConsumers.swift
[30/44] Compiling MessagePack UnkeyedEncodingContainer.swift
[31/44] Compiling MessagePack FixedWidthInteger.swift
[32/45] Compiling MessagePack KeyedDecodingContainer.swift
[33/45] Compiling MessagePack KeyedSingleDecodingContainer.swift
[34/45] Compiling MessagePack MessagePackEncoder.swift
[35/45] Compiling MessagePack SingleValueEncodingContainer.swift
/Users/admin/builder/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:14:19: note: requirement 'encode' declared here
12 |     mutating func encode(_ value: Int64) throws
13 |     @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 |     mutating func encode(_ value: Int128) throws
   |                   `- note: requirement 'encode' declared here
15 |     mutating func encode(_ value: UInt) throws
16 |     mutating func encode(_ value: UInt8) throws
/Users/admin/builder/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:21:19: note: requirement 'encode' declared here
19 |     mutating func encode(_ value: UInt64) throws
20 |     @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
21 |     mutating func encode(_ value: UInt128) throws
   |                   `- note: requirement 'encode' declared here
22 |     mutating func encode<T>(_ value: T) throws where T : Encodable
23 | }
[36/45] Compiling MessagePack UnkeyedDecodingContainer.swift
[37/45] Compiling MessagePack UnkeyedMapDecodingContainer.swift
[38/45] Compiling MessagePack _MessagePackDecoder.swift
[39/45] Compiling MessagePack KeyedEncodingContainer.swift
[40/45] Compiling MessagePack AnyCodingKey.swift
[41/45] Compiling MessagePack Box.swift
[42/45] Emitting module MessagePack
/Users/admin/builder/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:14:10: note: requirement 'decode' declared here
12 |     func decode(_ type: Int64.Type) throws -> Int64
13 |     @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 |     func decode(_ type: Int128.Type) throws -> Int128
   |          `- note: requirement 'decode' declared here
15 |     func decode(_ type: UInt.Type) throws -> UInt
16 |     func decode(_ type: UInt8.Type) throws -> UInt8
/Users/admin/builder/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:21:10: note: requirement 'decode' declared here
19 |     func decode(_ type: UInt64.Type) throws -> UInt64
20 |     @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
21 |     func decode(_ type: UInt128.Type) throws -> UInt128
   |          `- note: requirement 'decode' declared here
22 |     func decode<T>(_ type: T.Type) throws -> T where T : Decodable
23 | }
/Users/admin/builder/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:14:19: note: requirement 'encode' declared here
12 |     mutating func encode(_ value: Int64) throws
13 |     @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 |     mutating func encode(_ value: Int128) throws
   |                   `- note: requirement 'encode' declared here
15 |     mutating func encode(_ value: UInt) throws
16 |     mutating func encode(_ value: UInt8) throws
/Users/admin/builder/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:21:19: note: requirement 'encode' declared here
19 |     mutating func encode(_ value: UInt64) throws
20 |     @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
21 |     mutating func encode(_ value: UInt128) throws
   |                   `- note: requirement 'encode' declared here
22 |     mutating func encode<T>(_ value: T) throws where T : Encodable
23 | }
[43/45] Compiling MessagePack MessagePackDecoder.swift
/Users/admin/builder/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:14:10: note: requirement 'decode' declared here
12 |     func decode(_ type: Int64.Type) throws -> Int64
13 |     @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 |     func decode(_ type: Int128.Type) throws -> Int128
   |          `- note: requirement 'decode' declared here
15 |     func decode(_ type: UInt.Type) throws -> UInt
16 |     func decode(_ type: UInt8.Type) throws -> UInt8
/Users/admin/builder/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:21:10: note: requirement 'decode' declared here
19 |     func decode(_ type: UInt64.Type) throws -> UInt64
20 |     @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
21 |     func decode(_ type: UInt128.Type) throws -> UInt128
   |          `- note: requirement 'decode' declared here
22 |     func decode<T>(_ type: T.Type) throws -> T where T : Decodable
23 | }
[44/45] Compiling MessagePack SingleValueDecodingContainer.swift
/Users/admin/builder/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:14:10: note: requirement 'decode' declared here
12 |     func decode(_ type: Int64.Type) throws -> Int64
13 |     @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 |     func decode(_ type: Int128.Type) throws -> Int128
   |          `- note: requirement 'decode' declared here
15 |     func decode(_ type: UInt.Type) throws -> UInt
16 |     func decode(_ type: UInt8.Type) throws -> UInt8
/Users/admin/builder/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:21:10: note: requirement 'decode' declared here
19 |     func decode(_ type: UInt64.Type) throws -> UInt64
20 |     @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
21 |     func decode(_ type: UInt128.Type) throws -> UInt128
   |          `- note: requirement 'decode' declared here
22 |     func decode<T>(_ type: T.Type) throws -> T where T : Decodable
23 | }
[45/45] Compiling MessagePack IO.swift
[46/66] Compiling PklSwift PklUnkeyedDecodingContainer.swift
[47/66] Compiling PklSwift Evaluator.swift
[48/66] Compiling PklSwift PklMapDecodingContainer.swift
[49/66] Compiling PklSwift PklSingleValueDecodingContainer.swift
[50/66] Compiling PklSwift PklTypedDecodingContainer.swift
[51/68] Emitting module PklSwift
[52/68] Compiling PklSwift Reader.swift
[53/68] Compiling PklSwift TypeRegistry.swift
[54/68] Compiling PklSwift ExternalReaderClient.swift
[55/68] Compiling PklSwift Logger.swift
[56/68] Compiling PklSwift ModuleSource.swift
[57/68] Compiling PklSwift PklCodingKey.swift
[58/68] Compiling PklSwift DataSize.swift
[59/68] Compiling PklSwift Duration.swift
[60/68] Compiling PklSwift PklDecoder.swift
[61/68] Compiling PklSwift Utils.swift
[62/68] Compiling PklSwift locks.swift
[63/68] Compiling PklSwift Message.swift
[64/68] Compiling PklSwift MessageTransport.swift
[65/68] Compiling PklSwift PklEvaluatorSettings.swift
[66/68] Compiling PklSwift Project.swift
[67/68] Compiling PklSwift EvaluatorManager.swift
[68/68] Compiling PklSwift EvaluatorOptions.swift
Build of target: 'PklSwift' complete! (2.81s)
     824
5	/Users/admin/builder/spi-builder-workspace/.docs/apple/pkl-swift/0.4.2
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/apple/pkl-swift/0.4.2
File count: 824
Doc size:   5.0MB
Preparing doc bundle ...
Uploading prod-apple-pkl-swift-0.4.2-e5004a48.zip to s3://spi-docs-inbox/prod-apple-pkl-swift-0.4.2-e5004a48.zip
Copying... [11%]
Copying... [22%]
Copying... [34%]
Copying... [45%]
Copying... [50%]
Copying... [61%]
Copying... [73%]
Copying... [84%]
Copying... [95%]
Copying... [100%]
Done.