Build Information
Successful build of pkl-swift, reference 0.4.2 (d6f087
), with Swift 6.1 for macOS (SPM) on 1 May 2025 08:50:02 UTC.
Swift 6 data race errors: 26
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
20 | public var stringValue: String {
21 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/MessagePack/Decoder/MessagePackDecoder.swift:423:10: warning: associated value 'int' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryInteger'; this is an error in the Swift 6 language mode
421 | case `nil`
422 | case bool(Bool)
423 | case int(any BinaryInteger)
| `- warning: associated value 'int' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryInteger'; this is an error in the Swift 6 language mode
424 | case float(any BinaryFloatingPoint)
425 | case string(String)
Swift.BinaryInteger:1:17: note: protocol 'BinaryInteger' does not conform to the 'Sendable' protocol
1 | public protocol BinaryInteger : CustomStringConvertible, Hashable, Numeric, Strideable where Self.Magnitude : BinaryInteger, Self.Magnitude == Self.Magnitude.Magnitude {
| `- note: protocol 'BinaryInteger' does not conform to the 'Sendable' protocol
2 | static var isSigned: Bool { get }
3 | init?<T>(exactly source: T) where T : BinaryFloatingPoint
/Users/admin/builder/spi-builder-workspace/Sources/MessagePack/Decoder/MessagePackDecoder.swift:424:10: warning: associated value 'float' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryFloatingPoint'; this is an error in the Swift 6 language mode
422 | case bool(Bool)
423 | case int(any BinaryInteger)
424 | case float(any BinaryFloatingPoint)
| `- warning: associated value 'float' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryFloatingPoint'; this is an error in the Swift 6 language mode
425 | case string(String)
426 | case bin([UInt8])
Swift.BinaryFloatingPoint:1:17: note: protocol 'BinaryFloatingPoint' does not conform to the 'Sendable' protocol
1 | public protocol BinaryFloatingPoint : ExpressibleByFloatLiteral, FloatingPoint {
| `- note: protocol 'BinaryFloatingPoint' does not conform to the 'Sendable' protocol
2 | associatedtype RawSignificand : UnsignedInteger
3 | associatedtype RawExponent : UnsignedInteger
[102/113] Compiling MessagePack MessagePackEncoder.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.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: Int128.Type) throws -> Int128}
| `- note: requirement 'decode' declared here
4 |
/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.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: UInt128.Type) throws -> UInt128}
| `- note: requirement 'decode' declared here
4 |
/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.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: Int128.Type) throws -> Int128}
| `- note: requirement 'decode' declared here
4 |
/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.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: UInt128.Type) throws -> UInt128}
| `- note: requirement 'decode' declared here
4 |
[105/113] 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.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
/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.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: UInt128) throws}
| `- note: requirement 'encode' declared here
4 |
[106/113] Emitting module MessagePack
/Users/admin/builder/spi-builder-workspace/Sources/MessagePack/Decoder/KeyedDecodingContainer.swift:19:1: warning: conformance to 'Sendable' must occur in the same source file as enum 'MessagePackValue'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
17 | import Foundation
18 |
19 | extension MessagePackValue: CodingKey {
| `- warning: conformance to 'Sendable' must occur in the same source file as enum 'MessagePackValue'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
20 | public var stringValue: String {
21 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/MessagePack/Decoder/MessagePackDecoder.swift:423:10: warning: associated value 'int' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryInteger'; this is an error in the Swift 6 language mode
421 | case `nil`
422 | case bool(Bool)
423 | case int(any BinaryInteger)
| `- warning: associated value 'int' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryInteger'; this is an error in the Swift 6 language mode
424 | case float(any BinaryFloatingPoint)
425 | case string(String)
Swift.BinaryInteger:1:17: note: protocol 'BinaryInteger' does not conform to the 'Sendable' protocol
1 | public protocol BinaryInteger : CustomStringConvertible, Hashable, Numeric, Strideable where Self.Magnitude : BinaryInteger, Self.Magnitude == Self.Magnitude.Magnitude {
| `- note: protocol 'BinaryInteger' does not conform to the 'Sendable' protocol
2 | static var isSigned: Bool { get }
3 | init?<T>(exactly source: T) where T : BinaryFloatingPoint
/Users/admin/builder/spi-builder-workspace/Sources/MessagePack/Decoder/MessagePackDecoder.swift:424:10: warning: associated value 'float' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryFloatingPoint'; this is an error in the Swift 6 language mode
422 | case bool(Bool)
423 | case int(any BinaryInteger)
424 | case float(any BinaryFloatingPoint)
| `- warning: associated value 'float' of 'Sendable'-conforming enum 'MessagePackValue' has non-sendable type 'any BinaryFloatingPoint'; this is an error in the Swift 6 language mode
425 | case string(String)
426 | case bin([UInt8])
Swift.BinaryFloatingPoint:1:17: note: protocol 'BinaryFloatingPoint' does not conform to the 'Sendable' protocol
1 | public protocol BinaryFloatingPoint : ExpressibleByFloatLiteral, FloatingPoint {
| `- note: protocol 'BinaryFloatingPoint' does not conform to the 'Sendable' protocol
2 | associatedtype RawSignificand : UnsignedInteger
3 | associatedtype RawExponent : UnsignedInteger
/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.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: Int128.Type) throws -> Int128}
| `- note: requirement 'decode' declared here
4 |
/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.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: UInt128.Type) throws -> UInt128}
| `- note: requirement 'decode' declared here
4 |
/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.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
/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.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: UInt128) throws}
| `- note: requirement 'encode' declared here
4 |
[107/113] Compiling MessagePack IO.swift
[108/134] Compiling PklSwift ExternalReaderClient.swift
[109/134] Compiling PklSwift Logger.swift
[110/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: add '@MainActor' to make static property 'messageTag' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/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: add '@MainActor' to make static property 'bytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 |
190 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'kilobytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 |
193 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'kibibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 |
196 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'megabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 |
199 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'mebibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 |
202 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'gigabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 |
205 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'gibibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 |
208 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'terabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 |
211 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'tebibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 |
214 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'petabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |
217 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'pebibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 |
220 | public var inBytes: Int64 {
/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: add '@MainActor' to make static property 'messageTag' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | public typealias UnitType = DurationUnit
/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: add '@MainActor' to make static property 'nanoseconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |
165 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'microseconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |
168 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'milliseconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 |
171 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'seconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 |
174 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'minutes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
176 |
177 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'hours' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 |
180 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'days' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |
183 | public var inNanoSeconds: Int64 {
/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: add '@MainActor' to make static property 'preconfigured' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | allowedModules: defaultAllowedModules,
159 | allowedResources: defaultAllowedResources,
/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: add '@MainActor' to make static property '_shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 |
112 | public static func get() -> TypeRegistry {
/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: add '@MainActor' to make let 'absoluteUriRegex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 |
89 | public func tempDir() throws -> URL {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[111/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: add '@MainActor' to make static property 'messageTag' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/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: add '@MainActor' to make static property 'bytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 |
190 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'kilobytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 |
193 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'kibibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 |
196 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'megabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 |
199 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'mebibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 |
202 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'gigabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 |
205 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'gibibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 |
208 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'terabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 |
211 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'tebibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 |
214 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'petabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |
217 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'pebibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 |
220 | public var inBytes: Int64 {
/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: add '@MainActor' to make static property 'messageTag' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | public typealias UnitType = DurationUnit
/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: add '@MainActor' to make static property 'nanoseconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |
165 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'microseconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |
168 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'milliseconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 |
171 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'seconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 |
174 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'minutes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
176 |
177 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'hours' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 |
180 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'days' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |
183 | public var inNanoSeconds: Int64 {
[112/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: add '@MainActor' to make static property 'messageTag' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/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: add '@MainActor' to make static property 'bytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 |
190 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'kilobytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 |
193 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'kibibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 |
196 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'megabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 |
199 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'mebibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 |
202 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'gigabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 |
205 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'gibibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 |
208 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'terabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 |
211 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'tebibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 |
214 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'petabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |
217 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'pebibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 |
220 | public var inBytes: Int64 {
/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: add '@MainActor' to make static property 'messageTag' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | public typealias UnitType = DurationUnit
/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: add '@MainActor' to make static property 'nanoseconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |
165 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'microseconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |
168 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'milliseconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 |
171 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'seconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 |
174 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'minutes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
176 |
177 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'hours' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 |
180 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'days' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |
183 | public var inNanoSeconds: Int64 {
[113/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: add '@MainActor' to make static property 'messageTag' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/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: add '@MainActor' to make static property 'bytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 |
190 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'kilobytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 |
193 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'kibibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 |
196 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'megabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 |
199 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'mebibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 |
202 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'gigabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 |
205 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'gibibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 |
208 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'terabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 |
211 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'tebibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 |
214 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'petabytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |
217 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'pebibytes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 |
220 | public var inBytes: Int64 {
/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: add '@MainActor' to make static property 'messageTag' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | public typealias UnitType = DurationUnit
/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: add '@MainActor' to make static property 'nanoseconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |
165 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'microseconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |
168 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'milliseconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 |
171 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'seconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 |
174 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'minutes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
176 |
177 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'hours' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 |
180 | /// More verbose synonym.
/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: add '@MainActor' to make static property 'days' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |
183 | public var inNanoSeconds: Int64 {
[114/136] Compiling PklSwift PklEvaluatorSettings.swift
[115/136] Compiling PklSwift Project.swift
[116/136] Compiling PklSwift ModuleSource.swift
[117/136] Compiling PklSwift PklCodingKey.swift
[118/136] Compiling PklSwift PklMapDecodingContainer.swift
[119/136] Compiling PklSwift PklSingleValueDecodingContainer.swift
[120/136] Compiling PklSwift PklTypedDecodingContainer.swift
[121/136] Compiling PklSwift EvaluatorManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:153:9: warning: non-sendable result type '(any ServerMessage)?' cannot be sent from nonisolated context in call to instance method 'next()'; 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 result type '(any ServerMessage)?' cannot be sent from nonisolated context in call to instance method 'next()'; 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/EvaluatorManager.swift:210:36: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'; this is an error in the Swift 6 language mode
204 | /// - options: The options used to configure the evaluator.
205 | /// - action: The action to run with the evaluator.
206 | public func withEvaluator<T>(options: EvaluatorOptions, _ action: (Evaluator) async throws -> T) async throws -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
207 | let evaluator = try await newEvaluator(options: options)
208 | var closed = false
209 | do {
210 | let result = try await action(evaluator)
| `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'; this is an error in the Swift 6 language mode
211 | try await evaluator.close()
212 | closed = true
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:242:36: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'; this is an error in the Swift 6 language mode
236 | /// - options: The options used to configure the evaluator.
237 | /// - action: The action to run with the evaluator.
238 | public func withProjectEvaluator<T>(projectBaseURI: URL, options: EvaluatorOptions, _ action: (Evaluator) async throws -> T) async throws -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
239 | let evaluator = try await newProjectEvaluator(projectBaseURI: projectBaseURI, options: options)
240 | var closed = false
241 | do {
242 | let result = try await action(evaluator)
| `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'; this is an error in the Swift 6 language mode
243 | try await evaluator.close()
244 | closed = true
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:304:54: warning: non-sendable result type 'Project' cannot be sent from nonisolated context in call to instance method 'evaluateOutputValue(source:asType:)'; this is an error in the Swift 6 language mode
302 | }
303 | return try await self.withEvaluator(options: .preconfigured) { projectEvaluator in
304 | let project = try await projectEvaluator.evaluateOutputValue(
| `- warning: non-sendable result type 'Project' cannot be sent from nonisolated context in call to instance method 'evaluateOutputValue(source:asType:)'; this is an error in the Swift 6 language mode
305 | source: .path("\(projectBaseURI)/PklProject"),
306 | asType: Project.self
/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/EvaluatorOptions.swift:157:23: warning: static property 'preconfigured' is not concurrency-safe because non-'Sendable' type 'EvaluatorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
17 | import Foundation
18 |
19 | public struct EvaluatorOptions {
| `- note: consider making struct 'EvaluatorOptions' conform to the 'Sendable' protocol
20 | public init(
21 | allowedModules: [String]? = nil,
:
155 | }
156 |
157 | public static let preconfigured: EvaluatorOptions = .init(
| |- warning: static property 'preconfigured' is not concurrency-safe because non-'Sendable' type 'EvaluatorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'preconfigured' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | allowedModules: defaultAllowedModules,
159 | allowedResources: defaultAllowedResources,
/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: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: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
[122/136] Compiling PklSwift EvaluatorOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:153:9: warning: non-sendable result type '(any ServerMessage)?' cannot be sent from nonisolated context in call to instance method 'next()'; 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 result type '(any ServerMessage)?' cannot be sent from nonisolated context in call to instance method 'next()'; 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/EvaluatorManager.swift:210:36: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'; this is an error in the Swift 6 language mode
204 | /// - options: The options used to configure the evaluator.
205 | /// - action: The action to run with the evaluator.
206 | public func withEvaluator<T>(options: EvaluatorOptions, _ action: (Evaluator) async throws -> T) async throws -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
207 | let evaluator = try await newEvaluator(options: options)
208 | var closed = false
209 | do {
210 | let result = try await action(evaluator)
| `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'; this is an error in the Swift 6 language mode
211 | try await evaluator.close()
212 | closed = true
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:242:36: warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'; this is an error in the Swift 6 language mode
236 | /// - options: The options used to configure the evaluator.
237 | /// - action: The action to run with the evaluator.
238 | public func withProjectEvaluator<T>(projectBaseURI: URL, options: EvaluatorOptions, _ action: (Evaluator) async throws -> T) async throws -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
239 | let evaluator = try await newProjectEvaluator(projectBaseURI: projectBaseURI, options: options)
240 | var closed = false
241 | do {
242 | let result = try await action(evaluator)
| `- warning: non-sendable result type 'T' cannot be sent from nonisolated context in call to parameter 'action'; this is an error in the Swift 6 language mode
243 | try await evaluator.close()
244 | closed = true
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/EvaluatorManager.swift:304:54: warning: non-sendable result type 'Project' cannot be sent from nonisolated context in call to instance method 'evaluateOutputValue(source:asType:)'; this is an error in the Swift 6 language mode
302 | }
303 | return try await self.withEvaluator(options: .preconfigured) { projectEvaluator in
304 | let project = try await projectEvaluator.evaluateOutputValue(
| `- warning: non-sendable result type 'Project' cannot be sent from nonisolated context in call to instance method 'evaluateOutputValue(source:asType:)'; this is an error in the Swift 6 language mode
305 | source: .path("\(projectBaseURI)/PklProject"),
306 | asType: Project.self
/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/EvaluatorOptions.swift:157:23: warning: static property 'preconfigured' is not concurrency-safe because non-'Sendable' type 'EvaluatorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
17 | import Foundation
18 |
19 | public struct EvaluatorOptions {
| `- note: consider making struct 'EvaluatorOptions' conform to the 'Sendable' protocol
20 | public init(
21 | allowedModules: [String]? = nil,
:
155 | }
156 |
157 | public static let preconfigured: EvaluatorOptions = .init(
| |- warning: static property 'preconfigured' is not concurrency-safe because non-'Sendable' type 'EvaluatorOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'preconfigured' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | allowedModules: defaultAllowedModules,
159 | allowedResources: defaultAllowedResources,
/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: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: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
[123/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: add '@MainActor' to make static property '_shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 |
112 | public static func get() -> TypeRegistry {
[124/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: add '@MainActor' to make static property '_shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 |
112 | public static func get() -> TypeRegistry {
[125/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: add '@MainActor' to make let 'absoluteUriRegex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 |
89 | public func tempDir() throws -> URL {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[126/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: add '@MainActor' to make let 'absoluteUriRegex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 |
89 | public func tempDir() throws -> URL {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[127/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 {
[128/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 {
[129/136] Compiling PklSwift PklUnkeyedDecodingContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/Evaluator.swift:27:54: warning: non-sendable result type 'Evaluator' cannot be sent from actor-isolated context in call to instance method 'newEvaluator(options:)'; this is an error in the Swift 6 language mode
25 | public func withEvaluator<T>(options: EvaluatorOptions, _ action: (Evaluator) async throws -> T) async throws -> T {
26 | try await withEvaluatorManager { manager in
27 | let evaluator: Evaluator = try await manager.newEvaluator(options: options)
| `- warning: non-sendable result type 'Evaluator' cannot be sent from actor-isolated context in call to instance method 'newEvaluator(options:)'; this is an error in the Swift 6 language mode
28 | return try await action(evaluator)
29 | }
:
70 |
71 | /// The core API for evaluating Pkl modules.
72 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
73 | private var manager: EvaluatorManager
74 | private let evaluatorID: Int64
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/Evaluator.swift:66:43: warning: non-sendable result type 'Evaluator' cannot be sent from actor-isolated context in call to instance method 'newProjectEvaluator(projectBaseURI:options:)'; this is an error in the Swift 6 language mode
64 | ) async throws -> T {
65 | try await withEvaluatorManager { manager in
66 | let evaluator = try await manager.newProjectEvaluator(projectBaseURI: projectBaseURI, options: options)
| `- warning: non-sendable result type 'Evaluator' cannot be sent from actor-isolated context in call to instance method 'newProjectEvaluator(projectBaseURI:options:)'; this is an error in the Swift 6 language mode
67 | return try await action(evaluator)
68 | }
:
70 |
71 | /// The core API for evaluating Pkl modules.
72 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
73 | private var manager: EvaluatorManager
74 | private let evaluatorID: Int64
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/Evaluator.swift:170:42: warning: non-sendable result type 'any ServerResponseMessage' cannot be sent from actor-isolated context in call to instance method 'ask'; this is an error in the Swift 6 language mode
168 | expr: expression
169 | )
170 | let response = try await manager.ask(request)
| `- warning: non-sendable result type 'any ServerResponseMessage' cannot be sent from actor-isolated context in call to instance method 'ask'; this is an error in the Swift 6 language mode
171 | guard let response = response as? EvaluateResponse else {
172 | throw PklBugError.invalidMessageCode(
/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 | }
[130/136] Compiling PklSwift Evaluator.swift
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/Evaluator.swift:27:54: warning: non-sendable result type 'Evaluator' cannot be sent from actor-isolated context in call to instance method 'newEvaluator(options:)'; this is an error in the Swift 6 language mode
25 | public func withEvaluator<T>(options: EvaluatorOptions, _ action: (Evaluator) async throws -> T) async throws -> T {
26 | try await withEvaluatorManager { manager in
27 | let evaluator: Evaluator = try await manager.newEvaluator(options: options)
| `- warning: non-sendable result type 'Evaluator' cannot be sent from actor-isolated context in call to instance method 'newEvaluator(options:)'; this is an error in the Swift 6 language mode
28 | return try await action(evaluator)
29 | }
:
70 |
71 | /// The core API for evaluating Pkl modules.
72 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
73 | private var manager: EvaluatorManager
74 | private let evaluatorID: Int64
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/Evaluator.swift:66:43: warning: non-sendable result type 'Evaluator' cannot be sent from actor-isolated context in call to instance method 'newProjectEvaluator(projectBaseURI:options:)'; this is an error in the Swift 6 language mode
64 | ) async throws -> T {
65 | try await withEvaluatorManager { manager in
66 | let evaluator = try await manager.newProjectEvaluator(projectBaseURI: projectBaseURI, options: options)
| `- warning: non-sendable result type 'Evaluator' cannot be sent from actor-isolated context in call to instance method 'newProjectEvaluator(projectBaseURI:options:)'; this is an error in the Swift 6 language mode
67 | return try await action(evaluator)
68 | }
:
70 |
71 | /// The core API for evaluating Pkl modules.
72 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
73 | private var manager: EvaluatorManager
74 | private let evaluatorID: Int64
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/Evaluator.swift:170:42: warning: non-sendable result type 'any ServerResponseMessage' cannot be sent from actor-isolated context in call to instance method 'ask'; this is an error in the Swift 6 language mode
168 | expr: expression
169 | )
170 | let response = try await manager.ask(request)
| `- warning: non-sendable result type 'any ServerResponseMessage' cannot be sent from actor-isolated context in call to instance method 'ask'; this is an error in the Swift 6 language mode
171 | guard let response = response as? EvaluateResponse else {
172 | throw PklBugError.invalidMessageCode(
/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 | }
[131/143] Emitting module test_external_reader
[132/143] Compiling test_external_reader TestExternalReader.swift
[132/143] Write Objects.LinkFileList
[134/143] Compiling pkl_gen_swift embedded_resources.swift
[135/143] Compiling pkl_gen_swift PklSwiftGenerator.swift
[136/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: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | inputs: [],
40 | outputPath: nil,
/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 GeneratorSettings.pkl.swift
[138/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: add '@MainActor' to make static property 'EMPTY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | inputs: [],
40 | outputPath: nil,
/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] 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! (20.37s)
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.1
.package(url: "https://github.com/swiftlang/swift-docc-plugin", from: "1.1.0"),
Target: PklSwift
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
* branch release/6.2 -> FETCH_HEAD
* [new branch] release/6.2 -> origin/release/6.2
HEAD is now at 8799b69 Update the artifact
Cloned https://github.com/swiftlang/swift-docc-render-artifact
Extracting symbol information for 'PklSwift'...
Finished extracting symbol information for 'PklSwift'. (5.78s)
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/7] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Compiling SymbolKit GenericConstraint.swift
[7/53] Compiling SymbolKit GenericParameter.swift
[8/53] Compiling SymbolKit Generics.swift
[9/53] Compiling SymbolKit Namespace.swift
[10/57] Compiling SymbolKit Relationship.swift
[11/57] Compiling SymbolKit RelationshipKind.swift
[12/57] Compiling SymbolKit SourceOrigin.swift
[13/57] Compiling SymbolKit GenericConstraints.swift
[14/57] Compiling SymbolKit Swift.swift
[15/57] Compiling SymbolKit Mixin+Equals.swift
[16/57] Compiling SymbolKit Mixin+Hash.swift
[17/57] Compiling SymbolKit Mixin.swift
[18/57] Compiling SymbolKit LineList.swift
[19/57] Compiling SymbolKit Position.swift
[20/57] Compiling SymbolKit Identifier.swift
[21/57] Compiling SymbolKit KindIdentifier.swift
[22/57] Compiling SymbolKit Location.swift
[23/57] Compiling SymbolKit Mutability.swift
[24/57] Compiling SymbolKit DeclarationFragments.swift
[25/57] Compiling SymbolKit Fragment.swift
[26/57] Compiling SymbolKit FragmentKind.swift
[27/57] Compiling SymbolKit FunctionParameter.swift
[28/57] Compiling SymbolKit FunctionSignature.swift
[29/57] Compiling SymbolKit Symbol.swift
[30/57] Compiling SymbolKit SymbolKind.swift
[31/57] Compiling SymbolKit SymbolGraph.swift
[32/57] Compiling SymbolKit GraphCollector.swift
[33/57] Compiling SymbolKit SemanticVersion.swift
[34/57] Compiling SymbolKit AccessControl.swift
[35/57] Compiling SymbolKit Availability.swift
[36/57] Compiling SymbolKit AvailabilityItem.swift
[37/57] Compiling SymbolKit Domain.swift
[38/57] Compiling SymbolKit Names.swift
[39/57] Compiling SymbolKit SPI.swift
[40/57] Compiling SymbolKit Snippet.swift
[41/57] Compiling SymbolKit Extension.swift
[42/57] Emitting module SymbolKit
[43/57] Compiling SymbolKit SourceRange.swift
[44/57] Compiling SymbolKit Metadata.swift
[45/57] Compiling SymbolKit Module.swift
[46/57] Compiling SymbolKit OperatingSystem.swift
[47/57] Compiling SymbolKit Platform.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] Compiling Snippets SnippetParser.swift
[54/57] Emitting module Snippets
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.19s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/27] Compiling SystemPackage Syscalls.swift
[3/27] Compiling SystemPackage WindowsSyscallAdapters.swift
[4/27] Compiling SystemPackage Exports.swift
[5/27] Compiling SystemPackage Mocking.swift
[6/29] Compiling SemanticVersion SemanticVersion+Codable.swift
[7/29] Compiling SemanticVersion NSRegularExpression+ext.swift
[8/29] Compiling SemanticVersion resource_bundle_accessor.swift
[9/29] Emitting module SemanticVersion
[10/29] Compiling SemanticVersion SemanticVersion.swift
[11/29] Emitting module SystemPackage
[12/29] Compiling SystemPackage FileOperations.swift
[13/29] Compiling SystemPackage FilePath.swift
[14/29] Compiling SystemPackage FilePathComponentView.swift
[15/29] Compiling SystemPackage CInterop.swift
[16/29] Compiling SystemPackage Constants.swift
[17/29] Compiling SystemPackage FilePathComponents.swift
[18/29] Compiling SystemPackage FilePathParsing.swift
[19/29] Compiling SystemPackage FilePathString.swift
[20/29] Compiling SystemPackage FilePathSyntax.swift
[21/29] Compiling SystemPackage PlatformString.swift
[22/29] Compiling SystemPackage SystemString.swift
[23/29] Compiling SystemPackage FilePathWindows.swift
[24/29] Compiling SystemPackage FilePermissions.swift
[25/29] Compiling SystemPackage Errno.swift
[26/29] Compiling SystemPackage FileDescriptor.swift
[27/29] Compiling SystemPackage FileHelpers.swift
[28/29] Compiling SystemPackage Util.swift
[29/29] Compiling SystemPackage UtilConsumers.swift
[30/44] Compiling MessagePack _MessagePackDecoder.swift
[31/44] Compiling MessagePack KeyedEncodingContainer.swift
[32/45] Compiling MessagePack UnkeyedEncodingContainer.swift
[33/45] Compiling MessagePack FixedWidthInteger.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.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
/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.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: UInt128) throws}
| `- note: requirement 'encode' declared here
4 |
[36/45] Compiling MessagePack IO.swift
[37/45] Compiling MessagePack UnkeyedDecodingContainer.swift
[38/45] Compiling MessagePack UnkeyedMapDecodingContainer.swift
[39/45] Compiling MessagePack KeyedDecodingContainer.swift
[40/45] Compiling MessagePack KeyedSingleDecodingContainer.swift
[41/45] Compiling MessagePack AnyCodingKey.swift
[42/45] Compiling MessagePack Box.swift
[43/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.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: Int128.Type) throws -> Int128}
| `- note: requirement 'decode' declared here
4 |
/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.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: UInt128.Type) throws -> UInt128}
| `- note: requirement 'decode' declared here
4 |
/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.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
/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.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: UInt128) throws}
| `- note: requirement 'encode' declared here
4 |
[44/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.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: Int128.Type) throws -> Int128}
| `- note: requirement 'decode' declared here
4 |
/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.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: UInt128.Type) throws -> UInt128}
| `- note: requirement 'decode' declared here
4 |
[45/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.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: Int128.Type) throws -> Int128}
| `- note: requirement 'decode' declared here
4 |
/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.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: UInt128.Type) throws -> UInt128}
| `- note: requirement 'decode' declared here
4 |
[46/66] Compiling PklSwift Reader.swift
[47/66] Compiling PklSwift TypeRegistry.swift
[48/66] Compiling PklSwift PklEvaluatorSettings.swift
[49/66] Compiling PklSwift Project.swift
[50/68] Emitting module PklSwift
[51/68] Compiling PklSwift ModuleSource.swift
[52/68] Compiling PklSwift PklCodingKey.swift
[53/68] Compiling PklSwift DataSize.swift
[54/68] Compiling PklSwift Duration.swift
[55/68] Compiling PklSwift PklDecoder.swift
[56/68] Compiling PklSwift PklUnkeyedDecodingContainer.swift
[57/68] Compiling PklSwift Evaluator.swift
[58/68] Compiling PklSwift PklMapDecodingContainer.swift
[59/68] Compiling PklSwift PklSingleValueDecodingContainer.swift
[60/68] Compiling PklSwift PklTypedDecodingContainer.swift
[61/68] Compiling PklSwift ExternalReaderClient.swift
[62/68] Compiling PklSwift Logger.swift
[63/68] Compiling PklSwift EvaluatorManager.swift
[64/68] Compiling PklSwift EvaluatorOptions.swift
[65/68] Compiling PklSwift Message.swift
[66/68] Compiling PklSwift MessageTransport.swift
[67/68] Compiling PklSwift Utils.swift
[68/68] Compiling PklSwift locks.swift
Build of target: 'PklSwift' complete! (3.30s)
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-12988d7c.zip to s3://spi-docs-inbox/prod-apple-pkl-swift-0.4.2-12988d7c.zip
Copying... [11%]
Copying... [22%]
Copying... [34%]
Copying... [45%]
Copying... [50%]
Copying... [61%]
Copying... [73%]
Copying... [84%]
Copying... [95%]
Copying... [100%]
Done.