Build Information
Successful build of pkl-swift, reference 0.4.2 (d6f087
), with Swift 6.2 (beta) for macOS (SPM) on 23 Jun 2025 17:06:39 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/pkl-swift.git
Reference: 0.4.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/apple/pkl-swift
* tag 0.4.2 -> FETCH_HEAD
HEAD is now at d6f0870 Prepare 0.4.2 release (#48)
Cloned https://github.com/apple/pkl-swift.git
Revision (git rev-parse @):
d6f08700d66e11c1087a79ec8172b1841b0fc9ca
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/pkl-swift.git at 0.4.2
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/apple/pkl-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
[1/1] Compiling plugin SwiftFormatPlugin
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
[4/4] Compiling plugin GenerateManual
Building for debugging...
[4/24] Write sources
[6/24] Write embedded_resources.swift
[6/24] Write test-external-reader-entitlement.plist
[6/24] Write sources
[7/24] Write pkl-gen-swift-entitlement.plist
[7/24] Write sources
[15/24] Compiling CSystem shims.c
[16/24] Write swift-version-1EA4D86E10B52AF.txt
[18/58] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/58] Emitting module ArgumentParserToolInfo
[20/97] Compiling ArgumentParser ZshCompletionsGenerator.swift
[21/97] Compiling ArgumentParser Argument.swift
[22/97] Compiling ArgumentParser HelpGenerator.swift
[23/100] Compiling ArgumentParser ArgumentHelp.swift
[24/100] Compiling ArgumentParser ArgumentVisibility.swift
[25/100] Compiling ArgumentParser CompletionKind.swift
[26/100] Compiling ArgumentParser BashCompletionsGenerator.swift
[27/100] Compiling ArgumentParser CompletionsGenerator.swift
[28/100] Compiling ArgumentParser FishCompletionsGenerator.swift
[29/100] Compiling ArgumentParser ArgumentSet.swift
[30/100] Compiling ArgumentParser CommandParser.swift
[31/100] Compiling ArgumentParser InputKey.swift
[32/100] Compiling ArgumentParser ParsedValues.swift
[33/100] Compiling ArgumentParser ParserError.swift
[34/100] Compiling ArgumentParser SplitArguments.swift
[35/100] Compiling ArgumentParser DumpHelpGenerator.swift
[36/100] Compiling ArgumentParser HelpCommand.swift
[37/100] Compiling ArgumentParser ArgumentDefinition.swift
[38/100] Emitting module SystemPackage
[39/100] Compiling ArgumentParser CommandGroup.swift
[40/100] Compiling ArgumentParser EnumerableFlag.swift
[41/100] Compiling ArgumentParser ExpressibleByArgument.swift
[41/100] Compiling PklSwiftInternals Discovery.cpp
[43/100] Compiling ArgumentParser Errors.swift
[44/100] Compiling ArgumentParser Flag.swift
[45/100] Compiling ArgumentParser CommandConfiguration.swift
[46/100] Compiling ArgumentParser InputOrigin.swift
[47/100] Compiling ArgumentParser Name.swift
[48/100] Compiling ArgumentParser Parsed.swift
[49/100] Compiling SystemPackage Util+StringArray.swift
[50/100] Compiling SystemPackage Util.swift
[51/100] Compiling SystemPackage UtilConsumers.swift
[52/115] Compiling MessagePack FixedWidthInteger.swift
[53/116] Compiling SemanticVersion SemanticVersion+LosslessStringConvertible.swift
[54/116] Compiling MessagePack SingleValueDecodingContainer.swift
[58/116] Compiling MessagePack KeyedEncodingContainer.swift
[59/116] Compiling MessagePack UnkeyedDecodingContainer.swift
[60/116] Compiling MessagePack UnkeyedMapDecodingContainer.swift
[61/116] Compiling MessagePack MessagePackDecoder.swift
[62/120] Compiling MessagePack IO.swift
[63/120] Compiling ArgumentParser NameSpecification.swift
[64/120] Compiling ArgumentParser Option.swift
[65/120] Compiling ArgumentParser OptionGroup.swift
[66/120] Compiling ArgumentParser AsyncParsableCommand.swift
[67/120] Compiling MessagePack AnyCodingKey.swift
[68/120] Compiling MessagePack Box.swift
[69/120] Compiling MessagePack KeyedDecodingContainer.swift
[70/120] Compiling MessagePack KeyedSingleDecodingContainer.swift
[71/120] Compiling MessagePack _MessagePackDecoder.swift
[72/120] Compiling ArgumentParser Platform.swift
[73/120] Compiling ArgumentParser SequenceExtensions.swift
[74/120] Compiling ArgumentParser StringExtensions.swift
[75/120] Compiling ArgumentParser Tree.swift
[82/120] 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 |
/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 |
[87/120] Compiling MessagePack UnkeyedEncodingContainer.swift
[88/120] Compiling SemanticVersion SemanticVersion+Codable.swift
[89/120] Emitting module SemanticVersion
[90/120] Compiling SemanticVersion SemanticVersion.swift
[91/120] 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 |
[92/120] Compiling MessagePack MessagePackEncoder.swift
[93/141] Compiling PklSwift PklCodingKey.swift
[94/141] Compiling PklSwift PklEvaluatorSettings.swift
[95/141] Compiling PklSwift Project.swift
[97/141] Emitting module ArgumentParser
[98/141] Compiling PklSwift PklMapDecodingContainer.swift
[99/141] Compiling PklSwift PklSingleValueDecodingContainer.swift
[100/141] Compiling PklSwift PklTypedDecodingContainer.swift
[101/141] Compiling PklSwift ModuleSource.swift
[102/141] Compiling ArgumentParser ParsableArguments.swift
[103/141] Compiling ArgumentParser ParsableArgumentsValidation.swift
[104/141] Compiling ArgumentParser ParsableCommand.swift
[105/141] Compiling ArgumentParser ArgumentDecoder.swift
[115/141] Emitting module PklSwift
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/locks.swift:200:35: warning: conformance of 'LockStorage<Value>' to protocol 'Sendable' is already unavailable
145 | // See also: https://github.com/apple/swift/pull/40000
146 | @usableFromInline
147 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
| `- note: 'LockStorage<Value>' inherits conformance to protocol 'Sendable' from superclass here
148 | @inlinable
149 | static func create(value: Value) -> Self {
:
198 | }
199 |
200 | extension LockStorage: @unchecked Sendable {}
| `- warning: conformance of 'LockStorage<Value>' to protocol 'Sendable' is already unavailable
201 |
202 | /// A threading lock based on `libpthread` instead of `libdispatch`.
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/locks.swift:212:9: warning: stored property '_storage' of 'Sendable'-conforming struct 'PklLock' has non-sendable type 'LockStorage<Void>'; this is an error in the Swift 6 language mode
145 | // See also: https://github.com/apple/swift/pull/40000
146 | @usableFromInline
147 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
| `- note: generic class 'LockStorage' does not conform to the 'Sendable' protocol
148 | @inlinable
149 | static func create(value: Value) -> Self {
:
210 | public struct PklLock {
211 | @usableFromInline
212 | let _storage: LockStorage<Void>
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'PklLock' has non-sendable type 'LockStorage<Void>'; this is an error in the Swift 6 language mode
213 |
214 | /// Create a new lock.
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/locks.swift:279:9: warning: stored property '_storage' of 'Sendable'-conforming generic struct 'PklLockedValueBox' has non-sendable type 'LockStorage<Value>'; this is an error in the Swift 6 language mode
145 | // See also: https://github.com/apple/swift/pull/40000
146 | @usableFromInline
147 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
| `- note: generic class 'LockStorage' does not conform to the 'Sendable' protocol
148 | @inlinable
149 | static func create(value: Value) -> Self {
:
277 | public struct PklLockedValueBox<Value> {
278 | @usableFromInline
279 | let _storage: LockStorage<Value>
| `- warning: stored property '_storage' of 'Sendable'-conforming generic struct 'PklLockedValueBox' has non-sendable type 'LockStorage<Value>'; this is an error in the Swift 6 language mode
280 |
281 | /// Initialize the `Value`.
[116/143] Compiling PklSwift DataSize.swift
[117/143] Compiling PklSwift Duration.swift
[118/143] Compiling PklSwift PklDecoder.swift
[121/143] Compiling PklSwift Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/locks.swift:200:35: warning: conformance of 'LockStorage<Value>' to protocol 'Sendable' is already unavailable
145 | // See also: https://github.com/apple/swift/pull/40000
146 | @usableFromInline
147 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
| `- note: 'LockStorage<Value>' inherits conformance to protocol 'Sendable' from superclass here
148 | @inlinable
149 | static func create(value: Value) -> Self {
:
198 | }
199 |
200 | extension LockStorage: @unchecked Sendable {}
| `- warning: conformance of 'LockStorage<Value>' to protocol 'Sendable' is already unavailable
201 |
202 | /// A threading lock based on `libpthread` instead of `libdispatch`.
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/locks.swift:212:9: warning: stored property '_storage' of 'Sendable'-conforming struct 'PklLock' has non-sendable type 'LockStorage<Void>'; this is an error in the Swift 6 language mode
145 | // See also: https://github.com/apple/swift/pull/40000
146 | @usableFromInline
147 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
| `- note: generic class 'LockStorage' does not conform to the 'Sendable' protocol
148 | @inlinable
149 | static func create(value: Value) -> Self {
:
210 | public struct PklLock {
211 | @usableFromInline
212 | let _storage: LockStorage<Void>
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'PklLock' has non-sendable type 'LockStorage<Void>'; this is an error in the Swift 6 language mode
213 |
214 | /// Create a new lock.
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/locks.swift:279:9: warning: stored property '_storage' of 'Sendable'-conforming generic struct 'PklLockedValueBox' has non-sendable type 'LockStorage<Value>'; this is an error in the Swift 6 language mode
145 | // See also: https://github.com/apple/swift/pull/40000
146 | @usableFromInline
147 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
| `- note: generic class 'LockStorage' does not conform to the 'Sendable' protocol
148 | @inlinable
149 | static func create(value: Value) -> Self {
:
277 | public struct PklLockedValueBox<Value> {
278 | @usableFromInline
279 | let _storage: LockStorage<Value>
| `- warning: stored property '_storage' of 'Sendable'-conforming generic struct 'PklLockedValueBox' has non-sendable type 'LockStorage<Value>'; this is an error in the Swift 6 language mode
280 |
281 | /// Initialize the `Value`.
[122/143] Compiling PklSwift locks.swift
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/locks.swift:200:35: warning: conformance of 'LockStorage<Value>' to protocol 'Sendable' is already unavailable
145 | // See also: https://github.com/apple/swift/pull/40000
146 | @usableFromInline
147 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
| `- note: 'LockStorage<Value>' inherits conformance to protocol 'Sendable' from superclass here
148 | @inlinable
149 | static func create(value: Value) -> Self {
:
198 | }
199 |
200 | extension LockStorage: @unchecked Sendable {}
| `- warning: conformance of 'LockStorage<Value>' to protocol 'Sendable' is already unavailable
201 |
202 | /// A threading lock based on `libpthread` instead of `libdispatch`.
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/locks.swift:212:9: warning: stored property '_storage' of 'Sendable'-conforming struct 'PklLock' has non-sendable type 'LockStorage<Void>'; this is an error in the Swift 6 language mode
145 | // See also: https://github.com/apple/swift/pull/40000
146 | @usableFromInline
147 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
| `- note: generic class 'LockStorage' does not conform to the 'Sendable' protocol
148 | @inlinable
149 | static func create(value: Value) -> Self {
:
210 | public struct PklLock {
211 | @usableFromInline
212 | let _storage: LockStorage<Void>
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'PklLock' has non-sendable type 'LockStorage<Void>'; this is an error in the Swift 6 language mode
213 |
214 | /// Create a new lock.
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/locks.swift:279:9: warning: stored property '_storage' of 'Sendable'-conforming generic struct 'PklLockedValueBox' has non-sendable type 'LockStorage<Value>'; this is an error in the Swift 6 language mode
145 | // See also: https://github.com/apple/swift/pull/40000
146 | @usableFromInline
147 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
| `- note: generic class 'LockStorage' does not conform to the 'Sendable' protocol
148 | @inlinable
149 | static func create(value: Value) -> Self {
:
277 | public struct PklLockedValueBox<Value> {
278 | @usableFromInline
279 | let _storage: LockStorage<Value>
| `- warning: stored property '_storage' of 'Sendable'-conforming generic struct 'PklLockedValueBox' has non-sendable type 'LockStorage<Value>'; this is an error in the Swift 6 language mode
280 |
281 | /// Initialize the `Value`.
[125/143] Compiling PklSwift ExternalReaderClient.swift
[126/143] Compiling PklSwift Logger.swift
[130/143] Compiling PklSwift PklUnkeyedDecodingContainer.swift
[131/143] Compiling PklSwift Evaluator.swift
[132/143] Compiling PklSwift EvaluatorManager.swift
[133/143] Compiling PklSwift EvaluatorOptions.swift
[134/143] Compiling PklSwift Message.swift
[135/143] Compiling PklSwift MessageTransport.swift
[136/143] Compiling PklSwift Reader.swift
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/TypeRegistry.swift:97:29: warning: capture of 'type' with non-sendable type 'any PklRegisteredType.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
95 | var registry = TypeRegistry._shared!
96 | registry.register(identifier: type.registeredIdentifier) { decoder in
97 | try type.init(from: decoder)
| `- warning: capture of 'type' with non-sendable type 'any PklRegisteredType.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
98 | }
99 | TypeRegistry._shared = registry
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[137/143] Compiling PklSwift TypeRegistry.swift
/Users/admin/builder/spi-builder-workspace/Sources/PklSwift/TypeRegistry.swift:97:29: warning: capture of 'type' with non-sendable type 'any PklRegisteredType.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
95 | var registry = TypeRegistry._shared!
96 | registry.register(identifier: type.registeredIdentifier) { decoder in
97 | try type.init(from: decoder)
| `- warning: capture of 'type' with non-sendable type 'any PklRegisteredType.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
98 | }
99 | TypeRegistry._shared = registry
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[138/150] Compiling test_external_reader TestExternalReader.swift
[139/150] Emitting module test_external_reader
[139/150] Write Objects.LinkFileList
[141/150] Compiling pkl_gen_swift PklSwiftGenerator.swift
[142/150] Compiling pkl_gen_swift embedded_resources.swift
[143/150] Compiling pkl_gen_swift PklGenSwift.swift
[144/150] Compiling pkl_gen_swift GeneratorSettings.pkl.swift
[145/150] Emitting module pkl_gen_swift
[145/150] Write Objects.LinkFileList
[146/150] Linking test-external-reader
[147/150] Applying test-external-reader
[148/150] Linking pkl-gen-swift
[149/150] Applying pkl-gen-swift
Build complete! (85.31s)
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/SwiftPackageIndex/SemanticVersion
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/apple/swift-system
[1/370] Fetching semanticversion
[98/2452] Fetching semanticversion, swift-docc-plugin
[531/6888] Fetching semanticversion, swift-docc-plugin, swift-system
[1970/22268] Fetching semanticversion, swift-docc-plugin, swift-system, swift-argument-parser
Fetched https://github.com/apple/swift-system from cache (1.12s)
[1521/17832] Fetching semanticversion, swift-docc-plugin, swift-argument-parser
[6753/66773] Fetching semanticversion, swift-docc-plugin, swift-argument-parser, swiftformat
Fetched https://github.com/apple/swift-argument-parser from cache (57.86s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (57.86s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (57.86s)
Fetched https://github.com/SwiftPackageIndex/SemanticVersion from cache (57.86s)
Computing version for https://github.com/SwiftPackageIndex/SemanticVersion
Computed https://github.com/SwiftPackageIndex/SemanticVersion at 0.5.1 (60.64s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.41s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.4 (0.48s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3416] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.26s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.83s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.39s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.56.4 (0.50s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.4
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.56.4
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/SwiftPackageIndex/SemanticVersion
Working copy of https://github.com/SwiftPackageIndex/SemanticVersion resolved at 0.5.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
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"
}
Done.